Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Solver - Can't Find Project Or Library Error


I made a macro in an excel worksheet that runs solver on a variable data range for the user. I'm on an NT machine with Excel 2002 and it works fine. I e-mailed it to a coworker who has Excel '97 and he gets a "Compile Error: Can't find Project or library". Another coworker with Excel 2002 can run the macro fine.

I tried saving the file as an Excel '97 and Excel '95 file, but that didn't work. Then I went into my coworkers PC with Excel '97, opened the VBA window in excel, went to Tools -> References and the solver box is checked except it says "MISSING: Solver". We went through the entire add in process to add in solver,but for some reason the "MISSING:Solver" box never changes.

This was supposed to be e-mailed out to 60 district managers with various versions of excel, so I'd like to get the problem fixed. Does anyone have any idea what's going on or how to fix it? I can give you a copy of my macro if that would help. Thanks




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
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.

Cant Find Project Or Library Error
hi all,

i developed a project in my home pc. i copied to office pc and when it is runing it is showing error "cant find project or library" and the cursor is pointing to Ltrim() function. what should be the error here. how can i go ahead with this

saj

Error: Can't Find Project Or Library
I am writing a simple program with ado, datalist, and datagrid connected to an Access 2000 db. Just lately for no reason what so ever, I get the error: " compile error: Can't find project or library" and when I go to references it says that MS ActiveX Data Objects 2.0 is missing. This just started happening on every machine I try to run it on. What would cause this?

Can't Find Project Or Library Error
I keep getting this error message when compiling a class module that refers to the SmartmenuXP object. The catch is that I have it referenced in my project and registered it as a control and the dll is also registered. Does anyone have any suggestions?

Thanks.

MEH

Error Msg: Can't Find Project Or Library?
I have the following line in my VB application for Excel (XP):

ans = Messagebox('some text')

This runs fine on XP but on office 2000, I get the error message:

'Can't find Project or Library'

I'm a beginner with VB, so can anyone shed any light for me.

Grateful of any help,

Martin

VB Error: Can't Find Project Or Library
Hi, All,

I made a automation add-in for MS Excel.

If I calculate a cell calling a function from the COM by return, it generates a VB error:

Can't find project or library.

However, it works fine if I calculate the spreadsheet containing functions from the COM dll by F9.

Furthermore, not all the functions in the dll have this problem. Not all the computers have this problem, either.

I checked the VBA editor, there is no missing reference.

Does any one have any idea what is going on?

Thanks a lot!

Compile Error Can't Find Project Or Library
I was able to run this project successfully in my office but its giving problems when I run this at my home.I have VB 6 Enterprise edition but no service pack i think.And when I run, it says,
Compile error:
Can't find Project or Library
And when I click "OK" in another References window, the following are displayed with checkbox enabled,
Visual Basic for applications
Visual Basic runtime objects and Procedures
Visual Basic objects and procedures
OLE Automation
Missing: Crystal Report & ActiveX Designer Runtime Library
Missing: Crystal Report & ActiveX Designer Design time library(Internal)
Missing: Microsoft ActiveX Data objects 2.7 Library

Since a part of this project uses reports i guess that "Crystal Report" error is occuring i guess.
Also I dont have MS Access installed but after installing Microsoft office 2000 will the above problems be solved or should I need to download any other things? Please help me.Thanks.

Compile Error : Can't Find Project Or Library.
I really need some help with this one.

I developed a workbook with various macros. I've suddenly started getting this error "Can't find project or library" when an undeclared error is encountered. I don't have "Require variable declaration" checked under tools -> options. Does anyone have any idea why I'm suddenly getting this error?

The only change I'm aware of- I'm now accessing the workbook through a link on an intranet.

Thank you for any help.

Compile Error: Cannot Find Project Or Library
This occurs with "chr(0)" highlighted in my code.

I've just gotten a new machine and installed VB6 on it and brought over my projects.

Can anyone tell me what "project or library" VB6 wants in order to compile projects with the "chr()" function?

Thanks.

Error - CANNOT FIND PROJECT OR LIBRARY When I Run Code
I'm getting the error CANNOT FIND PROJECT OR LIBRARY when I try to run the project files. I get this message and the marker marks the function Format and Mid.

How do I solve this problem?

Compile Error. Can't Find Project Or Library
G'day guys,

I've written an app and have tested it in several environments (XP, 2000 and 98) - saved as Excel 97-2002 & 5.0/95. All looked good until I shipped it to a potential client. He gets back to me saying that he's getting the lovely "Compile Error. Can't find project or library" situ.

