Why library project in vb does not run on another PC?

Asked By 0 points N/A Posted on -

Hi to VB developers,

Visual basic is my first choice to develop any application or software. Now I am working on a library project in vb which uses a SQL server database to send and retrieve data entries. It works fine on my PC like issue book, issue date, the book record.

But when I copy whole project and run exe file into other PC having the same configuration while SQL server, SDKs and all related things are installed, project shows an error. I am unable to understand what is happening and what’s wrong with me. Some help please.

Answered By 30 points N/A #167729

Why library project in vb does not run on another PC?


Hi Guthrieg,

There is something that you missed when publishing your application in Visual Basic. You forgot to include the dll's or the reference when publishing.

Here are the steps to include those things that you missed:

1. Go to Project > Properties > Publish.

2. Click Application Files.

3. Set item's Hash to Include.

4. Click OK.

5. Click Publish.

Login/Register to Answer

Related Questions