Can someone please straighten me out on using color codes in VB6.
My code codes some Command buttons to be white (&H0000005&),
and yellow (&HFFFF).The command buttons are in graphic style.
I then save the program to a text file.
The text file records the codes as -2147483643 and 6555. ???
What...
I have a list box (List3) with several items in it.
I want to store them in a text file on my C drive.
The following does not work.
fnum = FreeFile()
Open "C:\Stores.txt" For Output As #fnum
For Ct1 = 0 To List3.ListCount - 1
Write #fnum, List3.List(Ct1)
Next
Close fnum
Can anyone tell me...
I have a list box (List3) with several items in it.
I want to store them in a text file on my C drive.
The following does not work.
fnum = FreeFile()
Open "C:\Stores.txt" For Output As #fnum
For Ct1 = 0 To List3.ListCount - 1
Write #fnum, List3.List(Ct1)
Next
Close fnum
Can anyone tell me...
Am moving fram VB6 to VB2005.
After installing VB.net I tried to install MSDN.
The first disk sent error message 1305 and said that file
eau_kbofficekb.hxs failed to install.
Assuming the file on the disc is corrupt, I checked with Microsoft but couldn't find it.
Can anyone help me on this?
Can anyone suggest a method/procedure/code for getting a list of the Names of Objects in a frame when the user clicks on any object in that Frame?
I'm working on a programs that presents several frames each containing different Objects, and the program must process those objects.
Thanks for...
I have a series of 6 boolean values to test with an If statement (If Nt1 = True and Nt2 = True and Nt3 = True etc.) Then ....
However, I get a Type Mismatch error message at that If statement. Can anyone tell me why?
domt
I have a large frame, holding an array of eight smaller frames. Each of the smaller frames holds an array of ten labels.
Can anyone show me a procedure for selecting a label?
I assume the labels would be stored in a three dimensional
array.
Any help would be greatly appreciated.
Does anyone know a way to solve a math expression that a user types in a text box? For example if a user types 3*12/8, or 5*Sin(40) in a text box, Is there a method or routine that produces an answer?
Any help will be appreciated.
In using this function, how does one specify the number of pay periods in a year? In all examples I've seen it's always assumed that the number of periods in a year is 12.
domt
Can anyone help with this?
I have a form with a small picture (Picture2) on a large picture (Picture1). I want to manually draw a series of red lines on Picture2. The lines are rubber lines and may be drawn across one another. They should also be permanent as long as the program runs,
The...
I have a PictureBox on a form called Source.
The following should produce a box, right?
Private Sub Source_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button <> 1 Then Exit Sub
Source.DrawMode = 13
iX = X
iY = Y
End Sub
Private Sub...
How can one select a portion of a picture, say with a mouse click and have an arbitrary small x,y area surrounding that mouse click painted on a second picturebox?
I also would like that transfered area magnified.
Thanks for any help
Does anyone have code that would duplicate what Microsoft's Paint program does in the "Magnifier" function?
Clicking on "Magnifier" throws a movable rectangle on the picture and enables magnification of that portion.
I have need to do that to a picture in a picture box.
Any...
I have a form with a large PictureBox, pct_dest, which is visible, a second PictureBox, pct_src, with Visibility = False, and a scroll bar.
The scroll bar in the following code enlarges the picture in pct_dest.
Although the picture in pct_src is fixed at design time in this version, I'll change...
I'm trying to print a frame and am having trouble:
1. Text in labels is rearainged by the printer.
2. The frame Backcolor is Button Face as are the Backcolor of my labels, but when printed, the backcolor of the labels are dark, which doesn't look good.
3.I can't get a Pie Chart to print. Its...
Say you have an array of 2 dimensional arrays of labels, thus:
Label10(0) Label10(1) Label10(2) Label10(3) Etc.
Label11(0) Label11(1) Label11(2) Label11(3) Etc.
Label12(0) Label12(1) Label12(2) Label12(3) Etc.
Label13(0) Label13(1)...
I have a Listbox (List1) with some items in it, and another, empty, Listbox (List2).
I would like to add the last item of List1 to List2, and then remove that item from List1, by clicking a command button.
Can anyone suggest coding to do this?
Dom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.