Home > Net >  Vb.net after packaging problems
Vb.net after packaging problems

Time:10-05

Vb.net application, written in vs2013, run there is no problem, but after packaging, there are two buttons (used to invoke the word and picture generate reports) problems are as follows:
Another generate reports button no problem,
Visual problem is called the path of the picture, but the source code is not the problem of
Consult, thank you,

CodePudding user response:

Sincerely help, don't let me sink,,,, through pass by don't miss

CodePudding user response:

In the source program in processing images generated report code image path is what, trouble issue to see the original poster,

CodePudding user response:

Do not use absolute paths, and relative paths

CodePudding user response:

The target computer need to install office full version, to run, you can't pack office, that is the commercial software

CodePudding user response:

The installer computer, no installation of WORD, or you don't have development version installed WORD
Office has a lot of version, to be consistent, you code to write or compatible

CodePudding user response:

This is call images in the source code of program

CodePudding user response:

refer to the second floor of a tree may reply:
source program in processing images generated report what is the code in the image path, trouble issue to look at the building Lord,

CodePudding user response:

The
reference natural youdao reply: 3/f
do not use absolute paths, and only relative path
is to use relative path

CodePudding user response:

refer to 7th floor Balla_c response:
Quote: refer to the second floor of a tree may reply:

To handle the image in source program to generate report what is the code in the image path, trouble issue to look at the building Lord,

File path is a relative path there is no problem, I check the packaging have the folder after E... V1_0 this folder and files in the debug, commonly used in the program debugging packaging generated generally in the release,

CodePudding user response:

Feel on the problem of word

CodePudding user response:

reference 5 floor it_gz_xi reply:
installation program computer, no installation of WORD, or no installation development version of the WORD you
Office has a lot of version, to be consistent, or the code you want to write a compatible
source code after launch in VS can be complete operation, illustrate the computer Office version compatibility, and can be implemented, and packaging is done on the same computer, environment didn't change

CodePudding user response:

references 9/f, a tree may reply:
Quote: refer to 7th floor Balla_c response:

Quote: refer to the second floor of a tree may reply:

To handle the image in source program to generate report what is the code in the image path, trouble issue to look at the building Lord,

File path is a relative path there is no problem, I check the packaging have the folder after E... V1_0 this folder, general in the debug file used in the program debugging, packaging generated in the release, the general
good dalai, I'll go to look for them, trouble you, thank you,
  • Related