By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,825 Members | 1,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,825 IT Pros & Developers. It's quick & easy.

vb6 DTPicker on an ActiveX hosted on a .NET Winform

P: n/a

We are encountering a problem with the DTPicker. This is the situation:

We have a DTPicker-control on a VB6 Active-X.
The Active-X is used on a .NET winform.

the problem:
The .Net winform is:
1. instantiated
2. Showed modally (ShowDialog)
3. Hidden (this.Hide)
4. Again shown modally (ShowDialog)

Result: after the second ShowDialog, the DTPickers are shown on the active-x
that resides on the winform, but they are *kinda* broken. (No
up-down-buttons no more, it isn't possible to enter anything into it and
every call to the DTPicker results in an error saying: "An error occurred in
a call to the Windows Date and Time Picker control")

Does anyone have an explaination for this behaviour?

Aug 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.