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

Software Development Network >> Visual C#

Visual C#

New Question

Multifile Assemblies???
Weird Condition
Connect to db by a from!
copy datagrid to datatable
Network
It's possible to implement Enum.Parse<T>( string )?
Unassigned Varibles???
What algorith does garbage collector uses,Why it is non -deteministic ????
Outlook 2007 Beta 2 and EntryID Futures?
FileStream and writing out in chunks

Top Answerers

Jesper Lund Stocholm
Anthony Tarlano
Jan Kelbel
AdamS21
checkity
Anonymous0011
australenia
kkarre
T-LIANGS
Messex
Visual
Only Title

Answer Questions

  • isha_2 Starting a console?

    Hi, I've got a console-based project, which contains a class like so: using System; using System.Collections.Generic; using System.Text; namespace vm { public class clsVirtualMachine { public void Execute( string Code) { Console .WriteLine(Code); } } } Part of the same solution I also have a testbed project, which consists of a form, a textbox and a button. Then the button is clicked the following happens: using vm; (....) ...Show All

  • BKrishnakumar Problem with IDataReader method GetValues

    I've implemented a custom data reader which implements the IDataReader interface. I'm having a problem with DataTable.Load calling my data reader's GetValues method. The method has a signature {int GetValues(object[] objs)}. This should return a populated array of objects (the values for the row) and the length of the object array. My problem is that the object array is passed by value, not reference. Shouldn't this method have a sig li ...Show All

  • JasonDWilson how to grab port 80 from IIS

    Our Server application will be outside the firewall which is publicly published. And our Client application is an intranet web application which will be inside the firewall. So here we are using one component on each side which will acts like a web proxy. Component at customer side will establish a connection with publicly available Servers component. So if the machine where this server component is running has any web server like IIS, we can ...Show All

  • 4986 override- virtual- new keywords

    Hi everyone, I have some doubts about override- virtual- new keywords. I think that all methods who include override keywords are also virual methods since we are also able to override these kinds of overriden methods. THe following code snippet demonstrate my opinion. So I would like to ask that whether I am wrong or correct. If I am wrong, please make me correct. class VirtualClass { public virtual void VirtualMethod() { ...Show All

  • GaryShort using JH.CommBase;using Microsoft.Win32;?

    Who can tell me the meaning of the following two statements The project created by C# was a GUI application . using JH.CommBase; // for COMM port access What is JH.CommBase Is it provided by the visual studio itself Where can I find it using Microsoft.Win32; // for registry I have the same question with this statament as the previous one... Thanks a lot! JH stand for "John Hind". This basically ...Show All

  • shiuu Question on SimpleTypeName?

    Hi, I have question on the SimpleTypeName. < Literal Editable = " false " > < ID > eventhandler </ ID > < Function > SimpleTypeName(global::System.EventHandler) </ Function > </ Literal > I have seen its example on the MSDN,but I found it using global.So I think that the assembly must be in the global assembly cache .But the problem is not everyone will put the assem ...Show All

  • GauravMatkar How to reference GAC assemblies using VS2005- how funny is this.

    I've just discovered how I add a reference to an assembly in the GAC from a C# solution using VS2005. I find it rather incredible that it is this difficult to do. And I really don't think I've missed anything here. 1. Go into Registry and disable the GAC cache viewer: HKLM\SOFTWARE\Microsoft\Fusion, DisableCacheViewer- set to non zero. You have to do this as the cache viewer prevents you from copying assemblies out fr ...Show All

  • bwhunan Disable close box in Title Bar ?

    have disable the close box in the the title bar, PInvoking the folowing EnableMenuItem ( GetSystemMenu ( this . Handle , false ), SC_CLOSE , MF_GRAYED ); where SC_CLOSE =0xF060 and MF_GRAYED = 0x1 BUT if I minimized the app and restore app will enable it again. Is there any other way to disable it using PInvoke. My app is C# applicaiton. any idea............. thanks in advance ...Show All

  • DesDesDes Threading in C#

    Hello Everyone, I have a tab application, which initially I made single threaded....I added a dll which has a form. Now when I change to a tab method in that dll gets fired and form comes up, which makes everything else unresponsive.... Whats the best solution to implement thread to solve that problem.... Secondly, I tried doing something this way..... namespace something { public partial class Some : Form { public Some() ...Show All

  • jpchen fixed keyword conversion

    what would be the VB conversion for this fixed ( void * pxBasis = &modelRotation.M11) { fixed ( void * pyBasis = &modelRotation.M21) { fixed ( void * pzBasis = &modelRotation.M31) { UnsafeNativeMethods.Vector3.Normalize((Vector3*)pxBasis, (Vector3*)pxBasis); UnsafeNativeMethods.Vector3.Cross((Vector3*)pyBasis, (Vector3*)pzBasis, (Vector3*)pxBasis); UnsafeNativeMethods.Vector3.Normalize((Vector3*)py ...Show All

  • Kazdal byte to integer conversion - client server programming

    hello... I have written a client in java and a server in C#... when i write those programes in my computer, opening same port and listening to same IP...everything works fine. But when I move my server to another computer(also running win XP pro), at one point of the communication, i need to make multiple readings from server on integer value sent by client. The way i did it is by converting the integer into 4 bytes BYTE, and send it ...Show All

  • sammour80 Need to launch a process on the server side

    Hi, I'm developing a Web application (ERP) with VS 2005 (C# and VB). We need to launch a process that: - Every month at a specific hour open a database - Delete rows that meet a specific "filter" (i.e. rows that were processed temporary last month) - Create a report with deleted rows. Of course it will imply in the case of the report build it and put on the server side. The question is how , it's a simiar proce ...Show All

  • bcbs_tony how to get line on form

    How can i get a line on my form like the one i have seen on installers usually at the bottom of each form for example the one on the visio installer screen where you choose the type of installation. There are several of these lines there and there is one above the help back next and cancel buttons which creates like a kind of partition. How can i create this one my form. any help is appreciated. What about u ...Show All

  • Richard_T HOW PROGRAM CAN DETECT UPDATE DLL FILES AND CREATE OBJECT FROM?

    Necessary! PLEASE HELP! Hello every1 I have a base class named "shape". It has a public virtual method named "Draw()" I created some classes inherited from shape class and overrided Draw() method and I converted all of them to .dll file and I copy dlls to plugIns folder. I want to create an application that detect .dll files in the plugIns folder and create object from them and call all of Draw method. FOR EXAMPL ...Show All

  • Mugambo Passing reference params as a (sub-type) cast

    Hi All, Why can'y you pass a sub-type cast to a method that accepts the param by ref   For example: class Animal {...} class Human : Animal {...} class SomeThing{   public void DoSomething(ref Animal a) ...} Is there a way to accomplish the below (which fails with a "output must be a reference type") : Human h = new Human() DoSomething( ref (Animal)h ) Thanks Rob ...Show All

666768697071727374757677787980818283

©2008 Software Development Network

powered by phorum