Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8066 > unrolled thread

Help writing a simple backup app

Started byJeff Rollo <jrollo64@gmail.com>
First post2015-05-08 16:58 -0700
Last post2015-05-12 09:07 +0200
Articles 7 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Help writing a simple backup app Jeff Rollo <jrollo64@gmail.com> - 2015-05-08 16:58 -0700
    Re: Help writing a simple backup app JohnMartens <martens@tennishulp.info> - 2015-05-09 08:52 +0200
    Re: Help writing a simple backup app Steve E <steven_emmett@yahoo.co.uk> - 2015-05-08 23:44 -0700
    Re: Help writing a simple backup app Jeff Rollo <jrollo64@gmail.com> - 2015-05-11 17:48 -0700
      Re: Help writing a simple backup app Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-05-12 08:17 +0200
        Re: Help writing a simple backup app "Jamal Assaf" <someone@example.com> - 2015-05-12 17:15 -0400
    Re: Help writing a simple backup app Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-05-12 09:07 +0200

#8066 — Help writing a simple backup app

FromJeff Rollo <jrollo64@gmail.com>
Date2015-05-08 16:58 -0700
SubjectHelp writing a simple backup app
Message-ID<07403b5e-0333-42d2-931f-e03e1cc0b0d4@googlegroups.com>
Hi, I'm trying to work out the best way (without a lot of sloppy convoluted/unnecessary coding) to display a File/Save type window, and retrieve the selected folder, so it can be used as the destination folder or drive to save the file(s) to.

Even if I could just get VO 2.8 Sp4 to return the required information from the OpenDialog Class.

Any ideas? I'm sure I'd probably be reinventing the wheel if I persevered on my own. 

[toc] | [next] | [standalone]


#8067

FromJohnMartens <martens@tennishulp.info>
Date2015-05-09 08:52 +0200
Message-ID<mikapl$9k$1@dont-email.me>
In reply to#8066
This ??

oStandardFolderDialog := StandardFolderDialog{SELF,"Backup folder 
select",cTheCurrentBackUpFolder,BIF_RETURNONLYFSDIRS}
oStandardFolderDialog:Show()
IF ! Empty(oStandardFolderDialog:FolderName)
ENDIF

John


Jeff Rollo schreef op 9-5-2015 om 1:58:
> Hi, I'm trying to work out the best way (without a lot of sloppy convoluted/unnecessary coding) to display a File/Save type window, and retrieve the selected folder, so it can be used as the destination folder or drive to save the file(s) to.
>
> Even if I could just get VO 2.8 Sp4 to return the required information from the OpenDialog Class.
>
> Any ideas? I'm sure I'd probably be reinventing the wheel if I persevered on my own.
>

[toc] | [prev] | [next] | [standalone]


#8069

FromSteve E <steven_emmett@yahoo.co.uk>
Date2015-05-08 23:44 -0700
Message-ID<2f0aa830-cabf-40fa-acd4-bdf57ac09b6b@googlegroups.com>
In reply to#8066
On Saturday, May 9, 2015 at 12:58:53 AM UTC+1, Jeff Rollo wrote:
> Hi, I'm trying to work out the best way (without a lot of sloppy convoluted/unnecessary coding) to display a File/Save type window, and retrieve the selected folder, so it can be used as the destination folder or drive to save the file(s) to.
> 
> Even if I could just get VO 2.8 Sp4 to return the required information from the OpenDialog Class.
> 
> Any ideas? I'm sure I'd probably be reinventing the wheel if I persevered on my own.

Hi Jeff, what about using the SaveAsDialog which is a standard class in VO2.8 ? 

"Provide standard save-file dialog facilities" is the description for this in the help file. 

I've used the opendialog and it's just straight forward to use.

[toc] | [prev] | [next] | [standalone]


#8082

FromJeff Rollo <jrollo64@gmail.com>
Date2015-05-11 17:48 -0700
Message-ID<807d4484-969d-444b-ad31-af606fa4ae34@googlegroups.com>
In reply to#8066
On Saturday, 9 May 2015 09:58:53 UTC+10, Jeff Rollo  wrote:
> Hi, I'm trying to work out the best way (without a lot of sloppy convoluted/unnecessary coding) to display a File/Save type window, and retrieve the selected folder, so it can be used as the destination folder or drive to save the file(s) to.
> 
> Even if I could just get VO 2.8 Sp4 to return the required information from the OpenDialog Class.
> 
> Any ideas? I'm sure I'd probably be reinventing the wheel if I persevered on my own.

Thanks very much for your help Steve E and JohnMartens. SaveAsDialog looks to be able to do what I want. Thought there'd be an easier way, but the help system is so useless...

[toc] | [prev] | [next] | [standalone]


#8083

FromKarl Faller <mail_withoutthat_@_drei-f_andthat_.de>
Date2015-05-12 08:17 +0200
Message-ID<vl63lad1e5oomgpt2ihlqagmtcvpbrlitv@4ax.com>
In reply to#8082
On Mon, 11 May 2015 17:48:11 -0700 (PDT), Jeff Rollo
<jrollo64@gmail.com> wrote:

>but the help system is so useless...
try MS's one for dotnet  - if you want something BIG - and useless ;-)

Karl

[toc] | [prev] | [next] | [standalone]


#8093

From"Jamal Assaf" <someone@example.com>
Date2015-05-12 17:15 -0400
Message-ID<mitqi4$ft6$1@speranza.aioe.org>
In reply to#8083
>> try MS's one for dotnet  - if you want something BIG - and useless ;-) <<

Useless! Really? How?  I wish VO help system would even come close to 10% of 
the .NET help system usefulness! But VO is dead anyhow (at least according 
to Graphx)!

Jamal

"Karl Faller"  wrote in message 
news:vl63lad1e5oomgpt2ihlqagmtcvpbrlitv@4ax.com...

On Mon, 11 May 2015 17:48:11 -0700 (PDT), Jeff Rollo
<jrollo64@gmail.com> wrote:

>but the help system is so useless...
try MS's one for dotnet  - if you want something BIG - and useless ;-)

Karl 

[toc] | [prev] | [next] | [standalone]


#8085

FromKarl Faller <mail_withoutthat_@_drei-f_andthat_.de>
Date2015-05-12 09:07 +0200
Message-ID<fk93latlsma57ci42nkp91skmlii5n2fb6@4ax.com>
In reply to#8066
Jeff,

>Hi, I'm trying to work out the best way (without a lot of sloppy convoluted/unnecessary coding) to display a File/Save type window, and retrieve the selected folder, so it can be used as the destination folder or drive to save the file(s) to.
StandardFolderDialog Class
should do the trick - and yes, it's in the help ;-)
K.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web