Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Pro Visual Basic 2005
Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Visual Basic 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 25th, 2007, 10:07 AM
Registered User
Join Date: Oct 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default load and call a vb.net program in memory

I would like to load a vb.net dll or exe into memory and then call functions in that program from another program or vb script.
The reason for doing this is that the vb.net program gets called fairly often as it is updating fields in a database as people are entering dates.
I figured that if the code or functions were already in memory, the process would take a lot less time so the program itself wouldn't have to load each time.
Any help would be appreciated. Thanks. John
Old October 25th, 2007, 02:42 PM
Friend of Wrox
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

The 1st time you use routines in a library (which is what you are essentially describing) the library gets loaded. It stays loaded until some more important process needs that RAM.

Typically, .DLLs contain synchronous calls, and .EXEs contain asynchronous calls.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call VB exe in another vb program Swati Chari BOOK: ASP.NET Website Programming Problem-Design-Solution 1 March 14th, 2008 11:43 AM
call external program from vb.net praswani Pro VB.NET 2002/2003 2 October 18th, 2007 07:19 AM
load Database into program memory... sumsin C++ Programming 0 March 10th, 2005 12:57 PM
Call VB Exe from VB Program jmss66 VB How-To 5 December 12th, 2004 11:17 AM
How to call a program in as400 through vb 6 gokul VB Databases Basics 0 October 20th, 2004 03:41 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.