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

Search:

Type: Posts; User: Alex Rest

Page 1 of 10 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    0
    Views
    362

    Strange FrmClosing Behavior

    I have a form with FrmClosing event.
    The event calles twice :confused: :
    1) When I am closing this form.
    2) When I am closing the application MainForm.
    Both sources – the closing form.
    ...
  2. Replies
    2
    Views
    635

    Re: MultiLines in Text Object question.

    Sorry. Small mistake. There was
    objTxt .Text = "One\r\nTwo\r\nThree";

    and I have not method SetText(...) in my
    vesion of CR interface

    Thanks.
  3. Replies
    2
    Views
    635

    MultiLines in Text Object question.

    Hi
    Problem:
    I hav etext object on the report
    and set to it the text from C# program

    TextObject objTxt = (TextObject)rpt.Section2.ReportObjects["txtSome"];
    objTxt = "One\r\nTwo\r\nThree";

    ...
  4. Replies
    6
    Views
    498

    Re: Surprise! 0.77 * 100 == 76

    Solution is not the problem.
    I used Round, for example.
    When I met the problem I was suppressed by so non-clear behavior of the code.
    I always used double before.
    Float was returned as object...
  5. Replies
    6
    Views
    498

    Surprise! 0.77 * 100 == 76

    Try the code:

    float a = 0.77F;
    int b = (int)(100 * a);
    Console.WriteLine(b.ToString());

    Result is 76.

    What do you think about such strange .Net calculate execution ?
  6. Replies
    4
    Views
    697

    Re: Problem with DataGrid Control..

    Common idea using ColumnStyle

    public class ComboBoxGridColumn : DataGridColumnStyle

    styles assigned in AddGridStyle()

    I made such example:

    using System;
    using System.Drawing;
  7. Replies
    0
    Views
    347

    Data Grid Child Table expanding

    I created two tables that have relation one-to-many.
    I included them to a DataSet, created relation and assigned to DataGrid.
    Question:
    When a user click [x] for expanding table row he sees the...
  8. Replies
    0
    Views
    625

    Data Grid Child Table expanding

    I created two tables that have relation one-to-many.
    I included them to a DataSet, created relation and assigned to DataGrid.
    Question:
    When a user click [x] for expanding table row he sees the...
  9. How to change crystal report document title dynamically?

    I have ReportClass object of .Net CrystalReport
    that uses .rpt file

    ResCalc.SalesReport rpt = new ResCalc.SalesReport();
    rpt.SetDataSource(dsSaleRep);

    How to change crystal report document...
  10. How to compress mdb file after rows removing?

    If I remove some rows mdb file size will not change;
    There is compress command in MS Access.
    How I can make this operation from my program?

    Thanks,
    Alex.
  11. How to compress mdb file after rows removing?

    If I remove some rows mdb file size will not change;
    There is compress command in MS Access.
    How I can make this operation from my program?

    Thanks,
    Alex.
  12. Replies
    1
    Views
    822

    Help. I cannot update mdb file.

    I try to do it in a simple example.
    File is present, opend.
    Data accessable.
    But no updates executed.
    And runtime errors are absent too ;_(

    OleDbConnection mConn = new...
  13. Replies
    0
    Views
    1,064

    I cannot update MS Access file.

    I try to do it in a simple example.
    File is present, opend.
    Data accessable.
    But no updates executed.
    And runtime errors are absent too ;_(

    OleDbConnection mConn = new...
  14. Replies
    3
    Views
    650

    Re: How to play sounds?

    It is really strange.
    I hoped to find something as System. … .PlaySound…
    but not
    System.Diagnostics.Process.Start("ding.wav"); :sick:
  15. Replies
    3
    Views
    650

    How to play sounds?

    I want to play some windows standard sound as an error alarm.
    How do it using C#?

    Thanks.
  16. How to put an image to a disabled toolbar button?

    I created tool bar using the toolbar control and assigned some images to images list.
    All OK, but when I make Enabled = false on a button the image disappears.

    Home make toolbar with different...
  17. Replies
    5
    Views
    4,238

    Re: How to play MP3 files using C#?

    Thorry, I forgot say that I wan to play mp3 a Pocket PC
    and it must not be a standard player.
    In a Desctop PC I can all and much more using C++/MFC.
    There is such instrument as DirectShow.
    I used...
  18. Replies
    5
    Views
    4,238

    Re: How to play MP3 files using C#?

    the problem is: I want to contro volume,
    background music etc.
    I want to have much more control.

    Thanks,
    Alex.
  19. Replies
    5
    Views
    4,238

    How to play MP3 files using C#?

    Hi,

    There is a question:
    How to play MP3 files using C#?

    Thanks,
    Alex.
  20. How get the system directory path as "My Documents"?

    Hi!

    There is a question:
    How get the system directory path as "My Documents", "Windows", "Applications Data", "Program Files", etc. ?

    Thanks,
    Alex.
  21. How to send a window message to the window that handle I know?

    How to send a window message to the window that handle I know?

    I.E. I need a .Net analog of SendMessage() or PostMessage() of WinAPI.

    Thanks,
    Alex.
  22. Re: How to find the running program and send some message to it?

    OK, all excellent, but I cannot remove other problem:

    1) I have hidden program (Form.Hide())
    2) I have found it
    3) I try show it by

    int hWnd = localByName[nIndex].MainWindowHandle.ToInt32();...
  23. Replies
    4
    Views
    5,976

    Re: How to disable resizing of a form?

    thanks,
    it works.
  24. How to find the running program and send some message to it?

    Hi!
    I need such:

    When my program starting it must find ether other copy of the program presents in the system or no.
    If it presents the program must maximize it and exit.

    How can I do so?
    ...
  25. Replies
    4
    Views
    5,976

    How to disable resizing of a form?

    Hi!
    I have a question:

    How to disable resizing of a form?
    (ie a user cannot pulls body by the mouse)

    Thanks for help,
    Alex.
Results 1 to 25 of 235
Page 1 of 10 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center