Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RDO not working under NT4...help
Message
From
12/06/1998 13:09:45
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
RDO not working under NT4...help
Miscellaneous
Thread ID:
00107672
Message ID:
00107672
Views:
72
Hi Friends,

The snippet below works fine under win95 but not under NT4 workstation. Both are been configured the same and at the execution I have this error message at the line where I maked with ****:

"ActiveX component can't create object"

Can anyone help me out please?

Dim ConnectionRDOAdminRights As New rdoConnection 'creatable rdoConnection
Dim QueryRDOAdminRights As New rdoQuery 'creatable rdoQuery
Dim ResultsetRDOAdminRightsA As rdoResultset 'pointer to rdoResultset
Dim ConnectionStrRDO As String 'hold connection info

ConnectionStrRDO = "driver={SQL Server};server=999.999.999.999;database=mydatabase;uid=myuid;pwd=mylogin"
****ConnectionRDOAdminRights.Connect = ConnectionStrRDO****
ConnectionRDOAdminRights.CursorDriver = rdUseClientBatch
ConnectionRDOAdminRights.EstablishConnection Prompt:=rdDriverNoPrompt
Set QueryRDOAdminRights.ActiveConnection = ConnectionRDOAdminRights
QueryRDOAdminRights.SQL = "Select * From T_Administrators where T_Administrators.AdministratorsID = '" & LoginName & "'"
Set ResultsetRDOAdminRights = QueryRDOAdminRights.OpenResultset(Type:=rdOpenKeyset, LockType:=rdConcurReadOnly)

Thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform