Solved

running vb appl in win nt environment

Posted on 1998-11-11
3
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month4 days, 2 hours left to enroll

630 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