Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2005, 06:20 AM
Damilis's Avatar
Damilis
Hill Giant
 
Join Date: Dec 2002
Location: Nottingham!!
Posts: 217
Angry Launch .exe

Anyone know how to launch a .exe on the server using vb.net code in a clients browser? I have been trying for a week now and I am stumped.

OS is windows server2003 standard running IIS as web server.
__________________
GM/ServerOP - Shadows of Norrath

Last edited by Damilis; 09-30-2005 at 02:25 PM..
Reply With Quote
  #2  
Old 09-30-2005, 06:44 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default ummm

Quote:
Originally Posted by Damilis
Anyone know how to launch a .exe on the server using vb.net code in a clients browser? I have been trying for a week now and I am stumped.

OS is windows server2003 standard running IIS as web server.
if i remember right the code works
by using the shell command to execute RunDLL32.exe.

Code:
Private Declare Function ShellExecute Lib _ 
			  "shell32.dll" Alias "ShellExecuteA" _ 
			  (ByVal hwnd As Long, _ 
			   ByVal lpOperation As String, _ 
			   ByVal lpFile As String, _ 
			   ByVal lpParameters As String, _ 
			   ByVal lpDirectory As String, _ 
			   ByVal nShowCmd As Long) As Long 
				
Private Const SW_SHOW = 1 

Public Sub Navigate(ByVal NavTo As String) 
  Dim hBrowse As Long 
  hBrowse = ShellExecute(0&, "open", NavTo, "", "", SW_SHOW) 
End Sub
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:09 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3