Questions tagged [wsc]

Windows Script Components (WSC), formerly known as Scriplets, is a technology for developing powerful COM components.

WSC's can be authored in any scripting language that has implemented the ActiveX Scripting Interfaces, which means that units of PerlScript code can be encapsulated as Windows Script Components.

19 questions
8
votes
1 answer

FatalExecutionEngineError in C# / WSC (COM) interop

I'm about to start a migration project at work for a legacy system written in VBScript. It has an interesting structure in that much of it was segregated by writing various components as "WSC" files, which are effectively a way of exposing VBScript…
Dan Roberts
  • 2,244
  • 16
  • 31
7
votes
1 answer

Using Javascript in Excel

I'm currently creating an Excel workbook that runs a Monte Carlo type simulation. The simulator code is currently in Javascript though, and porting entirely to VBA appears to be non-trivial given the team's inexperience with this language. So,…
Izomiac
  • 71
  • 1
  • 1
  • 2
3
votes
1 answer

Can we create a Visual force page programmatically.?

I want to create a new Visual force page with visual force markup code Where the report will be already created programmatically and the report id…
Kannan_SJD
  • 1,022
  • 2
  • 13
  • 32
2
votes
1 answer

Visual Studio add-in for WSF and WSC files

Are there any add-ins for Visual Studio that assist with editing WSF and WSC files? WSF and WSC (Windows Script Component) files are XML files that are interpreted by the WIndows Script Host. They contain script metadata in XML elements, and one…
Andrew Cooper
  • 32,176
  • 5
  • 81
  • 116
1
vote
0 answers

Why does WMI show duplicate entries for the same A/V product in \\root\SecurityCenter2?

I have been using WMI to retrieve the antivirus/antispyware/firewall products registered in the Windows Security Center. Since last month duplicate entries for ESET Internet Security started showing up (since v12.2.29). Somebody else said it also…
Arnoud Klaren
  • 93
  • 1
  • 9
1
vote
1 answer

Problem closing WSClient in Playframework

I have a Problem with the WSClient in playframework. When i send a request closing the WSClient in the finally Block after : public WSResponse sendPostRequest(String url, String bodyAsJson, Map> headers) throws Exception { …
Otti
  • 29
  • 3
1
vote
1 answer

How secure is the WSC (Windows Script Components) model?

How secure is WSC? Does it always assume that it's running in a trusted environment? Will the technology persist or is there the chance that MS will kill it sometime soon?
bugmagnet
  • 7,631
  • 8
  • 69
  • 131
1
vote
1 answer

need help understanding and using wsc files on win64bit

I started messing around with making WSC files for my vbscripts but there are a couple of things i don't quite get to work and understand here... for example, getObject doesn't seem to work: test.WSC:
Tom
  • 221
  • 1
  • 4
  • 16
0
votes
2 answers

How To Preserve SOAP Headers to use with Mule 4 Web Service Consumer?

I have used an Existing WSDL to create an Experience API where I am performing several steps before either: Passing the SOAP Request Message as-is to the Original Backend System using Mule4 Web Service Consumer or Calling another Backend System…
0
votes
1 answer

Issues generating Enterprise jar for Salesforce Soap API; issue with generated WSDL XML from Salesforce

I've recently made some databasae changes to custom objects, and I'm trying to generate a new enterprise.jar to reflect these changes. I'm following all documentation located here for the process. I'll also note, with the exception of some new…
0
votes
1 answer

Can't register application in Windows Security Centre

I have code: //interface MIDL_INTERFACE("XXXXXX-XXXX-XXX-XXXX-XXXXXXXXXXX") IWscAVStatus : public IWscSecurityProductStatus { public: virtual HRESULT STDMETHODCALLTYPE UpdateStatus( /* [in] */ WSC_SECURITY_PRODUCT_STATE eProductState, …
0
votes
1 answer

Is the RegExp object in VBScript Thread Safe when used inside a Windows Scripting Component

I've trying to track down an issue with a legacy Windows Scripting Component that we use. Looking at several memory dumps in WinDbg I have found that alot of threads, in fact looks like 50% of the apps threads are all waiting for another thread to…
MJJames
  • 735
  • 6
  • 22
0
votes
1 answer

Issues integrating java client application with Salesforce (wsc API)

I had to connect to salesforce through my Java application and followed the steps provided by salesforce.com Introduction. I faced a couple of issues in this process and any help would really help me a lot. Issue 1: First and foremeost I am unable…
0
votes
2 answers

including classes with a wsc file

Ok, what am i doing wrong here? i'm trying to include a vbscript with a class inside this way: SCRIPT.VBS: set inc = createobject("script.runner") inc.Include "class" set x = new test x.msg' here i get the error 'undefined class'! REGISTERED .wsc…
Tom
  • 221
  • 1
  • 4
  • 16
0
votes
1 answer

setAccount using Salesforce WSC API gives field not indexed

I can't get this sample WSC Salesforce code to work. What am I missing? I'm trying to create a new Event for a specific Account. I don't mind querying the Account first. This seems really simple, but it's not working. QueryResult queryResults =…
K.Nicholas
  • 10,956
  • 4
  • 46
  • 66
1
2