Okay,
Now we know how to create a RAS entry (see the thread "Creating a DUN file" in this forum).
But how about creating a shortcut as well? In my opinion there is one huge problem: the Dial-Up Networking folder is not a normal Windows directory. So, one cannot retrieve its path programmatically, in order to copy the freshly created RAS entry to the Desktop. Nor can the DUN folder be accessed using the SHGetSpecialFolderLocation API.
I'm thinking of the following trick. In advance, create shortcuts for all the possible RAS entries your software may install on user's computers. Copy these shortcuts to your install disk and let your install software copy the appropriate one to the desktop of the user's PC.
The important question is: will such a copied shortcut work on a computer that not really created it?
------------------
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
Now we know how to create a RAS entry (see the thread "Creating a DUN file" in this forum).
But how about creating a shortcut as well? In my opinion there is one huge problem: the Dial-Up Networking folder is not a normal Windows directory. So, one cannot retrieve its path programmatically, in order to copy the freshly created RAS entry to the Desktop. Nor can the DUN folder be accessed using the SHGetSpecialFolderLocation API.
I'm thinking of the following trick. In advance, create shortcuts for all the possible RAS entries your software may install on user's computers. Copy these shortcuts to your install disk and let your install software copy the appropriate one to the desktop of the user's PC.
The important question is: will such a copied shortcut work on a computer that not really created it?
------------------
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
Comment