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

Search:

Type: Posts; User: jasonli

Page 1 of 22 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: ISS Keeps disabling windows authentication after publish ASP.NET MVC APP

    You might go to IIS server to check machine.config and figure it out.
  2. Thread: loading screen

    by jasonli
    Replies
    5
    Views
    901

    Re: loading screen

    It's hard to measure percentage of loading program, you can check the starting screen of Windows. Microsoft can't even get the percentage of loading system.
  3. Replies
    1
    Views
    421

    Re: Using a string to access a label?

    First of all you need to know what the parent control is, then use "ParentControl.Controls.Find()" to get the control. If the label control is just a child of form, use "this.Controls.Find()".
    ...
  4. Re: How to access local folders when code is runned from a network share

    As my understanding, there is not difference once you can run the app. the thing is which computer you are running the app, if there is "C:\temp" on the computer, if your user id has access right to...
  5. Re: How to recognize form [X] close?

    Then don't use DialogResult value if you can't figure out how to handle it. Declare a public variable in the form to save DialogResult value, after the form is closed, check the public variable.
    ...
  6. Replies
    1
    Views
    422

    Re: Add a Library to my project.

    You want the dll library to call your program, or want your program to call the dll library?

    If you want to call dll library, add it to your project as reference. the dll file will be copied to...
  7. Replies
    1
    Views
    357

    Re: Select Query problem

    If data value is not changed, don't care the format. Format is only for display. I think your select query is good enough.
  8. Re: Excel process remains in task manager when using OleDB

    It's not funny to kid the others.
  9. Replies
    2
    Views
    842

    Re: DataGrid - rendering cell

    I am not sure which version of Visual Studio you are using. Assuming Visual Studio 2005 Windows project, there is DataGridViewImageColumn in DataGridView control. You can bind image data to the...
  10. Re: Excel process remains in task manager when using OleDB

    At the end of program, after everything is done, use Process class to check running process list and find excel to kill it. How do users know that excel application doesn't terminate correctly?

    In...
  11. Re: Excel process remains in task manager when using OleDB

    I met the same problem before. What I did is find the process in process list and kill it.
  12. Re: How to change TextBox BackColor in Compact Framework?

    Maybe you set special color which is not supported on PDA, try to use normal colors, like red, green, blue.
  13. Replies
    2
    Views
    2,535

    Re: [C#] Form Closing

    Put a line in Form_Closing event handler:
    Application.Exit();
  14. Re: Serial Port Bluetooth Communication with a windows form

    Try to use another function, like Read().

    Serial port is receiving data continously, but in your event handler text file is open and close every time, which cause delay. Maybe lots of received...
  15. Replies
    2
    Views
    511

    Re: Windows Datagridview

    Check http://msdn.microsoft.com/en-us/library/ms171619.aspx
  16. Replies
    1
    Views
    1,288

    Re: Editing cells in datagridview

    First of all, make sure if DataGridView.ReadOnly = false. Then check all columns you want to eidt are readonly or not. If the column is readonly, you can't edit the related cell even the row is not...
  17. Replies
    14
    Views
    1,934

    Re: Only accept number in textbox

    I really appreciate you guy's inputs. Even though I don't get the better solution, I have learnt a lot from you guys. Thank you very much.

    Like cjard said, I used a knife to screw in a screw....
  18. Replies
    14
    Views
    1,934

    Re: Only accept number in textbox

    Almost perfect one! It can't prevent user typing "459.54-98".
    I added lots of source code to prevent this.

    Thank you.
  19. Replies
    14
    Views
    1,934

    Re: Only accept number in textbox

    NumericTextBox is a very nice class. I did not try this yet. I'm just wondering what will happen if user inputs "87432.-90". I am gonna try this.

    Thanks.
  20. Replies
    11
    Views
    753

    Re: Why this is not working?

    rtxtProtqty.Text never is gonna be null. You can check it by
    string test = (this.rtxtProtqty.Text.Trim().Length == 0) ? "0" : this.rtxtProtqty.Text;
  21. Replies
    14
    Views
    1,934

    Re: Only accept number in textbox

    I searched a lot for regular expression and finally got "^[+-]?\d+\.?\d*$", which can validate mostly, not completely. I put validation in KeyPress event because I don't wanna show invalid character...
  22. Replies
    14
    Views
    1,934

    Re: Only accept number in textbox

    I tried that way, but I failed to type in minus number.

    Thanks.
  23. Replies
    14
    Views
    1,934

    Only accept number in textbox

    I just figured it out. Now post the source code here and hope anybody help me test it. Want it be perfect.

    Thanks a lot.

    int iCaret = 0;
    private void textBox1_KeyDown(object sender,...
  24. Replies
    1
    Views
    3,843

    Re: Export datatable to excel file

    Nothing wrong in your source code. It's only because you have Office 2007 installed. Did you ever try on another computer having different verson of Office? Webpage only exports 97-2003 excel format,...
  25. Replies
    3
    Views
    719

    Re: SerialPort problem

    Thank you guys for your help. I figured it out myself. It was because I send and receive data with type of text, not hex. I changed to hex and get all I want. There is no such setting for serial...
Results 1 to 25 of 550
Page 1 of 22 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