Project/Library
Dear All,
Attached is the erro that I get when I run my project. Please help me to solve it. This project /library it's complaining about is 'Trim'
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Need Help With Project For College Library
Hi.
The program I made is a database query/add/delete/update program.
The problem I have comes with printing. I must make it so it can print 3 records per page onto a special tearable paper. The form that I have outputing the 3 records is not big enough to display all three records on it, so if I print it will not print all 3 records. the only way i know of making the form big enough to make the screen resolution higher, but I doubt the library people will want to use higher resolutions.
I looked through microsoft's knowledge base, and all their examples either didn't work or are too complicated for me.
Basically I need a way to print all three of the records in a certain place on each printed paper.
Thanks for the help.
Can't Find Project Or Library
hi
can anyone help me out with this code i have when i try to run it im getting this can't find project or library and this line of code is highlighted :
Code:
Dim mailman As ChilkatMailMan2
and here is the hole code :
Code:
Private Sub Command1_Click()
On Error Resume Next
Dim mailman As ChilkatMailMan2
Set mailman = New ChilkatMailMan2
' Anything will begin the 30-day trial.
mailman.UnlockComponent "UnlockCode"
mailman.SmtpHost = "mail.domain.com"
' Only set username/password if your SMTP server requires a logon.
mailman.SmtpUsername = "username here"
mailman.SmtpPassword = "password here"
' Only set the login domain if your SMTP server uses integrated Windows authorization
' AND it is part of a domain.
mailman.SmtpLoginDomain = "mail.domain.com"
' How do I send an email with an attachment?
Dim email As ChilkatEmail2
Set email = New ChilkatEmail2
email.AddTo "Chilkat Support", "email@yahoo.ca"
email.Subject = "Test of sending queued mail from VB using the SMTP queue"
email.Body = "This email was sent from Visual Basic using the SMTP queue service"
email.FromName = "jeff"
email.FromAddress = "email@yahoo.ca"
email.ReturnReceipt = 1
' Add a file attachment.
Dim contentType As String
contentType = email.AddFileAttachment("sample.jpg")
' To send encrypted and/or signed emails, just set these flags.
email.SendEncrypted = 1
email.SendSigned = 1
Dim success As Long
success = mailman.SendQ(email)
Label1.Caption = "Success: " & Str(success) & vbCrLf
If (success = 0) Then
MsgBox mailman.LastErrorText
End If
End Sub
Access Project Or Library
Just loaded access on my pc this week and thought everything was working fine until tonight.
Code:
Me.txtmydate.Value = Format(date, "dd-mm-yy ")
I am getting an error that states "Cant compile: Can't find project or library" This is in access VBA and the "date" part of the code is highlighted. This is a project that I brought home from work and it worked fine there, so there must be something wrong with my pc setup????
Can't Find Project Or Library
I wrote a VB 6 program that takes information from
an Excel spreadsheet and prints tags.
It has been running.
I’m now getting the following error, when I run the VB program
“Compile error: “Can't find project or library.”"
I think the problem is due to Excel being upgraded
to Excel 2003 and I don’t have the necessary
Reference or Component.
Thanks...
MID - Cannot Find Project Or Library
Here is a weird one.
I have an application used by several users.
I use some of the VBA string manipulation functions such as Mid, Instr etc.
Everyone is using Excel 2002 SP-2, on identical or almost identical systems.
However one of my users gets an error on the Mid statement "Cannot find Project or Library".
If I change the Mid statement to Application.Mid it works.
However none of my other users have this problem.
I checked that the references in VBA are identical, so I am a bit in the dark here.
Any comments or suggestions to what is going on?
Thanks
Can't Find Project Or Library
I am getting the error message "Can't find project or library" when I compile my script, and the cursor sits on the r1 (see below) telling me there is an error in that statement. I have no idea what is wrong any help would be appreciated.
When I comment out the first statement i get the same error with the date command highlighted.
***** Code below ****************
Private Sub CommandButton1_Click()
r1 = ActiveCell.row
Sheet3.Cells(11, 3) = "Date: " & Date 'date
Sheet3.Cells(8, 3) = Sheet1.Cells(r1, 3) ' Part #
Sheet3.Cells(4, 3) = Sheet1.Cells(r1, 4) ' part name
Sheet3.Cells(13, 3) = Sheet1.Cells(r1, 5) & " GROSS/LBS" ' gross
Sheet3.Cells(15, 3) = Sheet1.Cells(r1, 6) & " TARE/LBS" ' tare
Sheet3.Cells(17, 3) = Sheet1.Cells(r1, 7) & " NET/LBS" ' net
Sheet3.Cells(20, 3) = Sheet1.Cells(r1, 9) & " APW" ' APW
Sheet3.Cells(26, 3) = Val(Sheet1.Cells(r1, 9)) & " QTY" ' QTY
Sheet3.PrintOut
End Sub
Can't Find Project Or Library
I've seen a lot of threads like this one, and they all say the same thing, go to references, find the line with "Missing" in it and uncheck it... well, what if none of my lines say "missing"?
The issue is this. I have an ongoing program we release to our users every 6-12 months. I am in the middle of the update cycle and have fixed several bugs found in the last release, bt it has not been put through QA yet. The version I'm working on compiles just fine and works as expected.
We're not close to releaing this newer update yet, but my boss wants me to fix just one of the bugs for a special user. I went back to the code I saved from the last release and was planning on modifying that code to fix this one bug, then I would send that version to the user. But when I try to compile the older version of the code, that's when I get the "Can't find project or library" error. It points to the TxText Control, which is a 3rd party app we bought and dropped in for some text editing capabilities.
There is no reference for it, to add the control to my project I just go to the componenets and add it there. This works fine in the latest version of the code, but not in the older version. The path is exactly the same between the two, nothing is labeled as missing, the OCX that works for the new version is simply "not found" in the older code base. It is the same exact file, in the same exact place for both versions of the code, why can't my older code base find the information it needs in the OCX file?
Can't Find Project Or Library
Hi
I'm trying to use the string manipulation functions like Mid(), RTrim() etc but whenever I run my program, it says 'Can't find project or library' and points to the Mid() or whatever function. these functions are integral to my application!
Thing is, I've been through the references hundreds of times, found nothing. Making a new project it works, but not on my existing one.
Help please!
(PS sorry this is in the wrong place; and the new design is really nice!)
Library Or Project Error
Hey everyone,
i recently had to load visual basic from a network drive.It wasn't on my computer and i have no cd-rom either so i just copied the vb98 folder from the visual studio folder on a network drive and pasted it into my own drive.Now,the problem is that when i run my programs,it says it cannot find the project or libraries.For example,i have a program that uses the string function 'right',and the program does not recognise this.What's going on?I have all the references and components added in so i figure it's something to do with not having run the setup,i just threw the whole folder into my drive.I could run the install for the whole visual studio but i haven't enough disk space.Any suggestions greatly appreciated.
paul.
Can't Find Project Or Library
I've got 2 computers in 2 locations. When I copy a project from 1 computer to the other and open it in vb, I get the above error.
It seems to be choking on standard functions like Len and Date.
Anyone know how to get around this?
Can't Find Project Or Library
Hope there's an answer for this!
I've have been nicely informed by the VB on serveral occasions that "Compile error, Can't find project or Library", and when i go into debug Visual Basics has kindly high-lighted the funtion that it doesn't recognize(they're so thoughtful). but the problem is: the function/functions thats not recognized are like "Right()" Mid() ....
I'm sure i don't have to reference these since they are part of vb itself. Don't know what the problem is!
However, if i copy the code, open a new project and place the code in a new form, bam!! alls well in VBLand??
Any ideas!
Any answers!
Please!
Thanx
Regan
Can't Find Project Or Library
I have a visual basic project that i copied to a computer which i just recently installed Win 2000 Server onto. I installed VB6, and MSDN.
When I try to run my project (which worked fine on my other PC), I get compile errors such as:
"Can't find project or library"
this error occurs on the line
Code:
lable6.caption = Date
Its as if VB doesn't know what the Date function is.
If I comment out that line, i get the same error on this line:
Code:
dim rs As New ADODB.Recordset, SQL as String
So obviously I am missing something that VB needs to run this code. Any ideas on what i need to install?
Thanks,
Brian
Missing Project Or Library
Hi,
I´m new to this so first of all a big hello to everyone.
My VB- project use the 'Visual Basic for Application Library'. I don't know what I have changed but since yesterday, the compiler nags about a missing project/library. So I looked at the specific line(s) and noticed that there are simple String-functions in use (Left$, Mid$ ...). So, when I changed the line to e.g VBA.Left$(...) it compiles without any error.
In the references dialog the 'Visual Basic for Application Library' is at the first position.
Does anyone know what the problem is? I don´t want to change every single function call in my project...since it is not small (46 classes, 52 forms).
Regards,
Kalle
(sorry for the bad English)
Cant Find Project Or Library
I am connecting a flexgrid in vb6 to 2 tables in my access db.
here is my code:
Code:
Private Sub Form_Load()
Set conA = New ADODB.Connection
Set rsA = New ADODB.Recordset
AccessConnect = "Driver={Microsoft Access Driver (*.mdb)};" & _
"Dbq=Database_Andrea_mar09_v2-0.mdb;" & _
"DefaultDir=C:Project;" & _
"Uid=Admin;Pwd=;"
conA.ConnectionString = AccessConnect
conA.Open
strQuery = "SELECT o.Ord_Number, c.Cust_First_Name, c.Cust_Last_Name, c.Cust_Street, " & _
"c.Cust_City, c.Cust_Province, c.Cust_Postal_Code, c.Cust_Phone " & _
"FROM tblOrder AS o, tblCustomer AS c WHERE o.Ord_Cust_ID = c.Cust_ID"
'rsA.CursorLocation = adUseClient
With rsA
.CursorLocation = adUseClient
.CursorType = adOpenDynamic
.LockType = adLockOptimistic
.Open strQuery, AccessConnect, , , adCmdText
End With
cboOrderNumber.Text = rsA![Ord_Number]
rsA.MoveFirst
Do Until rsA.EOF
cboOrderNumber.AddItem rsA![Ord_Number]
rsA.MoveNext
Loop
rsA.MoveFirst
I keep getting a compile error: Cant find project or library. whats going on?
Can't Find Project Or Library
When using VB 5 in the classroom we get the "Can't find project or library" Error when adding the FORMAT and other Functions to tutorial programs. We have not idea how to solve the issue. If a program is written from scratch the issue isn't present, only when continuing a prebuilt tutorial with out book.
Thanks
Bruce
Can't Find Project Or Library
I have been programming in the Visual Basic 6.3 in Excel.
Suddenly I start getting the error message "Compile Error: Can't find project or library" for procedures that ran used to run perfectly, and I have changed nothing in the actual procedures.
For example
MyChartSpace.Charts(0).Type = chChartTypeBarStacked
makes it return the above error message saying that it can't find the "chChartTypeBarStacked"
also when the Mid fundtion (syntax: 'Mid(string, start[, length])') no longer works (same error message as above).
If I open a new excel workbook and copy the forms and the modules from my old file into this new file the new file does not return the error message. However, whenever I use the file on a new computer I will have to repeat this procedure and copy forms and modules to avoid error message.
Does anyone have a clue as to what might be going on and how I can get rid of this problem?
Any help would be greatly appreciated!
Cant Find Project Or Library
I have a VB6 application and while creating an EXE i get an error saying "Can't find project or library". Up On clicking ok, it highlights the FORMAT function.
I commented out the FORMAT function, now it highlights the STRING$ function.
I commented out the STRING$ function, now it hightlights the TRIM function...
This code was working find before. No change has been made to it in last over a year. What could be the issue? What are the required references to use FORMAT, STRING$, TRIM etc functions?
Any urgent help shall be appreciated!!
Thank You,
Ankeet
Can T Find Project Or Library
When I try to debug an application, it always gives me can t find project or library for regular VB objects like: Trim, Node ...etc
ve u had this before
Thanks.
Can't Find Project Or Library
Hi,
I just installed VB6 Pro on a new computer and trying to run my application that works just fine on the other computer that I have but on this new one as soon as I start to run it it stops at Trim$ function and tells me the following error "Can't find project or library"
I made sure that I have selected all the componants and references that I have selected on my other computer with only one difference of MSCAL.OCX cuz I do not have MS OFFICE on this new computer yet.
I don't have a clue. Can someone Please HELP.
Thanks.
Can't Find Project Or Library???
I'm getting that error and it is pointing to this function...
ucase()
so I removed ucase and now it is giving the same error and pointing to this function...
format()
I clicked on Project --> References and it says "missing" beside two dlls but I'm fairly certain they have nothing to do with these functions (they are ActiveReports dlls).
Why is it having trouble with these functions? How do I resolve.
Thanks.
Can't Find Project Or Library
i AM USING fILEsYSTEMONJECT IN MY PROJECT
Dim fso As New FileSystemObject
Have added ref to c:WINNTSystem32scrrun.dll (Microsoft scripting runtime)
Still getting err "can't find project or library"
PLzzzzzzzz help me in this
Can't Find Project Or Library
Dearest amigos,
I'm getting "Can't find project or library" when I try to use the "Trim" or "Trim$" function in my program.
Any ideas on why? I thought this was standard in VB...
Squirrelly1
About Library Management Project
Hi Dear,
I am developeing a Video Library Management System. But I don't know what kind of option I have to use in a video library project. So could you please advice me something about it. Can I get some Idea from somewhere?
If I get some idea from any Library management then it also will be ok. I need some Idea. Could you please help me? Can I get any Library or Video Library Project from somewhere?
Thanking you
Rummy
Can't Find Project Or Library
Alright before i take a long walk off a short monitor, figured I would come on over here and see if anyone else has any ideas
Decided to reinstall my system at work, hehe maybe not the best idea but least it isn't crashing as much. Anyways got all my source safe back up and running, etc... set workign dir and all that, get copies of the project etc. goto open and run it and WHAM! "can't find project or library" that error pops up, either on the Chr() function or Date function in VB. have installed the service pack 5 for VB6 and such, crystal reports is also installed, although that shouldn't interfere but god only knows, since it does have add ins for VB.
Has anyone out there recieved this error, or had this happen to them?
What reference do these functions use?
Thanks in advance all for any assistance you can provide just don't laugh too hard, if it's that simple.
Can't Find Project Or Library
I got a new computer and supposedly all my files were just copied to this new one. I re-installed VB to get the stuff in the registry that it needs (I thought), but now I get the message 'can't find project or library' at this part of the code:
Public Function FixedPath(Path As String) As String
If right(Path, 1) <> "" And right(Path, 1) <> ":" Then
FixedPath = Path & ""
Else
FixedPath = Path
End If
HelpPath = FixedPath
End Function
Any ideas??????
Can't Find Project Or Library
I get a compile error: "Can't find project or library" when I try to run some source I downloaded.
I get it on lines such as "For i = 1 to 20" and "Format(blah, blah)"
Why is this and how do I fix it?
Can't Find Project Or Library
I'm taking over an old vb project and on my first try trying to run the program from source code, I get a compile error: Can't find project or library. The highlighted function is Trim a vb method. I can't tell where this problem is coming from. I'm pretty sure it has to do with dlls but I have no clue which one I should be looking for.
Thanks for your help.
Cant' Find Project Or Library
Hi,
how come I got this error: Cant' find project or library
<code>
Year(Date) 'the date causes the error
LCase(text1.text) 'the LCase causes the error
</code>
when in fact this one works lately. Do I have to reinstall VB?
Can't Find Project Or Library
Hi All,
I encounter problem when try to compile my program. It prompts me"Compile Error : Can't Find Project or Library".
Actually i already completed my program few months before, but i need toamend my program due to users' requirement. I've change my hard diskafter completed my program due to hard disk bad sector.
Anybody can help me?
Thanks.
Rgds,
Khai Sze
VB:Cannot Find Project Or Library
Hi
I am trying to modify a COM developed by someone else but getting an error
Cannot find Project or Library
and it points out 'UCASE'
I dont know which library to use there because when I click on OK on this error message it opens References Window
I am just adding another function which is already there with some other name
Its VB 6.0
Thanks
Chr() -- Cannot Find Project Or Library ! :D(
I don't know why I am getting this error when trying to compile using the Chr(). It isn't my code, but when I start a new project, I am able to use chr() without making any changes to my project references.
Insight would be much appreciated!
Cant Find Project Or Library
Hi All,
I am getting a problem with Visual basic.
Space$
retStr = Space$(100)
Iam using this function but it says cant find project or library, this code is already in use and given to me, any idea how to resolve this
regards
anil
Can't Find Project Or Library
I have just started amending an old project, but when I try to run it I get the error message "cant find project or library", folowed by the reference "Microsoft Calendar Control 8.0" beung highlighted.
If I create a new project then there is no problem.
Any hints as to where and what will fix this problem
Paul
Can't Find Project Or Library
What is can't find project and library...what should i do if i see this kind of error msg...normally after this kind of error msg....it will come out a list box... should i choose anything from there??? it look like when you press Ctrl-T
Cant Find Project Or Library
Hi
I am getting error when i am using string functions such as Mid(), Trim().
The error i am getting is "Can't find project or library"
I checked in the references dialog box, but i couldn't figure any solution. But i had found that the "Visual basic runtime objects and procedures" is absent.
Please help me in getting through this problem.
Thanks
Regards,
rama
Cant Find Project Or Library
Im having a big problem running my program. I was using a different machine and everything worked perfectly but when I moved to another machine and installed visual studio 6 Enterprise edition on it I have run into the following problem,
When I try to run it the first method the program uses is the command() method for the command line arguments, and I get the following errors
Cannot find Project or library????
I have made sure the the reference has been set but this seems to make no difference
Any ideas??????????????????
Edited by - gemma_humphries@hotmail.com on 10/27/2004 7:17:47 AM
Can't Find Project Or Library
I am getting an odd error when I try to run a project that I got off of here. It seems to be having trouble using common functions included in VB such as Str, Trim, etc... Does anyone know the cause of this?
This is a screenshot of the error
Edited by - msg555 on 7/13/2004 11:15:02 AM
Can't Find Project Or Library - VB6
Hi Guys,
I have a desktop application, that has been working for the last few months.
There are a few developers working on this project, so we added it to SourceSafe.
However, since 2 days ago, when running the program, we recieve a compile error saying :
Can't Find Project or Library
and it highlights words such as SPACE$ and Trim$ etc.
Please advise what could be the problem.
Thanks in advance
<DIESEL>
If it wasn't for the last minute, NOTHING would get done!!!
Can't Find Project Or Library
Hi,
I am new to VB. Can someone explain to me how to fix the following error
Compile error : Can't find project or library and the following line is highlighted
DriverODBC = String(255, Chr(32))
thanks
Help: Can't Find Project Or Library!
Hi,
I am a seasoned Java/C# programmer and new to VB world. Company has a VB project for me to debug. I can run that project from binary build. However, when I run it from source code --
* It loads up all forms/controls OK
* When it runs, system pops up an error: Compile Error! Can't find project or library.
I check all the references, all of them are good.
Can anyone shed some light on what I can try next to figure out what's the real reason for this error?
Thanks for the help!
Stan
Library Or Project Did Not Find
Hello:
I have design a program and it work well.But when I reinstall the OS(NT) and other software.And run the program again . It has this message"project or library did not find" and high light the word "TRIM".
wky086
Project Or Library Not Found
I recently got a new computer and installed my Visual Studio 6.0 Enterprise on it. It works fine on the old one, but when I installed it on the new, VB is totally screwed up. The only difference is that on the new one, I installed the MSDN Library as well. Here's the problem:
VB is not recognizing pre-defined functions, such as Format$ or Command$. It says "Project or Library Not Found." It also does this with un-defined variables. I've opened VB's object browser and searched for Command$ and Format$ and found them under the VBA Library. For some reason the object browser found them, but the compiler can't...I think it may have to do with MSDN. I have tried re-installing but no luck there. Can anyone help? Thanks.
Atlantis.
The point of programming isn't for you to change technology, but for technology to change the way you program.
Can't Find Project Or Library
I added some code from another form just by copying and pasting it. This form existed in a different project (project2.vbp).
Now when I compile I get the error "Can't find project or library".
I notice that then in the references there is an entry:
MISSING: project2.vbp.
Has anyone seen this before?
Thanks!
Cant Find Project Or Library Command$
HI
im having problems running my project i have reformated my computer and installed vb again but when i go to run my project im getting an error saying CANT FIND PROJECT OR LIBRARY and the COMMAND$ is in blue can anyone help?it will open with no errors but wont run
thanks...
Can't Find Project Or Library Error
i reloaded my system and reloaded vb6 and when i tried to open a past project that i developed in my old system, it gives me an error on things like the Ucase property. the error says project or library no found.
i looked in my object browser and it is there and also if i make a new project from scratch it will not give me the error, only with the past projects.
Unresolved - Cant Find Project Or Library
So i installed visual basic 6 (and sp6) on my server, and when I try to run my applications, it gives me ridiculous errors like 'Cant find project or library' on basic things.
For example,
Code:
sInput = Space(LOF(iInFile))
it gives me that error on this line (with Space selected)
or
Code:
For x = 0 To UBound(myArray)
with x selected (if I have not said precisely Dim x as integer)
How can I fix this?
|