Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: New awcntgetfile function

$
0
0
Re: New awcntgetfile function
FoxInCloud
Re: New awcntgetfile function
May. 17, 2013
03:49 am
3SC086NI6Show this entire thread in new window
Gratar Image based on email address
From:Michele
To:FoxInCloud support
The uploaded files are saved in different folders depending on the file type. How can i know the folder where these files are saved ? or can i save them in the same folder ?

I have to move the uploaded file in my ERP special folder and use it as attachment of recorded records...


Hi Michele,

What is unclear to you in this?

	{en} Adaptation:
	{en} --------------------
	{en}      Important
	{en} --------------------
	{en} A/ Replace any control that issues GetFile() with an instance of this class
	{en}  The recommend process is:
	{en}  1- add an instance of this class to your form or your class library
	{en}  2- copy and paste code from the existing class or object into the new instance
	{en}  3- delete the existing (former) class or object
	{en}  4- rename the new instance like the former class or object
	{en}  5- if your former class is in a .vcx has a different base class, change base class in *.?cx using it:
	{en}     USE *.?cx
	{en}     REPLACE BaseClass WITH ... FOR CLASS = ... AND CLASSLIB = ...
	{en} C/ Review and implement this.wcGetFile* properties and methods you see fit
	{en} B/ Callback:
	{en}  Any code processing the uploaded file needs be moved to a call-back method
	{en}   the standard call-back method is: this.wFormCallBack()
	{en}   To use another method of this object, specify its name in this.wcGetFileCallBack,
	{en}    and/or override this.wcGetFileCallBackGet()
	{en}   Review code sample in aw.vcx!awImgGetFile::wFormCallBack()
	{en} ====================================================


I read it ! but i don't understand all.
Can i call it from a button and not in the image ?


MODIFY CLASS awImgGetFile OF aw.vcx METHOD wreadme


How does it work ? I need to upload a file and save it in a defined folder on the server-





Viewing all articles
Browse latest Browse all 10393

Trending Articles