?
Solved

running vb appl in win nt environment

Posted on 1998-11-11
3
Medium Priority
?
198 Views
Last Modified: 2010-04-30
hi good day!

i have a question regarding running a vb appl in windows nt enveronment.  here's the scenario:

1.  my vb appl was developed using vb4.  i tried installing it in a wkstn with win nt envi and this error occurs = "Cannot create vba expression service".  was wondering why it occurs because other processes are ok except for the others with that error.
2.  tried compiling it to vb5 version.  but same error still occurs in some of the other processes.

is there a difference in running a vb app in win95 or win nt environment?

thanks/joie roxas
0
Comment
Question by:joier
3 Comments
 
LVL 2

Expert Comment

by:swilt
ID: 1444412
This error message occurs if there is no valid TEMP directory. Run a DOS prompt and type SET, you should see TEMP=C:\TEMP, then make sure the TEMP directory exists i.e. do CD C:\TEMP

Make sure the line SET TEMP=C:\TEMP is in your autoexec.bat if you cannot see TEMP when you type SET.
0
 

Author Comment

by:joier
ID: 1444413

i think the problem is not with the setting of c:\temp.  my question is if there's a difference in running a vb application in a windows 95 or windows nt environment.
0
 
LVL 13

Accepted Solution

by:
Mirkwood earned 200 total points
ID: 1444414
Maybe there is a file missing in NT

Download Filemon or NTFilemon from www.sysinternals.com
Start Filemon and now run the application that gives the error.
Filemon will show a trace. In this trace it will also show you which
file failed to open. That's the one you are missing.

Filemon can be redirected in a dos box using filemon > output.txt
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

864 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