Solved

WindowsXP and Visual Basic 5.0 and 6.0

Posted on 2003-11-20
3
276 Views
Last Modified: 2013-11-25
Since I moved to a new computer and from Windows98 to WindowsXP my Visual Basic 5.0 and 6.0 behave very strange. Although I did not alter the code and only copied my projects to the new computer I get "Can't find project or library" on the code elements format and space and I get the error "User-defined type not defined" on the function
Private Function SortOutput(strTemp As String, rstTemp As Recordset), the parameters are declared.
Under Windows98 everything worked correctly, so I suspect WindowsXP.
Has anyone experienced something similar.
The above problems are probably not the only ones I will come across. But  
as long the above ones are not solved I cannot get any further.
I appreciate your suggestions.
0
Comment
Question by:janvanderpeet
3 Comments
 
LVL 1

Accepted Solution

by:
danmian earned 250 total points
ID: 9790212
hi, first of all, are you sure you copy all the .ocx files, from your old operating system?

something similar happends to me and after copy all the files everything works almost fine, 'n I meand almost because I have to use one more thing to work correctly...
for a better explanation take a look to:

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q181/8/54.asp&NoWebContent=1

also download the tools to solve that!!

let me know what happend!!

enjoy

O:-)

0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9790472
Format, space and all other string manipulation functions belongs to vba.dll, are you sure that it is installed?
Both pc have the same SP for VB?
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now