More trouble with deployment

C

C

I had downloaded PowerPacks to another computer running XP, and then
tried to install my little program using setup.exe created by Build/
Publish from VB Express 2008. It went through some procedure and then
complained that PowerPacks need to be installed first in GAC. I have
installed PowerPacks first, although I don't know where they got
installed on the computer. What am I doing wrong?

In the earlier stage of writing one program, I could just copy the
*.exe to another computer, and it worked there. I will sooner or later
have to find a way to install programs by just copying files. I cannot
force other people to go through setup procedures. They will simply
not use my program. Will someone tell me which files I need to copy?

I am thinking of avoiding PowerPacks altogether. Is there a reasonable
way to print a Form without using PrintForm? And ColorDialog?

Thanks for any help.
 
C

C

I had downloaded PowerPacks to another computer running XP, and then
tried to install my little program using setup.exe created by Build/
Publish from VB Express 2008. It went through some procedure and then
complained that PowerPacks need to be installed first in GAC. I have
installed PowerPacks first, although I don't know where they got
installed on the computer. What am I doing wrong?

I did not figure out this thing, but the simple solution is to copy
just one file - Microsoft.VisualBasic.PowerPacks.VS.dll to the same
folder as the *.exe. Now I need nothing other than these two files to
run the program. A lot more efficient than setup and ClickOnce.
In the earlier stage of writing one program, I could just copy the
*.exe to another computer, and it worked there. I will sooner or later
have to find a way to install programs by just copying files. I cannot
force other people to go through setup procedures. They will simply
not use my program. Will someone tell me which files I need to copy?

I am thinking of avoiding PowerPacks altogether. Is there a reasonable
way to print a Form without using PrintForm? And ColorDialog?

There is a simple way to print the form without using PrintForm by
CopyFromScreen to an image, which can be put in a PrintDocument.

I still don't know about ColorDialog.
Thanks for any help.

You are welcome.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top