Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Cursor From File alternative

Status
Not open for further replies.

Hap007

MIS
Mar 21, 2003
1,018
US
Howdy All,

I am trying to setup different cursors using VBA

I have been able to make 'LoadCursorFromFile' API call work fine.

My question, what other options are available (if any) to store my cursors and then retrieve them.

I am currently attempting to make this work in MS Access VBA, but I think since this is an API issue, it is better asked in this forum.

VBA or VB code would be a great help.

Thanks,
Hap...

Access Developer [pc] Access based Add-on Solutions
Access Consultants forum
 
The usual way to do that is creating your cursor as a resource, linking your resource file in your program and using LoadCursor/LoadImage.

You need a tool able to create the resource file (the RC or any other resource compiler) and "declare" LoadCursor in your VB code (and GetLastError too).

buho (A).

PS: Sorry, I use little or no VB, Im not really able to tell you exactly how to do the "declare".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top