Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Paradox / Runtime on USB Flash Drive

 
   Database Forums (Home) -> Paradox RSS
Next:  Walkin Interview @ Bootstrap Tech on 23rd Feb 200..  
Author Message
Kevin Woodford

External


Since: Jan 19, 2006
Posts: 2



(Msg. 1) Posted: Mon Feb 18, 2008 4:01 pm
Post subject: Paradox / Runtime on USB Flash Drive
Archived from groups: comp>databases>paradox (more info?)

Has anyone tried to install paradox runtime onto a USB flash drive so that
the drive is standalone. Is this even possible. I'd like to create an app
that is entirely run from the flash drive.

Any experience in doing this out there?

Any help would be greatly appreciated.

Thanks in advance.

Kevin

 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Tony McGuire2

External


Since: Feb 25, 2004
Posts: 519



(Msg. 2) Posted: Mon Feb 18, 2008 4:01 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Has anyone tried to install paradox runtime onto a USB flash drive
> so that
> the drive is standalone. Is this even possible. I'd like to create
> an app that is entirely run from the flash drive.


I think the required registry entries will make this all but
impossible. For the BDE as much as anything.

And each computer will assign a different drive to the usb drive,
further complicating things.




--
------------------------------
Tony McGuire

 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Steven Green

External


Since: Nov 09, 2007
Posts: 110



(Msg. 3) Posted: Tue Feb 19, 2008 11:33 am
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> -in idapi32.cfg file you must have local share=false and undefined
> (empty) net dir setting

that's a really good way to end up with corrupt data.. let alone, what
happens if some smart-a** pulls the thumb drive out while you're in the
middle of a data post?

it's just like the old rule about queries.. just because you *can* do it,
doesn't mean you *should* do it..

--
Steven Green - Myrtle Beach, South Carolina USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"modri dirkac" wrote in message

> Biggest problem is writing registry keys for BDE.
> Look at files in ZIP.
>
> There is one BAT file, which you can call to start your application.
> (you can try caling bat file from autorun on your USB key)
>
> This bat file first determines letter for USB key,
> then imports registry settings for this drive letter,
> and at the end calls paradox runtime.
>
> You also have to have appropriate file and directoy structure on USB key.
> This example assumes, that on USB key you have
> -BDE files in \myapp\bde\
> -paradox runtime files in \myqpp\runtime\
> -:WORK: directory \myqpp\work\
> -:PRIV: directory \myapp\priv\
> -in idapi32.cfg file you must have local share=false
> and undefined (empty) net dir setting
>
> Try and report.
> But you must know, that USB keys have limited number of write cycles for
> every byte on them.
>
> Jure
>
>
> "Kevin Woodford" je napisal v sporocilo
> ...
>> Has anyone tried to install paradox runtime onto a USB flash drive so
>> that
>> the drive is standalone. Is this even possible. I'd like to create an
>> app
>> that is entirely run from the flash drive.
>>
>> Any experience in doing this out there?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks in advance.
>>
>> Kevin
>>
>
>
>
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
modri dirkac

External


Since: Feb 19, 2008
Posts: 3



(Msg. 4) Posted: Tue Feb 19, 2008 7:36 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I agree, "you can <> you should", but the question was "Is this possible".
But perhaps he is writing an application, that does not handle DB files,
instead just does for example some file manipulation, or maby readnig some
data from internet and manipulating it, or ....

I wrote small app for solving sudoku in 2 hours, then app for searching txt
files
and manipulating them, .... It was much faster then learning any other
language.

Jure

