Visual Basic 2010 PRO
-
9 สิงหาคม 2555 20:49
I had made a simple program that took data from input boxes on the top form and did calculations and put some the results into other boxex on th top form. There were some options underneath the menus I created.
I compliled the program and had the output go to a flash drive.
When I went back to run the program I got an error as it was pointing at the flash drive instead of the hard drive on the computer now.
(( this is one part of visual basic I don't like is that the difficulting in saving the project to multiple locations. ))
Well, I went to the Project ten to the name of the project at the bottom of the pull down list.
then I went to compile thne changed the build output path and changed it. I also change the Assembly Name back to whatI had been calling it on the C: drive.
Now I get the following warning "Load of property 'OutputPath' failed. The entered path is not a valid output path."
So How can switch the output path to be valid again without putting the thumb drive into the computer?
- ย้ายโดย Barry WangMicrosoft 10 สิงหาคม 2555 6:13 VB projcet related (From:Visual Studio Setup and Installation)
ตอบทั้งหมด
-
10 สิงหาคม 2555 5:59
Hi Joe in Westlake,
Thanks for your post.
May I charify more details about this issue?
Your steps to reproduce " it was pointing at the flash drive instead of the hard drive "
1. Change project compile output to "a flash drive"
2. copy .exe file to local drive to run and got the error
Please correct me if your steps were not like this.
Your steps here to reproduce "Load of property 'OutputPath' failed. The entered path is not a valid output path"
1. Remove the flash drive
2. Right click project and open property
3. Change project compile output to local
4. Change References back to C:drive
5. Build and run got the error "Load of property 'OutputPath' failed. The entered path is not a valid output path"
Please correct me if your steps were not like this.
We may help you if you can share your steps more clearly. To do this, I recommend you use this useful tool called psr.exe embeded on your OS if it is Win 7.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd371782(v=vs.85).aspx
After this, you can upload the record file to SkyDrive,etc. and share your link with us.
Additionally, I recommend you create a new VB.NET project and copy your project content to that project.
Then the error may be solved.
Best regards,
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
- แก้ไขโดย Barry WangMicrosoft 10 สิงหาคม 2555 6:06
- เสนอเป็นคำตอบโดย Mark Liu-lxfModerator 10 สิงหาคม 2555 6:43
- ทำเครื่องหมายเป็นคำตอบโดย Mark Liu-lxfModerator 16 สิงหาคม 2555 7:42