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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dgwilliams
  • Order by date
  1. dgwilliams

    VB6 - Key depressed

    well im not as stupid as it may seem i have done some research. go visit www.Appforge.com
  2. dgwilliams

    VB6 - Key depressed

    yes perhaps you are right but misconfiguration of my VB6 i dont have the help files on this machine. You say as long as the control raises it so say i have nine command buttons each one would have to have the bove code in to raise the mouse up and mouse down events?
  3. dgwilliams

    VB6 - Key depressed

    Of so if i create these two subs(events) mouse down and mouse up will they be triggered every time the mouse is clicked and the mouse is releases respectively?
  4. dgwilliams

    VB6 - Key depressed

    a ha i was looking at one of my old posts as i am now in the stages of implementing a function that when the key is held down a different function occurs to when it is just pressed, and i have just noticed that you posted some code to me Jeff. I know i am getting annoying but please bare with me...
  5. dgwilliams

    Form_initialize Vs Form_Load

    can any of you tell me what is the difference between Form_Load and form_initialize events, when to use each one and at waht stage of the lifecycle each one is activated?
  6. dgwilliams

    how make Property to appear in Properties windows

    could you explain the problem a little clearer and in a bit more depth
  7. dgwilliams

    opening a form where form name is held in a variable

    with that function you gave me, whenever a form is opened using that function i can not properly close them. For instance i have a button on all my forms called end which does the following frmCurrent.hide frmNext.show but this button doesnt actaully close the form when it is opened via your...
  8. dgwilliams

    opening a form where form name is held in a variable

    Ok that is great, what a function!!!!! thank you so much for all your help it was great, im not going to be able to take credit for this so i will add a note within the function stating where i got it from. Thnk you so much you have saved me so much work. Have a star and if i already given...
  9. dgwilliams

    opening a form where form name is held in a variable

    I really would appreciate it if you could take the time to let me know how that function works it would be a great help to me. PLEASE PLEASE PLEASE
  10. dgwilliams

    opening a form where form name is held in a variable

    Forget my last post i changed the whole array to a string and it works!!!!!!!!!!!!!!!!!! thank you so much that function will save me a lot of time. Could i please ask one last favour, i have tryed to understand how that function works but i just cant get my head arround it. i dont suppose it...
  11. dgwilliams

    opening a form where form name is held in a variable

    one thing i dont want to make all the elements of the array strings so can i decalare just one of the elements element two as a string and the rest as variants or is this not possible.
  12. dgwilliams

    opening a form where form name is held in a variable

    Ok thats great ill try that and let ya know how i get on cheers
  13. dgwilliams

    opening a form where form name is held in a variable

    'In general heading Dim Shortcut1(3) 'then the following function assigns the values Public Sub AddShortcut(ShortcutNumber As Integer, Name As String, frmName As String) Select Case ShortcutNumber Case 1: Shortcut1(0) = ShortcutNumber Shortcut1(1) = Name Shortcut1(2)...
  14. dgwilliams

    opening a form where form name is held in a variable

    it contains the following string- frmSettings
  15. dgwilliams

    opening a form where form name is held in a variable

    thanks for the code it looks impressive and i am sure is great buti have inserted your function into my module and called it by the following: FormByName(Shortcut1(2)).Show But i get a mismatch error occur and i cant figure out why, but then i dont really understand how your function works.
  16. dgwilliams

    opening a form where form name is held in a variable

    yeah it works if i do a case to match the contents of the variable but this is not an efficient way in my program. Is it not possible to open a form using a variable name?
  17. dgwilliams

    opening a form where form name is held in a variable

    I want to open a form but the form name is held inside a variable (well an element of an array called Shortcut1(2). so i have tryed the following frmShortcut1(2).Show and Shortcut1(2).Show but this does not work any ideas all you experts:
  18. dgwilliams

    Priniting a aray index value to a list box

    yes but when it has been removed an i execute the statement above will that be placed in the correct position still.
  19. dgwilliams

    Priniting a aray index value to a list box

    ok thats great im getting there now but i dont actually want it move them down. so in your example above when you add shortcut1(4) to the list it takes on index 2 and moves the rest down so shortcut1(2) becomes index position 3 in the list box. I want it it actually gets replaced and not moved...
  20. dgwilliams

    Priniting a aray index value to a list box

    Maybe this will explain my problem clearer, i tryed this but the syntax is invalid so i need to find out how i can acheive this functionality lstShortcutItems (1) = Shortcut1(1) bassically set list item 1 to whatever shortcut1 item 1 is. hope that helps

Part and Inventory Search

Back
Top