Solved

running vb appl in win nt environment

Posted on 1998-11-11
3
180 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 100 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create a duplicate finder Application 9 121
JSON Response and request in VB6 application 11 423
Microsoft Access combo box help 2 47
using web browser with BING 40 121
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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

778 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