15,884,629 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 Wietze Bron (Top 16 by date)
Wietze Bron
17-Nov-14 12:25pm
View
Thanks for your reply, but please read the question.
Wietze Bron
17-Nov-14 12:24pm
View
Thanks for your reply.
The dll in this case is not meant for end-users but for developers.
Does the set-up procedure make the custom controls visible for the developers ?
I thought the advantage of .Net was that you should be able to run your exe or dll from your default folder.
Wietze Bron
16-Nov-14 5:24am
View
Please read the question !
Wietze Bron
24-Jan-13 13:20pm
View
Hi Kishor, thanks for givin it another try.
The code I need to populate my table is as follows:
Dim DBconnection As String
Dim selectCommand As String
Dim da As SqlDataAdapter
Dim bs As New BindingSource()
Dim dgv As New DataGridView
Dim table As New DataTable()
DBconnection = "user id=...."
selectCommand = "select * from ...."
da = New SqlDataAdapter(selectCommand, DBconnection)
da.Fill(table)
bs.DataSource = table
dgv.DataSource = bs
This means I will not be able to add DataColumns individually.
Wietze Bron
23-Jan-13 12:47pm
View
Yes, hence my question in the first place.
Using field numbers also doesn't gain enough in this case.
I am afraid there is no real solution.
Wietze Bron
22-Jan-13 12:22pm
View
There is no code yet, only a question.
Wietze Bron
22-Jan-13 12:21pm
View
Hi Kishor, thanks for your reaction.
Your solution still needs to be used on individual rows/columns.
In that case there is already the Row.Item(Col.ColumnName).Trim method.
I need one setting / command for the entire table.
Wietze Bron
21-Jan-13 14:52pm
View
Ofcourse it works. The SQL query is correct.
For 'tablename' you have to substitute your own table.
For DBconnectionWork you have to substitute your own connection string.
Wietze Bron
6-Jan-13 9:30am
View
I have tested it on another PC with the sdame instance of VS2010. I used exactly the same code and here I don't have the problem. Could it be a central setting or something ?
Wietze Bron
6-Jan-13 8:43am
View
Hi Zoltan, thanks for your reaction.
I just used the code plain as stated above and I get no exception.
Form2 comes up whith the first messagebox and not with the second.
When I change form2 to the following I get an exception, but there should always be an unhandled exception I think.
Private Sub Form2_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Dim i, j As Integer
Try
MsgBox("begin")
j = 0
i = 100 / j
MsgBox("ready")
Catch ex As Exception
Call MsgBox(ex.Message)
End Try
End Sub
Wietze Bron
6-Jan-13 8:16am
View
I am sorry, this makes no difference. The begin messagebox was
already shown in the first place, so this has nothing to do with the code
being executed or not in the form2_load.
Wietze Bron
1-Mar-12 14:45pm
View
property attributes: <designerserializationvisibility(designerserializationvisibility.visible)>
NotifyParentProperty(True), RefreshProperties(RefreshProperties.All)
Wietze Bron
1-Mar-12 14:41pm
View
In VB.net 2010 I have a custom control who's properties are being set through a UITypeEditor (through code). The IDE does not recognize the changes and does not put the star on the form tab. When I store the project the form is not stored and the property changes are lost. When I afterwards make other changes in the IDE the star becomes visible and my custom properties are also saved.
Wietze Bron
26-Feb-12 2:13am
View
Thanks, I was afraid of that.
Wietze Bron
20-Feb-12 12:11pm
View
Are you doing something special in the OnStayWithinParentBoundsChanged ?
I did the same you did. Here it doesn't work.
Maybe it's the way I work. I am changing the (not browsable) property out of another form through a UITypeEditor.
Wietze Bron
19-Feb-12 12:44pm
View
Thanks for you reply Dave.
Unfortunately it does not work.
Show More