I need a control that allows loading a picture, performing some basic drawing tasks with it (including adding text, pencil, oval, horizontal and diagonal lines), and exporting it as bitmap.
Anything like that available?
Thanks
...
Hello guys, Can anyone Please tell me how to How to find highest ,second highest number, Lowest Second Lowest number in given Array
var numbers = new[] {855,3,64,6,24,75,3,6,24,45};
Any pointer and suggestion would really helpful . Thanks
...
A .Net 4.0 app keeps crashing for a user, but just for him, I could not reproduce the bug. He attached the WERInternalMetadata.xml file generated by the Windows Crash Reporter. By opening it I found out that it's a System.IO.FileNotFoundException that crashes the software, however, there are no functions called in that function that woul...
Possible Duplicate:
How to block downloads in .NET WebBrowser control?
Not much more to add, how do I go about this? Thansk for your help!
...
By opinionated I mean that the framework will lock you to follow certain conventions or technologies or architectures. Something similar to Rails or Django. This will make building deeply-integrated plugins possible.
One of the major advantages of using Rails/Django is the gems/plugins. As you know, you'll find a gem for everything: adm...
Hello. I'd like to prepare a development environment on the cloud. My target platform is Microsoft .Net
Based on theory and some basic experiments, I am tilting in favour of Amazon AWS infrastructure. If I purchase a High-Memory On-Demand Instance, I'll be able to deploy 8-20 instances of developer VMs within and also deploy VMs for dat...
What is simplest way to draw 3d plot in WinForms or WPF?
I have an array with 30000 points (from external 3D Scanner). Now I need to connect this points and make something as 3D Picture (topography).
Any suggestions?
...
Hi,
My app sometimes throw this exception:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
There is NO WAY how to reproduce it. I would say that chance it happens is around 1 in 500. It always happens at a different time and at a different place (I...
Silverlight 4/C#: I have a label showing a number formatted in the Currency (with 2 decimal places) of the thread culture, e.g.
25 shows as $25.00 and 25.01 shows as $25.01
I use "StringFormat=C2" for this. My problem is... I only want to show the 2 decimal places IF there are decimal places. e.g.
25 should show as $25 and 25.01 shou...
hi,i am having problem on how to implement such a thing , i am currently programming a compact framework vb.net this is what i have done and am stuck,what ive learn is very basic and simple i am using a sqlce query to use it to search for any string matching entries in the database and then it will display it something like google search...
Hi guys I need to implement a way to timeout my objects without using a timer class that is base on specific timespan and last transaction date. Can anyone point a good implementation of this kind or a sample may be? By the way this is not a web application but a console app.
Edit 1:
Sorry I forgot to tell you guys some of my actual sc...
I want to create dynamic XML hieararchy but still couldn't be successful about it.I tried LinqToXml classes and XML classes but still i couldn't. I want to create such a hierarchy in a loop dynamically.
Create root node
<Root></Root>
Then add child for it.
<Root>
<Biggest></Biggest>
</Root>
Then add child for last added node
<Ro...
After reading a couple of tutorials on Steganography using Java/.NET I'm under the impression that you grab each individual pixel from the secret image and then place it in the lowest bit of each individual pixel from the cover image.
Am I correct in this?
...
...e.g. String.Split(Delim As String).
...
I want users to be able to drag elements from my program onto the desktop to create files from them. What's the simplest way to embed this information into a DataObject so explorer will accept drops and create the appropriate file(s)?
My experience with drag and drop is limited, and so far the only way I can think of is to actually crea...
I have the following string:
string path = "C:\Users\Username\Desktop\FileName.pdf";
I need to take off FileName.pdf and put in a string variable called fileName.
The code has to be generic in a sense that anytime i get path, i start
going from the end of the string down to the first backslash.
I'm using C#
...
Hello everyone,
I am using ASP.Net + .Net 3.5 + VSTS 2008 + IIS 7.0 + C# to develop a web application. I find when debugging in VSTS 2008, if I call Response.Close() method in page_load (please refer to code below), there will be error (from IE when accessing the page) like can not connect to server.
My question is,
Normally when sho...
I'm pondering creating a WPF or Silverlight app that acts just like a terminal window. Except, since it is in WPF/Silverlight, it will be able to 'enhance' the terminal experience with effects, images, etc.
I'm trying to figure out the best way to emulate a terminal. I know how to handle the VT100 emulation as far as parsing, etc. But ...
Hello everyone,
I am using ASP.Net + .Net 3.5 + VSTS 2008 + IIS 7.0 + C# to develop a web application. I am using WebPartManager, and I find when personlization feature is enabled to true, the web application will connect to SQL Server Express version database automatically.
BTW: I find this by when stop SQL Server Express version serv...
I need to access the Win32 window handles of some of my WPF windows so I can handle Win32 activation messages. I know I can use PresentationSource.FromVisual or WindowInteropHelper to get the Win32 window handle, but I am running into problems if the WPF window has not been created yet.
If I use PresentationSource.FromVisual and the wi...