Problem using DeviceToDesktop with VB6
Posted on 2002-04-09
I've been using the DeviceToDesktop and DesktopToDevice api within vb6. Desktop to device works perfectly.
Unfortunately, DeviceToDesktop returns an error when I call it as follows :
lngRet = DEVICETODESKTOP(Desk.Text, "", False, True, Mob.Text)
The error I get is -2146824447. Both text boxes are filled in, with the correct path of an Access 2000 db and a pocket access db.
Anyone have any ideas why it could be failing?