Louis Verbraak
[WD12] WDModFic and CS June 10, 2009 02:08PM |
Aad Gouka
Re: [WD12] WDModFic and CS June 10, 2009 03:36PM |
Louis Verbraak
Re: [WD12] WDModFic and CS June 10, 2009 04:16PM |
Louis Verbraak
Re: [WD12] WDModFic and CS June 10, 2009 04:40PM |
Aad Gouka
Re: [WD12] WDModFic and CS June 10, 2009 05:47PM |
Louis Verbraak
Re: [WD12] WDModFic and CS June 10, 2009 06:05PM |
Arie
Re: [WD12] WDModFic and CS June 10, 2009 08:58PM |
Louis Verbraak
Re: [WD12] WDModFic and CS June 10, 2009 11:35PM |
Quote
Using WDModFic for a Hyper File Client/Server database
// Parameters for the automatic file modification
// Directory containing WDModFic
WDModifDirectory is string = "C:\Program Files\WinDev 11\Programs\"
// Full name of the WDD with its path (here, in the same directory)
FullWddName is string = CompleteDir(fExeDir())+"MyAnalysis.wdd"
// User name and password on the Hyper File server
// (with rights for modifying the file structure)
User is string = "guest"
Password is string = ""
// IP address or DNS name of the machine that hosts the Hyper File server
AddressOrHFServerName is string = "MachineName"
// Port of the Hyper File server
HFServerPortNum is int = 4900
// Name of the database where
// the files to modify are located
DatabaseName is string = "MyAnalysis"
CommandLine is string
// Build the command line
// Remove /apply to not get
// a dialog box at the end
CommandLine = StringBuild([
"%1WDModFic.exe" /WDD="%2" /SERVER=%3:%4@%5:%6/%7 /apply
,CompleteDir(WDModifDirectory
FullWddName,User,...
Password,AddressOrHFServerName,...
HFServerPortNum,DatabaseName)
// For test purposes the command line can be displayed here
// in order to perform a visual check
// //Info(sCommandLine)
// Start the automatic modification while waiting for the end
IF NOT ExeRun(CommandLine,exeActive,exeWait) THEN
// Launch failure, display error
Error("Unable to run the automatic modification"+...
" data: ",ErrorInfo(),...
"Command line used: ",CommandLine)
ELSE
//Automatic modification performed
END]
Stefan Bentvelsen
Re: [WD12] WDModFic and CS June 11, 2009 08:53AM |
Arie
Re: [WD12] WDModFic and CS June 11, 2009 09:01AM |
Louis Verbraak
Re: [WD12] WDModFic and CS June 11, 2009 10:02AM |
Louis Verbraak
Re: [WD12] WDModFic and CS June 11, 2009 10:04AM |
Jimbo
Re: [WD12] WDModFic and CS June 11, 2009 10:22AM |
Moderator |
Quote
Louis Verbraak
Hello Arie,
I've seen that post already and I don't use a REP-file. Thanks.
Kind regards,
Louis.
Louis Verbraak
Re: [WD12] WDModFic and CS June 11, 2009 11:02AM |
Jimbo
Re: [WD12] WDModFic and CS June 11, 2009 11:42AM |
Moderator |
Quote
Louis Verbraak
Hello Guenter,
For now I stay with my structure of subdirectories in one database. I'll try to find a workaround for the datamodification (I understood that Stefan copies the files to another directory) or block that routine for CS-users.
Is it possible to connect the CS-files in the Classic way (HChangeDir/HChangeName) while the server is running?
Kind regards,
Louis.
Louis Verbraak
Re: [WD12] WDModFic and CS June 11, 2009 11:52AM |