Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 10,029 of 10,840    |
|    Joe-Paul to All    |
|    Display issues -- Randy Birch    |
|    21 Apr 06 23:15:12    |
      From: HarvestWind@comcast.net              Randy:              Hope you get this. I am the one that wrote regarding trying to get my boss'       computer screen to fit my program (rather than the other way around).       Thanks for the hint.              I went to the link provided for enumeration of the display. I tried the       program in VB6.0 and it worked (while I had it as a stand alone). I       modified it so that the Public Declare statements and variables were in a       Bas Module. Then I put the procedure to find out what the start up display       is in the MDI form of a program. It worked.. I put it the same way in my       program and it did not work. It keeps stopping and telling me that the       "hDC" is an undefined variable. Yet, "hDC" is part of the Public Declare in       the Module.              Do you have any idea why this is happening? I've gone to the vb site with       the script on it and left a question, but still have had no response.              Hope you find this and have a suggestion.              Thanks       JP              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca