Jump to content
Xtreme .Net Talk

bjay55

Avatar/Signature
  • Posts

    26
  • Joined

  • Last visited

bjay55's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. bjay55

    Track .exe

    Perfect Thank You for your reply. That is exactly what I needed. That is a cool website.
  2. bjay55

    Track .exe

    I was wondering if there was a way to track what files or registries a excutable file accesses while it is running. Thank You for any help.
  3. I need to get the handle to a toolstriplabel control in a toolstrip. Any help greatly appreciated.
  4. Found Something That Works I found something that works for getting the link target and description. I found the function GetLinkInfo, it is in the sheltarg.dll file. Private Function GetLinkTarget(ByVal filename As String) As String Dim ret As Integer Dim path, description As String path = Space$(256) description = Space$(256) ret = GetLinkInfo(Me.Handle, filename, path, description) GetLinkTarget = path End Function Thanks for all your replies.
  5. Using visual basic .net, I was wondering how I would be able to get the target file of a shortcut (.lnk file). Thank you for any help.
  6. I was wondering if I could use Microsoft Active Accessibility to get the current url from an active web browser window. I don't know anything about this or how to use it but would appreciate it if you could help me with this. Thank you for any help.
  7. I have been trying to get the current url from a open internet explorer program, but have had no luck. I was able to do this in vb 6 with a label control and the linkTopic, linkItem, linkMode, and linkRequest properties like so: .LinkTopic = "netscape6|WWW_GetWindowInfo" .LinkItem = "0xffffffff" .LinkMode = 2 .LinkRequest but with vb.net there seems to be no .linkTopic or the others. I would greatly appreciate any help. Thank you.
  8. Thank you very much That worked great for me. Thank you very much. I really appreciate your help. Thank you.
  9. I was wondering how I would be able to retrieve internet cache entries with visual basic .net. Thank You for any help.
  10. Thanks Hey, Thanks for your help, I really appreciate it. I actually don't need the color change to be permanent so I'm alright. Thanks
  11. The setsyscolors does get the job done, but it refreshes all the windows open at the time. If internet explorer is open it causes a pretty ugly flash, so it will work temporarily but I think I will keep trying to find a permanent fix. Hey, thanks alot for your help. See ya later.
  12. Still does not work The desktop still does not change color. You can see that the desktop icons are being refreshed because they flicker but the background color does not change.
  13. Good Idea But Did Not Work I tried what you said with the spi_setdeskpattern but it did not work. I also tried spi_setdeskwallpaper and it did not work either. I am trying to follow the messages from the desktop while I change the background color with the display properties window to figure out which messages I could send to the desktop to get it to change the background color according to the regestry value. Do you think this could eventually lead to a solution?
  14. Finally got it, thank you I really appreciate your help, Thankyou very much. I got what I neede to work, thankyou. I have just started programming not to long ago and am just starting to learn how to use the api. This is really cool, you can do just about anything with the api it seems. I am working on another problem which is : when you change the background color of the desktop in the desktop settings window, I am trying to figure out how windows does it. After change the registry value "Control Panel\Colors-Background, they are able to update or refresh the windows background according to the new color value in the registry. I watched the messages as I changed the background color but one of them is 0x0000031a and I don't know what that is. Once agian, thank you for your help. greatly appreciated.
  15. What I have so far Thank you for your reply and help. Here is what I have come up with so far. Dim appProcesses As Process() = _ Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName) If appProcesses.Length > 1 Then Dim time As Date = appProcesses(0).StartTime Dim time2 As Date = appProcesses(1).StartTime If time < time2 Then handle = appProcesses(0).MainWindowHandle.ToInt32 Else handle = appProcesses(1).MainWindowHandle.ToInt32 End If result = OpenIcon(handle) result = SetForegroundWindow(handle) End End If This code checks for a previous instance of the program and if there is one ends the current and brings the previous instance to front of all other windows. This works except when the program is minimized to the system tray. The value of handle when the program is minimized to the system tray is 0.
×
×
  • Create New...