login about faq

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!

asked Jun 24 at 04:03

dirtnap's gravatar image

dirtnap
16


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

link

answered Jun 24 at 08:58

dirtnap's gravatar image

dirtnap
16

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×96

Asked: Jun 24 at 04:03

Seen: 118 times

Last updated: Jun 24 at 08:58

powered by OSQA