"Steven Green" je napisal v sporočilo
...
>> -in idapi32.cfg file you must have local share=false and undefined
>> (empty) net dir setting
>
> that's a really good way to end up with corrupt data.. let alone, what
> happens if some smart-a** pulls the thumb drive out while you're in the
> middle of a data post?
>
> it's just like the old rule about queries.. just because you *can* do it,
> doesn't mean you *should* do it..
>
> --
> Steven Green - Myrtle Beach, South Carolina USA
>
> Diamond Software Group
> http://www.diamondsg.com/main.htm
> Paradox Support & Sales
>
> Diamond Sports Gems
> http://www.diamondsg.com/gemsmain.htm
> Sports Memorabilia and Trading Cards
>
> "modri dirkac" wrote in message
>
>> Biggest problem is writing registry keys for BDE.
>> Look at files in ZIP.
>>
>> There is one BAT file, which you can call to start your application.
>> (you can try caling bat file from autorun on your USB key)
>>
>> This bat file first determines letter for USB key,
>> then imports registry settings for this drive letter,
>> and at the end calls paradox runtime.
>>
>> You also have to have appropriate file and directoy structure on USB key.
>> This example assumes, that on USB key you have
>> -BDE files in \myapp\bde\
>> -paradox runtime files in \myqpp\runtime\
>> -:WORK: directory \myqpp\work\
>> -:PRIV: directory \myapp\priv\
>> -in idapi32.cfg file you must have local share=false
>> and undefined (empty) net dir setting
>>
>> Try and report.
>> But you must know, that USB keys have limited number of write cycles for
>> every byte on them.
>>
>> Jure
>>
>>
>> "Kevin Woodford" je napisal v sporocilo
>> ...
>>> Has anyone tried to install paradox runtime onto a USB flash drive so
>>> that
>>> the drive is standalone. Is this even possible. I'd like to create an
>>> app
>>> that is entirely run from the flash drive.
>>>
>>> Any experience in doing this out there?
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Thanks in advance.
>>>
>>> Kevin
>>>
>>
>>
>>
>
>
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Steven Green

External


Since: Nov 09, 2007
Posts: 110



(Msg. 5) Posted: Tue Feb 19, 2008 7:36 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> But perhaps he is writing an application, that does not handle DB files,
> instead just does for example some file manipulation, or maby readnig some
> data from internet and manipulating it, or ....

OK.. if "tables" aren't an issue.. the description above would seem much
more appropriate for Delphi, or some other "c type" program, where the BDE
would not be involved..

--
Steven Green - Myrtle Beach, South Carolina USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"modri dirkac" wrote in message

>I agree, "you can <> you should", but the question was "Is this possible".
> But perhaps he is writing an application, that does not handle DB files,
> instead just does for example some file manipulation, or maby readnig some
> data from internet and manipulating it, or ....
>
> I wrote small app for solving sudoku in 2 hours, then app for searching
> txt files
> and manipulating them, .... It was much faster then learning any other
> language.
>
> Jure
>
> "Steven Green" je napisal v sporočilo
> ...
>>> -in idapi32.cfg file you must have local share=false and undefined
>>> (empty) net dir setting
>>
>> that's a really good way to end up with corrupt data.. let alone, what
>> happens if some smart-a** pulls the thumb drive out while you're in the
>> middle of a data post?
>>
>> it's just like the old rule about queries.. just because you *can* do it,
>> doesn't mean you *should* do it..
>>
>> --
>> Steven Green - Myrtle Beach, South Carolina USA
>>
>> Diamond Software Group
>> http://www.diamondsg.com/main.htm
>> Paradox Support & Sales
>>
>> Diamond Sports Gems
>> http://www.diamondsg.com/gemsmain.htm
>> Sports Memorabilia and Trading Cards
>>
>> "modri dirkac" wrote in message
>>
>>> Biggest problem is writing registry keys for BDE.
>>> Look at files in ZIP.
>>>
>>> There is one BAT file, which you can call to start your application.
>>> (you can try caling bat file from autorun on your USB key)
>>>
>>> This bat file first determines letter for USB key,
>>> then imports registry settings for this drive letter,
>>> and at the end calls paradox runtime.
>>>
>>> You also have to have appropriate file and directoy structure on USB
>>> key.
>>> This example assumes, that on USB key you have
>>> -BDE files in \myapp\bde\
>>> -paradox runtime files in \myqpp\runtime\
>>> -:WORK: directory \myqpp\work\
>>> -:PRIV: directory \myapp\priv\
>>> -in idapi32.cfg file you must have local share=false
>>> and undefined (empty) net dir setting
>>>
>>> Try and report.
>>> But you must know, that USB keys have limited number of write cycles for
>>> every byte on them.
>>>
>>> Jure
>>>
>>>
>>> "Kevin Woodford" je napisal v sporocilo
>>> ...
>>>> Has anyone tried to install paradox runtime onto a USB flash drive so
>>>> that
>>>> the drive is standalone. Is this even possible. I'd like to create an
>>>> app
>>>> that is entirely run from the flash drive.
>>>>
>>>> Any experience in doing this out there?
>>>>
>>>> Any help would be greatly appreciated.
>>>>
>>>> Thanks in advance.
>>>>
>>>> Kevin
>>>>
>>>
>>>
>>>
>>
>>
>
>
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Anders Jonsson

