15,905,144 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by candice_Blav (Top 5 by date)
candice_Blav
4-May-11 22:57pm
View
Thanks for the solution Bryian Tan, I think the solution you gave me uses the registry. They don't want us to use that kind of method..
Right now i'm using
Private Declare Function SQLConfigDataSource Lib "ODBCCP32.DLL" (ByVal hwndParent As Integer, ByVal ByValfRequest As Integer, ByVal lpszDriver As String, ByVal lpszAttributes As String) As Integer
candice_Blav
4-May-11 22:54pm
View
@walterhevedeich
sorry for my vague question... i've improved my question. hope you'll help me.
candice_Blav
27-Apr-11 22:19pm
View
Deleted
I've been using the mouse for quite some time and I didn't know that the mouse has a triple click... :)
candice_Blav
20-Apr-11 5:46am
View
again, i think i found the suspect. If the DataGridView.AllowUserToAddRows is changed to false, that triggers the error. But when i removed the DataGridView.AllowUserToAddRows part, it went ok.
candice_Blav
19-Apr-11 21:22pm
View
Thanks for the solution, I tried to test this procedure to another project, but it went well. By the way, I found out something. It goes something like this :
I have a tabControl with 2 tab pages. Each tab has a datagridview. The datagridview in tab 2 is the one using the above procedure.
Situation 1 : When the form is loaded, tab 1 is being shown and no error was displayed but when you close the form after opening the form, the "ArgumentOutOfRangeException" shows.
Situation 2 : After the form is loaded, when you go to tab 2, and then close the form, no error shows.
Is it possible it's because the datagridview in tab 2 hasn't repainted?... I'm not sure of my theory but hope you can help me..
Hope you can help me.