Geekpedia Tutorials Home

Building a C# Chat Client and Server

Building a C# Chat Client and ServerA step by step tutorial teaching you how to create your own chat client and chat server easily in C#, for local networks or the Internet.

in C# Programming Tutorials

Getting Hard Drive Information

Getting Hard Drive InformationA C# tutorial showing you how to make use of WMI to extract information on disk drives, such as model, capacity, sectors and serial number.

in C# Programming Tutorials

UPS Shipping Calculator

UPS Shipping CalculatorThis tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type.

in PHP Programming Tutorials

Create Your Own Rich Text Editor

Create Your Own Rich Text EditorCreating a Rich Text Editor using JavaScript is easier to do than you might think, thanks to the support of modern browsers; this tutorial will walk you through it.

in JavaScript Programming Tutorials
Search
Tutorials
Programming Tutorials
IT Jobs
From CareerBuilder

.NET Drawing and GDI+ Newsgroups .NET Drawing and GDI+ Newsgroups

1 2
(90 threads in 2 pages)
RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   

Controlling The Size Of A Metafile

Hello NG, I have a problem when drawing a metafile. I want to create barcharts with a fixed size. The bars are filled in a certain color, the rest is transparent. In details: - create a Metafile...

On Wednesday, November 11th 2009 at 04:15 PM by Christian Hansen | No Replies

Save Control To Bitmap From A Console Application