No probs, suss out that it's either FM20.DLL (MS Forms) or COMDLG32.OCX (MS Common Dialog) not getting loaded.

Added code to 'make-it-take-it' along the lines of:

ThisWorkbook.VBProject.References.AddFromFile "c:winntSystem32comdlg32.OCX"

having determined that he is on Win2K & Office2K. Still no go. The frustration is that all the time he is having this problem, I'm sitting on a W2K, O2K machine at Uni with all working fine.

It seems to buck at such mundanes as Left$ or UCase$ - even after it has indicated that the reference is available. Am I being anal in using the "$" and is that possibly causing the hassles or is it Excel being a pain?

BTW he took it home and it worked on his XP machine just fine...

Vb6 - Compile Error: Can't Find Project Or Library
I am trying to run/step thru my vb module and I am getting compile error - Can't find project or library on the code below:


Code:
StringNum = Format$(AmountPassed, "000000.00")


Thanks.
Giftx.

Error - CANNOT FIND PROJECT OR LIBRARY When I Run Code
I'm getting the error CANNOT FIND PROJECT OR LIBRARY when I try to run the project files. I get this message and the marker marks the function Format and Mid.

How do I solve this problem?

Compile Error: Cannot Find Project Or Library
while compiling whole application in vb6.0 iam getting this error as


cannot find project or library

highlighting the Date which i used in function EncodeDate(Date)


which reference i have to add to solve this ...please help me

Compile Error: Can't Find Project Or Library
Hi,

I have an app from an SDK that fails here:


Code:
Private Sub Command1_Click()
Dim PassMgr As VtPassportManager


I'm not sure what to do with it. I have a collection of five VBScript Script Files that I'm not sure need setting up somewhere!?

Hope someone can help.

Simon

Compile Error - Can't Find Project Or Library
Hi all,
My visual basic give me a "Compile Error - Can't find project or library." The error occurs where "Lcase" and "Chr" is being called for example. please advise me as to how to fix it. Ur help woul be greatly appreciated

Compile Error - Can't Find Project Or Library
I'm getting a compile error as follows - "can't find project or library". Then it references:
C:Program FilesCommon FilesSystemadomsado25.tlb.

But, when I browse to that location the msado.tlb is there. I've downloaded MDAC 2.5 sp 3 from MSDN and tried reinstall it, but Windows won't let me because it says it is already installed. I could uninstall and reinstall it, but I don't think it will do any good.

Can someone please help?

Compile Error Can't Find Project Or Library
I was able to run this project successfully in my office but its giving problems when I run this at my home.I have VB 6 Enterprise edition but no service pack i think.And when I run, it says,
Compile error:
Can't find Project or Library
And when I click "OK" in another References window, the following are displayed with checkbox enabled,
Visual Basic for applications
Visual Basic runtime objects and Procedures
Visual Basic objects and procedures
OLE Automation
Missing: Crystal Report & ActiveX Designer Runtime Library
Missing: Crystal Report & ActiveX Designer Design time library(Internal)
Missing: Microsoft ActiveX Data objects 2.7 Library

Since a part of this project uses reports i guess that "Crystal Report" error is occuring i guess.
Also I dont have MS Access installed but after installing Microsoft office 2000 will the above problems be solved or should I need to download any other things? Please help me.Thanks.

Compile Error: Can't Find Project Or Library
When i start some downloaded projects from the internet i get a error message:

Compile Error: Can't find project or library

after this message the References-frame apear. I understand the logic of it, BUT how i can know WHICH lib is missing.

Example:

Private WithEvents connConnection As ADODB.Connection

How i know which lib this is?

Anybody got a idea to find for other libs the correct reference?

Compile Error : Can't Find Project Or Library
I have a bit of a problem. I am new to Access 2000 programming. I keep getting this error from a Access 97 application. The code is as follows:

Public Function Init()

' Connect to SQL Server

Dim dbs As Database, qdf As QueryDef, rst As Recordset

The line highlighted by this error is the dim part. Do I have to include libraries or something... Please help!!!!


Compile Error: Can't Find Project Or Library
Compile error: Can't find project or library

I get the above error when I try to execute the following line on my XP machine, but I don't get the error when I execute the line on my 2000 and 98 machine.

tt = Format(Date, "short date")

Thanks in advance for any help!

ddutke

Compile Error: Can't Find Project Or Library
Hello there, I was wondering if anyone else has had problems with VB5.0 after installing Windows2000? When I run the app through code I get the above error and it highlights either "Left$" or "Format$" in the code. I have checked all the dll and ocx files and they match with the versions I was running previously. Is this a Win2K problem or am I missing something? Thanks for your help,
Scott

