?
Solved

for abel

Posted on 1998-07-29
2
Medium Priority
?
235 Views
Last Modified: 2010-05-03
abel:
Please accept a small token for you insightful comments about the SHFileOperation function.  Your comments are appreciated.

Regards,
Sekans
0
Comment
Question by:Sekans
2 Comments
 
LVL 39

Accepted Solution

by:
abel earned 200 total points
ID: 1467079
Sekans,

Thanks very much, I appreciate this. You probably know that you don't need to give me the extra points (I posted just a comment in your FileCopy question), but since you kindly offer them to me, I'll gratefully accept them.

Because you're probably still on the subject, a little extra note I think is worthwile to be cautious of (now and in the future):
Sometimes an API takes a so called "far pointer" to a string or a Type (struct in C/C++). In easy terms that means that the pointer points to an object in the memory outside your processspace. Most cases I tried to implement a far pointer in VB, I either got an application error or it was just ignored. In SHFILEOPSTRUCT it's the lpszProgressTitle that's the far pointer (it points to an address of Explorer.exe, I think). That's why using it won't work most of the time.


I'm glad I could be of some help to you.

Regards, Abel

PS: For the ones that don't know what this is about, see question at:
http://www.experts-exchange.com/topics/comp/lang/visualbasic/Q.10067501

0
 
LVL 1

Author Comment

by:Sekans
ID: 1467080
abel,

You're very welcome.  It's refreshing to know there are experts willing to  offer their wisdom even when there are no points to be gained.  

Regards,
Sekans
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question