Solved

for abel

Posted on 1998-07-29
2
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

733 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