Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 26th, 2003, 09:43 PM
kaos77 kaos77 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 5 kaos77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to kaos77
launching my app from an HTML link

AIM uses hyperlinks to automatically open an IM or add a buddy, and ive used other programs that do this also (always a link pointed to xxx:some_command)....

how is this done? im sure it requires my app to register its hyperlink extension or whatnot, but im not sure what exactly makes this tick...

basically im writing a game, and on my website i am putting downloadable content. I build a compress/export-decompress/import ability into the game for uploading/downloading this content but if someone clicks on the download link on the website i want it to auto-open the import/export app and do its work right then (just to save my users the time and hassle of unzipping the files and then finding the right dirctory and so forth)

any help is much appreciated

Reply With Quote
  #2  
Old June 29th, 2003, 10:48 AM
toughcoder toughcoder is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 49 toughcoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 sec
Reputation Power: 5
Send a message via Yahoo to toughcoder
hello kaos77, try out this. Create and exe of ur application and place it in the same root as ur website. now add this code to ur web page

<html>
<head><title></title></head>
<body>
<a href="App.exe">A</A>
</body>
</htmL>

Now, after u click the link, it will ask if u want to save or open the applicatrion from its current position. Say open from current position and ur application will run.

Reply With Quote
  #3  
Old June 29th, 2003, 10:53 AM
kaos77 kaos77 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 5 kaos77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to kaos77
thanks, i already knew how to use that, but what im looking for is the way AIM makes their links work....if you click on a link that is like <a href="aim:addbuddy=johndoe">Add Me</a> then it will execute a procedure in your local running copy of AIM....i believe the links will also launch AIM if it isnt already running....there is another program i know (for UO emulators) that will do something similar.....

thanks for the reply

Reply With Quote
  #4  
Old June 29th, 2003, 11:07 AM
toughcoder toughcoder is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 49 toughcoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 sec
Reputation Power: 5
Send a message via Yahoo to toughcoder
hello kaos77,
i dont use AIM so i dont know abt that but there is a bleak possibility that what u think r actual HTML links (<A></A>) maybe actually coded in vb?? what do ya say

Reply With Quote
  #5  
Old June 29th, 2003, 02:50 PM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,827 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 22 h 57 m 29 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
Actually, and I could be wrong here, but I think this is something that is localized to AOL and what thier browser does when it interprets those links. I could be wrong though.

Just my 2 cents...

Reply With Quote
  #6  
Old June 29th, 2003, 04:02 PM
kaos77 kaos77 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 5 kaos77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to kaos77
what im talking about them using is a normal html link, and it works in IE5+(i dont use netscape so not sure about it) browser not just aol stuff (i havent used aohell since i was 14 ) .....

the links are easy to make, i have thrown them together several times myself, no big deal, they are an html link with a special address put in it

ive also seen another program (UOGateway) that makes a link that says <a href="uog:xxxxxxxxx">Click</a> and when you click it the server identified by "xxxxxxxx" is added to your server list...

im assuming there is a way to register these shortcuts so that IE can process them, im just not sure how to go about doing that....

Reply With Quote
  #7  
Old June 29th, 2003, 04:09 PM
kaos77 kaos77 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 5 kaos77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to kaos77
ok ive got it now

just in case anyone wants to know how this is done:

in HKEY_CLASSES_ROOT you need a new key (ill call it junk)

[HCR \ Junk]
default="My testing Junk"
URL Protocol = ""

[HCR \ Junk \Shell\Open\Command]
default="C:\Program Files\Test\\myapp.exe"

then just let your app handle the command line arguments for starting

thanks for everyone's help

Last edited by kaos77 : June 29th, 2003 at 04:19 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > launching my app from an HTML link


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway