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

Search:

Type: Posts; User: Holly_vi

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    10,631

    Re: Horizntal GridSplitter

    I tried your code, and it works.
    From your code I understand that you have to define another row for the GridSplitter.
    So, lots of thanks :)
  2. Replies
    5
    Views
    10,631

    Re: Horizntal GridSplitter

    I don't understand your solution, and it doesn't really work.
    All I want is 2 rows and a horizontal splitter between them.
    (You defined 2 columns, and the splitter doesn't work).
    Do you konw how...
  3. Replies
    5
    Views
    10,631

    Horizntal GridSplitter

    I am trying to use a GridSplitter that will split between rows in a grid, but I'm having some trouble with it.
    I've defined the 'ResizeDirection' attribute of the GridSplitter to be 'rows', but the...
  4. Replies
    2
    Views
    12,517

    ContextMenuStrip showing on a left click

    I want my button’s ContextMenuStrip to show when the user clicks on the left mouse button, and not on the right one.
    So, in the MouseDown event of the button I do the following:

    if (e.Button ==...
  5. Replies
    1
    Views
    734

    Convert html file to Word document

    Is there a way to convert an html file to a Word document via code?
  6. How can I use the xsl:when to test a compound condition?

    Until now, all my conditions were simple ones, so I had no trouble using the xsl:choose and xsl:when element.
    For example,

    <xsl:choose>
    <xsl:when test="@item = 'fruit'">
    … DO SOMETHING...
  7. How can I change the text size when using a System.Windows.Forms.WebBrowser?

    I am using a System.Windows.Forms.WebBrowser in my application.
    I want the user to be able to change the text size, just like it can be done when using IExplorer.
    (If you click the ‘View’ on...
  8. Re: Filling a DataTable by importing some rows from 2 other DataTables

    I don't want to change the original tables, because they are connected to other tables. So, I guess I'll have to add new rows manually like you suuggested.
    Thanks.
  9. Filling a DataTable by importing some rows from 2 other DataTables

    I’m filling a DataTable ‘C’ by importing some rows from 2 other DataTables ‘A’ and ‘B’ with the same structure.
    The problem is that there is a unique column ‘id’ defined in the...
  10. Replies
    2
    Views
    1,806

    Re: Embedded style sheet rules in Xsl file

    I did, but it had no effect.
  11. Replies
    2
    Views
    1,806

    Embedded style sheet rules in Xsl file

    I am trying to write an Xsl file that contains embedded style sheet rules, but with no success.
    I don't see that the rules are being used.
    Here’s an example of what I tried:


    <?xml...
  12. Re: Displaying an Xml file in a Windows form application

    I need to display the contents of my DataSet before it is saved to file, so when I do as you suggest, xmlDataDoc.BaseURI returns null.
    Any suggestions?
  13. Re: Displaying an Xml file in a Windows form application

    It works.
    As I understand, using the Url property requires a file. But, is there a way to display the contents of a DataSet in an Xml format on the WebBrowser before the data is actually saved to...
  14. Re: Displaying an Xml file in a Windows form application

    Thanks.
    Now I have a WebBrowser object on my form.
    I tried the following just to see if someting happens, but there was no result.

    StreamReader stream = new StreamReader(fileName);...
  15. Re: Displaying an Xml file in a Windows form application

    I would like the user to be able to expand and collapse the Xml nodes, so this sounds like a good solution.
    But, how can I put an IEbrowser control inside the form?
  16. Displaying an Xml file in a Windows form application

    Is there a way to display an Xml file in a Windows form application; just like the IE browser does?
  17. How to change the MappingType of a column when using the DataSetDesigner?

    I am trying to use the DataSet Designer to create a DataSet for my application.
    In the Designer.cs file that was created by the designer, I see that the MappingType of all columns of the DataTables...
  18. Re: Problem with DataTable’s ‘Select’ method

    I don't understand what you mean. Can you explain?
  19. Re: Problem with DataTable’s ‘Select’ method

    I tried movig the apostrophes, but it made no change.
  20. Re: Problem with DataTable’s ‘Select’ method

    The ‘X’ column is of type bool.
    Why I use the apostrophes is in fact a good question. I think I saw it in an example somewhere.
    You don’t think that this is what causes the problem, do you?
  21. Re: Problem with DataTable’s ‘Select’ method

    I don’t understand your answer.
    Using the ‘Select’ method is the only way I know to find rows that answer a certain condition. Is there another way?

    P.S.
    Sorry about the late reply.
  22. Problem with DataTable’s ‘Select’ method

    I have a weird problem with the DataTable’s ‘Select’ method.
    I use the ‘Select’ method throughout my application, and it works fine, but there is one occasion when it doesn’t work.
    ...
  23. Re: Does a UserControl have something similar to the ‘AcceptButton’ property of a Form?

    I thought I needed to implement the ‘Enter’ & ‘Leave’ events of the UserControl. (That’s what I asked in reply #9 of this thread).
    Thanks. :)
  24. Re: Does a UserControl have something similar to the ‘AcceptButton’ property of a Form?

    At the beginning, when I click ‘Enter’ the 'MyAcceptButton_Click' event is fired, and I see the message box. (So far so good).
    But, then the message box is never shown again because of the ‘if...
  25. Re: Does a UserControl have something similar to the ‘AcceptButton’ property of a Form?

    I don’t understand how what you wrote helps me.
    Can you explain, please?

    But, first let me try to explain my problem again. (Hopefully, more clearly …)
    Let’s say I have 3 UserControls on...
Results 1 to 25 of 146
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured