Nevermind that. I found the error - I the Employee Id that I was passing just didnt exist in the AccPac database, so I changed that and it works.
Thanks for the try, ettienne
Eeek, a bit too quick with the judgement there, heheh.
Still no joy. just gives the same error :/
As for the macro, well, Im really not too sure where the timcard thing is located in AccPac, so...might take a while to figure out, heh.
And also, in the original VB6 code, the .Init line actually...
Thanks for the quick reply.
I'll try adding the Init line. Compared the code to the original VB6, and well, that line is definitely missing in my .Net translation. Has to work now. Thanks, ettienne!
Heh, ever notice how it is always the easy things that mess up the programs? Oh, those missing...
A similar thread already exists: thread631-526541
In fact, I am the person who works on changing the code made by Dave to .Net.
Now, I have a question. I translated the code in that thread to C#, and this is what I got:
object oArray;
AccpacCOMAPI.AccpacView[]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.