Michael
Developing for SaaS June 04, 2009 06:58PM |
Glenn Rathke
Re: Developing for SaaS June 04, 2009 07:48PM |
Paulo Oliveira
Re: Developing for SaaS June 04, 2009 08:19PM |
Michael
Re: Developing for SaaS June 04, 2009 08:37PM |
Michael
Re: Developing for SaaS June 05, 2009 05:20PM |
Glenn Rathke
Re: Developing for SaaS June 05, 2009 06:11PM |
Fabrice Harari
Re: Developing for SaaS June 05, 2009 06:16PM |
Glenn Rathke
Re: Developing for SaaS June 05, 2009 06:27PM |
Paulo Oliveira
Re: Developing for SaaS June 05, 2009 06:30PM |
Glenn Rathke
Re: Developing for SaaS June 05, 2009 06:35PM |
Paulo Oliveira
Re: Developing for SaaS June 05, 2009 06:43PM |
Paulo Oliveira
Re: Developing for SaaS June 05, 2009 06:47PM |
Jimbo
Re: Developing for SaaS June 05, 2009 07:10PM |
Moderator |
Jimbo
Re: Developing for SaaS June 05, 2009 07:15PM |
Moderator |
Quote
Fabrice Harari
Hi Michael
Personally, I just use a different DB per company. HChangeDir allows to specificy in which directory you want to work (even in HFCS where you can select/create a subdirectory of the main one)...
so the initial URL (differetn per customer) points to a different htm static page with a redirection to my main site with a parameter telling the project which subdir to work in
Best regards
Fabrice Harari
WinDev, WebDev, WinDev Mobile Consulting & Video Courses
Fabrice Harari
Re: Developing for SaaS June 05, 2009 07:29PM |
Jimbo
Re: Developing for SaaS June 05, 2009 10:33PM |
Moderator |
Toddy Utomo
Re: Developing for SaaS June 06, 2009 06:57AM |
Jimbo
Re: Developing for SaaS June 06, 2009 07:50AM |
Moderator |
Quote
Toddy Utomo
Hi Paul
It is possible to create a new database instance for each company within SQL databases (ms-sql, my-sql or oracle), from within windev via programming?
Thanks
Toddy
Jimbo
Re: Developing for SaaS June 10, 2009 10:48PM |
Moderator |
Quote
Fabrice Harari
Hi Guenter...
really? What kind of problems? I'm using that often and I haven't had any problem (yet?)
Best regards
Fabrice Harari
WinDev, WebDev, WinDev Mobile Consulting & Video Courses
Quote
guenter
Written by Guenter at 20 Feb 2006 14:43:21:
As an answer to: Re: Using WDModfic.exe (v9+v10) in HF /CS environment written by Pascal Scheffers at 20 Feb 2006 12:15:15:
Hi Pascal,
wdmodfic should work fine when HF /CS is used without dafiles in any subdirectories, with the database only. It should even work fine with a web server. Problems start with using the /WDD clause - the definition, where the analysis is located. If there is a space in the path you have to surround the path definition with Charact(34) - wdmodfic will not be able to understand the path otherwise.
Don't use REP-files with HF /CS. Delete them, if they are there. They contain server-relative file paths and wdmodfic does not 'understand' server-relative file paths. Though HCreation etc. for HF /CS happily do produce REP files containing relative file paths. Look into such a REP file. Note that the structure of the REP file does not comply with the structure shown in HELP and note that the WinDev IDE will grab such REP files for restructuring and inevitably will fail to do so. Lots of funny error messages - they all come from incompatibility of REP-file to wdmodfic.
You can put wdmodfic into the program where the user starts to use the database and everytime the program is started it will look for the correct structure of the database.
Example:
// in Project code: For Test-mode copy the analysis to the exe directory:
IF OnTestMode() THEN
// Copy analysis to \exe -directory
IF fFileExist(Left(CompleteDir(fExeDir()),Length(CompleteDir(fExeDir()))-4)+"MyProject.WDD") THEN
fCopyFile(Left(CompleteDir(fExeDir()),Length(CompleteDir(fExeDir()))-4)+"MyProject.WDD",fExeDir())
END
END
// This one starts wdmodfic.exe in automated mode
ExeRun(CompleteDir(fExeDir())+"WDModfic.exe /WDD=""C:\My Projects\MyProject\Exe\MyProject.wdd"" /US",exeMaximize,exeWait)
Currently, using /DIR and/or -subdir is pure nonsense, it will not work.
Kind regards,
Guenter
If you're doing so, the major obstacle is to define the
>Well, I am glad I am not the only one with WdModfic and a gripe... My recent misadventure with HF/CS and WdModfic (it just didn't work, and no visible fix on the pc soft website)
>I have to automate the wdmodfic business, I really don't like how much interaction the 'normal' setup needs to modify the files. Neither do my customers.
>I like windev a lot, but the pcsoft idea of automation requires waaaaay to much knowledge from the user. I usually just want to ask 'Want me to do that?' If the answer is yes, just do it. Don't bother the user with more questions.
>- Pascal.