Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: myrgir
  • Content: Threads
  • Order by date
  1. myrgir

    Remove some rows in excel from vb.net

    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 =...
  2. myrgir

    An error occured while processing this command

    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...
  3. myrgir

    Align in excel

    Hi I would like to right align text in a specific cell in excel from vb.net. How can I do this? Thanks in advance
  4. myrgir

    Create a total in excel

    hi I would like to create a total from a range that I have. how can I do this? Thanks in advance
  5. myrgir

    how to enter a table with 2 columns and 6 rows in a word doc

    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...
  6. myrgir

    Create a word document, sort is not ok

    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...
  7. myrgir

    Print an word document, sort is not ok.

    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...
  8. myrgir

    Dataset with 2 tables

    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...
  9. myrgir

    Treeview problem

    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...
  10. myrgir

    Find combobox with value member property

    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
  11. myrgir

    Datagrid CurrentRowIndex problem

    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)...
  12. myrgir

    Something like the Read Only but don't put the text in gray

    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
  13. myrgir

    vb.net - Excel document

    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...
  14. myrgir

    But Bold and Enter key in a word document from vb.net

    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...
  15. myrgir

    create a word document in vb.net

    Hi I would like to know how create a word document and write in it. I already added the Com Reference Microsoft Word. Thank you in advance
  16. myrgir

    Treeview

    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...
  17. myrgir

    Round Function

    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...
  18. myrgir

    Empty and Enabled field problem

    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)...
  19. myrgir

    Linklabels don't display at the right place

    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
  20. myrgir

    Do a procedure each time a combo box change the item selected

    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...

Part and Inventory Search

Back
Top