| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
vb.net FindWindow function
|
Original Message
|
Name: jhunt303
Date: May 8, 2006 at 09:29:00 Pacific
Subject: vb.net FindWindow functionOS: xpCPU/Ram: 2.8 768Model/Manufacturer: HP |
Comment: Does anyone know how to import the FindWindow function into a vb.net application? I'm not having much luck finding it in the references section.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Chi Happens
Date: May 8, 2006 at 11:03:40 Pacific
|
Reply: (edit)you need to learn how to google: this is from the first link when i typed in "FindWindow vb.net" [System.Runtime.InteropServices.DllImport("user32.dll", CharSet=System.Runtime.InteropServices.CharSet.Auto)] public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); Chi They mostly come at night...mostly.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: jhunt303
Date: May 9, 2006 at 01:42:33 Pacific
|
Reply: (edit)Yes Chi, I hadn't thought of using Google... Have you tried that code?? Think you'll find it doesn't work... Thanks SN, that site is top notch, found the a decent example of the DllImport function
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home