|
-
Apr 3rd, 2001, 09:53 AM
#1
Thread Starter
Addicted Member
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?
-
Apr 3rd, 2001, 05:27 PM
#2
Frenzied Member
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..
-
Apr 4th, 2001, 07:18 AM
#3
Thread Starter
Addicted Member
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?
-
Apr 4th, 2001, 12:23 PM
#4
Frenzied Member
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..
-
Apr 5th, 2001, 06:12 AM
#5
Thread Starter
Addicted Member
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?
-
Apr 5th, 2001, 10:43 AM
#6
Frenzied Member
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..
-
Apr 6th, 2001, 07:19 AM
#7
Frenzied Member
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
-
Apr 6th, 2001, 08:02 AM
#8
Thread Starter
Addicted Member
thanks, the code in that thread can be an option...
also, you mention ActiveX Doc, can you elaborate more on this?
-
Apr 27th, 2001, 08:02 AM
#9
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|