|
Link[^]
Best Regards
-----------------
Abhijit Jana
Microsoft Certified Professional
"Success is Journey it's not a destination"
|
|
|
|
|
|
Hi, I am try to clip the invisible area of a bit map. I have tried the following code.
1.Bitmap bmp = new Bitmap(100, 100); // create a bitmap
2.Graphics bmpG = Graphics.FromImage(bmp); // graphics handler to bitmap
3.bmpG.DrawRectangle(new Pen(Color.Blue), new Rectangle(1000, 1000, 99, 99));
Notice line 3, it allow me to draw the rectangle beyond the bitmap. The size of bitmap is 100 X 100 and I have drawn a rectangle at the location 1000, 1000. In think the device contexts automatically manage it.
My question is that can I see the region that is not visible. Actually I want to clip the region in which my rectangle is situated. And want to show it when the user scroll. Please guide me I will b thankful.
Regards,
|
|
|
|
|
Hi all
How to get multiple headers in a gridview?
I want data to be shown something like this
Car
... .... ....
... .... ....
... .... ....
... .... ....
Bikes
... .... ....
... .... ....
... .... ....
.
.
.
. and so on....
--Here 2 See Sharp--
I have not failed. I've just found 10,000 ways that won't work.
|
|
|
|
|
mmm...I didn't understand your qst.
did you mean multiple headres like Car.Speed.MpH ?
if you did so "namespaces" is you unswer. simply move your code to
namespace <name>
{
<-
}
|
|
|
|
|
Hi Morison,
Thanks for replying..
but fortunately i got the solution
solution lies in using nested grid...
Am glad i have done it......
thanks
--Here 2 See Sharp--
I have not failed. I've just found 10,000 ways that won't work.
|
|
|
|
|
Hey Guys
im trying to resize a window dynamically but SystemInformation.Border3DSize.Height; returns 2 where i count 4 pixels on the border
similarly SystemInformation.CaptionHeight returns 26 where i count 30 pixels
what is up with that?
thanx
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|
|
Is this on vista by any chance? I've had the same problem. Works fine on classic theme but not on Aero... I haven't found a solution either
Dave
|
|
|
|
|
nope, this was on XP... but i found a solution that worked...
on vista its just one pixel out but its not that bad
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|
|
How to create an object reference to an instance of an object.
|
|
|
|
|
Are you trying to overcome the System.NullReferenceException Object reference not set to an instance of an object?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi All,
I desperately need a help from u.
I have a requirement where a background service runs and picks up all the files under it. I should print those files in the background , the file can be of any type Eg; *.txt,*.pdf,*.gif,*.doc etc
Any help is really appreciated.
Many Thanks
Hari.
|
|
|
|
|
for printing file of any type you should be able to read it...
there is no single reader for all types of files...you should check the file type, get appropriate reader...and get it printed.
Keep DotNetting!!
GeekFromIndia
|
|
|
|
|
Hi,
for all the file extensions that open a file by double-clicking in Windows Explorer,
the following should be true:
1.
you can OPEN the document by executing the single line of code: Process.Start(filespec);
or a more elaborate variant where you instantiate a Process object, and a ProcessStartInfo
object. If unfamiliar with it, look it up in the documentation.
2.
you can PRINT the document in the same way, this time set
ProcessStartInfo.Verb="PRINT";
You will be facing one problem though: each of the above typically launches a new
process and opens a new window, and these they alive and open even when you are done;
this is not due to the C# code, it is inherent to Windows (try right-clicking on
a document and select either OPEN or PRINT).
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Hello everyone,
Any of your favorite C# File I/O tutorials to recommend?
thanks in advance,
George
|
|
|
|
|
|
Thanks stancrm!
Good start point.
regards,
George
|
|
|
|
|
Hi All,
I have C# Console Application which references java.util.zip
to zip the folder. Now on Client it worked fine but on server it doesn't
I am Building setup using InnoSetup.
Isn't this dll shipped with .Net2.0
Or does I need to Assembly Reference
<compilation debug="true">
> <assemblies>
> <add assembly="vjslib, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=B03F5F7F11D50A3A"/>
> </assemblies>
> </compilation>
Thanks in Advance
Develop2Program & Program2Develop
|
|
|
|
|
You will find this files in the root folder where your .net is installed. Copy them to the bin dir of your applications.
I dont know why but some times i too see this files missing
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
|
This is from the J# redistributable <a href="http://msdn2.microsoft.com/en-us/vjsharp/bb188598.aspx">http://msdn2.microsoft.com/en-us/vjsharp/bb188598.aspx</a>[<a href="http://msdn2.microsoft.com/en-us/vjsharp/bb188598.aspx" target="_blank" title="New Window">^</a>]
only two letters away from being an asset
|
|
|
|
|
System.AccessViolationException was unhandled
Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Source="System.Drawing"
StackTrace:
at System.Drawing.SafeNativeMethods.Gdip.IntGdipDeleteFontFamily(HandleRef fontFamily)
at System.Drawing.SafeNativeMethods.Gdip.GdipDeleteFontFamily(HandleRef fontFamily)
at System.Drawing.FontFamily.Dispose(Boolean disposing)
at System.Drawing.FontFamily.Finalize()
|
|
|
|
|
Here[^]
IF you want more specific help, try asking a specific question and posting some code to go with it
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello Sir,
As i also don't know why this error occur...
and when this error occur then it does not show error in any life of my code it simply shows close my application an show this error without telling that where and why it occur....
|
|
|
|
|
Have you tried debugging to find out where it occurs?
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|