Solved

running vb appl in win nt environment

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

937 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

7 Experts available now in Live!

Get 1:1 Help Now