User Profile
Collapse
-
Thank you sir. I will try to locate your howto article. I'm relieved to learn that its possible.... -
-
Connect VB 2005 to ADABAS? Is it possible?
Good morning sirs and madams, how do we connect vb 2005 to ADABAS? Can this be done? Thanks in advance. -
-
I want to handle blank entry to numericupdown. It seems that if the numericupdown .value is zero, then I select the number then delete it, the nud retains the value zero. the problem is the display is blank.
You can simulate this by creating a form and place a nud control. Run the app then delete the value from the nud. It is blank, but it really is the last number it is. I tried to refresh the nud but nothing happens.Leave a comment:
-
VB-APP: Problem on numericupdown control
Nud has no textchanged event. Although nud only accepts numbers, it accepts blank as well. This is the problem I'm having. If it only has a textchanged event, I would have done something like this
ontextchanged.. .
if nud.text = "" then
nud.value = 0
end if
Is there a solution to this? -
VB-APP: Determine the next control on validating event
How can I determine the next control the user clicks on a certain control's validating event? For example, if I have textbox1 with the focus, and I click textbox2, how can I know from textbox1 that the next control I have clicked is textbox2? -
I tried:
Code:dtChild.defaultview.rowfilter = bsChild.filter dtChild.defualtview.sort = bsChild.sort
Leave a comment:
-
VB-APP: How to determine rows of a child based on parent row selected.
Good day Sirs & Madams, I know some of you will find this problem very simple. Kindly share a little knowledge to me on how to deal with this. Thank you.
I have a parent-child table relation. when bsParent is navigated, bsChild follows. In code, I did this to determine the rowstate:
Code:dim dtParent as datatable = ds.Parent.copy for i as integer to dtParent.defaultview.count - 1 if dtParent.defaultview(i).row.rowstate
-
-
Check to see if anything being referenced is null or has valid data type.Leave a comment:
-
it is really a little bit lenghty to explain. But I think .net has more control over network/internet based solutions than vb....Leave a comment:
-
VB-APP: What event happens when the bindingsource is filtered?
Hello all. I would like to place code when bindingsource is being filtered. I have tried placing it in the positionchanged and listchanged event. But, when I try to filter the bindingsource, it doesn't call the positionchanged or listchanged event.
I tried placing a msgbox("Fire") statement in that two events just to check if it fires when I filter the bindingsource. When I filter the bindingsource, the messagebox doesn't... -
Any help here? Or any links that anyone can share?
UPDATE 3:
I noticed that the code works (I think). I noticed that the first time I clicked the button it assigns dtt to the datasource pretty fast. The next clicks I do to filter tend to slow down the assigning of dtt as the datasource. Hence, the program not responding. Does anyone know a correct workaround for this? Or any links that explains this behavior? Thank you very...Leave a comment:
-
VB-APP: Program freezes when assigning a new datatable to the datagridview
Happy Easter to all!
I have a problem with a datagridview. I placed code in a button click event as follows:
Code:dim dtt as datatable = dataset.employees.copy dtt.DefaultView.RowFilter = "[Last Name]='" & Me.LastNameTextBox.Text & "'" Me.DataGridView.DataSource = "" Me.DataGridView.DataSource = dtt
-
just iterate through each record and add each item to your ddl. you can use for loop....Leave a comment:
-
nev replied to VB.Net: How to determine if the previous record was modified using the BindingSource?in .NETHi just to help others out, what I currently do which works is to iterate each record by assigning each to a datarow then I can check
if datarow.rowstat e = rowstate.modifi ed then
'place code here
end if
hope this helps anyone...Leave a comment:
-
If you're using DataTable, you can get the data like this:
Textbox1.Text = DataTable.Defau ltView("Record No")("Column Name")...Leave a comment:
-
nev started a topic VB.Net: How to determine if the previous record was modified using the BindingSource?in .NETVB.Net: How to determine if the previous record was modified using the BindingSource?
Good day to all! I was trying to search the internet about this problem but I still can't seem to stumble upon an answer.
I am using a BindingSource on my program and everything is ok except that the users can edit any record they want before saving them all in one click. Well, this is fine when doing common saves. But, in my program, I have placed validations for each particular fields.
When I add or edit a record then... -
vb.net + mysql: how to modify connection created by dataset designer
i have used the dataset designer for the database of my forms. the dataset designer creates the connection automatically and is readonly.
i have already tried to access the project properties menu and see if i can change the scope of the setting from application to user but it cannot be changed.
of course it cannot be changed in the my.settings class because it is read-only. i tried... my.settings.con nectionstring =...
No activity results to display
Show More
Leave a comment: