|
-
May 23rd, 2004, 01:17 PM
#1
Thread Starter
Lively Member
Casting Problem Urgent plz
Hi,
My prog was working well and progressing a bit more every day, but today I open the project compile it and it doesn't work anymore, after hours of search I finally find where it is blocking.
IDac = data
IDac is a integer and data a string, it was working fine, and data is containing a number (like "3" or "12").
Even if it was working before I tryed to change the method and convert the data :
IDac = CInt(data)
But it's still blocking there :/
Can someone can help me please ?? Maybe a setting in Visual Studio has been desactivated ?
Thanks for your help
-
May 23rd, 2004, 01:30 PM
#2
Sleep mode
Try this
VB Code:
IDac = integer.Parse(data)
Is Option Strict On , activated ?
-
May 23rd, 2004, 01:37 PM
#3
Thread Starter
Lively Member
oufff, Thanks you it work with integer.partse, I donno why I didn't work like before.
Option Strict was certainly on Off cause if I put it on On I have got a lot of error due to some late binding like FileSystemObject2.CopyFile
So it couldn't be on before.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|