Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 14 results for
virtualmode
- Page 1
Listview in Virtualmode
Programming
Software Development
11 Years Ago
by kaizen202
… in virtual mode with the property listView.
VirtualMode
=True and I have subscribed the event …code. public class Form1 : Form { public Form1() { listView1.
VirtualMode
= true; listView1.VirtualListSize = 100000; listView1.RetrieveVirtualItem += new RetrieveVirtualItemEventHandler(…
Re: Listview in Virtualmode
Programming
Software Development
11 Years Ago
by lolafuertes
Every time you need to acces to a listview ítem, the virtual retriever is called, as many times as needed, to obtain the virtual ítems collection for the purpose of the current action being done. See [this](http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.
virtualmode
.aspx) info from the library. Hope this helps
"cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by Username87
… other Form containing another data grid view with the property **
VirtualMode
** set to true and a **NewRowNeeded** event and a row…
Re: Sort DataGridView Column by a Custom Value List
Programming
Software Development
13 Years Ago
by captainm
… is not bound to an external data source and the
VirtualMode
property value is false. To customize sorting for columns bound…
Re: datagridview editing won't work?
Programming
Software Development
9 Years Ago
by MRAR
i solved it with "
VirtualMode
=False".
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by tinstaafl
It sounds like you're not disposing of the old forms before you create new ones. You'll probably have to show the relevant code to see what is going wrong.
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by Suzie999
Is this your code or third party app?
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by cgeier
Where did you get the information regarding number of handles from?
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by Amr_Mohammad_R
Suzie999 no its not a third party app and its not my app meant I'm not the one who wrote it is already an existing app within the company where I'm working and I'm trying to fix the bugs issued by it. cgeier You can know the number of User objects, GDI objects, Threads, and Handles beside many other things of all applications running in your PC …
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by cgeier
What OS is your computer using? Win7? What are the page file settings for your computer? You're going to probably have to post some of the code--the part that fires when you need to retrieve more rows and the part that retrieves the rows. Also some screen shots of what you are talking about may be useful.
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by cgeier
Also what database software are you using/accessing?
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by Amr_Mohammad_R
cgeier We are using Windows 8. OK I will post a code similar to the one who has a problem
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by Suzie999
Just to clarify, you do have access to the source code of the app? Seems like a lot of handles to be open really, I thought it was the garbage collector to deal with that if user does not dispose of objects themselves. But I suppose there are cases where the garbage collector determines that an object is not finished with depending on the way it …
Re: "cannot create a window handle" exception
Programming
Software Development
9 Years Ago
by cgeier
It is important to either use "Using" statements and/or call the "Close" method for unmanaged code (such as COM objects). In short, if a "Close" method exists, use it. Is this only occuring on one computer?
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC