|
-
Apr 7th, 2000, 12:04 PM
#1
Thread Starter
Addicted Member
Hello there! Here is what I did:
I wrote a program on my PC (running Win2000). I have the entire Visual Studio installed and the program uses the Chr() function like this:
SomeVariable = Chr(KeyAscii)
I tested the crap out of it on my PC and it works great. I took another PC, which I installed a fresh copy of Win98SE and VisualBasic 6 on. I copied all the program files (frm, vbp, etc) to this Win98SE PC. When I run the program from within the VB environment, the program halts and in my code "Chr" is highlighted. Obviously, VB doesn't have any clue what that function is from within Win98. Now, If I start a new project from that Win98 PC, I can use the Chr function all I want.
It seems that in the move over, that project has lost a critical "library reference" or some sort. Anybody happen to have a clue what library file "Chr" belongs to so I can add a reference to it?
Thanks!!
Phil
-
Apr 7th, 2000, 08:57 PM
#2
Member
your need create setup program of your application for win2000 and installing in machine win98se and this running ok.
-
Apr 8th, 2000, 07:17 AM
#3
Thread Starter
Addicted Member
Yep, that will certainly work fine, but I need to be able to add to and edit the program from the Win98 machine. Right now, I'm creating a new project and adding the old forms into that project hoping the old references will be restored.
Thanks,
Phil
-
Apr 8th, 2000, 04:14 PM
#4
CHR is in the Visual Basic For Applications library (for VB6 it will be Vba6.dll). If you wonder from what library a function comes, press shift F2 on the function. It will show the definition (in the object browser for this one).
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
|