Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Reza Shojaee

@Reza Shojaee
About
Posts
39
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Work with Geotiff in C#
    R Reza Shojaee

    Hi How can load an image with geotiff format in the .Net application? And, how can read the coordination(x,y) of each point at geotiff? thanks in advance

    Best Regards, Reza Shojaee

    C# csharp question

  • Print multiple copies of the same document
    R Reza Shojaee

    I wrote a sample C# code for printing. I want to print multiple copies of the same document, where the num of copies are to be specified by user.I used below code: printDocument1.PrinterSettings.Copies = 5; But doesn't work, Please help me.

    Best Regards, Reza Shojaee

    C# csharp help

  • Problem with printDocument1.PrinterSettings.Copies
    R Reza Shojaee

    Hi there I need print something with variable number of copies. I used printdocument component.

    private void Print_b_Click(object sender, EventArgs e)
    {
    printDocument1.PrinterSettings.Copies = 2;
    printDocument1.Print();
    }

        private void printDocument1\_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
        {
            e.PageSettings.PrinterSettings.Copies = 2;
           
            e.Graphics.DrawString("Test Print", new Font("Tahoma", 14, System.Drawing.FontStyle.Bold), Brushes.Black, 50, 50);
            
        }
    

    I used PrinterSettings.Copies = 2; in both block but does't work. If you know why? tell me please.

    Best Regards, Reza Shojaee

    C# graphics help question

  • how to get the row index value in datagridview
    R Reza Shojaee

    Hi You shall insert a column to your datagridview with type of button(for example). you can set caption of button as "Select". So use the CellContentClick event and in the body of this event for getting data of row that user clicked on the button of same row use below code : dataGridView1.Rows[e.RowIndex].Cells[i].Value.ToString();

    Best Regards, Reza Shojaee

    C# database sales help tutorial

  • Store and retrieve list of structures
    R Reza Shojaee

    Hi there I have a variable that its type is list of structure. My structure is like below :

    public struct Order
    {
    public string name;
    public int amount;
    public double price;
    public List<string> toppings;
    }

    And my variable is like below :

    public static List<Order> myorder = new List<Order>();

    I have SQL database for my program. and I need store myorder variable to database. If you know appropriate solution for it, please tell me.

    Best Regards, Reza Shojaee

    C# database

  • Horizontal scrolling in list box
    R Reza Shojaee

    Hi I have a list box in my program that insert some string into it with C# code. Sometimes length of string is more than width of list box, but horizontal scroll bar doesn't appear in list box. Do you know solution of my problem ?

    Best Regards, Reza Shojaee

    C# csharp help question

  • Move from one tabpage to another
    R Reza Shojaee

    Hi My friends, When you have a tabcontrol with some tabpages, how can browse tabpages automatically. For example you located in tabpage3 and you need to go to tabpage4 after clicking a button.

    Best Regards, Reza Shojaee

    C# tutorial

  • Storing password
    R Reza Shojaee

    How can create MD5 hash in C#?

    Best Regards, Reza Shojaee

    C# database question csharp

  • Storing password
    R Reza Shojaee

    Hi everybody What is the best method for storing passwords in SQL database through C# ?

    Best Regards, Reza Shojaee

    C# database question csharp

  • Using SQL Application in network
    R Reza Shojaee

    Hi My friend My project isn't very big, But I like new experiences. Beforehand I heard about LINQ but NHibernate is unfamiliar technology for me. My project is a windows application, these technologies only use for web or no? Do you know good example of these technologies ? :)

    Best Regards, Reza Shojaee

    C# sysadmin csharp database sql-server

  • Using SQL Application in network
    R Reza Shojaee

    You can use sqlconnection for local client and odbcconnection for remote client

    Best Regards, Reza Shojaee

    C# sysadmin csharp database sql-server

  • Using SQL Application in network
    R Reza Shojaee

    Hi Developers I decide to develop an application with C# which uses SQL server express edition. My application shall works on the local network and some workstations use the SQL data simultaneously. Beforehand I developed similar application with ODBC technology. I pursue better idea, So I listen your good recommendation.

    Best Regards, Reza Shojaee

    C# sysadmin csharp database sql-server

  • Read from udp in C# through event
    R Reza Shojaee

    Hi everybody I need to write a software that read udp packets with events.

    Best Regards, Reza Shojaee

    C# csharp

  • Import old DLL to C# .Net
    R Reza Shojaee

    I tried with COM tab but VS doesn't accept it

    Best Regards, Reza Shojaee

    C# csharp c++ delphi

  • Import old DLL to C# .Net
    R Reza Shojaee

    Hi everybody I have old dll(s) that implemented with Visual Basic 6.0 and Borland Delphi 6.0 and Visual C++ 6.0 I haven't the source of these dlls, So I want to know how can import these dll to C# .Net as a reference.

    Best Regards, Reza Shojaee

    C# csharp c++ delphi

  • COM port problem
    R Reza Shojaee

    About possibility or no, I saw this configuration physically & with delphi software. About using USB or RS485, My devices work with RS232.

    Best Regards, Reza Shojaee

    C# csharp com help

  • COM port problem
    R Reza Shojaee

    Hi I need send and receive information from "single COM port" to "2 COM port", We know COM has 9 pin and with only 3 pin you can send & receive into one device. So physically this is possible. and I want to know how can implement with C#.

    Best Regards, Reza Shojaee

    C# csharp com help

  • Appropriate Database in C#
    R Reza Shojaee

    Hi everybody I want develop a software which works with database and also program shall be install on the several station on the network and interchange data between them. I using C# for developing program and SQL server for DB. Previously for the similar application,I used Microsoft SQL Server Express Edition 2005 for database. Because with small engine you can use it, But sometimes doesn't work in Vista OS. what is your suggestion about DB tools, I should change my DB tools in the new application or No?

    Best Regards, Reza Shojaee

    C# database sysadmin question csharp sql-server

  • OnPaint Event
    R Reza Shojaee

    Hi everybody I have a panel in my form, I used backgraound image for my panel. In the Panel OnPaint event body, I draw ellipse with various position and dimension on each times. So I use a timer, On the OnTimer event I Refresh panel for clearing previous ellipse and draw new ellipse with new parameters. when form refreshed a bit jumping occurred in my background image, since I use mentioned operation every second, these jumping annoy the user. I want to know how can disappear these jumping, Maybe for clearing prior ellipse use another method instead refresh or invalidate.

    Best Regards, Reza Shojaee

    C#

  • Graphic Problem [modified]
    R Reza Shojaee

    Hi Everybody With Graphics Class in C# for example I draw a line on the panel, But after minimizing the form and show again the line disappear in the other hands, after refreshing form all graphic objects will be disappear. What is your recommendation for permanent graphic object in the form?

    Best Regards, Reza Shojaee

    modified on Wednesday, August 19, 2009 1:01 AM

    C# question csharp graphics help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups