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

Software Development Network >> Visual C#

Visual C#

New Question

Please hepl me solve this problem
How to change the color of the app's title bar?
Calculate World Wide time
Means of decoupling DAL and business layer?
how long a string can be??
How do I write to a file on a shared drive on a another server on the same network.
Can SNMP send DataTables as its VBL?
SQL server and C#
Regarding WebBrowser Control
How can I close a tab on double click?

Top Answerers

Mikhail Kurskiy
Ananda Ganesh C.T
E Coloney
Zodzetrick
alphanexxus
Abu-Bakr
HackShack
tricky_richy
Raichur
frumbert
RT++
Only Title

Answer Questions

  • nkoranda IDE taking forever to get in and out of debug mode

    I have a pretty small app written in C#.  At first - when I was building the form, IDE performance getting in and out of debug mode was fine - about the same as with VS2003.  But now - without adding too much additional code, the IDE is acting really sluggish.  I measured the time to start the app in debug mode - the time measured from when I hit F5 until the form was display was 72 seconds, and the time getween closing the app ...Show All

  • ZavaDog User Security in Win Application

    Friends, Need some feedback on how to implement some security in a windows app. My previous attempts at this have been web based so doing this in a Windows Form app is going to be completely new. In the past, what I have done is created a user class that is creeated by verifying a username./password at the start of the application against info stored in a database. Now with the win app, what I am thinking of doing is granting or denying permi ...Show All

  • Bo Yu a question on multithreading

    Hello, I am using a global variable 'globalvariable' to pass data from main thread control (button click) to a thread (receivedata) i create for doing background work. once started, receivedata thread is suppose to run all the time with infinate loop to do it's work. Now my question is can i keep updating the global varible from the main thread without affecting the background thread. to make it more clear... say.. there are two threads 'm ...Show All

  • floatping Communiacting with DLL in c#

    I am working on a project which communiactes with a Radio Device (WR G303e Radio Receiver)connected to PC via USB. I comes with an API WRG3API.DLL implemented as a 32-bit driver. In the SDK it has examples for Delphi and C/C++. My Question is..... How can i import/communicate (with) this dll to work in C#. I am looking for some1 2 reply... please help me if any1 out there has any info about this issue... Kind Regards t4urean You have ...Show All

  • ChrisNickel multidimensional array trouble

    Why is this not working It should return a two dimensional array, but I get trouble with the two dimensional array. OutofMemory exception outofrange exception nullreference exeption In a class I have this method. public string[][] vulListbox(String query) { SQLiteDataReader reader = null; //if I don't want to initialize here; I have to initialise resultaat also in the catch block// normal what ...Show All

  • aybe declaring 2d arrays

    Hi guys, I am trying to declare a 2d array but I get an initilization error.I am new in c# can somebody help me thank you all below i have my code! int [ ] [ ] arr1 = new int [ 2 ] [ ] ; arr1 [ 0] = new int [ 3 ] ; arr1 [ 1 ] = new int [ 3 ] ;     Hello Adam, You can define a 2 dimensional array with the following code: int [,] arr1 = new int [4,2];   The [4,2] part of the ...Show All

  • David222 Getting a COM dll's version from it's COM registry entries

    We currently have some code that goes like this: object savePath = null ; // get smartconnect type from prog id of COM component SmartConnect.dll Type smartConnectType = Type . GetTypeFromProgID ( "SmartConnect.CSmartConnect" ); // create instance of smartconnect Object smartConnectObject = Activator . CreateInstance ( smartConnectType ); // get the save path savePath = smartConne ...Show All

  • Carolyn Chau MSFT import CSV file

    I need to import csv file to SQL tables with c# application. User can select columns band table mapping table fields. I like to create something similar to MS SQL import. User can draw line to two mapping column and fields. How I can do it in C# window application Which controls I need If you want to draw lines to map things, you'll be writing that code yourself, no controls exist to do that. Could you give some re ...Show All

  • codelinezero .NET 2.0 WIndows Service Deployment

    I have a windows service written in C# for .NET 2.0, and I've got everything completed for it, even a Deployment application. Every thing installs and runs fine. However, now I need to modify the deployment process in order to ask the installer a couple configuration questions. How would I go about doing this While I have built a deployment project for my service, I'm not quite sure how to modify or extend ...Show All

  • twiztar From all the people in the world no one knows

    I think i posted this for ten million times, nut still the same answer : "         no replies     "   His anyone who knows how to make a setup but not with VS.NET i mean writing the code   Hope i wont get the same answer as upper If you don't want to use VS.NET or any of the various installer programs available like InstallShield or WISE then you' ...Show All

  • Andrew Selivanov Default value on value-types

    I have implemented a value type that use a string value as value container. I need to initialize this string with a "" value insead of null. Is it possible to explicitly initialize a value type Is there a way to run a default parameterless constructor Thanks, Felice R. Meybe this is a good read: http://www.dotnetconsult.co.uk/weblog/commentview.aspx/03805a0c-525f-4b7d-b0a0-f5f2773b4a7c ...Show All

  • Prunier Missing project file in a solution

    Currently, we are adding a c# project to a solution that was formely code in visual basic. However it seems that every time we tried to load the solution file, all of our c# project is missing and we have to manually add the c sharp project one by one. Does anyone have an idea how to overcome this problem It's not a fatal problem but it's quite annoying after some time. yup it does ...Show All

  • IMT AG replace

    Hi, This is what I have which is assigned to a string variable. I would like to replace the \\ to \ How is this done please I tried: string strData = strData.Replace("\\", @"\") But it does not work. Thanks strData = "{\\rtf1\\ansi\\ansicpg1252\\uc1\\deff0{\\fonttbl\r\n{\\f0\\fswiss\\fcharset0\\fprq2 Arial;}\r\n{\\f1\\froman\\fcharset2\\fprq2 Symbol;}}\r\n{\\colortbl;\\red0\\green0\\blue0;\\red255\\green255\\ ...Show All

  • JoeKYTse Deleting a file

    Hi, I'm trying to delete a file and the following File.Delete( "C:\\mytext.txt" ); causes an error saying "The name 'file' does not exist in the current context" How can I fix this error Thanks, Bruce   Is this a compilation error or a runtime error If it literally says 'file' and this is a compilation error then you have not properly capitalized the name of the class.  You ...Show All

  • Phat How uses the recursion arithmetic to find the maximum value and the minimum value from an array ?

    How uses the recursion arithmetic to find the maximum value and the minimum value from an array Can you explain me why do you use Int32 instead of int Just some simplyfication: static int maximum(int[] arr, int length) { if (length == 1) return arr[length]; return Math.Max(maximum(arr, length - 1), arr[length]); } thank shakalama :-) stati ...Show All

83848586878889909192939495969798990

©2008 Software Development Network

powered by phorum