As shown in figure, I personally think it is the original code calls the data path problem, but I don't know how to modify, please give directions, thank you
And the program packaged with vs behind me, but the figure 2, because is static address code? How to change? [/img]
CodePudding user response:
The second picture to see if the computer has a drive F and F plate of the corresponding path if the corresponding file
Say things in the first figure figure less
The third picture is clear
CodePudding user response:
reference 1st floor OrdinaryCoder response: the second picture to see if the computer has a drive F and F plate of the corresponding path if the corresponding file Say things in the first figure figure less The third picture is clear It means that someone else's computer also want to have me inside the computer in the configuration of the path? Can this not reality, is to make it automatic call CodePudding user response:
refer to the second floor sujiahaoboke response: Quote: refer to 1st floor OrdinaryCoder response: The second picture to see if the computer has a drive F and F plate of the corresponding path if the corresponding file Say things in the first figure figure less The third picture is clear It means that someone else's computer also want to have me inside the computer in the configuration of the path? Can this not reality, is to make it automatic call VS save engineering example in the document by default VS201X Projects folder preservation solution you can default on disk C or in a program execution directory is a path F eighty percent this absolute path is problematic CodePudding user response:
reference OrdinaryCoder reply: 3/f Quote: refer to the second floor sujiahaoboke response: Quote: refer to 1st floor OrdinaryCoder response: The second picture to see if the computer has a drive F and F plate of the corresponding path if the corresponding file Say things in the first figure figure less The third picture is clear It means that someone else's computer also want to have me inside the computer in the configuration of the path? Can this not reality, is to make it automatic call VS save engineering example in the document by default VS201X Projects folder preservation solution you can default on disk C or in a program execution directory is a path F eighty percent this absolute path is problematic how to set? To change the code? CodePudding user response:
May be the absolute path to the source code is used, are generally use the directory with the application of the relative path calls file, may be you didn't put this several files packaged into, if you have put these files are packaged together, then you can search using vs in the source code file name, see is how to call these files CodePudding user response:
young programmers reference 5 floor small don's reply: may be the absolute path to the Source code is used, are generally use the directory with the application of the relative path calls file, may be you didn't put this several files packaged inside, if you have put these files are packaged together, then you can search using vs in the Source code file name, see the is how to call these files write directly Data Source=ZHXZB. MDB? CodePudding user response:
Figure 1 problem with an office should can solve,, Portal https://jingyan.baidu.com/article/ab69b2707203f32ca7189f95.html As for the back of the will change the absolute path to the relative path attribute is set to always generated for the resource file CodePudding user response:
MS website to download the access database engine, AccessDatabaseEngine, according to your project under 32 bit or 64 bit, it is ok to install, CodePudding user response:
Here https://www.microsoft.com/en-us/download/details.aspx? Id=13255 CodePudding user response:
Loved refer to the eighth floor response: MS website to download the access database engine, AccessDatabaseEngine, according to your project under 32 bit or 64 bit, it is ok to install, that I had solved, CodePudding user response:
refer to 6th floor sujiahaoboke response: Quote: young programmers reference 5 floor small don's reply: May be the absolute path to the Source code is used, are generally use the directory with the application of the relative path calls file, may be you didn't put this several files packaged into, if you have put these files are packaged together, then you can search using vs in the Source code file name, see is how to call these files write directly Data Source=ZHXZB. MDB? VB I can't write,,, I studied winform also encountered similar problems, give you an idea