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