Re: runtime error with Mask edit control




"WB" <none> wrote in message news:uTuAQuzrFHA.2596@xxxxxxxxxxxxxxxxxxxxxxx
> Thanks for the suggestions, it was the system date format causing the
> error.
>
> Is there a way for me to check the system date format and set it to the
> correct value for the application?
>


You shouldn't need to check the system date format, and changing it to
accomodate your program is even worse. Post your code. Most likely, that's
where the problem lies. You might be assuming a certain date format
(particularly if you're using a string for the date).

--
Mike
Microsoft MVP Visual Basic



.



Relevant Pages

  • RE: capture cell number format with VBA
    ... "Mike H" wrote: ... I have a sheet with various cell formats ... I want to convert the number in the cell to a string containing the number ... Then return the number to it's original format with Round, ...
    (microsoft.public.excel.programming)
  • RE: Problem formatting text in a ListBox
    ... "Mike" wrote: ... > I am trying to format some text that I retrieve from a DB. ... I load the converted (to string) values in an array and then use the following statement: ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: capture cell number format with VBA
    ... "Mike H" wrote: ... Can i detect the format with code? ... I have a sheet with various cell formats ... I want to convert the number in the cell to a string containing the number ...
    (microsoft.public.excel.programming)
  • Re: read or write "how to convert integer to string?"
    ... )" is a file and format the first time you learn ... a string. ... Will "read(i,'(a)')MyStr" convert MyStr to integer? ... Mike ...
    (comp.lang.fortran)
  • Re: string to number
    ... you can use the function "format into string". ... Mike ... Unbenannt 3_LV80.vi: ...
    (comp.lang.labview)