Need some help...

B

Bruce W. Darby

Thigh boots???? Hmmm... No, better not go there. :)

Yes, that's exactly what I mean. This doesn't work for me.
i_Compress.CompressFolder(strFolder,
Path.ChangeExtension(Path.Combine(strTargetDir, strDeepestNode), ".cab"),
"", 0)

still doesn't work and that:

And this DOES work for me.
Dim strFinalFile As String =
Path.ChangeExtension(Path.Combine(strTargetDir, strDeepestNode), ".cab")
i_Compress.CompressFolder(strFolder, strFinalFile)

does work?

Should I send someone to help you up? :)
 
B

Bruce W. Darby

Cor,

I read that one. :) But I'm just letting Stephany know what is and isn't
working for me. My project is otherwise working perfectly well. I've
actually started my project over, thinking some changes that I had made
elsewhere, through my own stupidity, of course, had botched my solution. In
both solutions, the exact same errors occured on that line of code. I'm
perfectly happy with the code working as it is. I really don't want anyone
wasting their time on it, so if it is getting to that point, I apologize.

Bruce
 
S

Stephany Young

It's definitely time for the black boots and whip this time!!!!!!!!!!!!!!

I would like you to try it with EXACTLY this line:

i_Compress.CompressFolder(strFolder,
Path.ChangeExtension(Path.Combine(strTargetDir, strDeepestNode), ".cab"),
"", 0)

Copy and paste it verbatim and remove any line breaks that propogate
themselves.

Do not, I repeat, DO not modify the line in any other way.

Do not, I repeat, DO not attempt to run the program.

Compile it and see if you get any compile time errors and if so report back.

If it compile ok, then you can run it and report back with the results.

If that doesn't work I'll come and marry you and, believe me, you wouldn't
want that!!!!!!!!!
 
B

Bruce W. Darby

Hmmm... That one worked, though for the life of me I cannot see anything
different from any of the previous lines that you provided. So I suppose
you're safe from the wedding bells. :) Besides, even though I live in Utah,
my wife isn't into polygamy. LOL

Ummm... if I put a line continuation character in, could I get a few extra
lashes?? ROFL

Thanks Stephany,
Bruce
 
S

Stephany Young

I suspect that you had a tray comma, a missing comma or a comma in the wrong
place.

When I stragecially misplaced a comma or 2 I got one or more of the errors
you saw, byt the important thing is that they were compile-time errors not
run-time exceptions.

When you are posting about 'errors', it is important that you are absolutely
clear as to the type of error or exception that you are talking about, cos
even though we're pretty good, we don't have telepathy down to a fine art as
yet.

Don't get lost in the snow :)
 
T

Tom Leylan

Bruce this isn't a big deal but why I mentioned it before was so you (an
others) understand, what you are suggesting is "impossible". I believe you
think the function calls are passed along as parameters to be "parsed" by
the function itself and they aren't. The outer function has no idea that
you supplied the parameters indirectly via other function calls.

MyFunc1( "this", 15 )
MyFunc1( GetThis(), 3 * 5 )

Are equal (so long as GetThis() returns "this" of course. All computations
"must" be done prior to calling MyFunc1().

It isn't something you should worry about because it can't happen. If a
function returns something "wrong" then yes the function will fail but due
to the bad value not due to the fact that a function was called..
 
B

Bruce W. Darby

Tom,

I appreciate everything that you've done to assist me in learning. I've got
a hard head sometimes, but it also allows me to bang it against the wall
until something sinks in. :) Of course, that really leaves a bloody mess on
the wall... ROFL

Happy Holidays,
Bruce
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top