Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What happened to my MS Datalink Option?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00544086
Message ID:
00545131
Views:
21
Thanks George.

I ended up using the suggestion of double-clicking on the newudl.reg file, but I found this to be a valuable education for future reference.

>>I used to be able to right click on my desktop, and create a new "Microsoft DataLink Object." That option has disappeared.
>>
>>I recently installed SP5, and I'm wondering if that somehow did something?
>>
>>Any thoughts would be appreciated.
>>
>>Thanks,
>>
>David,
>
>Try this:
* Create a template file in the Windows ShellNew sub-directory
>lcfile = GETENV('WINDIR') + "\ShellNew\mdac.udl"
>lnhandle = FCREATE(lcfile)
>= FCLOSE(lnhandle)
>SET CLASSLIB TO Registry.vcx ADDITIVE
>oReg = CREATEOBJECT('Registry')
>RELEASE CLASSLIB Registry
>* Open and, if necessary, create the appropriate registry key
>oReg.OpenKey(".udl\ShellNew", , .T.)
>* Set the filename value to the template file
>oReg.SetKeyValue("FileName", JUSTFNAME(lcfile))
>* Close the key.
>oReg.CloseKey()
It assumes that the registry class of the FFC is on the Fox path or is the current directory.
Previous
Reply
Map
View

Click here to load this message in the networking platform