Solved

running vb appl in win nt environment

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…
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…

707 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

13 Experts available now in Live!

Get 1:1 Help Now