Software Development Network Logo
  • Visual C++
  • VS Express Editions
  • Visual FoxPro
  • .NET Development
  • Windows Vista
  • Visual J#
  • Visual C#
  • Visual Basic
  • SQL Server
  • Windows Forms
  • Windows Live
  • VS Team System
  • Visual Studio
  • Smart Device
  • Architecture

Software Development Network >> Visual C#

Visual C#

New Question

App.Config
Whats the easiest way to filter string for offensive language
Simultaneous Update of Cached + Original DB
Interaction between two forms fails
Loading Data into API
BitVector32.Section should be int not bool
Thread Safe Access to DateTime
GridView columns
get/set
Refrencing Assemblies

Top Answerers

E Man
ivan_hristov
kayda
TroyR
burbain
IngJVV
Jornie
Bill S
Michael J
Tony Maynard-Smith
Open Watcom
Only Title

Answer Questions

  • Eric Frame How this code work(C# 2.0)? It shouldn't!

    What makes you think that, there is no ambiguity possible, the compiler can directly deduce the best function member to call, 3 is an int parameter and there is a non-generic method F1 taking an int as argument, non-generics takes precedence over generic parameters, overload resolution solved, point. make your call g1a.F1(3L); and you will get a compiler error, as now there aint no method taking a long. change it to G1 g1a = new G1 (); g1a.F1(3L ...Show All

  • かず999 importing C# dll into C++.net ???

    Hello,   I've been developing a FEM library and it is written in C++. I want to develop a new UI for it so thought of creating it in C#.   Can i create the UI in C# and still use the code in C++.net Question is can i use the C# lib in C++.net and not vice-versa.   Please let me know.   Thanks. Hey, My understanding is, that the the CLR will compile everything into MSIL, to there should be no problem interchang ...Show All

  • BKStrelioff Using 'is' with a dynamic type

    Since the following appears to be illegal... class MyClass { public override bool Equals (object obj) { if ( ! obj is typeof ( this )) // <== Syntax error return false; // other comparison stuff } } What is the easiest way to do the above Performance is not an issue as the code is just responding to user actions. The reason for wanting to do this is deep inheritance and the use of Activator.CreateIn ...Show All

  • Ted MD Instantiation of object in C#, physical memory concern.

    Hello, I have have designed numerous classes my application which is for the building industry. A typical class (WallComponent) has may private members of type float,int,bool and an embedded class (Dimension). In a form based class, I instantiate the WallComponent via the standard way ie private WallComponent wc; wc = new WallComponent(argument list initialisation); Upon such instantiation I insert this WallComponent into an ArrayList (whi ...Show All

  • MainSoft Threading Problems With Multiple Picture Boxes

    I have an app that has 6 picture boxes on a windows form. I have 6 different threads running, and each one is displaying images to a separate picture box. If the threads are initiated by a file dialog box, the app works. But if the threads are originated by a FileSystemWatcher, the images don't display and I get sometimes get cross threading exceptions. What would be the proper way for the threads to display images to the picture boxes Would del ...Show All

  • Eddie Hulme A problem about binary file source safe versioning

    Does anyone of you ever try to check in your binary files for versioning We have this habit since the day when we work on VB projects. Since COM versioning is very important, we have very clear habit to keep different versions of the DLLs. Now in .net, with VS.NET 2003, we realize there is a very strange behaviour which prevents binary files checking from working properly. Lets say, we have 3 projects: ClassLibrary1, ClassLibrary2, WindowsApplic ...Show All

  • girish_mu Installation Problems with your product

    ok, so i decided to install your desktop search (WDS) thing. all good, it installs. think it is MSN Search Toolbar with Windows Desktop Search . so, i go for coffee and i feel brave and decide to install you latest beta. this is Windows Desktop Search 2.6.5 beta (KB911993) and guess what......... It un installs MSN Search Toolbar with Windows Desktop Search and the tries to install the beta and fails with error about Update.i ...Show All

  • PierreWT Exception thrown in delegate causing problems

    Hi, Could be a bit of a noob question, but I don't understand why the following is happening: Basically I am trying to sort a list of strings, but treating them as dates (by parsing with DateTime.Parse), but if any of the strings don't parse, then i just want to sort this list alphabetically - the standard List.Sort() way. list is a System.Collections.Generics.List<string> The problem is, the program exits complaing of a format ...Show All

  • Gena How can I zip a file xml

    Can you tell me the way how can I zip a xml file , use code in C# Thank you alot, I hope receive a solution soon for my urgent (but small) project There are a lot of compession libraries out on the net, some are free some are commercial. A great free library is #Zip , or the creator of the free C# IDE, #develop . .NET Framework 2.0 has introduced GZipStream and DeflateStream classes for compression and decompression of stre ...Show All

  • J M B One Click Save as

    I want to make a html file saver for easy making and i was wondering how to make a save button but one i click it it saves it as a html file. Can someone teach me how i do it please much help is appeciated thanks ps sorry for the spelling im only 13. im trying to make everytihng from my rich text box save to an html file with the push of a button i cnviently placed on top of my form ...Show All

  • Brain_Dead_Mind Bugs in .NET 2.0 ?

    Hi There Either I'm making an error or there are two bugs I have found in .NET 2.0 Beta .... private void button2_Click( object sender, EventArgs e) { toolStripStatusLabel1.Text = "Asterisk" ; toolStripProgressBar1.Value = 33; System.Media. SystemSounds .Asterisk.Play(); System.Threading. Thread .Sleep(750); toolStripStatusLabel1.Text = "Beep" ; toolStripProgressBar1.Value = 66; System.Media. SystemSounds .Beep.Play(); Sys ...Show All

  • Andrew S. Add default formatting to new classes

    Is there a way to set up the IDE to include some default comments / formatting when a new class is created This officially SUCK!!!! Why the H*** is it so hard to setup templates I attempted to create a template for C# class files. I created a new class called Class.cs. I exported it then copied the .zip file into the two locations specified. When I attempt to create a new class file I get the following erro ...Show All

  • cbwick Packet Aleration While in Transit

    hello guys, Look at this senario, 1) I have made multiserver -multiclient chat service that has limited number of users, but i beleive that some users are able to do things, that they are not supposed to ,by editing the packets before they leave their pcs, this edit is sometimes randomal, or sometimes in specific place. 2) How do i make sure that the packets made and Sent by my client, is not altered before sending to the buffers (and then netwo ...Show All

  • C4jun Binary.Write in C#

    My impression was that I could use Binary.Write for data other than byte arrays by giving the variable as a single argument of BinaryWrite. But when I do it with a short integer, it gets padded with two null bytes. I don't want this, since what I am generating is a sound file. Is there a way to do this Dear Matthew, thank you for your help. With your encouragement I went back to the code and realized my a ...Show All

  • Pranjal Refrencing Assemblies

    I am trying a simple program which refrences another assembly , I open the "AppDomainTest" (Consumer of the assembly) go right click on the References and browse and add a reference to the assembly I want to use (This is also a sample assemblu I wrote), lets say this is "AssemblyA" But i get the folowing compilation error on the "AppDomainTest" ....... Error 1 The name 'AssemblyA' does not exist in the current co ...Show All

97989901234567891011121314

©2008 Software Development Network

powered by phorum