If you still can't figure it out, we'll need more information to help you out further, though short of uploading your entire project I don't know how you'd get it all to us efficiently. It's also possible that your license to whatever library you're using has expired, especially if you're trying to use Access and you only had a trial version of Office installed. Basically, VB can't find any reference to decide what type of variable "Database" is, so it can't create LcsTt as one. Check the References for the project to see if you're missing any - in this case, probably ADO, ODBC, or Access. Keeping your computer up-to-date has a habit of breaking things. Microsoft Update is a frequent culprit in this case. This error is always caused by VB not finding the right external files to do what you're asking it to do - whether because a file was moved or deleted, or because a recent update changed the way the reference is used. Then my this part of my code is highligted "Public LcsTt As Database" any idea why this is happening? Now it wont run & i havent changed anything on my computer esp VB.I am geting I am getting the same error on a program i wrote & last ran about 3 months ago.
0 Comments
Leave a Reply. |