Re: AW: error in revdb_connect with special chars in path

2008-08-19 Thread viktoras didziulis
possible workaround would be using relative path instead of absolute and 
then

put "lexikon.db" into dbPath
put revOpenDatabase("sqlite",dbPath) into dbId

When working in IDE first change your defaultFolder to be applications 
folder. Or alternatively you might set your default folder to whatever 
is in your gPfadDB


Viktoras

Tiemo Hollmann TB wrote:

Hi Viktoras,
could be, but must not.
Thanks for your hint
Tiemo

  

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:use-revolution-
[EMAIL PROTECTED] Im Auftrag von viktoras didziulis
Gesendet: Dienstag, 19. August 2008 10:08
An: How to use Revolution
Betreff: Re: error in revdb_connect with special chars in path

Hi,

if the folder is one of the special folders might the
specialFolderPath()  help? On Windows it can be used in combination with
folder ids' as listed here:
http://msdn.microsoft.com/en-us/library/bb762494.aspx

Best wishes
Viktoras

Tiemo Hollmann TB wrote:


Hello,

Win XP, Rev 2.9. I just detected that revdb_connect has problems with
special chars in the db path. When having a special sign - in my case
  

german


umlaut - the revdb_connect fails. A path with standard chars works
  

perfect.


I coded:

put revdb_connect("sqlite",gPfadDB & "lexikon.db") into gConID

where the path in gPfadDB has a german umlaut. I also tested the
  

standalone


with the same effect. Is it really that I have to tell my customers they
can't use german chars in their installation path or is there any
workaround?

Thanks for any tipp

Tiemo







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
  

subscription preferences:


http://lists.runrev.com/mailman/listinfo/use-revolution



  

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


  


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: error in revdb_connect with special chars in path

2008-08-19 Thread Tiemo Hollmann TB
Hi Viktoras,
could be, but must not.
Thanks for your hint
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von viktoras didziulis
> Gesendet: Dienstag, 19. August 2008 10:08
> An: How to use Revolution
> Betreff: Re: error in revdb_connect with special chars in path
> 
> Hi,
> 
> if the folder is one of the special folders might the
> specialFolderPath()  help? On Windows it can be used in combination with
> folder ids' as listed here:
> http://msdn.microsoft.com/en-us/library/bb762494.aspx
> 
> Best wishes
> Viktoras
> 
> Tiemo Hollmann TB wrote:
> > Hello,
> >
> > Win XP, Rev 2.9. I just detected that revdb_connect has problems with
> > special chars in the db path. When having a special sign - in my case
> german
> > umlaut - the revdb_connect fails. A path with standard chars works
> perfect.
> > I coded:
> >
> > put revdb_connect("sqlite",gPfadDB & "lexikon.db") into gConID
> >
> > where the path in gPfadDB has a german umlaut. I also tested the
> standalone
> > with the same effect. Is it really that I have to tell my customers they
> > can't use german chars in their installation path or is there any
> > workaround?
> >
> > Thanks for any tipp
> >
> > Tiemo
> >
> >
> >
> >
> >
> >
> >
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> >
> >
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: AW: error in revdb_connect with special chars in path

2008-08-19 Thread Tiemo Hollmann TB
Hi Ian,
I looked up the quality center before, but didn't find your report (it's
always hard to get the right search items :)
Thanks for the hint.
I want to switch from sqlite to valentina. Do you know if this is an issue
only of sqlite? I even don't know yet if you will use revDB_ with valentina,
or if valentina has it's own db functions?
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Ian Wood
> Gesendet: Dienstag, 19. August 2008 10:05
> An: How to use Revolution
> Betreff: Re: AW: error in revdb_connect with special chars in path
> 
> I bought this up a few months ago on the list, it's a reported bug
> which is said to be fixed in 3.0.0.
> 
> http://quality.runrev.com/qacenter/show_bug.cgi?id=6429
> 
> Ian
> 
> On 19 Aug 2008, at 08:56, Tiemo Hollmann TB wrote:
> 
> > Noop, good idea, but didn't worked :(
> > I think this issue must have come up a hundred times with all german,
> > french, and other special sign rev programmers if this is not a
> > current
> > bug!?
> > Thanks
> > Tiemo
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: error in revdb_connect with special chars in path

2008-08-19 Thread Ian Wood
I bought this up a few months ago on the list, it's a reported bug  
which is said to be fixed in 3.0.0.


http://quality.runrev.com/qacenter/show_bug.cgi?id=6429

Ian

On 19 Aug 2008, at 08:56, Tiemo Hollmann TB wrote:


Noop, good idea, but didn't worked :(
I think this issue must have come up a hundred times with all german,
french, and other special sign rev programmers if this is not a  
current

bug!?
Thanks
Tiemo


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: error in revdb_connect with special chars in path

2008-08-19 Thread Tiemo Hollmann TB
Noop, good idea, but didn't worked :(
I think this issue must have come up a hundred times with all german,
french, and other special sign rev programmers if this is not a current
bug!?
Thanks
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Mark Schonewille
> Gesendet: Dienstag, 19. August 2008 09:46
> An: How to use Revolution
> Betreff: Re: error in revdb_connect with special chars in path
> 
> Hi Tiemo,
> 
> I don't know whether this will work, but you might try
> unidecode(uniencode(gPfadDB),"UTF8") and keep your fingers crossed.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> http://facebook.economy-x-talk.com
> 
> Benefit from our inexpensive hosting services. See http://economy-x-
> talk.com/server.html
>   for more info.
> 
> On 19 aug 2008, at 09:35, Tiemo Hollmann TB wrote:
> 
> > Hello,
> >
> > Win XP, Rev 2.9. I just detected that revdb_connect has problems with
> > special chars in the db path. When having a special sign - in my
> > case german
> > umlaut - the revdb_connect fails. A path with standard chars works
> > perfect.
> > I coded:
> >
> > put revdb_connect("sqlite",gPfadDB & "lexikon.db") into gConID
> >
> > where the path in gPfadDB has a german umlaut. I also tested the
> > standalone
> > with the same effect. Is it really that I have to tell my customers
> > they
> > can't use german chars in their installation path or is there any
> > workaround?
> >
> > Thanks for any tipp
> >
> > Tiemo
> >
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution