forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


URL Protocol

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Mar 08, 2003 4:36 pm    Post subject: URL Protocol Reply with quote

Does anyone know if possible/how to create a URL Protocol in which I
can pass a parameter to my program through a URL? For example,
mail:Inbox?

I got the idea from using a mail client (FirstClass) where I work in which
it uses fcp:application_parameter.

I looked in the registry and did a search and came up with a key in
HKEY_CLASSES_ROOT but I don't want to test it without knowing what I'm
doing. Confused

Any info is appreciated. Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Sat Mar 08, 2003 4:42 pm    Post subject: Reply with quote

Multimedia Builder has a feature for this.

By adding this in a webpage:
Code:
<a href="script:Script1">Run Script1</a>

it will run a script named Script1 in the program.

Maybe it's possible using an extension?

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Mar 08, 2003 4:52 pm    Post subject: Reply with quote

Actually I found this in the Microsoft MSDN database and I'm going to try
it. It's not real clear but I think it is going to help.

http://msdn.microsoft.com/workshop/networking/pluggable/overview/appendix_a.asp

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Sat Mar 08, 2003 4:56 pm    Post subject: Reply with quote

That looks interesting Smile
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Mar 08, 2003 5:03 pm    Post subject: Reply with quote

I don't remember who made 'URL-Run', but maybe you can ask him?
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Mar 08, 2003 5:07 pm    Post subject: Reply with quote

This is the structure as it is described in MSDN:

Quote:
[HKEY_CLASSES_ROOT]
[note]
(Default) = "URL:Note Protocol"
URL Protocol = ""
[DefaultIcon]
(Default) = "notepad.exe"
[shell]
[open]
[command]
(Default) = "c:\windows\notepad.exe %1"


And I'm not sure what it's like. I have no idea. I've tried things like:
REGISTRY WRITE,ROOT,note, but then I don't know what the rest is. Confused

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 08, 2003 5:16 pm    Post subject: Reply with quote

Here is what I'm reading from your post FF, translated to VDS:
Code:

registry write,ROOT,note,,URL:NOTE PROTOCOL
registry write,ROOT,note,URL PROTOCOL,""
registry write,ROOT,note\DefaultIcon,,"Notepad.exe"
registry write,ROOT,note\shell\open\command\,,"C:\Windows\Notepad.exe %1"



You should be able @regread() the same values as well. Smile

MSDN may also be using "note" as a place holder for the actual extension
for the note document.

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."


Last edited by ShinobiSoft on Sat Mar 08, 2003 5:17 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Mar 08, 2003 5:17 pm    Post subject: Reply with quote

Ahh... Thanks. Very Happy
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Mar 08, 2003 5:18 pm    Post subject: Reply with quote

And to remove those do I just use the REGISTRY DELETE command with
the same parameters you gave?

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 08, 2003 5:21 pm    Post subject: Reply with quote

Yes, or you can just registry delete the "ROOT,note" which will also remove
all subkeys benieth it. Smile

Code:


registry delete,ROOT,note


_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Mar 08, 2003 6:08 pm    Post subject: Reply with quote

Thanks. Worship
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Sat Mar 08, 2003 6:43 pm    Post subject: Reply with quote

Glad to help FF. Mr. Green
_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group