Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Aug 20, 2019 1:27 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Converting Common Dialog control
PostPosted: Tue Aug 30, 2011 1:06 pm 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
Hi,

In VB6 we use the CMDialog control to offer a file picker to the user... to either create, open, or save a new file....

When I compile in RB I get a "This method or property does not exist: Name" and it points to Location: frmClientInfo.CMDIalog1.Name

My guess is I need to switch the CMDialog to something else... or delete it altogether.... I have several places where user needs to select a file on the hard drive.... so how to do this/what to replace it with.... is much appreciated...

Thanks

-Tim

_________________
Currently using:
Windows XP Pro SP3
Real Studio 2011 Release 4.3 Enterprise
and
Mac OS 10.7.4
Real Studio 2011 Release 4.3 Enterprise
(finally also compiled on Mac)


Top
 Profile  
Reply with quote  
 Post subject: Re: Converting Common Dialog control
PostPosted: Tue Aug 30, 2011 1:38 pm 
Offline
User avatar

Joined: Fri Jun 05, 2009 11:50 am
Posts: 348
Location: Hamburg, Germany
Folderitem, GetFolderItem, GetOpenFolderItem, GetSaveFolderItem, SaveAsDialog should be the ones you are looking for.

_________________
Best regards

Stefan

Mac OSX Mountain Lion (latest Release) on a MacBook Pro 2.66 GHz Intel Core i7/ RB Professional 2011 Release 3


Top
 Profile  
Reply with quote  
 Post subject: Re: Converting Common Dialog control
PostPosted: Tue Sep 27, 2011 10:22 pm 
Offline
User avatar

Joined: Sat Jun 04, 2011 8:29 am
Posts: 387
So just delete the com dialog controls from all forms and then use those methods from code..... ok will try that.

_________________
Currently using:
Windows XP Pro SP3
Real Studio 2011 Release 4.3 Enterprise
and
Mac OS 10.7.4
Real Studio 2011 Release 4.3 Enterprise
(finally also compiled on Mac)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group