I built a vb.net solution and it works well on my computer but it doesn't on other computer.
so what files I have to copy with the solution

It won't work on any computer that doesn't have the .Net framework installed. That's an easy download from microsoft.com.

thanks man
but .net frame work big it's about 50 MB so i don't want to attach it with every solution i build
is there any other way
like a some files only

If you build the project Setup in VS then you can easily set the depencies to download from vendors site
means if the installer detects that one or more depencies are missing it will download it from the vendors site.
no need to include the net installer into your project ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.