External


Since: Nov 24, 2005
Posts: 113



(Msg. 6) Posted: Tue Feb 19, 2008 9:53 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> that's a really good way to end up with corrupt data.. let alone, what
> happens if some smart-a** pulls the thumb drive out while you're in the
> middle of a data post?
>
> it's just like the old rule about queries.. just because you *can* do it,
> doesn't mean you *should* do it..


Why so negative? Of course there is a reason for the wisht to run it on a
USB drive and I'm sure that one realize the stability issues.

Besides, I don't know about your working environment, but in my office I
seldom have some "smart-a**" coming up to my PC while I work and pull out my
USB-devices! In fact, it hasn't happened yet! Smile

For example demo purpose I can see that having your app on a USB-stick could
be very handy.

Anders
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Steven Green

External


Since: Nov 09, 2007
Posts: 110



(Msg. 7) Posted: Tue Feb 19, 2008 9:53 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> For example demo purpose I can see that having your app on a USB-stick
> could be very handy.

I agree.. well, the guy posted a zip with some stuff in it.. are you gonna
be the volunteer to see if it works?

--
Steven Green - Myrtle Beach, South Carolina USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Anders Jonsson" wrote in message

>
>> that's a really good way to end up with corrupt data.. let alone, what
>> happens if some smart-a** pulls the thumb drive out while you're in the
>> middle of a data post?
>>
>> it's just like the old rule about queries.. just because you *can* do it,
>> doesn't mean you *should* do it..
>
>
> Why so negative? Of course there is a reason for the wisht to run it on a
> USB drive and I'm sure that one realize the stability issues.
>
> Besides, I don't know about your working environment, but in my office I
> seldom have some "smart-a**" coming up to my PC while I work and pull out
> my USB-devices! In fact, it hasn't happened yet! Smile
>
> For example demo purpose I can see that having your app on a USB-stick
> could be very handy.
>
> Anders
>
>
>
>
>
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Anders Jonsson

External


Since: Nov 24, 2005
Posts: 113



(Msg. 8) Posted: Tue Feb 19, 2008 10:33 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> I agree.. well, the guy posted a zip with some stuff in it.. are you gonna
> be the volunteer to see if it works?


Why should I? I don't have the need to run Paradox on a USB stick.


Anders
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Steven Green

External


Since: Nov 09, 2007
Posts: 110



(Msg. 9) Posted: Tue Feb 19, 2008 10:33 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Why should I? I don't have the need to run Paradox on a USB stick.

(g).. me, either..

--
Steven Green - Myrtle Beach, South Carolina USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Anders Jonsson" wrote in message

>
>> I agree.. well, the guy posted a zip with some stuff in it.. are you
>> gonna
>> be the volunteer to see if it works?
>
>
> Why should I? I don't have the need to run Paradox on a USB stick.
>
>
> Anders
>
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
modri dirkac

External


Since: Feb 19, 2008
Posts: 3



(Msg. 10) Posted: Wed Feb 20, 2008 1:06 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Are you so affraid, you don't want even open my ZIP file? Wink

Well, there is one bat file, which tries to determin drive letter for USB
disk
and then import appropriate registry settings and at the end
runs paradox.

If you try this, and import some registry settings, your paradox
might stop working. All reg files just change path to BDE folder
and write this settings:
[HKEY_LOCAL_MACHINE\SOFTWARE\Borland\BLW32]
"BLAPIPATH"="x:\\myapp\\BDE"

[HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Database Engine]
"DLLPATH"="x:\\myapp\\BDE"
"CONFIGFILE01"="x:\\myapp\\lock\\idapi32.cfg"
"RESOURCE"="0009"
"SaveConfig"="WIN32"
"UseCount"="4"

I must also confess, I have not tried this with an USB disk, just put it
together
in 30 minutes to see, if it could be done.

Jure

> I agree.. well, the guy posted a zip with some stuff in it.. are you gonna
> be the volunteer to see if it works?
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Steven Green

External


