International Issues - Locale Code Page Vs. VB Code Page 
Author Message
 International Issues - Locale Code Page Vs. VB Code Page


I know that VB4's internal code page is always in english.  In the
International Considerations portion of the manual it provides examples
on how to ensure that dates are consistent using the # sign (i.e.,
CDate(#08/02/94#) is always August 2, 1994.

Does anyone know the correct syntax to force use of VB's code page when
using variables - eg CDate(myvar).  

I've tried myvar = "#08/02/94#" and a couple of other variations but
have had no luck.

Also, what is the correct syntax when dealing with numbers (CDBL, CLNG,
etc.) and using variables.  The issue is I save screen positions to an
ini file and can't seem to get them back into the right format when the
decimal separate is not a "."



Sun, 24 Oct 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. code to save old page name, open new page

2. How do I reuse code in the Code-Behind section of an ASPX page

3. international post codes (Zip codes) - ricerca tabella codici postali europei per database

4. Code speed in VB environment vs Compiled code

5. VB code vs VBA code

6. how to forbid adding new page in my document(vb code)

7. Passing Form Fields to VB.NET Custom Business Object in an ASP.NET Code Behind Page

8. Are there any good VB code web pages?

9. How to put VB code on Web Page so Cut-n-Paste works

10. Win32 software page : Sample code, freeware, shareware (Delphi, C/C++, VB)

11. Set Page Orientation in VB code

12. VB code for Web page retrieval


Powered by phpBB® Forum Software