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 Mike Lewis 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: *

  1. kaz8896

    How Do I Create Word Headers in VBA?

    Dear Astrid I tried the code samples that you gave me and I could not get them to work. If you have the time could you please check if there was possible a syntax error with the code you gave me. If you can find a problem I would be very greatful if you could post the revised code. If not...
  2. kaz8896

    Calling VB DLLs from another VB program

    I could be wrong about this but I think your dll needs to be in the "C:\WINNT\SYSTEM32" directory. Try moving it there, registering it again, then try you other project again. Hope this helps.
  3. kaz8896

    how to use textbox and datalist to search?

    Also...If the listcount never exceeds 1000 (or maybe even more) I would go ahead and use bjd4jc's code. The only reason I use the API call is because I'm dealing with listboxes with sometimes over 9000 records...Where a loop like that is very time consuming. Especially if the record you're...
  4. kaz8896

    how to use textbox and datalist to search?

    Sorry.....Try Taking the underscores out of the Declare statement. Then try it...It should work?
  5. kaz8896

    Error in DAO when using a function

    Sorry I wasn't specific enough but what I was trying to get at was....Did you install MDAC 2.5 through the Setup Package of the program on maching #2. Because if you did I myself have expirienced problems using the P & D Wizard with data access apps. If so try running the MDAC setup by itself...
  6. kaz8896

    how to use textbox and datalist to search?

    Const LB_FINDSTRING = &H18F Const LB_FINDSTRINGEXACT = &H1A2 Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As _ Long, ByVal wParam As Long, lParam As Any) As Long dim nIndx as Long nIndx =...
  7. kaz8896

    Error in DAO when using a function

    Peter and Mr. Strong definitely have some big heads so lets just ignore them. CCLINT makes a good point but before you try that have you tried to run the mdac 2.5 setup on PC #2 that could very quickly resolve this problem. It also might not do anything. In which case I would go with CCLINT's...
  8. kaz8896

    How Do I Create Word Headers in VBA?

    Hi Everybody, I'm writing several macros in VBA that insert different documents in each one to form a template for our letters. I'm trying to find out how to create headers programmably through VBA. The reason I need to do it this way is because, when the user clicks the button on the...
  9. kaz8896

    Setting Tabs in WP 10 using VBA

    I'm having a problem setting the tabs in VBA. I've tried the .TabAdd method and it doesn't seem to hold the tabs I set. If anybody can help me it would be well appreciated.

Part and Inventory Search

Back
Top