Jump to content
Xtreme .Net Talk

BrianHansen

Members
  • Posts

    9
  • Joined

  • Last visited

BrianHansen's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. You can find out by starting your task-manager (ctrl+shift+esc), then start your winamp and you can see that winamp is studio.exe, therefore studio. Another trick you can do is WinAMPhWnd = FindWindow(vbNullString, "Winamp") Don't know if it works for winamp since the string you type here, is the exact caption of the running program.
  2. In C#: [DllImport ("user32.dll")] public static extern void mouse_event( int dwFlags, // flags specifying various motion/click variants float dx, float dy, int dwData // amount of wheel movement ); and remember to include: using System.Runtime.InteropServices;
  3. Try this Public Sub New() key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(KEY_LOCATION, TRUE) End Sub Note the True, which sets, if the registry is read-only or read-write (default is False = read-only).
  4. My guess is that your wc is the Webclient.. This is c#, try { stream = New IO.StreamReader(wc.OpenRead(URL) } catch( Exception ) { MessageBox.Show("You lost your connection"); } Obviously you don't need to use the messagebox, but can do whatever you wish to do.
  5. Thanks for the info, I'm looking forward for that. But still, when I've set a proxy in my "real" IE, it still uses my real ip. If it didn't I wouldn't have that many problems. But I'll have a look at it, only to prove myself wrong (Which I guess I'm). Btw: Do you know of the up coming release date for the next framework? [EDIT]:You are absolutely correct.the Webbrowser component does indeed use the current proxy settings. You have saved my day. Even though that this isn't the best solution, it is much better than not to be able to do it. Thanks again.
  6. Try this (it's c#): DataTable dt = ds.Tables[0]; savedLevel = dt.Rows[0]["Level"].ToString(); This will return row 0 from the 3rd column (Level). Hope this helped.
  7. I've used the active x control (webbrowser), but I'm having troubles to find a way to tell it to use a specific proxy. Navigation is simple enough, so I don't need help with that. Only the proxy part. Thanks in advance. I prefer examples in c#, but vb.net is ok ;) Last but not least, is there another component like the webbrowser, that I should know of?
  8. or hostaddress.ToString(); Works in c#, not sure about vb.net though.
  9. Or use the Net.WebRequest (more powerful in my opinion)
×
×
  • Create New...