Search:

Type: Posts; User: dani2

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    544

    Re: [2008] Cross thread exception

    the actions performed on this form require a different thread than the addin main thread
  2. Replies
    5
    Views
    544

    Re: [2008] Cross thread exception

    I have an outlook addin which puts a button on the outlookbar. when the user clicks this button a form (referenced by f) is opened in a different thread with the posted code.

    if a button is...
  3. Replies
    5
    Views
    544

    [2008] Cross thread exception

    Hi i use the following code to launch a second form in a separate thread.



    private sub Go()
    f.Visible = False
    f.ShowDialog() ' <--- HERE
    f.Opened = True
    ...
  4. Thread: Lost DataAdapter

    by dani2
    Replies
    0
    Views
    519

    Lost DataAdapter

    I have a datagridview filled by a DataTable as datasource which is obtained from a different class method.
    If changes are made in the DGV how can i simply obtain and update the DataAdapter? Right...
  5. Replies
    4
    Views
    552

    Re: [2008] combobox issue

    got it
    thanks all
  6. Replies
    4
    Views
    552

    [2008] combobox issue

    I need to populate a combobox directly without a datasource
    items.add() and still be able to use a display value and a real value.
    How can be done?

    thank you
  7. Replies
    4
    Views
    1,036

    Re: Copy directory from FTP

    Found something here: http://69.10.233.10/KB/IP/FtpClient.aspx

    thanks
  8. Replies
    4
    Views
    1,036

    Copy directory from FTP

    I need to copy a directory including all files and subdirectories from a FTP location. I got stuck to DirectoryInfo not supporting ftp path. Any help will be much appreciated.

    thanks
  9. Replies
    3
    Views
    3,302

    [2005] Howto get solution name

    I have a solution which is basically an add-in to MS Outlook. For some reason I need to save some user configuration in user related folder. The problem is that Application.UserAppDataPath returns...
  10. Replies
    0
    Views
    514

    [2005] Way to handle Send To Mail Recipient

    I would like to know if I can handle the Send To Mail Recipient on my own? When a user selects a particular file type, right clicks and chooses Send To -> Mail Recipient can I call my component to...
  11. Replies
    4
    Views
    453

    Re: [2005] Form dissapearing issue

    I think it has to do with threading and ownership but i dont know exactly where to start. Any help is very appreciated.
  12. Replies
    4
    Views
    453

    Re: [2005] Form dissapearing issue

    Private Sub btn2_Click(ByVal Ctrl As Office.CommandBarButton, ByRef CancelDefault As Boolean)
    Try
    Dim t As New System.Threading.Thread(New System.Threading.ThreadStart(ThreadProc))
    ...
  13. Replies
    4
    Views
    453

    Re: [2005] Form dissapearing issue

    I tried to debug with breakpoints but didnt help. The constructor is called successfully, then the shown event is fired and after this the form dissapears but the code goes on normally.
  14. Replies
    4
    Views
    453

    [2005] Form dissapearing issue

    This is my problem:

    I have an add-in button for Outlook 2003 added on standard bar in main Outlook form and also in new message form. The button click event shows a form. When the button is...
  15. Replies
    1
    Views
    424

    [2008] Multilanguage messages

    What is the best approach to handle big text translations (like in message boxes) in a multi-language application?
  16. Replies
    2
    Views
    602

    Re: [2008] TreeView issue

    found here some workaround:

    http://www.thescripts.com/forum/thread587911.html
  17. Replies
    2
    Views
    602

    Re: [2008] TreeView issue

    !bump!
  18. Replies
    2
    Views
    602

    [2008] TreeView issue

    When populating a treeview (tv) control I want some nodes to be bold:


    dim tn as TreeNode
    tn = tv.Nodes.Add("some text")
    tn.NodeFont = new Font(tv.Font.FontFamily, tv.Font.Size, FontStyle.Bold)...
  19. Replies
    7
    Views
    651

    Re: [2008] Help somebody anybody!!

    I tried a different dataview in the application and I get equal results. So the problem must be in the was I populate the dataview.

    But why should matter the way the dataview is populated once I...
  20. Replies
    7
    Views
    651

    Re: [2008] Help somebody anybody!!

    The problem is that dv.count > dv.table.rows.count !? Why?? Even this is not the case I have no filter on the dataview.

    When shown in a datagridview everythings ok, but when I pass the dv.table to...
  21. Replies
    7
    Views
    651

    Re: [2008] Help somebody anybody!!

    The thing is I want to make a copy of a dataview by doing:

    dv_new = new Dataview(CType(dgv.DataSource, DataView).Table)

    So far so good except that the new dataview has one row less than the old...
  22. Replies
    7
    Views
    651

    [2008] Help somebody anybody!!

    Can somebody explain to me why the following lines return different number?



    Console.WriteLine(CType(dgv.DataSource, DataView).Count)
    ...
  23. Thread: Memory/CPU Usage

    by dani2
    Replies
    5
    Views
    1,245

    Re: Memory/CPU Usage

    Question: where can I see the variety of available counters?
    I have this:


    Protected ramCounter As System.Diagnostics.PerformanceCounter
    ramCounter = New...
  24. Thread: Memory/CPU Usage

    by dani2
    Replies
    5
    Views
    1,245

    Memory/CPU Usage

    I want to display on application main form the memory and CPU used by the application. Is there a class? Where can I start?


    thanks
  25. Re: [2005] Maskedtextbox question Anyone?? Is this possible?

    Thanks man! Im very tired, thanks for opening my eyes.

    For something like x12/1234/1234 the mask must be L00\/9999\/0000

    thanks again
  26. Re: [2005] Maskedtextbox question Anyone?? Is this possible?

    Thanks but couldnt find anything about my problem.

    I dont think I want a strange thing and im amazed a maskedtextbox cannot achieve this :(
  27. [2005] Maskedtextbox question Anyone?? Is this possible? [RESOLVED]

    Is it possible to obtain a mask with "/" as separator?

    I used this mask L00/9999/0000 but if the system date separator is "." for example it will replace "/" with "."

    This has nothing to do...
  28. Replies
    7
    Views
    746

    Re: [2005] insert column

    Unfortunately I don't see an "insert" method in DataColumnCollection so I guess I'll have to use a second datatable and some copy stuff. :(
  29. Replies
    7
    Views
    746

    Re: [2005] insert column

    Ok so I must add the column to the datatable. How can I insert it in a specified position? (1st position for example)
  30. Replies
    7
    Views
    746

    Re: [2005] insert column

    The thing is I need to insert a new column on the 1st position only for one line at a time not in the whole dataview. So maybe I can insert in a Datarow.


    Dim dr as DataRow
    dr =...
  31. Replies
    7
    Views
    746

    [2005] insert column

    How can I insert a column on the 1st position into a datarowview?

    thanks
  32. Replies
    5
    Views
    698

    Re: [02/03] Mainmenu item alignment

    You guys are probably right.
    thanks
  33. Replies
    5
    Views
    698

    Re: [02/03] Mainmenu item alignment

    Well, except this alignment problem the mainmenu control suits the application just fine and I have no reasons to convert all the menus and use a menustrip control. But if I cannot separate the Help...
  34. Replies
    5
    Views
    698

    [02/03] Mainmenu item alignment

    Is it possible to have a menuitem right align in a mainmenu control.

    I have a number of menuitems left align and I want the help menuitem to be separated from the others.
    I use vs2005 but for...
  35. Thread: [2005] lock pc

    by dani2
    Replies
    10
    Views
    1,269

    Re: [2005] lock pc

    Does this have any special dependencies? I mean needs to be run under admin rights or something?
  36. Replies
    7
    Views
    1,717

    Re: [2005] DatagridView delete rows [URGENT]

    thats all?
  37. Replies
    7
    Views
    1,717

    Re: [2005] DatagridView delete rows [URGENT]

    it is set to true, default value
  38. Replies
    7
    Views
    1,717

    Re: [2005] DatagridView delete rows [URGENT]

    Private Sub Main_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)
    Select Case e.KeyCode
    Case Keys.F10
    cmdGenerate.PerformClick()
    Exit Select
    Case...
  39. Replies
    7
    Views
    1,717

    [2005] DatagridView delete rows [URGENT]

    I have a form containing a DGV. On the form KeyUp I catch some key combinations to handle shortcuts. The problem is that after I used this MyForm_KeyUp event I cannot delete datagridview rows...
  40. Replies
    7
    Views
    9,735

    Re: [2005] DatagridView row index

    I found a solution

    If dgv.SelectedRows.Count > 0 Then
    MessageBox.show(dgv.SelectedRows.Item(0).Index)
    End If
    using RowStateChanged
Results 1 to 40 of 192
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width