Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Marat Chariev
  Where is Marat Chariev?
 Montreal
 Canada
 Marat Chariev
 To: Karben Selim Mejia
  Where is Karben Selim Mejia?
 San Pedro Sula
 Honduras
 Karben Selim Mejia
 Tags
Subject: RE: any body kows how to get the printer handle?
Thread ID: 15933 Message ID: 16061 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Tuesday, October 08, 2002 3:30:21 PM         
   


It is my mistake - I had to change code a little bit before post it.

Instead using
loForm = CREATEOBJECT('BaseForm'), where BaseForm is my subclass of VFP Form class, try to use
loForm = CREATEOBJECT('Form')

And instead using loForm.ADDOBJECT('oDialog', 'BaseCommonDialogBox'), where BaseCommonDialogBox is my MSComDlg subclass try to use
loForm.ADDOBJECT('oDialog', 'YourCommonDialogBoxSubClass')
So you need create your MSComDlg subclass and use it.

Regards
Marat Chariev




ENTIRE THREAD

how to add bmp to rich text contro Posted by JIGNESH BAROT @ 10/4/2002 7:50:43 AM
RE: how to add bmp to rich text contro Posted by Karben Selim Mejia @ 10/4/2002 6:50:32 PM
RE: how to add bmp to rich text contro Posted by JIGNESH BAROT @ 10/5/2002 9:41:11 AM
RE: how to add bmp to rich text contro Posted by JIGNESH BAROT @ 10/5/2002 10:09:34 AM
any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/5/2002 4:39:43 PM
RE: any body kows how to get the printer handle? Posted by Eric den Doop @ 10/6/2002 11:07:18 AM
RE: any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/6/2002 8:39:09 PM
RE: Yes this is a code to get the printer handle Posted by JIGNESH BAROT @ 10/7/2002 7:54:13 AM
RE: any body kows how to get the printer handle? Posted by Marat Chariev @ 10/7/2002 11:05:07 PM
RE: any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/8/2002 12:00:16 AM
RE: any body kows how to get the printer handle? Posted by Marat Chariev @ 10/8/2002 3:30:21 PM
RE: any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/8/2002 3:44:52 PM