Given an ADO connection object set with provider and connection instructions, it is possible to connect to either a SQL Server 2000 or MSDE Server by altering the login info only. Same provider for both.
How would I connect, then tell if i'm connected to SQL Server or MSDE?
Can anybody give me a quick clue as to how i would go about having two users on my win2k advanced server use different registered versions of the same DLL? i thought it would be as simple as copying/registering in C:\Documents and settings\[user]\windows\system, but both users share the most...
Using visual basic 6 and ado:
I've created a recordset to a sql table using a client side cursor. my example table contains complete duplicate rows. if i move my recordset to one of the duplicates and do a .recordset.delete, all the duplicated rows are removed. This "functionality" is...
Using VB6, given an existing menu structure setup in the design environment, how would one, using the caption of an existing menu item, locate the handle to the menu, then dynamically create a sub-menu using the Menu API?
Is there any way to have SQL Server 2000 emulate VBA functionallity? For example, I would like to use Instr(...) or IsNull(...) in my SQL statements to the SQL Server 2000. Can I use the user defined functions?
I'm writting a wrapper class, and the original set of objects i'm attempting to emulate make use of a Public Sub Close()
Unfortunetly, VB6 complains about this. Seems to be reserved for Microsoft products only. Is there any way around this? Could I write an ActiveX class in VC++6, and use the...
I have a VC6 DLL which has numerous functions which return strings. When the strings are returned to my VB6 App on a Win2K machine, I get all sorts of memory errors, Dr. Watson warnings, and my app shuts down. This all works fine on Win95/98/NT/XP. Anybody know how to get around this issue?
When attempting to compile an ActiveX DLL (which I've compiled in the past) I get a "Variable Uses An Automation Type Not Supported In Visual Basic" error and the DLL is not compiled.
I've removed the new functions I've added, but no luck. I've looked through the code, and I'm using...
I'm attempting to write an OCX in vb6(sp5) which contains a user-control that i'd like to possibly attach to a form in a seperate .EXE at some point(s) in the future. I therefore do not want to add the .OCX into the Component list of my .EXE.
Issues arise in attempting to access the...
I know i'm being selfish in my needs, but I'd really like to find a way to publicly expose a UserControl from an ActiveX DLL, which could then be used by other applications. I much prefer the .DLL extension to the .OCX. Is there any trick that can be pulled to expose a UserControl from an...
How would I set a menu's shortcut key at run-time to jump to a procedure in an external object?
Here's my problem:
I'm currently in the process of breaking a rather large application (30+ megs compiled .exe) in vb6 to smaller, more manageable chunks (dll's and ocx's). Now, I have a small...
I'm trying to write an .INF file to update system files (ActiveX DLL's and OCX's) on a client PC. I have no trouble copying the new system files into the Windows\System folder, but I can't seem to find any documentation on how to register the DLL's and/or OCX's that I've just copied into the...
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.