Well to stay social with this newsgroup i will answer in English , but in
fact i am a Dutch programmer located in Rotterdam
If i look at the screenshot i think that Mike is right and this error is
triggered because you have not declared the TextString
To avoid these errors set the folowing statement at the top of your code
modules
Option Explicit '(every serieus VB coder uses Option Explicit )
if you run it now VB will tell you that the variable was not declared
To solve your problem you should add
Dim TextString as string
If i may make another comment about your coding ,,, you should use a
identifier naming convention that adds a prefix to the identifier name to
indicate the functional type of the identifier.
the official MS standard is using Hungarian notation
Dim strJustanExample as string
Dim blnStop as boolean
Dim dblAbigNumber as double
Dim objMsAcces as object
etc etc etc
I hope you get the point , this will help you when your programs get bigger
( and you might not see the declaration in scope ), and make the code much
more readable for an external party
For the rest it looked really nice and well documented
Groeten
M. Posseth [MCP]
"Mike" <em***@noserver.com> wrote in message
news:5E*********************@news20.bellglobal.com ...
Check what "TextString" is declared as. If it is not declared - declare
it as String.
"Familie Spies" <hs****@caiw.nl> wrote in message
news:41*********************@news.kabelfoon.nl... Hi all,
When running a program I made in VB under Windows XP i'm getting the
following error: ! Compile error. Can't find project or library. (see
also http://home.kabelfoon.nl/~hspies/2.jpg )
See the code where it stucks: http://home.kabelfoon.nl/~hspies/1.jpg
Ubder Windows 98 this error does not occur. Who knows what I do wrong,
I've tried a lot but the error keeps coming in Win XP. Thanks.
John