|
-
Sep 2nd, 2006, 08:14 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Creating shortcuts on desktop without having a form
Hi, I'd like to create a shortcut on the desktop and I found some code posted by RhinoBull that works great, but it requires a form and my app doesn't have a form.
http://www.vbforums.com/showpost.php...04&postcount=5
It contains this line: sDeskPath = GetSpecialFolder(Me.hwnd, CSIDL_DESKTOPDIRECTORY)
The Me.hwnd is causing the problem.
Can this be changed so it works without a form?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|