Results 1 to 3 of 3

Thread: Strange Prb wid exe

  1. #1

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Strange Prb wid exe

    well this thread is a revisit to my previous thread --> http://www.vbforums.com/showthread.p...light=hyousuf2

    well i was searching for its hint how to achive it until i found this code from some forum, this is exactly what i want, but the problem is that this code works perfectly when running form VB IDE but id doesn't do ne thing when its compiled exe is run

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Strange Prb wid exe

    After reading your earlier thread I understand that you are using SetWindowPos to change the position or size of another application window. Am I correct? In that case what code are you using to get the handle of the window? FindWindow?

  3. #3

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Resolved Re: Strange Prb wid exe

    well i figured it out myself after a toiling 1 hour session of work,
    basically the rect structure was to be passed by reference n not by value to get or set the co-ordinates.

    i have updated the code n if ne one is interested i can upload it here as well

Posting Permissions

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



Click Here to Expand Forum to Full Width