CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: HalD

Page 1 of 9 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,570

    Re: Problem adding a ListView to a FlowLayoutPanel

    Thank you for replying. This is from the designer.cs:
    //
    // flowLayoutPanelSecondary
    //
    this.flowLayoutPanelSecondary.AutoScroll = true;
    ...
  2. Replies
    3
    Views
    1,570

    Problem adding a ListView to a FlowLayoutPanel

    I have a form with a SplitContainer. Each splitter panel has a FlowLayoutPanel with Dock set to Fill. I want to add a ListView to one of the panels. If I set the ListView Dock property to None the...
  3. Replies
    4
    Views
    2,225

    Re: Problem overriding WndProc

    Thank you for replying. I will check out these two articles.

    Regards,
    Hal
  4. Replies
    4
    Views
    2,225

    Problem overriding WndProc

    I have an override for WndProc so I can process messages from DirectShow. When I change ShowInTaskbar to false, WndProc no longer receives any messages. Is there a way to still process messages...
  5. Re: Error: Could not find installable ISAM creating MS Access database

    Thank you for replying. The project was compiled using the default of any CPU. I changed it to x86 and it is now working fine.

    Regards,
    Hal
  6. Error: Could not find installable ISAM creating MS Access database

    I get the error that the installable ISAM is not found trying to create an MS Access 2007 database. The connection string is:

    Provider=Microsoft.ACE.OLEDB.12.0;Data...
  7. Re: Problem with Listview SelectedIndexChanged event handler

    It works fine now. Thanks for all the assistance. I really appreciate it.

    Regards,
    Hal
  8. Re: Problem with Listview SelectedIndexChanged event handler

    I have attached a test program. The form has one listview and nothing else.
    I get the same results. The first time I click on an item the selected index is returned. The second time I get the...
  9. Re: Problem with Listview SelectedIndexChanged event handler

    selectedProcessRowNumber is defined as:
    private int selectedProcessRowNumber;


    private void lstvwAllProcesses_SelectedIndexChanged(object sender, EventArgs e)
    {
    ...
  10. Re: Problem with Listview SelectedIndexChanged event handler

    Thank you for replying. The style is single select. I don't see a SelectedIndex property. Just SelectedIndicies. This is what MSDN says about the SelectedIndicies property:

    When the...
  11. [RESOLVED] Problem with Listview SelectedIndexChanged event handler

    I set up an event handler to catch when the user clicks on an item in a listview. The first time an item is clicked on, the SelectedIndices contains the index of the item selected and...
  12. Replies
    2
    Views
    906

    Re: Restore window position

    Thank you for the help. It works perfectly.

    Regards,
    Hal
  13. Replies
    2
    Views
    906

    [RESOLVED] Restore window position

    When my app launches I want to restore the window position to the location that it was when the app last terminated. I can restore the location but the window flickers when it is moved from the...
  14. Replies
    0
    Views
    835

    Problem resolving Outlook distribution list

    I am writing a program to send emails programmatically using the Outlook Mailitem. Individual email names are resolved whether the the name is in my contact list or the global address list but...
  15. Replies
    3
    Views
    7,941

    Re: Displaying thumnails in OpenFileDialog

    Thanks for the reply. This works for Windows Forms applications but when I tried it with my WPF application I get the following build error:

    WndProc(ref System.Windows.Forms.Message); no suitable...
  16. Replies
    3
    Views
    7,941

    Displaying thumnails in OpenFileDialog

    Is there a way to make the OpenFileDialog display thumbnails when it initially opens instead of the list format. I know I can click on the view icon and change to thumbnail view but I would like the...
  17. [RESOLVED] How to update a ToolStripProgressBar from a thread

    I have a Windows form that has a StatusStrip that contains a ProgressBar. I want to update the ProgressBar from a thread started by the form when a treeview item is clicked on. I set up a delegate...
  18. Replies
    3
    Views
    778

    Re: SaveFileDialog question

    Anders,

    Thanks for the reply. I'll try to explain this better. I have set the initial folder to the application's profile folder (Application.StartupPath + "\\Profiles"). I want to prevent...
  19. Replies
    3
    Views
    778

    SaveFileDialog question

    Is there a way to prevent users from changing folders from the initial folder? I want all the (profile) files saved in the same folder?

    Thanks in advance,
    Hal
  20. Thread: Property sheet

    by HalD
    Replies
    1
    Views
    1,032

    Take a look at the Tab Control. Regards, Hal

    Take a look at the Tab Control.

    Regards,
    Hal
  21. Replies
    3
    Views
    59,637

    bool bvalue = (svalue == "1" ? true : false); ...

    bool bvalue = (svalue == "1" ? true : false);


    Regards,
    Hal
  22. Replies
    1
    Views
    823

    Create a Context Menu and set the notify icon's...

    Create a Context Menu and set the notify icon's ContextMenu property to the menu.

    Regards,
    Hal
  23. Replies
    7
    Views
    950

    Glad you got it working. Regards, Hal

    Glad you got it working.

    Regards,
    Hal
  24. Replies
    7
    Views
    950

    System.Diagnostics.Process.Start is looking for...

    System.Diagnostics.Process.Start is looking for an object named leyenda (since you have it in double quotes).

    If leyenda is a variable it should be


    System.Diagnostics.Process.Start(leyenda);...
  25. Replies
    7
    Views
    950

    I have never seen that error before. Here is the...

    I have never seen that error before. Here is the OnClick method from a test program I just created:



    private void button1_Click(object sender, System.EventArgs e)
    {
    ...
Results 1 to 25 of 201
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured