Staredit Network

Staredit Network -> Computers and Technical -> Mpq Control
Report, edit, etc...Posted by Xx.Doom.xX on 2006-12-12 at 20:56:54
Do you mean MpqCtl.ocx?
If you did, I removed it now, and left the control on the form. But I am still getting the COMException error.
Report, edit, etc...Posted by Vibrator on 2006-12-12 at 21:53:04
I'm not using Express im using Visual Studio but it should be the same and it works for me perfectly fine.
Report, edit, etc...Posted by fatimid08 on 2006-12-13 at 11:15:35
MpqControl.ocx should work fine if you add a COM reference to it. However, if you can't get it to work, I have a class which declares all the SFmpqapi.dll functions for VB 2005, most of them I've tested and they work. You'll have to use SFmpq.dll instead of MpqControl.ocx though.
Report, edit, etc...Posted by Xx.Doom.xX on 2006-12-13 at 15:33:47
Omg...I'm so stupid!

Thanks to Vibrator, with providing me with adding MPQControl to the toolbox, it is now working! Yay! I took out Mpqctl.ocx out of my project, but what I forgot to do was delete the instance that I had made for MPQCONTROLLib.MpqControl. And because that I did not delete that, and I was still using MPQ.AboutBox() (Which should've worked even when I added a COM Reference it did not). What I changed to the code was this:
CODE

AxMpqControl1.AboutBox()

Or whatever name I was to give the control. It worked perfectly fine! And now I'm sure to be able to use all the functions! (I hope)
*smacks head*
Thanks to all who helped, especially Vibrator, and SF. smile.gif
By the way, fatmid, I'll be sure to try that then.
Next Page (2)