Skip to main content

All Questions

Tagged with
1 vote
1 answer
540 views

How can I expose my C# for scripts (e.g. VBScript) to interact with it? (Currently using SendKeys but this is causing some issues)

Problem Background I am updating a well-used tool in C# which has the requirement that scripts must be able to perform certain functions automatically (hit buttons, populate text fields). To date, ...
Eilidh's user avatar
  • 1,298
-1 votes
3 answers
892 views

MS Access Application to ASP.net C#

I have a project to convert a massive MS Access application to asp.net. unfortunately I'm not that good in VBscripts therefore, I was wondering if I can run the same MS Access (as backend) on asp.net ...
Salah Bin Rashid's user avatar
1 vote
1 answer
8k views

access the title of a window using vbscript

I'm trying to get the title of a window using VbScript. Is there any way to achieve it? like the way we do it in C# using System.Diagnostics; Process[] processlist = Process.GetProcesses(); foreach ...
Raja Anbazhagan's user avatar
-1 votes
2 answers
1k views

Need help for configuring COM+ Service programmatically using C# or script

Is it possible to programmaticaly configure COM+ service. I need to do the following using C# or any script Open Administrative Tools -> Component Services Expand Components Services -> My Computer -...
Sreejith Rajan's user avatar
4 votes
1 answer
2k views

windows7 set the "show icon and notification" programmatically

I want my application (written in c#) which needs to run on Windows 7 and show an icon in the notification area. The default is "only show notification" I my icon to be shown by default. looking for ...
sofr's user avatar
  • 5,607
6 votes
2 answers
2k views

MSScriptControl 'Specified cast is not valid' when exposing an object to VBScript

I'm trying to implement scripting capability to my application. I'm using the code below. Whenever I instantiate a new Api object, the application is supposed to quit (a little testing thing :p) ...
user avatar
8 votes
5 answers
11k views

Programmatically install Certificate Revocation List (CRL)

I need to download and install about 50 CRLs once a week and install them on several Windows servers. Downloading is the easy part, is there a way I could script the CRL import process?
Goyuix's user avatar
  • 24.4k