View Single Post
Old 03-02-2008, 05:44 AM   #8
portreathbeach
Constant Bitrate
 
Join Date: Sep 2006
Location: Cornwall, England
Posts: 145
Thanks, but I tried this code:


Dim processInfo As New System.Diagnostics.ProcessStartInfo(Winamp_Path + "winamp.exe")

processInfo.WindowStyle = ProcessWindowStyle.Normal
processInfo.Arguments = "/CLASS=""" & WinampClass & """"

Dim process As New System.Diagnostics.Process()

process.Start(processInfo)
hWndWinAmp = process.Handle


But I keep getting an error thrown saying "No process is associated with this object", I've also tried hWndWinAmp = process.Handle.ToString, but still the sam.
__________________
ViVE - Volkswagen In Van Entertainment:

VoomPC 2, VIA C7 2GHz
7" Lilliput
120Gb Sata drive
1GB RAM


[||||||||||] 100% - Planning
[||||||||||] 100% - Software coding
[||||||||||] 100% - Built

(Always tweaking!)
portreathbeach is offline   Reply With Quote