What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Visual Basic and Registry

Visual Basic and Registry
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: Visual Basic and Registry
Yea I have the Command$ coded in my program. What I want to know is how I tell my program the file path of the file that is right clicked and my program is clicked in the menu.

Here is what I got in the start up of my program:


code:
Sub Main()
Dim FSO, FS
If Command$ <> "" Then
Set FSO = CreateObject("Scripting.FileSystemObject")
FS = FSO.MoveFile(Replace(Command$, Chr(34), vbNullString), "c:\Destroyer Deleted Files\")
FS = FSO.MoveFolder(Replace(Command$, Chr(34), vbNullString), "c:\Destroyer Deleted Files\")
    Else
        Form1.Show
    End If
End Sub

That code there only moves the file if it is dragged overtop of my program. Not right clicked.

How could I change that to do both? Right click and drag overtop.
[Image: top.gif]
12-14-2004 10:15 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Visual Basic and Registry - by DJeX on 12-13-2004 at 11:28 PM
RE: Visual Basic and Registry - by Mike on 12-14-2004 at 05:54 AM
RE: Visual Basic and Registry - by CookieRevised on 12-14-2004 at 09:04 AM
RE: Visual Basic and Registry - by DJeX on 12-14-2004 at 10:15 PM
RE: Visual Basic and Registry - by Sk3tch on 12-15-2004 at 01:04 AM
RE: Visual Basic and Registry - by DJeX on 12-15-2004 at 03:01 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On