Subject Re: [firebird-support] Re: Firebird on a Thumb Drive
Author Lucas Franzen
Jack,

jrodenhi schrieb:
> Wow!
> Okay. This opens my eyes not just for my present endeavor, but for
> other potential applications as well. I really need to check out this
> embedded arrangement.
>
> Thank you very much.

There's not much to check out.

Copy all the files from the embedded server (including the
subdirectories \intl (you need the fbintl.dll to you use charactersets)
and \df (if you use udfs)) in your apllication path.
Depending on your IBO version rename the fbclient.dll to gds32.dll.

That's all.

Start your app and enter the appropriate settings in your login dialog.

As Woody said:
I do always have my software "on a stick"; whenever my laptop should
crash I can still use the stick to demonstrate my software.

And I even use dll's that are called from the app and do connect to the
database, too (also written with IBO using SharedConnections).

Works pretty well, and still pretty fast!

Have fun with it!

And get a copy of Helen's Firebird book!!!

Luc.

P.S.:
This is why I wasn't seeing the point....



>
> -Jack
> --- In firebird-support@yahoogroups.com, "Woody \(TMW\)"
> <woody-tmw@g...> wrote:
>
>>From: "jrodenhi" <jack@r...>
>>
>>>To me, the value of the thumb drive would be the portability and lack
>>>of installation required to set up and run a demo. To be able to walk
>>>in, plug in the drive and demo the application (in a Visual Basic/SQL
>>>Server world where nothing is done without extensive modification of
>>>the prospect's computer) would be a significant advantage. You could
>>>not demonstrate multi-user aspects of the software, but that would be
>>>a given and not the focus of the demonstration. In a situation like
>>>this, there would be no anticipation of any other users using the
>>>program.
>>>
>>
>>Switching between server and embedded versions is easy. It's a matter of
>>setting the protocol to local and setting the database name to the path
>>without the server or ip address. As long as the gds32.dll (firebird
>>client/embedded server) is in the app directory, it will work fine. By
>>adding the server name to the database path and setting protocol to
>
> tcpip,
>
>>it will use a FB server instead. This is especially useful for
>
> programs that
>
>>are run on laptops that might not always be connected, for instance
>
> being
>
>>"on the road". They could take a copy of the database with them (or
>
> whatever
>
>>portion they need depending on the program), and when the program
>
> runs and
>
>>can't connect to the network, it could ask them if they want to use the
>>local copy. I used this technique in a recent program and everything
>
> seemed
>
>>to work fine.
>>
>>Woody (TMW)
>
>
>
>
>
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>