I have written a program that while using static demo data runs fine when I add a datetimepicker to the form the program crashes. Any ideas? I have removed the control and the program runs fine. add it back on and it crashes.
Do you mean that FireFly itself crashes when you add a datetimepicker to the form during design time, or does your program crash when you run that program with the datetimepicker added?
the program crashes when I run it with the control added to the form. Even if the program doesn't use the control.
That is odd. Can't say that I know what the reason for that would be. Does the program run successfully on other computers? Is it possible to send me a copy of the project to see if there is anything FireFly related that could be the problem?
Here is my program. Let me know what you find.
Anne
(Edit: Attachment removed by Administrator)
Would be interesting to see which OS Anne is running and the version of MSCom Controls.
I am getting an error that ddoc32.dll is not installed.
There were two missing DLL's but when I added them the Project1.exe program executed perfectly and the DateTimePicker showed with no crashing.
Must be a Windows operating and/or MS Controls version.... not sure what else it could be..... virus scanner or something in the background interfering.
I am running XP Pro sp3 and the mscomm32.ocx version is 6.081.69
I have MSComm32.ocx 6.1.98.13
I believe this was installed with an update of MSVB6
Try installing the following:
http://www.microsoft.com/downloads/details.aspx?FamilyID=7b9ba261-7a9c-43e7-9117-f673077ffb3c&displaylang=en
Your application works fine on my machine once I installed the required DLLS.
I removed Anne's attachment because it contained some of her private authorization codes.
Anne - maybe you can create a new, test project that just uses the DateTimePicker so that people here can test it for you.
I just tried the program on Windows XP Pro SP3 with MScomm32.ocx version 6.1.97.82 and it worked fine.
I am lost here.
I thought FF does not use OCXes to create controls but instead uses the DLLs?
Perhaps Comctl32.dll for the common controls?
And Comctl32.dll is a Windows system file and is not be updated with the VB6 runtime or VB6 service pack?
I think MSComm32.ocx is for communication not common controls.
Yes Cho you're exactly right. FF uses the DLL, not the OCX. Not sure what I was thinking earlier. The version of ComCtl32.dll that I have on my WinXP machine is 5.82.2900.5512
This problem was fixed by reloading windows
Thanks for letting us know.
Happy that you were able to fix it because I was at a complete loss as to why it would not work.