HelpMove/Save from resources

Posts 1–7 of 7 · Page 1 of 1
Move/Save from resources

I have an issue using the SaveFromResources method.
When Saving :

Can you help me with this or give me a new way or new method to save the file from the resources to the user PC?
And problem is with Build?


Quote Originally Posted by -[Exorcist]- View Post

I have an issue using the SaveFromResources method.
When Saving :

Can you help me with this or give me a new way or new method to save the file from the resources to the user PC?
Code:
System****.File.WriteAllBytes(Path, My.Resources.File)
what happens man?
build this and execute manually in folder. Not start debbuging it from vs ... no errors
Have you tried making a new Byte array then giving it data, THEN using it? It looks like it's beeing pissy with your FByte variable.
Quote Originally Posted by MetrikForce View Post
Have you tried making a new Byte array then giving it data, THEN using it? It looks like it's beeing pissy with your FByte variable.
In the bottom of the image you can see "File == Nothing"

File was the parameter passed into the function, then FByte = File; so, FByte = nothing


OP would have to show us the CALLING code...apparently he passed in an unassigned object for 'File.'
Biesi already answered me >.>
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us