Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 23rd, 2003, 02:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default Error creating window handle

Hello,

I'm trying to get a MDI application together. I'm opening a child form from the parent menu. In the load event of the child form, I call a class to fill an ArrayList which, when returned to the child form, will populate a ListView control.

I'm trying to execute a SqlDataReader in the class. I'm conneting OK, but when I execute a command object to fill the data reader, I get an 'Error creating window handle' error.

I don't even know where to begin looking for the problem. Is it in the MDI setup and the way the child form is loading somehow?

Any thoughts to get me looking in the a direction (any will do) much appreciated.

Thanks,

Bob

 
Old August 24th, 2003, 09:30 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Problem solved it appears. Re-inherited the child form and pasted the code back in. One of those deals.

Bob

 
Old July 30th, 2004, 09:27 AM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I'm having the same problem.

What did you mean by "Re-inherited the child form and pasted the code back in"?

If it's possible, please use my email, which is [email protected]

Thanks

Tuyen






Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help to indicate Window Handle Error ponn_arun C# 1 May 27th, 2007 11:34 PM
obtaining handle of the window C# nirmal_thapa C# 0 January 30th, 2007 09:10 AM
Error creating window handle. ColdFusion C# 1 May 15th, 2006 09:57 AM
Error creating window handle sarahmapg ADO.NET 1 January 18th, 2006 06:30 AM
How to handle this error Maxood Classic ASP Databases 2 June 27th, 2004 02:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.