Results 1 to 9 of 9

Thread: invoke application in user's desktop

  1. #1

    Thread Starter
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    I need to implement a button on my web page that fires up an application on the user's desktop, say Notepad, when clicked. Anyone know how to do this?

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    You would have to write an ActiveX dll that is downloaded and registered on the client side. As a user, I would have to be smoking crack to allow you to do that. (i.e. if you can open notepad, you can also run Format, or FDisk, Del etc..)
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3

    Thread Starter
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    hmm.. yea i was affraid that this might be the case.. is there no other way?

    actually i am trying to create an intranet application, with shortcuts to other tools that a user would need to use, problem is, some of these tools are desktop installations and i need to be able to launch it from within the web page...

    what are my options?

  4. #4
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Um... I told ya already :c)

    You have to write an ActiveX dll that invokes the apps on the client side. The users will get a security warning though because there is no way you can mark something like that as safe. Unless their security settings were set to allow unsafe activeX on the Intranet only.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  5. #5

    Thread Starter
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    if i wrote an ActiveX component, with say one one-liner sub for each tool i need to start up, say like


    Code:
    sub LaunchTool1
    
       Shell "C:\path1\tool1.exe")
    
    end sub
    
    sub LaunchTool2
    
       Shell "C:\path2\tool2.exe")
    
    end sub
    would I be able to distribute this marked as save?

  6. #6
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    No in order for an activeX control to be marked as safe, it can not have even a chance of doing damage to the client system. Launching external programs inherently breaks that rule because nothing would stop you from launching say a virus or a program to delete files or format the drive.
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  7. #7
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Hve a look at this thread:
    http://forums.vb-world.net/showthrea...threadid=61690


    Another option would be an ActiveX Doc


    If it is only for use on an intranet you don't really need to worry about signing and stuff
    Mark
    -------------------

  8. #8

    Thread Starter
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    thanks, the code in that thread can be an option...

    also, you mention ActiveX Doc, can you elaborate more on this?

  9. #9

    Thread Starter
    Addicted Member pardede's Avatar
    Join Date
    Jan 2000
    Posts
    232
    is there a way to make this work in netscape as well??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width