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

Software Development Network >> Visual C#

Visual C#

New Question

Ho do I pass a query to a running instance of WDS ?
Address bar - locked
Regions keep auto-expanding
Writing to Specific Locations in a text file
Timer Component
Assembly error???
How to remove the form icon from the ALT+TAB key combination
A lot of radiobutton
Inheritence of web forms
saving datagrid data as an Excel file

Top Answerers

Yatsek
N. Gama
JBanning
Madhu K Nair
somerandomperson
WIPIT
Dwz2006
Victoria Helen Tierney
Christoph Muller
Fabio Gouw
NextDawn Programming Tutorials
Only Title

Answer Questions

  • Rumi Help with generics

    <Edited to make more sense> I want to call a static method from my class as follows: EntityViewFilter.ApplyFilterWith<FilterA>(tree, FilterAction.Exclude); Notice that 'FilterA' is being passed in as a generic type, and could just as easily be FilterB, FilterC, etc. Assume that FilterA (along with FilterB, FilterC, etc)  inherits a base class, called BaseFilter: public class BaseFilter {     abstract p ...Show All

  • Adam Vanner Store Values in an Enumeration or Database Column

    Hi all, I have a database table called Projects and another table, which is a lookup, called ProjectStatus . What I want to do is to show projects in my app and to have a color that relates to the status of each project. So is it best for me to store these project status colors as an Enumeration, or to have an additional column that represents a hex color value in the database table, ProjectStatus. Which is best do you reckon, or is there no rea ...Show All

  • Michael Lutz Context menu question

    Hello   Hope its the right place for this question.   I have a win app that contains a treeview and a main window. When ever I click a node in the tree it displays the content of the node in the main window. I would like to add a right click menu to the tree. The problem is that the menu may change from one node to another . What is the best way to handle this subject Is there a pattern I can use On every right cl ...Show All

  • Ramino Help ( i mean it) lol

     I want to make a Clock in Viuall C# and my Clock(digital) work fine and tell the right time but the problem is my dad want me to make a sperate tab where i would put a text box in witch i can change the time but the only probelm is i don't kniow how can somone pleez help me ! anyone pleez! I don't know exactly what your dad wants, but there are a couple of issues with the approach taken by Saurubh that ...Show All

  • Eddie Tse how can i databind for a windows application?

    good day everyone, i tried to do databind() in a windows application but it wasunsuccessful. is there any way to extract data from several tables like the databind() method in win application i used it before in web application and it was working fine any idea anyone plz help...urgent....thanks.. sorry for post to the wrong place. But I still don't understand how to make it works in win form. c ...Show All

  • Shifaz How do I return a string from a csv file?

    Hi, I am trying to search a csv file until it hits a null value. The csv file is set up in such a way that I can search line by line until the first cell is blank (MB/Code). At the moment I just want to find this null cell and get the program to return the value, and then I can find the Res-Code and do some further calculations. Below is an example of the file I am searchi ...Show All

  • ScottEDyer Calling 1.1 assemblies from 2.0 assemblies

    I have to write a web service that requires features of the 2.0 framework, but I need to integrate with legacy 1.1 applications and assemblies (that cannot be migrated without extensive rewriting -- the migration wizard failed horribly on a very large multiproject enterprise template from VS 2003). Is ther an easy way to call a 1.1 assembly from within a 2.0 framework application Normally you can load 1.1 a ...Show All

  • Rohit_Ghatol Where is the "Project From Existing Code Wizard

    I followed the directions "Create New Project From Existing Code Files Wizard". Click File, New and then Project From Existing Code. I'm sorry, but Project From Existing Code does not exist on File, New. Anybody know where it is Michael Yes, that was for C++. In C#, one thing you can do is to create a project template from existing code. Go to File | Export template to invoke the wiza ...Show All

  • fordguy67 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

  • Ramon Balboa How to set the StartWorkingDirectory and StartAction and StartApplication of the project automaticly in VS2005?

    Hello all, I have a problem of how to atuomaticly set the StartWorkingDirectory ,StartAction and StartApplication of the project in VS2005. Not by hand to click the "Solution Explorer" to set but.... First,how to get those three properties by code Thanks for any help of this. What I do is like this(This is to set the another opened project's StartWorkingDirectory) This is worked well in VS2003 but here is some problem in VS2005. EnvDTE. ...Show All

  • Nizar "Unable to handle exeption"

    My application has a login form, after the credentials are sent it communicates with web service to verify them and receive the collection if succeded. In one of the updates the program only worked on my computer but in my co-workers' computer it didnt, I started receiving an "Unable to handle exception" error message. Since the code worked on my pc it was harder to debug, I created a log and found the error was close to the web ser ...Show All

  • MatthewH C# string split: How to split this string?

    I have a string:     STRT.F          8600.00 :   Start Depth I dont know how to get each substring : STRT , F , 8600.00  and Start Depth  when I use delimitter . and : , string.split method will also split 8600.00 into 8600 and 00,that is not what I hope. or if C# have a method just like C function:       sscanf(buffer, "%*s% ...Show All

  • iHEARTmicrosoft_BUT Provide strings to localize in a text file

    I am actualy testing C# in VS2005 and i compare fonctionalities with C++ that i used in VC2003. I found that in a C# project, there is no property pages for files like in a C++ project. I used the property page in C++ project to perform custom build : compile a text file to resource using ResGen and then add this to the assembly just setting the Linker corresponding option. It seems not to be possible in a C# project because ResGen.exe is not r ...Show All

  • skyhawkap Printing the contents of a RichTextBox

    I am trying to figure out how to print the contents of a RichTextBox that contains formatted text and pictures using managed code only. It was easy in C++, just redirect the dc, but I am at a loss here. I thought the easiest way would be to generate a series of bitmaps for the pages. I know how to do a screen capture, but not all of the contents are visible if the document is long. I am hoping I am missing something obvious. A ...Show All

  • dedebong Recognize COM files with .dll extension !

    Dear friends, How can I find that a DLL file is a .NET Managed class library or a COM activex library.I have a DLL file and I wand to Register it if it was a COM unmanaged library.How can I recognize that Best Regards, Karthik Krishnaswami wrote: Can you kindly mark the post as an answer Marked it. How to tell if a DLL is a managed assembly http://geekswithblogs.net/rupreet/archive/2005/11/02/58873.aspx ...Show All

83848586878889909192939495969798990

©2008 Software Development Network

powered by phorum