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
O

Obaid ur Rehman

@Obaid ur Rehman
About
Posts
30
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [SOLVED] GUI Problem - Added Forms To Tab Control
    O Obaid ur Rehman

    First of all, you can also use a UserControl instead of placing forms in tab pages. Also have a look at the Anchor property[^]

    C# help design question

  • Using a Stored Procedure in C#
    O Obaid ur Rehman

    When the CommandType property is set to StoredProcedure, the CommandText property should be set to the name of the stored procedure. http://msdn2.microsoft.com/en-us/library/x8ybe6s2(VS.80).aspx[^]

    C# csharp database com question

  • maybe someone here knows
    O Obaid ur Rehman

    Dude, why don't you download the demo application. It will show you how to do exactly that.

    C# tutorial question

  • Windows form and filesystem watcher threading issue
    O Obaid ur Rehman

    You might want to read this article. Hopefully it will clear up a lot of things: http://www.codeproject.com/csharp/begininvoke.asp

    C# help question announcement

  • Fontstyle of a column text in a datagridview
    O Obaid ur Rehman

    Handle the DataGridView's CellFormatting Event and write code to change BackColor of the value of want to Highlight.

    C# csharp question visual-studio

  • Is .Net programs able to be compiled into native code?
    O Obaid ur Rehman

    Try this.

    .NET (Core and Framework) csharp c++ dotnet question

  • setup
    O Obaid ur Rehman

    You can make a Setup for your program by using Visual Studio. You can also use third party softwares like NSIS, InnoSetup and InstallShield etc.

    C# question workspace

  • Multilingual installer for c# application
    O Obaid ur Rehman

    I don't know about if that's possible with the VS2003 setup projects but I usually use NSIS. It has multilingual support as well.

    C# csharp question workspace

  • Smiley icon to be displayed in listbox.
    O Obaid ur Rehman

    You can also use the ListView control.

    C# csharp question database

  • Webpage load
    O Obaid ur Rehman

    Use DownloadFile method of the System.Net.WebClient Class.

    C# question csharp com help

  • How can i make exe of my appliction?
    O Obaid ur Rehman

    An executable is made whenever you compile your application. It resides in the Debug or Release folder of your project.

    C# csharp question

  • How to solve"Cross thread operation not valid" error when programming with C#.net
    O Obaid ur Rehman

    If you are not using Threads then are you using Asyncronous sockets? It would help a lot if you post your code.

    C# csharp help sysadmin tutorial question

  • How to implement a teleprompter?
    O Obaid ur Rehman

    You might need to apply double buffering to the form. That way it won't flicker.

    C# graphics game-dev csharp winforms tutorial

  • Accessing MDI child controls under MDI application
    O Obaid ur Rehman

    I don't think it would be a good idea to Access Form controls from outside the form. One of the approach you can take is define public functions in the child forms and call these from the MDI Parent.

    C# question workspace

  • Adapting form size to content size
    O Obaid ur Rehman

    Try using this: this.Size = new Size(this.Size.Width, mpPreview.Size.Height);

    C# csharp visual-studio com help tutorial

  • Form holding
    O Obaid ur Rehman

    hiremath71 wrote:

    my question is unless I close the fr2 i should get acees to fr1.

    Instead of using fr2object.Show() method use fr2object.ShowDialog(this)

    C# help tutorial question

  • 3 tier architecture implementation in .net
    O Obaid ur Rehman

    Have a look at this.

    .NET (Core and Framework) csharp architecture tutorial

  • Remoting
    O Obaid ur Rehman

    The first thing that comes to my mind, if you want to do this in C# is to make a client and a server. The server being at the remote end which executes processes as instructed by the clients. Or you could use PsExec.

    C# tutorial question

  • Bezier Points
    O Obaid ur Rehman

    Why don't you make your own method for that. May be the following code might help. If my memory serves me correctly, I've copied this code from a book by Charles Petzold on Windows forms programming. public void DrawBezier(Graphics grfx, Pen pen, Point p0, Point p1, Point p2, Point p3) { Point[] curve = new Point[100]; for (int i = 0; i < curve.Length; i++) { float u = (float) i / (curve.Length - 1); //Console.WriteLine(u); float y=((1-u)*(1-u)*(1-u)* p0.Y) + (3*u* (1-u)*(1-u)* p1.Y) + (3*u*u* (1-u)* p2.Y) + (u*u*u* p3.Y); float x=((1-u)*(1-u)*(1-u)* p0.X) + (3*u* (1-u)*(1-u)* p1.X) + (3*u*u* (1-u)* p2.X) + (u*u*u * p3.X); curve[i] = new Point((int) Math.Round(x), (int) Math.Round(y)); } grfx.DrawLines(pen, curve); }

    C# graphics question

  • Compiling C# to win32
    O Obaid ur Rehman

    Yes, using this tool. But doing so is not recommended at all.

    C# csharp c++ question
  • Login

  • Don't have an account? Register

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