hi, my final goal is generating a bitmap with rich/html text formating. example: graphics.drawstring ("text1 text2... ect). after i tried playing with (graphics.measurecharacterranges, graphics...

On Wednesday, November 11th 2009 at 12:58 PM by abentov | 1 Reply

Graduated Fill

Is this group still active? The last post I see is from April 2008. But anyway... Can someone please explain the "best" way to produce a graduated fill (e.g. Blue to white) using the .NET framework...

On Friday, May 22nd 2009 at 11:27 AM by jamesb | 3 Replies

PrintDocument "Page #" Dialog

When using the PrintDocument component, it displays a dialog that shows the current page number. Is there anyway to prevent this dialog from displaying. What I have is a tabbed dialog that loops...

On Tuesday, May 19th 2009 at 10:01 PM by Michael D. Ober | 1 Reply

Visio 2007 XML Schema Definition

Hi, I need to get Visio 2007 Schema Definition file (.xsd) but I could not find it. It is supposed to be in the Office2007XMLSchema.exe downloaded from http://www.microsoft.com/downloads/details...

On Thursday, May 14th 2009 at 08:46 AM by Anonymous | 1 Reply

Drawing Shadows

Hi folks, I'm drawing shadows around a custom control. That is, the shadow is actually painted inside the control's canvas / ClientRectangle, along its sides - the width/height of the shadow is...

On Thursday, May 7th 2009 at 07:20 AM by Olaf | No Replies

Drawing A =?iso-8859-1?Q?90=B0_arc_1px_wide_on_one_end_and_2px?=

Hi folks, as the subject says - I'm trying to draw arcs with varying line widths. Actually it's a border with rounded corners around a control, where all four borders can have different BorderWidths...

On Friday, May 1st 2009 at 06:56 AM by Olaf | 2 Replies

Custom Gradient Brush

I need a combined linear/path gradient brush - like a linear gradient except that the gradient is not horizontal or vertical or diagonal, but follows the path. In this case the path is an arc....

On Tuesday, April 28th 2009 at 09:00 PM by James Hahn | No Replies

DrawImage(Image, Rectangle) Question?

Hello all, When I scale down a 500x500 image to a 400x400 image I get a small border on the left and top of the new image (see code below). I using the graphics.Clear(Color.Black) because eventually...

On Monday, March 2nd 2009 at 09:39 PM by Anonymous | 1 Reply

How To Convert Color EMF Spool File To Grayscale Or Black /white Spool File?

Hello I make R&D virtual printer driver and I am using HP Color LaserJet 8500 PCL driver for EMF spool file generation. It is not grayscale supported printer driver .SO when I print color Document...

On Thursday, February 26th 2009 at 05:03 AM by | No Replies

Metafile Resolution Regardless Of System Settings

I created Graphics object to paint on Metafile: Bitmap bitmap = new Bitmap(100, 100); bitmap.SetResolution(96, 96); Graphics g = Graphics.FromImage(bitmap); Metafile mf = new Metafile(g.GetHdc...

On Wednesday, February 25th 2009 at 10:36 AM by k.matusiewicz@gmail.com | No Replies

Animated GIF - Frame Delay

Hi :) I have some code - it captures screen on specified intervals, crops specified area of it, saves result to bmp files and then, after user deletes unneeded bmps - combines an animated gif....

On Monday, February 23rd 2009 at 06:56 PM by Alexey Titov | No Replies

Painting Parts Of A Panel

I have a Windows Forms application that has worked well for more than two years on .NET Framework 1.1. It is painting intensive, so for performance reasons I break up a Panel into different rectangles...

On Monday, February 16th 2009 at 06:23 AM by Peter | 1 Reply

Double-buffering In .NET 2.0 And Later

Has there been a change? In 1.1 I had to, without really knowing why, declare a new Panel class based on the System.Windows.Forms.Panel and then SetStyle(ControlStyles.DoubleBuffer) in its constructor...

On Monday, February 16th 2009 at 02:56 AM by Peter | No Replies

Image Regions

Hi EveryOne, Is the a way to analyze image layout: what i need it to split image into pictures or text regions. thanks

On Sunday, February 15th 2009 at 06:36 AM by Anonymous | 1 Reply

How Do I Zoom To A Target Point And Update The Scrollbars In C#?

Hello, I am attempting to develop a custom control that allows the user to zoom to a specific point on an image, typically a map. The problem that I am having is when I attempt to adjust the scrollbar...

On Friday, February 6th 2009 at 11:55 AM by sgjohnson@cableone.net | 1 Reply

Draw An Image Vertically

Hi everyone, I would like to draw and image vertically using the Graphics object Thank you in advance, Samuel

On Thursday, February 5th 2009 at 04:19 PM by Samuel | 1 Reply

How Do I Write XML Content To TIFF File

Hi, By using .NET/C# I would like to create a new TIFF file, then open a XML file, read the XML file content and write down to the TIFF file (in a table format), then save the TIFF file. I would...

On Monday, February 2nd 2009 at 10:45 PM by Bob | 1 Reply

DrawImage Anomaly With Small Bitmaps

I've been using a small bitmap buffer to do some off screen drawing and drop it in place during a Paint event. Everything goes well till I try to run my code on a terminal services connection. When...

On Wednesday, January 21st 2009 at 08:33 PM by random.coder@gmail.com | 1 Reply

Key Feature Of .NET Development @ Gatewaytechnolabs.com

Gateway has invested in training resources and developing best practices for application development using Microsoft=92s .NET architecture. Microsoft .NET architecture key features implemented:...

On Monday, January 19th 2009 at 06:50 AM by Mark | No Replies

Is There A Way To Create An Alpha Mask?

I found some code that will let me create drag images, and I want to simulate the effect that Explorer uses (decreasing the alpha until the stuff at the bottom is virtually invisible). The easiest...

On Tuesday, January 13th 2009 at 10:30 AM by Jeff Johnson | 2 Replies

Printing From A Microsoft.Reporting.Winform Report

First, sorry for the cross posting - my application is a VB 2008 Windows Forms program, but I will take a solution in C# as well (I write in both as needed). I am writing a check printing application...

On Thursday, January 8th 2009 at 09:33 PM by Michael D. Ober | No Replies

How Hoes VS Draw Docking Indicators On The Screen?

Hello, Anyone know how Visual Studio draws on the screen like when showing the window docking indicators? Thanks, Schneider

On Wednesday, December 17th 2008 at 10:51 AM by eschneider | No Replies

Development Job

Hello folks, my english is not good, but I will try to speak. I need to implement 3 image effects in an C# windows forms application. I want to hire someone who has domain over gdi+. Please contact...

On Tuesday, November 18th 2008 at 11:29 PM by Alvimar | No Replies

Accessing Palette Is Messing Up My Image

At one point in my code I need to find a color that is not currently used by my Bitmap. Here is my current code: Dim rtibitmap As New Bitmap(50, 50, PixelFormat.Format32bppArgb) Dim rtigraphic As...

On Saturday, November 1st 2008 at 01:05 AM by Nathan Sokalski | No Replies

Infinite Grid Or Chessboard Done How?

I'm able to generate a chessboard of NxN squares, where N is any arbitrary number, and using 'scroll bars' to scroll from one end of the board to the other, since the board is too large to fit on a...

On Friday, October 31st 2008 at 09:18 PM by raylopez99 | No Replies

Draw Borderless Form

I have a borderless form and have one button when the button is clicked the form windowstate will be maximized, but while maximizing and inspite of the form is borderless i can see the form text and...

On Friday, October 24th 2008 at 08:48 PM by a_pess | No Replies

Drawing A Splitter

Hi All, I have a UserControl that manages the placement of four panels in the same spirit as the four pane view you see in 3d modeling applications. I have everything working fine, except for the...

On Tuesday, October 7th 2008 at 10:11 PM by beach9000@hotmail.com | No Replies

Drawing A Discontinuous Line With Pen Width > 1 Fails With "Out Of

I want to make some "smudges" on a form by dragging the mouse with the left button down, then stop drawing when the mouse button is up. The following code works fine when the variable sglPenWidth below...

On Monday, October 6th 2008 at 04:01 PM by phb@twave.net | 2 Replies

Determine If A Point Lies On A Existing Line

I have a programming task of determining whether or not a given point lies on a existing line. The following points make up the line: Point point1 = new Point(32, 0); Point point2 = new Point(32...

On Thursday, September 18th 2008 at 02:55 PM by jd6strings | 1 Reply

IPhone Way

How do I do "paging" like the way iPhone does, that is the swooshing of a page? For input device, I could take the mouse coordinates as the finger motion. I have done paging and scrolling with graphics...

On Saturday, September 13th 2008 at 04:41 AM by Peter | 1 Reply

Embed An Image In An Email?

How do I embed an image in an HTML email (not have a link to an image on a server but rather ship the jpeg in the email itself)?

On Friday, September 12th 2008 at 05:21 AM by Mark B | No Replies

Corruption In Resized GIF With Bitmaps And Graphics

Hi! I have the following code that works well in most cases. For one particular image of the ones I tested, it creates a corrupted version lacking 50-80% of the lower pixel rows. I've recreated the...

On Thursday, September 11th 2008 at 05:18 AM by Lars-Erik | No Replies

Custom Color Doesn't Work In DrawString

I'm sure I've missed the obvious, but when I define a custom color, my DrawString call from my Paint event doesn't seem to draw anything at all. void btnNav_Paint(object sender, PaintEventArgs e) {...

On Saturday, September 6th 2008 at 11:09 AM by Larry | 3 Replies

Drawing And Printing

I'm using the Drawing namespace with print, where that process starts with System.Drawing.PrintDocument.Print(). With printing I have a need for finer grained control so that I can talk to print...

On Thursday, September 4th 2008 at 05:00 PM by Roastie | 1 Reply

Custom Control

i,am building a custom control using custom Designer inherited from ParentControlDesigner, in the custom control class i have overrides Displayrectangle, Onresize, DefaultSize, OnClientSizeChanged,...

On Monday, August 25th 2008 at 12:44 AM by a_pess | 1 Reply

Some Help With System.Drawing Part 1.

Hi there. I'm very new to System.Drawing and I'm running into a few walls with my drawing. I think I understand the basics (at least at a high level) but now I'm starting to run into performance problems...

On Thursday, August 21st 2008 at 02:32 AM by Frank O'Hara | 7 Replies

Positioning Of Text Strings After Rotation Is Incorrect

I have figured out how to rotate bitmaps correctly (after help from this group). I used the image center as the rotation point. Positioning after rotation was based on how the coordinate axes moved...

On Wednesday, August 20th 2008 at 02:39 PM by Roastie | 2 Replies

Image Distortion And Positioning Distortion

Any ideas what I can try to get rid of distortion of images and positioning problems with text? I'm painting images and text on the screen and to a Dymo Label printer. They both work fine, except...

On Friday, August 15th 2008 at 04:12 PM by Roastie | No Replies

Virtual Coords

Hi y'all. I am writing a viewport for my music notation program. All Notation elements are stored as I would call them 'virtual' coords i.e. they have no real resemblance to pixels, Inches...

On Monday, August 11th 2008 at 12:50 PM by charles_barr@hotmail.com | 1 Reply

Help For Improving The Performance Of GDIPlus Bitmap Drawing

Hi Gurus, Currently I encouter a performance issue in CSharp PictureBox with GDIPlus rendering, my dataset is 78 curves, 512 points in each curve. I enabled the doublebuffer in WinForm, first use...

On Tuesday, August 5th 2008 at 11:47 AM by Nan | 5 Replies

Paint Performance

I have a complex UI with multiple controls in a panel. Adding/removing controls or repositioning nested controls creates a sluggish UI experience. I have resorted to turing the panel invisible before...

On Tuesday, July 29th 2008 at 06:35 PM by Anonymous | 2 Replies

Problem With Transparent Image

Hello, I am trying to use an image on one of my buttons, and I'm having a bit of trouble. The image uses the color Fuchsia (RGB:255,0,255) as it's background color. The trouble is, when I set...

On Tuesday, July 29th 2008 at 01:26 PM by Jon Rizzo | No Replies

When Using System.IO.FileStream, I Write 8 Bytes, Then Seek To The Start Of The File, Does The 8 Bytes Get Flushed On Seek And The Buffer Become A Readbuffer At That Point Instead Of Being A Write Buffer?

When using System.IO.FileStream, I write 8 bytes, then seek to the start of the file, does the 8 bytes get flushed on seek and the buffer become a readbuffer at that point instead of being a write...

On Monday, July 28th 2008 at 09:38 PM by DR | No Replies

Image Saving Compression For GPRS.

Hi all, I have built a signature control that works fine and we have been using it for about 2 years now. It is in CF2.0 and used on Windows Mobile 5 devices. The problem that I am having is...

On Monday, July 28th 2008 at 06:52 AM by ink | 4 Replies

Excel Form Template & Saving

Hi, I have an Excel form template (12 pages long) that will have many users. How can I make sure it is saved to the users drive rather than the folder the template is in? We have multiple drives...

On Monday, July 14th 2008 at 06:17 PM by Anonymous | 1 Reply

Draw Curved Line From Point To Point

Dear NG, I want to draw a curved line like here: http://www.dusch-westermaier.de/img/wave.gif from a point A to a point B. Do you have any idea how to handle this in C#? Thank you very much,...

On Friday, June 27th 2008 at 05:40 PM by Lakesider | 3 Replies

Is It Possible To SetClip() For Multiple Regions?

I'm using an offscreen bitmap to do my drawing. When i copy the the bitmap to the Graphics context in the last step, it causes a flicker in my foregroud Layered Window. I've found the best way to...

On Friday, June 27th 2008 at 04:01 PM by rory.groves@gmail.com | 3 Replies

How To Move Rectange Over A Pixture Box

Hi to All, How to move,drag,resize the rectangle drawn over the pixture box.I can able to draw a rectangle on pixture box. Thanks in advance

On Thursday, June 26th 2008 at 03:29 AM by pallavi.feb@gmail.com | 1 Reply

Drawing To Another Application Window

Is it possible to draw shapes and text to forms created by other applications? If so, how would I go about doing this? I want to overlay text I am generating over another application window, and...

On Tuesday, June 17th 2008 at 07:44 AM by Sean | 1 Reply
1 2
(90 threads in 2 pages)
Sponsors
Discover Geekpedia

Other Resources