Since: Nov 09, 2007
Posts: 110



(Msg. 11) Posted: Wed Feb 20, 2008 1:06 pm
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> I must also confess, I have not tried this with an USB disk, just put it
> together in 30 minutes to see, if it could be done.

that means writing the bat file can be done.. it doesn't mean actually doing
it can be done.. (g).. and I'm not gonna be the one to find out, because I
have no need for it, myself..

however, if a long-term, trusted developer tries it, and likes it, I've got
no problem promoting it, and putting the files on my downloads page..

--
Steven Green - Myrtle Beach, South Carolina USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"modri dirkac" wrote in message

> Are you so affraid, you don't want even open my ZIP file? Wink
>
> Well, there is one bat file, which tries to determin drive letter for USB
> disk
> and then import appropriate registry settings and at the end
> runs paradox.
>
> If you try this, and import some registry settings, your paradox
> might stop working. All reg files just change path to BDE folder
> and write this settings:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Borland\BLW32]
> "BLAPIPATH"="x:\\myapp\\BDE"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Database Engine]
> "DLLPATH"="x:\\myapp\\BDE"
> "CONFIGFILE01"="x:\\myapp\\lock\\idapi32.cfg"
> "RESOURCE"="0009"
> "SaveConfig"="WIN32"
> "UseCount"="4"
>
> I must also confess, I have not tried this with an USB disk, just put it
> together
> in 30 minutes to see, if it could be done.
>
> Jure
>
>> I agree.. well, the guy posted a zip with some stuff in it.. are you
>> gonna be the volunteer to see if it works?
>
>
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Leslie Milburn3

External


Since: Mar 18, 2004
Posts: 45



(Msg. 12) Posted: Thu Feb 21, 2008 9:16 am
Post subject: Re: Paradox / Runtime on USB Flash Drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"modri dirkac" wrote in message

> Are you so affraid, you don't want even open my ZIP file? Wink
>
> Well, there is one bat file, which tries to determin drive letter for USB
> disk
> and then import appropriate registry settings and at the end
> runs paradox.
>
> If you try this, and import some registry settings, your paradox
> might stop working. All reg files just change path to BDE folder
> and write this settings:
> [HKEY_LOCAL_MACHINE\SOFTWARE\Borland\BLW32]
> "BLAPIPATH"="x:\\myapp\\BDE"
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Database Engine]
> "DLLPATH"="x:\\myapp\\BDE"
> "CONFIGFILE01"="x:\\myapp\\lock\\idapi32.cfg"
> "RESOURCE"="0009"
> "SaveConfig"="WIN32"
> "UseCount"="4"
>
> I must also confess, I have not tried this with an USB disk, just put it
> together
> in 30 minutes to see, if it could be done.
>
> Jure
>

And as you have indicated - if the BDE is *already* installed on the machine
by another application then trouble is heading your way. Think about it,
this is not a good idea at all - once the device is unplugged you are gone.
So if you intend to use this method for a demo which then stuffs the
end-users machine up - guess what, No Sale and a Bad Reputation as well.

Truely I get fed up with developers thinking they are the only ones using
the BDE. I really hate stuff that goes in and messes around with the
registry. My golden rule is that if you have to mess with the Registry then
you are doing it wrong or to put it more bluntly - Don't Do IT !!

Leslie.
 >> Stay informed about: Paradox / Runtime on USB Flash Drive 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Where can I get Paradox 10 Runtime? - Where can I get Paradox 10 Runtime?

Paradox 11 and Runtime on Vista - What about pdx11 and runtime in Vista? do you have experience with Vista?

Runtime - I have read a number of times here about Paradox runtime, but haven't paid much attention to the topic, since my only client has full Paradox installed. For the first time I have a form that I'd like to make available to someone who doesn't have Paradox...

Runtime Error 216 - Paradox 11.0.0.302 with WXP SP2. Although this problem has been there since Paradoz 7 on Windows 2000 and subsequent versions. Running a 300 page report created with the report expert (no ObjectPal apart from that generated by the creation), report..

P7 Runtime opens once - A P7 Runtime app which I've distributed for years, fails to open more than once on an HP XP multi-media machine. Attempts to restart the app after closing results in the brief appearance of the hour glass and then nothing happens. No error messages, no..
   Database Forums (Home) -> Paradox All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]