|
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!)
|