Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3873938
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:05:41+00:00 2026-05-19T22:05:41+00:00

I have a web site that includes code to move data between databases, generate

  • 0

I have a web site that includes code to move data between databases, generate Office documents, etc. I also have a need to duplicate some of this work in batch. Where they overlap, I’ve had to code things two different ways — one for the web site (using server-side vb.net) and one for batch (using vbscript). I know you can run batch from vb.net. I’d like to do the opposite — from batch I’d like to access some code that I’ve already written using vb.net classes, web.config, and Office interop assemblies. I tried some of this in PowerShell, but it took 45 minutes to generate a report that runs in 20 seconds through the web interface. Is it possible to do what I want in vbs batch?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T22:05:41+00:00Added an answer on May 19, 2026 at 10:05 pm

    The easiest way is probably to create a (VB.NET) EXE project, reference the (web) DLL you’ve written, call the code of your DLL and run the EXE locally instead of a batch file.

    Using VBScript would be more difficult, since VBScript can only access COM DLLs, not .NET DLLs. Thus, you’d have to expose your .NET DLL as COM objects (this can be done, but it requires some additional work) to automate it via VBScript.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a solution that includes a Web Site (created using the web site
Basically I have a web site that renders HTML preview of some documents (mainly
I have a web site that is a customer to customer (C2C) service. Example,
I have a web site that I administer that uses Apache 2.0 on the
I have a web site in asp.net that uses a master page. In this
Let's say I have a web site for hosting community generated content that targets
I have a simple PowerShell script that uses WMI to create a web site
In my (PHP) web app, I have a part of my site that keeps
I have a web-based application that notifies users of activity on the site via
I have a site a few years old that contains about 30 aspx Web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.