when I build my project it's goes well and run correctly but when I run it once more ,I get This error
Warning 1 The class Form1 can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again. 0 0
Can anybody help me with this I Redesign My project two times but it's not helping
Odd question my PC (once I had rebuilt it after an evil spyware attack) now causes the system sounder to bleep every time a button is clicked on the form, this happens only with this program so I am suspecting an option has been selected in the compile options as when the installer is test run it does the bleeping thing again, why, I have never seen this before, what have I done??
Well I have gone into settings and disabled the Beep, that seems to have stopped it from bleeping but I would like to know if that is the only way of doing it! (it seems to me that you could be hiding a problem not solving it)
I think so, this rebuild has had to be rushed as a customer arrived for a demo of other stuff that wasn't complete so "Glenn can show you...". Vis Studio works fine, Outlook I have some mail from, Exchange Servers? I was thinking maybe in my rush to install yesterday I had chosen an option such as "Annoy User, Surrounding People" but disabling the beep in task manager has done the trick, making me nervous!
If you don't want to use any 3rd party functionality beyond what's available for you in the .NET framework, you are going to have to write code that will translate the .PDF file format. This is far from easy to do, and will require you to spend a lot of time writing code that others have already written and tested.
If your requirement is just that you don't want to use a paid component, I would recommend iTextSharp[^]. It's free, and allows you to read PDFs (well, that's slightly incorrect - you can't directly read PDF data and assume it's correct because a PDF is just a canvas that has text and graphics placed on it, so it has no real structure to it).
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
If you want to access PDF data without recourse to a third-party library then you need to start at the Adobe Development Centre[^], and learn how to use their tools. Or, you can download the PDF specification document and figure out how to do it directly with your own code. This may be easy or difficult depending on your skill level.
I have the following code in a C# 2010 application that uses linq to sql when connecting to a sql server 2008 r2 database.
var attplan = from p in attDataContext.At_Pln
var att = from c in attDataContext.At
The At_Plan table can contain 1 to 500 rows that are related to the At table.
I want to use some other statement besides FirstOrDefault() since this only deletes one row in the attplan table. However, the application will not let me try another commands without obtaining a compile error.
Thus can tell me what other linq statement that I can use that will let me delete all the records in the
I have an application wherein I have H.264 frames from an RTSP stream stored in a proprietary database. I need to be able to present a frame to the H.264 decoder (frames in sequence, of course) and get back the decoded frame (bitmap, whatever) output. I cannot use the traditional DirectShow streams because I don't have a stream. Is there any codec can be used in this manner? Later I will need to go the other way as well (given bitmaps or other format images, create an H.264 stream). Any help you can give would be greatly appreciated.