Hi the problem I am faced with is after adding around 35 video files of both .avi and .mpg with a total file size of around half a gig to the resources of my project, I get an error message on debug telling me "Error 1 Unable to write to output file".
I am guessing this is because the total file size may be too large. I have tried to change the properties of the folder it writes to the file from read only, however it switches right back as soon as. Also I cannot see any .exe in the output directory where the file would be normally be written.
"C:\Users\Bill\Documents\Visual Studio 2010\Projects\resources test 2\resources test 2\obj\x86\Debug"
Resources test 2 being the project name.
I am trying to create a program which plays a number of short video clips without streaming them from the internet. If I could source them from a folder on the HDD then fine however I am then faced with the problem of adding the videos to the instaler package which I dont seem to be able to find a way to do. Does anyone know why the output file will not write in these circumstances? Thank you.
jakewebb
0
Newbie Poster
Recommended Answers
Jump to PostThat's a new error message to me :/
Usually it's along the lines of cannot delete file blah blah...Are you sure you do not have an instance of the program running? It may have crashed and did not fully unload from memory and release the file. Sometimes you will …
Jump to PostThe ResourceManager Class, might be what you're looking for. It has the option to use a folder for resources, alternatively you can use an external .resx files to store the videos.
All 8 Replies
TnTinMN
418
Practically a Master Poster
tinstaafl
1,176
Posting Maven
TnTinMN
418
Practically a Master Poster
jakewebb
0
Newbie Poster
TnTinMN
418
Practically a Master Poster
jakewebb
0
Newbie Poster
jakewebb
0
Newbie Poster
tinstaafl
1,176
Posting Maven
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.