I have a VB6 application that calls Excel to read and write data. It worked absolutely fine on Windows 2000 machine. Now I got Windows XP and every time VB tries to call Excel I get the message "Error -2147417851; Description: Automation error. The server threw an exception." I tried everything...
I have a VB6 application that calls Excel to read and write data. It worked absolutely fine on Windows 2000 machine. Now I got Windows XP and every time VB tries to call Excel I get the message "Error -2147417851; Description: Automation error. The server threw an exception." I tried everything...
Does somebody know if there is any way except CE Query Builder to pull information out of CE database? VB code may be? We need to store information about all our CE reports in another database so we could read it and create reports out of it. We have CE 10.
...coping or moving file. I tried different kind of files and different directories. Still the same message. Can somebody help? Here is the code:
***********************
Dim fso As New FileSystemObject, file1, file2, fldr As Folder
Set file1 = fso.GetFile("c:\tanya.cbx")
file1.Copy...
...rsIhdaDoc1.LockType = adLockOptimistic
rsIhdaDoc1.CursorType = adOpenDynamic
rsIhdaDoc1.CursorLocation = adUseClient
Set rsIhdaDoc1.ActiveConnection = cnn
rsIhdaDoc1.Open "Select * from IHDA_DOC"
and it works now. Although I don't understand what's the difference :-)
I need to add and delete data in oracle table from VB app. Here is my code:
*************************************
Dim cnn As ADODB.Connection
Dim rsIhdaDoc1 As ADODB.Recordset
Set cnn = New ADODB.Connection
cnn = "Provider=MSDAORA;Password=password;User ID=userid;Data Source=test;Persist...
I have 2 Oracle 9i databases. One is test & one is production. I'd like to write a script that will let me to update production table with data from test table. Not all fields have to be updated. Is it possible in one script?
Yes, the user is a member of sysadmin and securityadmin roles. I don't get an error message from the server when it is running (supposly) sp_addlogin. It just doesn't create a new user. When I try to login with the new user name I get a message, because user was not created under SQL security .
Here is the problem I am having. We have a SQL database on the server. Through VB app I connect to the server (OLE DB) and can create new users for the server (and users database) by running sp_addlogin. It all happens programaticaly in VB.
Now we copied the data to another server. Create a...
Every time I close an VB development environment I get the message
"The instruction at 0x004581f1 referenced memory at 0x00000000. The memory could not be read. Clik OK to terminate the program. Click Cancel to debug the program."
I created a test project with just a form and one...
The server name is correct (I can even ping it from DOS). "Client Network Utility" and "Server Network Utility" both have Named pipes first in the list. I don't know much about network so I don't know what else to check.
The server name (and IP) is in the host file. I am trying to connect from dif computers with dif operating system. When hit on Test Connection button the exact message is "Test connection failed because of an error i initialization provider. [DBNETLIB][ConnectionOpen (Connect().\SQL...
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.