Answer Questions
cosimog help me (dll problem)
i have made a WindowsControlLibrary (dll file) (i made a winform and then copyed every thing (almost) to the control ) but every time i try to load it with asp.net nothing happens the asp.net file : public class WebForm1 : System.Web.UI.Page { private void Page_Load( object sender, System.EventArgs e) { Assembly a; a = Assembly.LoadFrom(@"C:\saa1\vc#\WindowsControlLibrary2\bin\Debug\saa2.dll"); Type t = a.GetType("WindowsContro ...Show All
AL... Accessing .AVI As Embedded Resource
I've got a project in VS2003 where I've added a number of images and a video clip as an embedded resource on 'Build Action'. I can access the images easy enough by using the following code: System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(GetType(), "sampleImage.jpg"); this .pictureBox1.Image = bitmap; The problem is accessing the embedded .AVI; both the ActiveX Windows Media Player and the DirectX AudioVideoPlayback r ...Show All
Narula Is there any bug in RevokeCertificate() Of CertAdminLib
Hi All, I handle certificates in a certificates store thanks to XEnroll, CertClientLib and CertAdminLib. Almost all methods works fine... but I encountered a problem with CertAdminLib.RevokeCertificate() method. Actually, certificate revokation works without any problem, but I aim at unrevoking certificate by using RevokeCertificate method, as explained on MSDN : "If a currently revoked certificate has CRL_REASON_CERTIFICATE_HOLD a ...Show All
Darren Neimke WebRequest / WebResponse
I have a web site that I log on to everyday. It shows a list of files that I have available to download. I can click on the filename and save it to my harddrive. After I download the file, there is a check box by the filename for me to check and then click the DeleteCheckedItems button to have the file deleted from the list of files. I was able to automate the download of the files, but would like to automate the checking the check box and cl ...Show All
maxoudu328 System.IO.Ports.SerialDataReceivedEventHandler Not Working For Me
I can't figure out why this event is not being raised in my application. This is not my actual app but it is a simplified application that i created to try and figure out why my application is not working and even the simplified app doesnt work. I am attempting to trigger the event with a device called the NetCallerID which is a caller ID that sends its data to the serial port of my PC. I have tested the hardware in HyperTerminal and ...Show All
bashok SaveFile
Ok. Can anyone tell me how to save a file as a folder format I'm not sure I understand your situation. Is it correct to assume that you are trying to save as a ZIP file (in that case, you can have a look at http://msdn2.microsoft.com/system.io.compression.gzipstream.aspx to help you in storing something compressed, but I don't know how to create ZIP-files) I would just like to download a folder from my C: drive and s ...Show All
jjohnson txtbox
hi, i want to enable my 2nd textbox and button after the input on my 1st textbox. i am doing it in C# and ASP .NET. i tried this code but it didn't work. private void textbox1_TextChanged(object sender, System.EventArgs e) { textbox2.Enabled=true; button.Enabled=true; } I followed what James Kovacs instructed me but I encountered the above error. Could you show me what would the could be or do y ...Show All
Bob Berryman resource problem
I have added an xml-file (Signals.xml) containting a definition of a dataset to my project in visual studio. I then marked the xml-file as a embedded resource, and everything works fine. I read the xml-file in a class extending DataSet like: this .ReadXmlSchema("Signals3.xml") and everything works fine. When I later add another resource (for instance a background image), I get the following error message: An exception occured w ...Show All
Chris_21 creating a dom navigable document from a string
Hey, So. What do you reckon the easiest way to do this is. I have a string that contains the source of a webpage, and i want to be able to navigate using the DOM. what is the easiest way to insert this string into a dom-compatible document. at the moment i have tried a few things with mshtml, but to no avail. this is for the purpose of manipulating the contents of an email in outlook, so creating a axwebbrowser object isn't really a viable optio ...Show All
JThiloR Performance Monitor
Hello All, I am developing a monitor application for our servers. Ideally this will have a minimum impact on the servers themselves (i could run from a workstation) and would monitor network connectivity, available memory and processor load as a function of number of cleints connected. I wouold like to use something like: PerformanceCounterCategory[] RegisteredCategories = PerformanceCounterCategory.GetCategories(); in ...Show All
EK4527 Form Count
I need to get a count of all the forms in a particular C# solution. The following helps me do that. public Type[] GetAllForms() { Assembly asm = Assembly.GetExecutingAssembly(); ArrayList result = new ArrayList(); foreach ( Type type in asm.GetTypes() ) { if ( type.IsSubclassOf( typeof (Form) ) ) { result.Add( type ); } } return (Type[])result.ToArray( typeof (Type) ); } But now i need to instantiate these ...Show All
Julian Mackintosh C# Webpage image file
What is the correct location of the file, and the best way to link an image for a webpage so that it is viewable to all I am actually working with C#.net 2003 best way to link the image is to give relative path like "~/Website/Images/Image1.jpg", instead of giving absolute path like "C:\Inetpub\wwroot\Website\Images\Images1.jpg" i think you are wor ...Show All
Jon Derbyshire Using online content with iHD
Is there any documentation (or examples) that demonstrate how iHD can download content off the Internet Is there a way to restrict client access to only HD DVD Players or can anyone who knows the server address go to the same content with a web browser I guess the only reason I could think of to restrict content is the perception of a "value add" with the purchase of an HD DVD disc. Meaning, if you only want purchasers/renters ...Show All
NelG1 Socket streaming difficulties
Hello The scenario is as following: There are two computers talking to each other through socket over a 1Gbps network[low network traffic], the requirement is that the server sends a data packet of barely 500bytes[average--- the packet size is variable-- excluding tcp header and acks.], every 10ms. The data is received reliably [i have checked it]. The data which is recieved is then displayed on the dialogue in form of vector graphics ...Show All
Graham Tilson ListViewItemCollection interaction with ListView
Hi guys, this is my first ever post. I'm stumped over how somthing works within the framework / c# language. ok, so there is... System.Windows.Forms.ListView this has a Items property which is a... System.Windows.Forms.ListView.ListViewItemCollection Now if I use ListView.Items.Add()... ListView knows that that its Items collection has been updated and redraws itself automatically. Does anyone know how this works It doesn't look like ...Show All
