-
Help if i may ask
well im looking at a tutorial and its for VS 6 but i thought maybe i can still use if just find the right code for it but they wanted me to use "Call ReadALong" but ReadALong isn't in 2008 so anyone know if they just changed what its call or can i just not do this?
-
Re: Help if i may ask
sounds like it was a user defined function. check if its part of the project.
if not, whats it supposed to do?
-
Re: Help if i may ask
well ReadALong is suppose to read the name of the window so it has the right thing selected
-
Re: Help if i may ask
you're right. it is an API function. whether you can use it in vb.net, i don't know. maybe someone else can help
-
Re: Help if i may ask
I just searched MSDN for "readalong" and found no documentation so I doubt it's an API function. Maybe you could provide us with a link to this code you found so we can see for ourselves rather than guess.
-
Re: Help if i may ask
"ReadALong" may very well be an alias for GetWindowLong, based on some research.
http://allapi.mentalis.org/apilist/GetWindowLong.shtml
But you said that the function's purpose is to pull the title from the window. Use System.Windows.Forms.Form.Text or even the GetWindowText API.
http://allapi.mentalis.org/apilist/GetWindowText.shtml