Software Development Network Logo
  • .NET Development
  • Microsoft ISV
  • Smart Devicet
  • Visual C++
  • Visual Studio
  • Windows Forms
  • Visual Basic
  • Windows Vista
  • Visual C#
  • IE Development
  • VS Team System
  • Visual FoxPro
  • SQL Server
  • Audio and Video
  • SharePoint Products

Software Development Network >> Visual C#

Visual C#

New Question

Font size in debug windows
C# TAPI ITAddressTranslation
Program execution "exits" after DoEvents
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in aotoc.dll
adding new reference location but still show old path
Time
Minimize an application during runtime
Many a C# Question
Intellisense in properties
Why does 'String' not have a copy constructor?

Top Answerers

kuankuo123
zensunni
Nikolay Surdo
Rajesh batchu
HillBillyB
Goat Spirit
Andrei Kuzmenkov
HectorCruz
3Nu
PublicError
sitemap
Only Title

Answer Questions

  • jjcchheenn How to handle HTML tag info in control?

    I tried to use Server.HtmlEncode to solve this problem, but to find it still doesn't work. temp=Server.HtmlEncode(content.Text); What's the problem Do you wish to display the HTML the way it would look rendered (take a look at the WebBrowser control), or do you want to display the HTML itself Please clarify your post. Some people rendered HTML tag to attack website, some others did this for normal purpose. For those different clients, how to solve this problem   Did i make it clear Thank you for your help in advance!   I think I get it now... You're building a website where people can enter text in a control, and you would like to make it possible to use HTML tags for text markup, but y ...Show All

  • Anil Narayanan Viewing IDE's console output

    I'm new to express and I am just wondering.. how do I view the window the code results are outputted to, I am watching the 2d game programming webcasts and they tell me to look at it so I can see the programs output before it closes.. any help would be appreciated im unsure about the express edition but look for the output (or immediate) window tabs usually at the bottom rightish corner, there will be tabs like "output, immediate window, command window" http://www.spapps.co.uk/msdn/forums/images/DebuggerOutputTest.JPG I'm also following along in Session 2 for 2D programming, and I'm using Visual C# 2005 Express Edition. There is no console tab at the bottom after running the program. Adding Console.ReadLin ...Show All

  • KFrostILEM AfterCheck event, unchecking a nodes

    Hellous, trying to delete node when it gets "UnSelected", been trying something like this but gettin error all the time. its not e.Node, e.Node.Text, e.Node.FullPath, and e.Node.Remove removes it from treeView1 private void treeView1_AfterCheck(object sender, TreeViewEventArgs e) { if (e.Node.Checked) { treeView3.Nodes.Add(e.Node.FullPath); } else { treeView3.Nodes.Remove(e.Node); // Problem is in this line } } Your eventhandler handles events from treeView1, so it seems. But then you try to remove a node object from treeView3. The node that you get through the TreeViewEventArgs exist in treeView1, not in treeView3. ...Show All

  • otiko Problem of TcOpenInterface

    Hi everyone. When I call TcOpenInterface to open an interface which is returned from a call to TcEnumerateInterfaces, the return is false with errorcode ERROR_NOT_FOUND 1168. My environment is Windows XP SP2 (JP), network adapter is Intel(R) PRO/100 VE Network Connection. And WinTC seems to work fine in my computer. Thanks for any help... got it. FYI it's solved by using TcOpenInterfaceW instead of TcOpenInterface. ...Show All

  • Roy mm Integration With Microsoft office Outlook

    Hi all, I want create a plugin in Microsoft office Outlook Express that can unable me to interact with my web application. it should save mails to my database. I am Using Dotnet Framework 1.1 with VS2003 keen to see the replies Thanks Hello, I believe that the only way to hook into Outlook Express is to use C++ or some other low level language. I do not think that c# or vb.net can hook into that. That may be a different story when Outlook Express gets replaced with Windows Mail when vista is released because they will open an api. ...Show All

  • Christopher New serialization demystifyied :)

    Hello, can you advise me information about serialization in .NET Framework 2.0 on the web I imagine something more compact than actual MSDN docs are, focused on this topic. In MSDN I didn't found some info, for example: - why ISerializable implementation is not invoked using XmlSerializer and how to customize serialization of specific properties then - why ISerializable methods and any xml attributes do not seem to be required at all, although they're told to be required. - why, when serializing a hierarchy of objects, the contained types (extra types) do not output full type name and just the ending identifier, and how to solve that..(!!) I appreciate tips where to learn about, also if you can advise to this concrete pro ...Show All

  • kid_kaneda OWC10 ASP.net Export / SaveAs

    Hello, I can't find any easy way to do this. A internal web service provides me with an ExcelXP XML for an Excel file. I'm already using OWC10 in this app so I'd like to stick with it. I want to downgrade the file to the lowest Excel format possible and send it to the user. It would be best if I don't have to save the file locally before... Right now, I receive the XML string and send it back to the user with the content type: Response.ContentType = "application/vnd.ms-excel"; Of course, users that don't have ExcelXP installed, receives XML and are not happy with this... I tried this code to import the XML into and Excel document but I'm not sure if this the best object to do this. OWC10.SpreadsheetClass ...Show All

  • Adrian Aslett how to insert a carriage return at the end of a string in C# pls

    2/ also, if I do : line=myStreamReader.ReadLine How do I do to keep the carriage return as part of line string So when i display line items they keep the returns and my text gets well formatted Thank you good to know , thank u ReadLine will strip them out. The easiest thing to do is to insert them back using "\n". However you can also switch to Read to get a block of characters at a time or ReadToEnd to read the entire string into memory. If you don't need to do any manipulation then ReadToEnd is the best choice. Michael Taylor - 2/7/07 http://p3net.mvps.org ReadLine will strip them out, but when they a ...Show All

  • mahalax app.config

    can anyone show me how to read/write to the app.config I have tried System.Configuration - which raises an error saying to use the ConfigurationManager. So I must be missing something. this is the app.config. and this is the line I want to read/change < setting name = " MyReports01 "< setting name = " MyReports01 " < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < configSections > < sectionGroup name = " applicationSettings " type = " System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " > < section name = &q ...Show All

  • Marcus Widerberg Thread.WaitOne Return Value

    Hopefully this is a simple question, but I didn't see my answer in the docs and in the forum. It's unclear to me the return value meaning of WaitOne. If I call Thread.WaitOne( 100, false). Am I interpretting the results correctly Does a True mean that a corresponding signal was recieved and a false mean that I timed out (in my example) a 100 miliseconds Thanks in advance. Yes, if you receive the signal before 100ms it will return true, otherwise it will return false. ...Show All

  • Kat Lawson import csv file somebody help me please!!!

    Any now something about of import file csv in visual c# ok what I need is to read a file csv and that I run the program again the file updates ! What do you want to know about it Because the fields are comma-delimited, they can be of variable widths. There's no header to skip over or interpret. Reading the file should be straightforward -- read each line, split it around the commas and route each value into a variable (like an array) or a data container (like a row in a DataTable). Are you having specific issues hi, sorry if my question is silly but what data type in that file , i mean do you wirte values in an array or separated text members in your class ...Show All

  • chipjollyroger How can I change the volume using C#?

    How can I change the volume using C# Thanks, I want to use a trackbar or buttons (up and down) using QuartzTypeLib(quartz.dll) IMediaPosition, but when ever I try to change the vol., Value is out of range. Is there another way to change the volume other than using the Master Volume How about seeking How can I fast forward and previous my audio Thanks again, Seeking would be dependant on the application or library that is playing the file. I'd suggest looking to their documentation for info on that. Which volume do you want to change For the wav volume for instance take a look at this article on Pinvoking to call waveOutGetVolume() and waveOutSetVolume() . Is there a way to create a custom TrackBar ...Show All

  • cdun2 Decompress a list of files

    for my program I am trying to take a list of files in the format *.zip and decompress them. I am able to read the list from the folder and initialize decompression with GZip, but then it tells me that the magic number in the header was incorrect and that it cannot decompress it. These files come from other companies and I have no controll over how they are compressed. If GZip can only decompress its own files, what good is it Is there a way to get around this Thanks in advance, Hi try have a look at this http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx Hope this helps you out, please close this thread if it does Hi, Try using SharpZipLib: http://www.icsharpcode.net/OpenSource/SharpZipLi ...Show All

  • RICH525234 How to know whether an Excel file is open and close it automatically?

    In my application, I should write data to an Excel file. I can pause the application, and go to open the Excel file to see the data I received. However, when I start the application again with the Excel file open, there will be erros shown: "My application" has encountered a problem and needs to close. We are sorry for the inconvenience. It seems the application can not write data to an Excel file with the file is open...(no such problem with text file) Q1. How to check whether an Excel file is open or not Q2. How to close the Excel file automatically and then write data to the file again Thanks in advance! Oh, thanks, close to my problem // Get all instances of Notepad running on the local // ...Show All

  • phil_m Using the "as" Keyword

    Will using the "as" keyword when using type conversion not through an Invalid cast exception If so how would i make this statement the same but use the as keyword instead of the = _EndingVendorLegs.EndID = ((Tracking.BusinessObjects. StopOrderLegDetail )tempOrderManifest[ this .tempOrderManifest.Count - 1]).StopID; I want to see if it could be _EndingVendorLegs.EndID as ((Tracking.BusinessObjects. StopOrderLegDetail )tempOrderManifest[ this .tempOrderManifest.Count - 1]).StopID; but i get "type expected" I am not sure how i need to code the line,,,, any help The result of the expression is always 'false' since a value of type 'int' is never equal to 'null' of type 'int ' is the warning i get wh ...Show All

89909192939495969798990123456

©2008 Software Development Network

powered by phorum