|
Home > Archive > dBASE Web Applications > January 2006 > deo and exe
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Claus Mygind 2006-01-09, 1:23 pm |
| Is it possible to mix .deo with .exe apps.
I can see the advantage of using .deo files, but I am having a little
trouble getting started.
I cannot glean enough from Michael Nuwer online learning course on how to
get started.
1. What changes do I have to make to Apache?
2. Where do I store the .deo files?
3. How do I make a call to these files?
4. Can I mix .deo and .exe files? Basiclly I have some small utility files
like a searchResult.exe that get rather big because I load them up with
detail screens for my various html pages. My other option is to create
separate .exe files for each (clientSearchResult.exe,
contactSearchResult.exe etc. etc.). I would really like one search app that
then calls dynamically the specific screen needed.
| |
| Frank J. Polan 2006-01-09, 1:23 pm |
| Claus
I'm running apache 2 on a Win2000
Apache is on Drive C:
The HTDOCS and CGI-Bin folders are on Drive E:
The httpd.conf points to those folders - see below
I'm using name based Virtual Hosts
<VirtualHost *:80>
DocumentRoot "e:/pcassist/localwebsite/htdocs"
ServerName pcassist-iqaluit.com
</VirtualHost>
NameVirtualHost *:80
ScriptAlias /clientexes/ "e:/pcassist/localwebsite/cgi-bin/"
My dBASE exes and DEO files are in the cgi-bin folder
I call them just like in a regular Windows program
HTH
Frank Polan
On Mon, 9 Jan 2006 12:58:31 -0600, "Claus Mygind"
<cmygind@tsccorp.com> wrote:
>
>Is it possible to mix .deo with .exe apps.
>
>I can see the advantage of using .deo files, but I am having a little
>trouble getting started.
>
>I cannot glean enough from Michael Nuwer online learning course on how to
>get started.
>
>1. What changes do I have to make to Apache?
>2. Where do I store the .deo files?
>3. How do I make a call to these files?
>4. Can I mix .deo and .exe files? Basiclly I have some small utility files
>like a searchResult.exe that get rather big because I load them up with
>detail screens for my various html pages. My other option is to create
>separate .exe files for each (clientSearchResult.exe,
>contactSearchResult.exe etc. etc.). I would really like one search app that
>then calls dynamically the specific screen needed.
>
>
| |
| Claus Mygind 2006-01-09, 1:23 pm |
| Frank,
So what you are saying I can just compile my .prg files with .deo
extentions? I'm not sure how to do that?
I thought I read something about changing .ini files to accept .deo files?
I whish someone had a good step by step approach?
"Frank J. Polan" <fpolan@pcassist.on.ca> wrote in message
news:eqc5s1lbjpaps8q
eru2mkjra733epdu6ra@
4ax.com...
> Claus
>
> I'm running apache 2 on a Win2000
> apache is on Drive C:
> The HTDOCS and CGI-Bin folders are on Drive E:
> The httpd.conf points to those folders - see below
> I'm using name based Virtual Hosts
>
> <VirtualHost *:80>
> DocumentRoot "e:/pcassist/localwebsite/htdocs"
> ServerName pcassist-iqaluit.com
> </VirtualHost>
>
> NameVirtualHost *:80
> ScriptAlias /clientexes/ "e:/pcassist/localwebsite/cgi-bin/"
>
> My dBASE exes and DEO files are in the cgi-bin folder
> I call them just like in a regular Windows program
>
> HTH
>
> Frank Polan
>
> On Mon, 9 Jan 2006 12:58:31 -0600, "Claus Mygind"
> <cmygind@tsccorp.com> wrote:
>
>
>
| |
| Frank J. Polan 2006-01-09, 8:24 pm |
| Claus
For Windows and Web apps I only use the project explorer to build the
initial EXE file. It just contains enough code to start the app
My windows apps are custom, 1 off, so I don't bother creating an
install script - I go to the client's and manually install it
In a Windows app start up program I usually just check user
id/password, create an _app.object, and call the _app.object to open
the app.framewin with a menu
In a web app I follow Michael Nuwer's web tutorial to create a basic
program and call my functions from DMDs or CCs as DEO Objects
I compile all objects, except the basic program, by right clicking in
the Navigator and selecting Compile, or by running the app
In a windows app I change the ini file to point to the folder where
the DEOs are stored.
In a web app, so far I've found it easier to store the DEOs & EXE in
the same folder
HTH
Frank Polan
On Mon, 9 Jan 2006 13:23:21 -0600, "Claus Mygind"
<cmygind@tsccorp.com> wrote:
>
>Frank,
>
>So what you are saying I can just compile my .prg files with .deo
>extentions? I'm not sure how to do that?
>I thought I read something about changing .ini files to accept .deo files?
>I whish someone had a good step by step approach?
>
>
>"Frank J. Polan" <fpolan@pcassist.on.ca> wrote in message
> news:eqc5s1lbjpaps8q
eru2mkjra733epdu6ra@
4ax.com...
>
>
| |
| Claus Mygind 2006-01-09, 8:24 pm |
| Thanks Frank. I'll give it a shot.
"Frank J. Polan" <fpolan@pcassist.on.ca> wrote in message
news:j5e5s1113f2flqd
jumn3fn7r9lu4q9urnf@
4ax.com...
> Claus
>
> For Windows and Web apps I only use the project explorer to build the
> initial EXE file. It just contains enough code to start the app
>
> My windows apps are custom, 1 off, so I don't bother creating an
> install script - I go to the client's and manually install it
>
> In a Windows app start up program I usually just check user
> id/password, create an _app.object, and call the _app.object to open
> the app.framewin with a menu
>
> In a web app I follow Michael Nuwer's web tutorial to create a basic
> program and call my functions from DMDs or CCs as DEO Objects
>
> I compile all objects, except the basic program, by right clicking in
> the Navigator and selecting Compile, or by running the app
>
> In a windows app I change the ini file to point to the folder where
> the DEOs are stored.
>
> In a web app, so far I've found it easier to store the DEOs & EXE in
> the same folder
>
>
> HTH
>
> Frank Polan
>
>
>
> On Mon, 9 Jan 2006 13:23:21 -0600, "Claus Mygind"
> <cmygind@tsccorp.com> wrote:
>
>
>
| |
| Ken Mayer [dBVIPS] 2006-01-09, 8:24 pm |
| Claus Mygind wrote:
> Is it possible to mix .deo with .exe apps.
>
> I can see the advantage of using .deo files, but I am having a little
> trouble getting started.
Should work fine. Put the information in the .INI file that is needed so
the DEO part of the application can find the external files ...
otherwise, there isn't much you have to do.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
| Dan Barbaria 2006-01-10, 9:23 am |
|
"Frank J. Polan" <fpolan@pcassist.on.ca> wrote in message
news:j5e5s1113f2flqd
jumn3fn7r9lu4q9urnf@
4ax.com...
>
> In a web app, so far I've found it easier to store the DEOs & EXE in
> the same folder
>
I keep my DEO's and EXE (dbw) files on seperate drives on my webserver. The
EXE's go in the cgi folder on my d: drive and the DEO's go in a folder on my
c: drive. I do this because of a gut feeling that it is not secure to have
the DEO's in the webspace. I don't know if my feeling is correct or not but
I feel better doing this way.
Dan B
| |
| Bowen Moursund [DataTech] 2006-01-10, 8:23 pm |
| > So what you are saying I can just compile my .prg files with .deo
> extentions? I'm not sure how to do that?
Just compile 'em, changing the extension of the object file is unnecessary.
> I thought I read something about changing .ini files to accept .deo files?
If your external object files are not in the working directory of the
application, you can point to the folder that contains them with an entry
like this in the application EXE's .INI:
[ObjectPath]
objpath0="C:\dBASEDEO"
I recommend storing DEO object files outside of webspace using this
technique.
--
Bowen Moursund
DataTech
Consulting & Development
http://www.bmmnet.us
| |
| Claus Mygind 2006-01-12, 1:23 pm |
| Thanks everyone for the help.
|
|
|
|
|