Re: converting VB6 to VB2010
Not possible without re-writing. Doesn't look to complicated. Here's a link to some samples.
Re: converting VB6 to VB2010
Quote:
Originally Posted by
dglienna
Not possible without re-writing. Doesn't look to complicated. Here's a link to some
samples.
that function was someone that help me do it, but i never used VBScript. so how can i convert that part to VB2010?
:(i'm doing these because my VB6 is damage and i don't know to fix it:(
:(any time of runtime error, can crash VB6 and the Windows 7 close it:(
(i have VS2010 installed too... and i use compatible options for open VB6)
Re: converting VB6 to VB2010
Perhaps if you could give a proper explanation of what the code is supposed to do, we could help better
Re: converting VB6 to VB2010
Quote:
Originally Posted by
HanneSThEGreaT
Perhaps if you could give a proper explanation of what the code is supposed to do, we could help better
see these samples:
(the symbols are separed too)
int soma(int a, int b)
words(0)="int"
words(1)="soma"
words(2)="("
words(3)="int"
words(4)="a"
words(5)=","
words(6)="int"
words(7)="b"
words(8)="("
another sample:
write("hello world")
words(0)="write"
words(1)="("
words(2)=""hello world""
words(3)=")"
like you see that function separe the line text to a string array.
maybe i can do that with Split() and mid(), but is more complicated for the string:(