Solved

for abel

Posted on 1998-07-29
2
224 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 50 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

860 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