Archived Forum Post

Index of archived forum posts

Question:

OpenMyEmbedded help

Jun 24 '17 at 08:58

Hello,

I'm having some difficulties with the Zip library.

My goal is to open and extract a zip file that is an embedded resource.

So from the reference page I do:

public bool OpenMyEmbedded(string resourceName);

But I don't know what to put for resourceName. I have tried the resource name, the file name and a several combinations of the namespace/filename etc.

My zip file is name myData.zip and it's in a folder named Resources in the Solution Explorer in VS.

bool success = zip.OpenMyEmbedded("?? what do I put here ??");

Every time the error I receive is: Resource not found within my EXE

What am I doing wrong?

I'm using ChilkatDotNet4 for .Net 4.0 32-bit

Thanks!


Accepted Answer

Never mind I think I was mistaken what OpenMyEmbedded was used for. I was able to achieve my goal using OpenFromByteData.