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

Search:

Type: Posts; User: tanwar

Search: Search took 0.05 seconds.

  1. Replies
    12
    Views
    1,500

    Re: header file of constants

    well you can do this try something like this

    using System;

    namespace projectName
    {
    /// <summary>
    /// Summary description for constants
    /// </summary>
    public class Constants
  2. Replies
    2
    Views
    667

    Re: Printing with c#

    I can help u in that please be specific what kind of reports u want to print.
    if HTML reports then yes.
  3. Thread: OpenFileDialog

    by tanwar
    Replies
    6
    Views
    1,057

    Re: OpenFileDialog

    openFileDialog jusr returns the filePath to you.
    For saving n all make use of fileinfo class.
  4. Replies
    2
    Views
    3,960

    Re: to write to txt file from console application

    It seems you want to enable logging for yoyr project.Well whatever you can use TextWriterTraceListener class

    using System.Diagnostics;

    do this in ur code
    Stream myFile =...
  5. Replies
    2
    Views
    5,516

    Re: Changing text color for a disabled TextBox

    instead of making readonly textbox do this with whatever you are doing to change forecolor.
    private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
    {
    e.Handled...
  6. Re: Customize Datagrid; Only display certain columns with defined names

    apply filter in recordset and give it to datagrid.
  7. Replies
    3
    Views
    3,159

    Re: Find Selected row in datagrid

    trap the mouse down and mouse up events and apply simple logic.
  8. Replies
    2
    Views
    817

    Re: HOW TO CANCEL A PRESSED KEY ??

    private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
    {
    e.Handled = true;
    }
  9. Replies
    2
    Views
    5,516

    Re: Changing text color for a disabled TextBox

    well i don't think this is possible i have tried everything but only the background color is changing and no matter whatever you do the Foregroundcolor is always greyed although it changes when...
  10. Replies
    2
    Views
    686

    Re: Deleet Multi row in datagrid

    private void axVSFlexGrid1_KeyUpEvent(object sender, AxVSFlex8L._IVSFlexGridEvents_KeyUpEvent e)
    {
    if ( e.keyCode.Equals((short)System.Windows.Forms.Keys.Delete))
    {
    if ( this.axVSFlexGrid1.RowSel...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured