Hi,
A very simple way is to put a frame on the button then arrange a label and an image on the frame. For the button to still work the frame has to be disabled.
Jon
Hi Wishstar
I think your problem is with text1_KeyPress. KeyPress is a Event (VB is event driven) but in your code you're calling it like a procedure and , as such, no Event is taking place(e.g. user input). Try commenting out the call to it and let to computer wait for the Event (key stroke)...
Hi,
If you want the dtp to display only time, set the format property to time.
If you want the time selected to appear somewhere else such as a textbox you can use the Format statement e.g.
Text1.Text = Format(DTPicker1.Value, "long time")
Jon
Hi,
The maximum number of controls allowed on a single form depends on the type of controls used and available system resources. However, there is a fixed limit of 254 control names per form. A control array counts only once toward this limit because all the controls in the array share a single...
Hi,
Items in a listbox are strings. To convert a string to a numeric value you can use one of the following
Val()
CInt()
CDec()
e.g.
MyVar = Val(List1.List(0))
Be advised, you should validate the string first to make sure the string doesn't contain non-numeric characters.
Jon
Hi,
A couple of places for you to check out
http://msdn.microsoft.com/library/default.asp?URL=/library/devprods/vs6/vbasic/vbcon98/vbstartpage.htm
http://www.cetus-links.org/software.html
Jon
Hi TSmmith,
Yes you do need to seed the randomization but you only need to do it once. Normally you would stick in Form_Load, you have it in a Command Button so you'll be re-seeding each time the Sub is called.
Jon
Hi,
Although its been awhile since I did any Html/ActiveX, when I was developing web pages I used this handy little free tool from MS.
http://msdn.microsoft.com/workshop/misc/cpad/default.asp
It might be of some use to you
Jon
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.