简体   繁体   中英

Using a console application to reference a VB.net exe form function

I am very new to referencing dll's and .exe's. I have an application that sends reports to users on a daily basis. This is a manual process, and I have been tasked to automate that process. Now, I would like to create a console application, and reference that form that does the work on the .exe. I am so lost on how to do this. Can anyone provide me with a sample or tutorial on how to do this?

Add a reference to VB.net assembly (*.exe file) in your console application project, inspect it with object browser and call required method.

To add a reference, right click on reference folder of your project :)

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM