VS 2008 Help if i may ask-VBForums
Results 1 to 6 of 6

Thread: Help if i may ask

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Location
    wisconsin
    Posts
    6

    Exclamation 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?

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    21,509

    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?

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Location
    wisconsin
    Posts
    6

    Re: Help if i may ask

    well ReadALong is suppose to read the name of the window so it has the right thing selected

  4. #4
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    21,509

    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

  5. #5
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    97,116

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6
    Frenzied Member Campion's Avatar
    Join Date
    Jul 2007
    Location
    UT
    Posts
    1,098

    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
    Last edited by Campion; Nov 8th, 2009 at 07:32 AM.
    From my burrow, 2 feet under.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.