P.S. I'm also having trouble with the crystl32.ocx but I'm not convinced the problems are related.

Error Visual Basic: ! Compile Error. Can't Find Project Or Library
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

Can't Find Project Or Library Error From Left Function
I'm having a "Can't find Project or Library" error I haven't seen answered elsewhere. It results from the Left function. I'm using VBA for macros in Excel in Office XP. When I use the LEFT(string, number of characters) function in a macro in a new workbook, it works fine. However when I use it in a project I've been working on for several months I get the error "can't find project or library". This macro used to work fine on my machine, but not on other computers at work. Now that I've recently wiped the hard drive and reinstalled Office XP, it is not working on my machine as well.

any idea why this would be happening?? I haven't created a conflicting variable or function that I can find.

Below is an example of a macro that works on a new workbook, but not on my existing one.

Sub mystring()
Dim mystring As String
mystring = Left("Chocolate", 4)
MsgBox (mystring)
End Sub

Compile Error Problem: Cant Find Project Or Library
I have an EXCEL project with a few embedded objects such as a rich text box and labels. The macros fun fine on my machine but not on others.

When it fails, it gives the message "Compile Error Problem: Can't find project or library"

The weird thing is that it fails on the most innocous stuff like the "Date" function, assigning a character to an variable (a=chr(34)), etc

It appears that when moving the EXCEL project to another machine, none of this commands work and only in the spreadsheet.

Andy ideas would greatly be appreciated.

Thnx
Dino

Help Needed -> Compile Error: Can't Find Project Or Library!
Hi
I have a problem which I can't seem to resolve, I get an error message "Compile error: can't find project or library!" The problem occurred when I installed Access run-time 2000 on one of the user's computers, I also logged myself into that computer, now it seems to have corrupted all my VBA codes and the inbuilt VBA codes like the one below I have attached a print screen of the error and highlighted the place where Access indicate the error... Can anyone help me?


Code:


Option Compare Database
Option Explicit

Sub Form_Current()

Dim ParentDocName As String

On Error Resume Next
ParentDocName = Me.Parent.Name

If Err <> 0 Then
GoTo Form_Current_Exit
Else
On Error GoTo Form_Current_Err
Me.Parent![Product Subform].Requery
End If

Form_Current_Exit:
Exit Sub

Form_Current_Err:
MsgBox Error$
Resume Form_Current_Exit

End Sub

Cant' Find Project Or Library Error With Code From Albright DSS Book CD - Ideas?
Hallo,

I found a nice example at http://www.kelley.iu.edu/albrightbooks/Downloads/VBA2e/StockQuery.xls - it is from Chris Albright, VBA for Modelers
but it does not work on my excel

i also tried in our citrix enviroment but did not work either. it says "Cant' find project or library" and marks Date ...i checked the references
but they seemed to be fine.

any other ideas or maybe what to tick?!

greetings

Error: "Can't Find Project Or Library"
Hello,

I am a beginner. I have the following vba in an excel spreadsheet. I thought this worked at one point, but coming back to it after some time, it is not working now; I get the "Can't find project or library" error message. Along with the error message, the "Response" word is highlighted. This macro is assigned to a drop down box.

Probably simple, but I have spent some time playing with it and cannot get it to work.

Appreciate any comments ~

Thanks!


Sub TESTOptionsBox()

If Range("Z6") = "2" Then
Range("Z6") = "1"
Range("B100").Select
ActiveWindow.SmallScroll Down:=-100
End If

If Range("Z6") = "3" Then
Range("Z6").Select
ActiveCell.Formula = "1"
Range("B100").Select
ActiveWindow.SmallScroll Down:=-100
ActiveWorkbook.Save
End If

If Range("Z6") = "4" Then
Response = MsgBox(Prompt:="Do you wish to print this page?", _
Title:=" Program1", _
Buttons:=vbYesNo + vbQuestion)
If Response = vbYes Then
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("Z6").Select
ActiveCell.Formula = "=1"
Range("B100").Select
ActiveWindow.SmallScroll Down:=-100
Else: Range("Z6").Select
ActiveCell.Formula = "=1"
Range("B100").Select
ActiveWindow.SmallScroll Down:=-100
End If
End If
End Sub

Chr(13) Cause "Can't Find Project Or Library" Error
I have a Micro for Excel. I used Chr(13) + Chr(10) to move a displayied text to next line. I got Compile error: Can't find project or Library". It works fine if I change Chr(13) + Chr(10) to vbCrLf. Do you know the reason? Thanks.

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

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!)

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

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

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??????

Copyright © 2005-08 www.BigResource.com, All rights reserved