Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Jon4747

  1. Jon4747

    Inserting an Icon into a Command button

    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
  2. Jon4747

    need some help

    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)...
  3. Jon4747

    Saving the contents of a text box to a file

    Hi paladin9i0, Instead of using a sequential access file try using a random access file and a structure for the player's name and score. Jon
  4. Jon4747

    dtpicker .value (as time only)

    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
  5. Jon4747

    load event for loading controls?

    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...
  6. Jon4747

    calculating numerical values in a list box

    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
  7. Jon4747

    passing parameters from VB6 to C

    Lets try that again thread222-183450
  8. Jon4747

    passing parameters from VB6 to C

    Hi, Create a C .ocx javascript:gothread(222,183450) Jon
  9. Jon4747

    vb gui export to vc++

    Hi, thread222-183450
  10. Jon4747

    Time in milliseconds

    Hi, The Timer Statement with return time in fractions of a second dblStart = Timer <code> dblFinish = Timer Print.Debug dblFinish - dblStart Jon
  11. Jon4747

    Tick box used to enable text boxes?

    Hi, Private Sub Check1_Click() If Check1.Value = 1 Then Text1.Enabled = True End If End Sub Jon
  12. Jon4747

    VB functions

    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
  13. Jon4747

    Guessing Game

    Hi, You use txtGuess.Text =&quot;&quot; after the first msgbox not the other two Jon
  14. Jon4747

    Code for creating randon numbers

    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
  15. Jon4747

    MS Active X SLider Control in HTML doc?

    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

Part and Inventory Search

Back
Top