Hi I update an excel worksheet from vb.net.
Sometime, I would like to take off some rows in this worksheet for example, row 20 to row 32.
How can I make it?
Dim exPoolSchedule As New Excel.Application
Dim wbPoolSchedule As Excel.Workbook
Dim wsPoolSchedule As Excel.Worksheet
wbPoolSchedule =...
Hi
I have a form with AxMsFlexGrid in it. I would like to make a copy of all components in this form and paste it in another form. When I'm trying to paste the axmsflexgrid I receive and error that says
An error occured while processing this command.
Exception from HRESULT: 0x800A018A...
hi
I would like to be able to enter a table in a word document. I tried this:
With wrd.Selection
With .Font
.Name = "Arial"
.Size = 12
.Bold = False
End With
.Tables.Add(wrd.Selection.Range, 6, 3)
But After...
Hi
I'm trying to create a word document and put text in it. but it seems like it print the end at the beginning and the beginning at the end.
This is my example:
Private Sub PrintTest()
Dim StringDv As DataView
Dim StringFilter As String
Dim StringDr As DataRowView...
Hi
I'm trying to create a word document and put text in it. but it seems like it print the end at the beginning and the beginning at the end.
This is my example:
Private Sub PrintTest()
Dim StringDv As DataView
Dim StringFilter As String
Dim StringDr As DataRowView...
Hi
I have a screen that I have datagrid in it. I would like to display data from 2 tables. In the code and not with SQL command, I would like to create a dataset with 2 table if possible. I have already my 2 dataset from where I should take my data but I don't know how to merge them into one...
Hi
I have a tree view with checkboxes in it. For each parent node I have a combo box associated to it. And below each parent node I have child node that represent what choice we have in the combo box associated to the parent node.
Now when I click on a node child I put the node that the user...
Is it possible to find a combo box from the code with the "value member" property.
I would like to assign the text to the combo box found.
Thanks in advance
Hi I have a problem with my datagrid. When I click on the second record in my datagrid the focus always go back to the first record in it.
here is my code and the line with "**" is where the currentRowindex change from 1 to 0
TempNoLine = Me.DataGrid1.Item(Me.DataGrid1.CurrentRowIndex, 4)...
Hi
Does it have a property or something like this that put a textbox in read only mode without putting the text in gray. I would like the text stay black.
I just don't want the user enter key in that textbox
Thanks in advance
Hi
I create a excel document and I add text in it.
What is weird is that it add my text beginning at the end
For exemple, I have point 1.0, 1.1
It will print
1.1
1.0
I don't understand why
here is my code
For Each StringDr In StringDv
Select Case StringDr("No")
Case "700" '1.0...
Hi
I create a word file from vb.net (thanks to Sweep)
Now I would like to put a sentence in Bold, put an Enter key, and put the other sentence without Bold.
Here is my code
' Create invisible word application
Dim wrd As Word.Application
Try
wrd = New...
Hi
I have a treeview with checkboxes in it. I would like that the user can't check any checkboxes in the treeview. The treeview is there only for informations. We can see which options the user selected in comboboxes.
But I want the user can navigate in the treeview, I mean expand the nodes.
Is...
This is a Round Function to the second digit that I made.
When I send 0.054
I want that it returns 0.05
and when I send 0.055
I want that it returns 0.06
I tought it was working fine but now I saw that:
I send 30.24 to this and it return me 30.23
Here is my function:
Public Function...
hi I have a form with tabcontrol with 10 tabpage. In it, I have many combo box and textbox. I want to add a validation that when a combobox or a textbox is empty and enabled. Every enabled fields shouldn't be empty. Do here's my function.
Private Function Validation(ByVal Container As Control)...
Hi
I have linklabels. All of them are right align. When I run my project, I set all of my linklabels.text to a value that contains my table. I don't know why but when I run my programs, the linklabel have the right place vertically but on the horizontaly side, it's all mixed up!
Why?
Thanks
Hi
I have many combo boxes in a form. I would like that each time any combo box item selected change, to call a procedure.
Is there any way I can create a global procedure instead to have this event:
"Private Sub CmbUnitType_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.