Solved

WindowsXP and Visual Basic 5.0 and 6.0

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA/SQL - Connect to SQL server and pull data 4 108
Using MS Code on my Mac 6 67
clicking a shape in a frame array vb6 3 45
RUNRMTCMD from AS/400 12 46
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

770 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