Software Development Network Logo
  • Visual J#
  • Architecture
  • VS Team System
  • Visual C++
  • Visual Studio
  • VS Express Editions
  • Visual FoxPro
  • Microsoft ISV
  • Game Technologies
  • Smart Device
  • Visual C#
  • Visual Basic
  • Windows Forms
  • .NET Development
  • Windows Vista

Software Development Network >> Visual C#

Visual C#

New Question

Custom Control
Output in console style possible?
simple editor using webBrowser control
How to shut down system???
Various functionality missing from Visual C# 2005 beta2?
How to set VS2005 to C#
Welcome to the HD DVD Interactivity Authoring Forum!
Touch Screens
How to insert actual datetime with seconds into sql express database ?
How to cast Null object.

Top Answerers

Alastair Bell
BDaul
Scot5691
Ronald Cormier
Jonathan Blackburn
bener
Serge Gavrilov
willsam
SBurre
RanHel
CoolRay
Only Title

Answer Questions

  • goatboy Retrieving windows user accounts

    I'm trying to retrieve a list of all windows users, but all I can manage is the current user. I want to be able to connect software accounts to the windows accounts for automated login. How can I get a list of all windows users use System.DirectoryServices. DirectorySearcher object to find all the User Account in your local system I meant all local windows user accounts. ...Show All

  • YAYASOFT upper case

    What is wrong with this statment. I am trying to do upper case letter = string .ToUpper(letter); I am guessing that letter is defined as a char in which case you need to use char.ToUpper(letter). In the future when something isn't working and you're seeking help it's always helpful to provide the exact error message you are gettingg and when you are getting it, e.g. at runtime or compile time. It helps ...Show All

  • Pitts Pilot Type.GetType Problem

    The following is my code to get type from AssemblyQualifiedName. //Full Qualified Name Work Type type = Type.GetType("System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"); //Partail Qualified Name Work type = Type.GetType("System.Int32, mscorlib"); //Full Qualified Name Work type = Type.GetType("System.Windows.Forms.DataGridView, System.Windows.Forms, Version=2.0.0.0, Culture=ne ...Show All

  • GRiNSER RPAD function Not working

    Hi, RPAD function that works correctly in when executed in SQL PLus is not working in ASP.NET. Actually this is my select statement. select elem_number,element_name,element_type,(trim(elem_number||'-'||element_name)||lpad('~',50,' ')||element_type) element from hrcten0vy order by elem_number Here iam padding 50 spaces before the ~ symbol. This query is working fine when executed in backend. But when i populate the field element in a ...Show All

  • Aego Casting to nullable generics

    Hi. I have this method: public static TVal DoIT<TVal>( object value) { return (TVal) Convert .ChangeType(value, typeof (TVal)); } But it fails in case of DoIt< DateTime >( DateTime .Now) . (Invalid cast from 'System.DateTime' to 'System.Nullable`1[[System.DateTime, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'.) How can I make it working I was trying to catch that case mys ...Show All

  • Amit Banerjee - MSFT Enum question C# and VB

    Why this code in C# not work but in VB work Code C#: public enum eFilteringCode : ulong { None = 0, Gen = 1, BdF = 2 } static void Main( string [] args { int BitMask = 400; ulong uRes = BitMask & eFilteringCode. Gen; } Code VB: Public Enum eFilteringCode As ULong None = 0 Gen = 1 BdF = 2 End Enum Sub Main() Dim BitMask As ULong Dim uRes As ...Show All

  • Kenneth LeFebvre How to determine file reading progress

    I am using streamreader to read lines of text from a file. I would like to indicate on a progress bar the status of the reading process. What would be the best way to determine where I am within the file so that I could divide this number by the filename.Length member to display in my statusBar I'm having trouble finding the right method for indicating where the file pointer is... Try adding "System.Windo ...Show All

  • Fei Xu Zipping files from C#

    I need to zip files programatically from C#. The files I need to zip can be very large 4 Gb+. Are there any classes in .NET that would allow me to do that I've tried various third-party components, but every one of them had issues. Most don't support Zip64, some don't publish progress events, some have issues with the CRC stored in the local header vs. the central header etc. etc. Any help would be appreciated. I'm open to using CAB files if ...Show All

  • Trig ?porting to VC++?

    I have heard about ppl doing it but how can it be done, im guess porting vc++ to C# would be a nice trick to know how to do. can someone explain or point me into a direction of where I can read about it. thanks Yes, I'd have expected to see a C# -> C++/CLI converter about, but converting C++ to C# is a whole different kettle of fish, as is converting C# to normal C++. Hi, Thanks for the correction., I ...Show All

  • Anders Ryd&amp;#233;n Object reference not set to an instance of an object

    Hi, I get this message when executing a web application; it builds and debugs ok.. when i call the webform i get .. Any ideeas Any input is appreciated. Thank you       Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. ...Show All

  • pkonrad Visual Studio 2005 RC - Keyboard mapping schemes are empty?

    Hi, I am trying in vain to use the RC version of Team Suite. I have uninstalled the previous Beta 2 and have also run the vsunist.exe tool. Running on XP Pro SP2. On startup a dialog box with the error that the currentsettings is unavailable. If you attempt any of the reset/import settings it fails with the error "Interrupted by the user", but does create the file. The Tools->Options->Keyboard->Keyboard mapping schemes dropdown box is ...Show All

  • Sushil Chordia Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

    no, I'm not.... unfortunately I still have no idea where this is coming from Hey Tom, I just started getting that same error after a power failure occured while I was compiling. My error points to Microsoft.CSHARP.Targets line 127. Let me know if you figured out what the problem was. Thanks, Paul ...Show All

  • Stylus Studio Microsoft HD DVD Interactivity Jumpstart is available...

    We are pleased to announce that we have posted an early Beta version of the Microsoft HD DVD Interactivity Jumpstart. You can download it here: http://www.microsoft.com/downloads/details.aspx FamilyID=994accae-1591-4cc0-9d5b-03b0494686a4&displaylang=en This Beta software contains: iHDSim, a simulator that you can use to run iHD code samples HDDVDValidator, a command-line utility that can help find many ...Show All

  • IdahoErick Partially cancelling execution

    I'm trying to figure out the best way to cancel a computational task within an application. For instance, say I'm implimenting the Command Pattern . When a specific event occurs (esc button pressed) I'd like the currently running command (if exists) to stop executing so that the application can be immediately rolled back to the state before the command started. Another example would be the class I'm currently working on that I'd ...Show All

  • Cyrus open new form/window

    I have a web user control with a datagrid bound to a DB. I want press a button and open a new window/page or whatever you want in which i have 2 textboxes and some buttons that modify/add rows of the datagrid... It's possible! How What i have to use How can i refer to the datagrid in my web user control from the new window Thx You can do this with Javascript. Create a WebPage that gets two arguments from the querystring. And w ...Show All

86878889909192939495969798990123

©2008 Software Development Network

powered by phorum