Solved

WindowsXP and Visual Basic 5.0 and 6.0

Posted on 2003-11-20
3
283 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

756 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