Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

launching application from code.

Status
Not open for further replies.
Nov 28, 2002
121
US
I am suppose to edit the following below to launch the correct program. What is this stuff:
("CLSID\{894CB887-EE61-11D1-B824-004033B07A82}\LocalServer32") in the method? isn't it suppose to be the path? What am I suppose to launch this:
"C:\Program Files\DQS\WinSPC_Test\Winspc32.exe"

Do I have to register it? If so, how?


Public Sub New()
Me.key = New String(100) {}
Me.value = New String(100) {}

Dim R As Microsoft.Win32.RegistryKey

R = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey("CLSID\{894CB887-EE61-11D1-B824-004033B07A82}\LocalServer32")
Dim s As String = CStr(R.GetValue(vbNullString))
INI_LOC = Left(s, InStrRev(s, "\")) & "WinSPC.ini"

Me.Read_INI()
End Sub
 
faq855-5802

Maybe I should place this in the VB.NET FAQ's as well as the ASP.NET FAQ's?


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top