Results 1 to 4 of 4

Thread: visual basic - runtime error (interesting error)

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2007
    Posts
    61

    visual basic - runtime error (interesting error)

    Hello all,

    We have a program written in VB that we use other here quite, but for some reason the program was causing a run time argument error when it ran in France. This program has been going on for a while because we had no idea on how to fix the error.

    However, an employee from France came in the other day and I set his "Regional and Language Options" under control panel to English and the program ran fine!

    Does anyone have a clue on how to fix it so we don't have to change the region and language everytime to run the program?

  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: visual basic - runtime error (interesting error)

    I'll suggest - Use universal conventions for common data types like date, time, currency etc.

    Other than this, unless you tell us what was going wrong, and what was the error, I can't help you any more.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2007
    Posts
    61

    Re: visual basic - runtime error (interesting error)

    thank you! Changed the dates to universal and it works fine now!

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width