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 9,176 of 10,840   
   Carl to Carl   
   Re: Printing with VB6?   
   29 Jan 05 06:15:58   
   
   From: dodger@enter.net   
      
   Never mind.  I figured it out.  One simple statement placed before the   
   common dialog control showprinter call.  Here it is if your interested.   
      
       Printer.TrackDefault = True   
       commondialog1.ShowPrinter   
      
       That does it.  Any subsequent calls to the Printer object follow the   
   printer selected in the Printer Dialog Box.   
       Thanks anyway.   
           -Carl   
      
      
   "Carl"  wrote in message   
   news:HyxKd.85$Sd.20662@newshog.newsread.com...   
   > Hi;    I'm trying to select different printers with the ShowPrinter   
   method,   
   > and set the printer for the Printer Object based on the printer selection   
   > from the Common Dialog control.   
   >     My problem is passing the selected printer to the Printer Object.  How   
   > do you get the selected printer information from the ShowPrinter method   
   for   
   > the Common Dialog Control? -Carl   
   >   
   >   
      
   --- 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