home bbs files messages ]

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,030 of 10,840   
   Raoul Watson to Joe-Paul   
   Re: Display issues -- Randy Birch   
   23 Apr 06 11:27:01   
   
   From: WatsonR@IntelligenCIA.com   
      
   "Joe-Paul"  wrote in message   
   news:bfWdnenmaOIgAtTZRVn-gA@comcast.com...   
   > 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   
   >   
   Make sure you don't have a control, procedure, or function named hDC   
      
   --- 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