program crashes after adding datetimepicker

Started by Anne Perrea, May 12, 2010, 03:42:15 PM

Previous topic - Next topic

Anne Perrea

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.

Paul Squires

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?
Paul Squires
PlanetSquires Software

Anne Perrea

the program crashes when I run it with the control added to the form. Even if the program doesn't use the control.

Paul Squires

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?
Paul Squires
PlanetSquires Software

Anne Perrea

#4
 Here is my program. Let me know what you find.
Anne

(Edit: Attachment removed by Administrator)

Rolf Brandt

Would be interesting to see which OS Anne is running and the version of MSCom Controls.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Rolf Brandt

I am getting an error that ddoc32.dll is not installed.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Paul Squires

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.
Paul Squires
PlanetSquires Software

Anne Perrea

I am running XP Pro sp3 and the mscomm32.ocx version is 6.081.69

Brian Chirgwin

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.

Paul Squires

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.

Paul Squires
PlanetSquires Software

Paul Squires

I just tried the program on Windows XP Pro SP3 with MScomm32.ocx version 6.1.97.82 and it worked fine.
Paul Squires
PlanetSquires Software

Cho Sing Kum


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.

Paul Squires

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
Paul Squires
PlanetSquires Software

Anne Perrea

This problem was fixed by reloading windows