-
- Please make sure your program is correct
by Mark J.
- 4 Replies
- Last post
by Mark J.
- VB Express has now started crashing often, particularly when I rename of classes or fields and it often leaves my code in an inconsistent state. Currently, after attempting to change the project type from "Class Library" to "Windows Application" the IDE crashed again in the middle of the operation. When I restarted the IDE the compiler is now giving the error: 'MyForm' is a typ
-
- Create a simple splash screen program
by Anonymous1859
- 7 Replies
- Last post
by js06
- I'm not very good with vb, but all I want to do is create a splash screen that lasts for 5 seconds while it's loading a slow application then the splash screen can shut down.
-
- Getting Information to "Populate" in a Tab Page
by Learning VB
- 8 Replies
- Last post
by Learning VB
- This is probably really easy and simple....which means I am having trouble with it.
How do you get lables, textboxes, etc. to populate in one tab page with information from another tab page
I had thought that i could use Handles TabPage2.Focus or something similiar but its not working the way i thought it does.
Ideas
Also, is there away to setup the code to effect onl
-
- Using Graphics
by stece
- 10 Replies
- Last post
by stece
- Reading MSDN I found a code like this: System.Drawing.Pen myPen;
myPen = new System.Drawing.Pen(System.Drawing.Color.Red);
System.Drawing.Graphics formGraphics = this.CreateGraphics();
formGraphics.DrawLine(myPen, 0, 0, 200, 200);
myPen.Dispose();
formGraphics.Dispose();
I copied it to a WindwsApplication project like this: using System; using System.Collections.Generic;
using
-
- Debug version won't run
by sssp
- 2 Replies
- Last post
by sssp
- Hi all,
I ported an old plain C project from MINGW to Visual C++ EE. It compiles and links without error, but when trying to run the debug version, the following error message pops up:
'The application failed to initialize properly (0xc000007b). Click OK to terminate the application' .
This happens both when trying to debug from the IDE or starting directly from the Debug fol
-
- Removing labels (scriptwise) doesn't want to work.
by corne_mo
- 11 Replies
- Last post
by Dave299
- I use the following code in my program to add some labels: Dim l As Label For i As Integer = 0 To 10 l = New Label l.Name = "LabelDay" & i.ToString l.Text = "Day" + i.ToString l.Top = 88 + (i * 20) l.Left = 5 l.AutoSize = True l.Visible = True Me.Controls.Add(l) Next i Now I want to remove them with: For Each c As Control
-
- Picturebox...how do I..?
by FooFighter560415
- 10 Replies
- Last post
by dotnetmadhu
- What I'm doing is making a yahtzee type game. What I'm wondering is how I'd go about using 1 picture box to hold all 6 of the dice pics Then what I want to do is randomly make the dice pics appear one at a time in the picture box. I want to use a timer on my form so I can set the delay on the how quickly the pics change.
Any help is appreciated. Having a blast learning this stuff.
-
- MouseEnter erratic
by jimmygyuma
- 5 Replies
- Last post
by jimmygyuma
- I have a user control composed of a small PictureBox and a text label. Each of these user controls represents a different video effect or transition. The PictureBox displays a one-second animation of the effect and is triggered by the mouse entering the control. The only mouse events handled by the control are mouse click, which selects it, and mouse enter, which triggers the animation. The animat
-
- resize image
by johnb01
- 3 Replies
- Last post
by johnb01
- Hi there :) A friend of my wanted me to make him a small picture resizer for some time now. I've got most of it working however when the image is resized it still keeps saving it at its default pixel size. Here is the code below:
Private Sub btnResize_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnResize.Click
With picImage
.Width = Val(txtWidth.Text)
-
- how to code text alignment properties
by Monte Cristo33
- 2 Replies
- Last post
by Monte Cristo33
- Hi everyone,
I am transferring a program from VB5 to VB 2005. It is a simple text editor. I have three buttons that change the alignment of the text inside a main Text Box called txInput.
the old code for the button that centers the text is:
Private Sub cmdCenter_Click() txtInput.alignment = 1 End Sub
obviously, that code refuses to work under 2005. I have a center, a l
-
- Visual C++ newbie question
by Karg Weng
- 2 Replies
- Last post
by Karg Weng
- I have just started my first job as C++ programmer. The company uses Visual C++ extensively for the pass few years; they are developing software for Windows Platform utilizing ActiveX, OLE, COM etc.... Coming from Java background where being taught extensively on OOP, i am struggling in this company as i cannot find apparent OOP methodology in their design and coding. Which brings me to this quest
-
- Plot real time graph using data read from serial port
by wencey
- 10 Replies
- Last post
by ReneeC
- I read some data from serial port and i store it with buffer.Add(final). I later would like to take the data from buffer and add it to another new list which is yvalues, data inside yvalues are the what that would be used to plot the real time graph (plot one point every second), yvalues.add (buffer) certainly not going to work..What is the right way of solving this problem
Private buffer As
-
- Using a VB acive X dll in Native C++
by help-linux
- 2 Replies
- Last post
by help-linux
- Is it possible to call functions in a VB Dll i have tryed: loading it Dynamicly, with LoadLibrary etc... I have tryed loading it with "COM" I have tryed linking against the lib file that came with it. is it even possible to use a VB dll because i have try many websites and none work. when i tryed LoadLibrary i got the most results, but i got an error. here is the code i used for "Lo
-
- .pdb file
by bdbodger
- 6 Replies
- Last post
by nobugz
- My release directory has a few files that I don't know are needed or not like .pdb files .application .xml .manifest etc . If I am using a 3rd party install file creater which files do I need and what ones can I skip .
-
- Problems installing VWD2005 Express 2005
by SCracknell
- 2 Replies
- Last post
by SCracknell
- I am running Windows XP SP2 with all the latest security patches applied. I am running Expression Web with .Net Framework 2 and wanted to install Visual Web Developer 2005 Express Edition.
I downloaded the .img of VWD2005Express and burnt it to a CD for installation.
With the installation of VWD2005Express, I selected the option to install SQL Server 2005 Express and deselected the M
-
- Visual C# ID3 Tags
by paoloTheCool
- 8 Replies
- Last post
by paoloTheCool
- Does anybody know anything about reading from MP3s, WMAs, etc, from the actual file MP3s use ID3 Tags I believe, but I don't know if WMAs use the same methods.
Any help on this topic would be greatly appreciated!
Thanks,
paoloTheCool
-
- Using a Database Help...
by MLyons10
- 14 Replies
- Last post
by MLyons10
- I am trying to create my first application using a database, and have already gotten a tremendous amount of help from the members of this forum. I was given several suggestions recently to try to get this working, and just finished playing around with it and trying again to get it working with no luck, so I wanted to post to see if anyone else had any ideas... This is really frustrating... I am tr
-
- cannot instantiate abstract class
by agiltinan
- 11 Replies
- Last post
by fchen
- Hi All, I'm a bit of a newbie at VC++ and have run into the following problem. Having looked at other related posts, i still can't solve the problem. The following is a sample of the code struct __declspec(uuid("9b7024e2-bd35-11d2-8ee4-0080c70a9c3d")) IPlate : IDispatch { // // Property data // __declspec(property(get=GetSolved)) VARIANT_BOOL Solved; //Raw methods vi
-
- Return an array?
by Junior12
- 3 Replies
- Last post
by IsshouFuuraibou
- Hello I have an array of integers that I populate using one method then I want to return them to another method.
Code Snippet
public int example()
{
int [4] coords = {"lat", "long", "lot", block"};
lat = 1;
long = 2;
lot = 3;
block = 4;
return coords[];
}
Is that syntax correct
-
- Enable/Disable Paste on ContextMenu
by paoloTheCool
- 4 Replies
- Last post
by IsshouFuuraibou
- In my contextMenuStrip for my webbrowser i have a "Paste" function, and i would like it to be disabled and enabled according to if the ClipBoard is empty or not. something like:
if(Clipboard.ContainsText)
{
pasteMenuStripItem1.Enabled = true;
}
else
{
pasteMenuStripItem1.Enabled = false;
}
but im not sure what event i should put it on, i was going to put it under a A
-
- richtextbox.rtf format problem
by nmilne
- 1 Replies
- Last post
by ReneeC
- I have a problem with the richtextbox.rtf code when I run my program
And move to the next record then move back:
(this is how the data looks before richtextbox.rtf before it changes it):
\pard \fi-360 \li360 \sb80 \sa40 \f2 \cf2 \'e0\'e1\cf0 \f0 (Aramaic)\par \b0 \f3 'ab\cf0 \f0 \par \pard \sa60 \b1 BDB Definition:\b0 \par \pard \fi-360 \li360 \sa60 1) father\par \pard \sb60 \sa60
-
- Writing text from textbox out to a file
by snorfer
- 7 Replies
- Last post
by snorfer
- FYI: I'm new to VB.
I made a VB program to run a bat file that is created when you select a file.
1. I have a textbox1 that displays the address of the file and writes out the full address and file name to a bat file.
2. A button labeled browse to find the file to display in the textbox1.
3. A button that runs the bat file that is created by the textbox1.
My problem is that I want t
-
- win32 application wizard
by Airic
- 7 Replies
- Last post
by XTR 9
- when i start to create a new project, there should be a "win32 application wizard" appear, right however, my Visual C++ 2005 expression doesn't. How can i make it appear when i create new projects Thx~
-
- #define
by Nate879
- 1 Replies
- Last post
by orcmid
- How do I use the constant that I #defined in one source file in another source file
-
- How to create a form and e-mail info?
by MLyons10
- 14 Replies
- Last post
by MLyons10
- I would like to create a form within one of my applications that someone would be able to fill out the information and click submit and it would be sent to me. I don't know if this would have to be done via e-mail, or how else it could be taken care of. Any information and help would be greatly appreciated. Also, I would like to encrypt the data if possible. How would I go about doing this Thank