473,569 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MSScriptControl .ScriptControl

I have the next code:

Dim Script As Object = CreateObject("M SScriptControl. ScriptControl")

I've run this application in WinXP and it works normally, but if I run the
application in Win98, the next error comes out:
ActiveX component can't create object

I've already instaled Windows Script Control in the computer but it didn't
work

What can I do?
Thanks
Alejandra
Mexico
Nov 21 '05 #1
1 11451
Hi Alejandra,

Have you used the second response that I posted in the Spanish newsgroup?

Anyway, have you installed the latest SP of Windows 98?

I hope that helps.

P.D.: I didn't know that your app will be running in WXP without problems.
Remember, that you have two differents Windows Script runtimes, one of them
for Windows XP & Windows 2000 and other for Windows 98. You have to install
the correct Windows Script Runtime into Windows 98.

Kind Regards,

Jorge Serrano Pérez
MVP VB.NET
"Alejandra Parra" wrote:
I have the next code:

Dim Script As Object = CreateObject("M SScriptControl. ScriptControl")

I've run this application in WinXP and it works normally, but if I run the
application in Win98, the next error comes out:
ActiveX component can't create object

I've already instaled Windows Script Control in the computer but it didn't
work

What can I do?
Thanks
Alejandra
Mexico

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1516
by: Andrew Powell | last post by:
Hello all. Newcommer to the newsgroups so please let me know if Im not adhering to any policy. Ive setup an app (.NET app) which is using the MSScriptControl. I have the ActivePython package installed and the ActiveScript engine for Python registered. Thats all peachykeen. Im running into a problem whereby Objects that Ive extended to the...
0
665
by: Alejandra Parra | last post by:
I have the next code: Dim Script As Object = CreateObject("MSScriptControl.ScriptControl") I've run this application in WinXP and it works normally, but if I run the application in Win98, the next error comes out: ActiveX component can't create object I've already instaled Windows Script Control in the computer but it didn't work
1
2857
by: Oliver Schuetze | last post by:
Hi, I am a C++ beginner and therefore I can solve the following problem unfortunately not without your assistance. For a C++ professional it is probably a minute to think about... The ScriptControl OCX of Microsoft makes it possible to build your own programs with VBS/JS scripting. That is simply to integrate and documented. Only an...
0
2677
by: Slava | last post by:
Hi All, Is it possible to retrieve IActiveScriptSite interface from MSScriptControl using C#? I need this for implementation Exit function ( IActiveScript::Close ). Jscript running inside win forms application (using MSScriptControl.ScriptControlClass) and I need stop this scrip programmatically from appl. code. Any suggestions are very...
0
1023
by: Cunac | last post by:
Does anybody know how to reset variable context in one module without deleting global module context (global reset() func.), and how to remove module from ScriptControl->Modules list.
1
4074
by: Jozsef Bekes | last post by:
Hi All, I need to offer scripting possibilities in my app, and have to use MSSCriptControl for some reasons. I would like to use the feature that's called variable number of arguments, that is done in C# using the params keyword. However, if I AddObject the instance to the MSScriptControl, and try to ivoke a function with variable number of...
1
8769
by: Michael Kremser | last post by:
Hi NG! I have converted a running VS.net 2003 solution to VS.net 2005 Beta 2 (Version 8.0.50215.44) and tried to compile it. This is the code: myScriptingEngine = new MSScriptControl.ScriptControlClass(); myScriptingEngine.AllowUI = false; myScriptingEngine.Language = "VBScript";
0
2927
by: DraguVaso | last post by:
Hi, I have a VBScript that I want to run from my VB.NET application. I initialize everything like this: AxScriptControl1.Language = "VBScript" AxScriptControl1.Reset() AxScriptControl1.AddCode(strText) AxScriptControl1.AddObject("Toolbar", AxToolbar1)
1
2579
by: sjallard | last post by:
Hi, I'd like to do something like that (see explanations after the code snippet) : Sub mainSub (foo as String) Dim msScript As New ScriptControl msScript.Language = "VBScript" Dim someVar as String 'that'll be a parameter for the secondary sub someVar = "blah"
4
1622
by: Alfredo73 | last post by:
Hi, In the user input of a textbox I would like that the user can input a formula to make it easier for him. So instead of inputing 400 I would like the user to have the possibility to input as 8*50. Is there a command for vb2008 to calculate the answer of this formula inputed by a string ? Thanks in advance.
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7974
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.