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

Software Development Network >> Visual C#

Visual C#

New Question

Address bar - locked
#msntb_toolbar_full_name#
blocked zip files using zipsharp library
ibm0007.exe error
struct question
A lot of radiobutton
Hardware IDs
escape \t
Checking values of variable at runtime.
UserControl Close, Exit, Terminate, Etc.

Top Answerers

Tpaktop
bnn
Streetkeeper
Aiden seo
Orlanzo
Tanweer Ahmed
idflyfish
Craig Cullum
Ceefour
Josh Zana
Visual
Only Title

Answer Questions

  • Roxanne163 foreach over an array, can I specify a predicate

    Can I do something like: foreach(string name (that starts with 'A') in people) { } maybe using regular expressions To know the first character in a string, use String.Substring(0, 1) ... Hope this helps a bit. heres wate i would do but im not positive because i dont know all of your code i would have to see it. I would first call this serve share folder letter from a method and send the letter you ...Show All

  • Bryan Sperry Filtering SqlDataAdapter.Fill

    Hello. I was wondering if someone could shed a light on this. When the startrecord and maxrecords parameters are passed to the Fill function of a SqlDataAdapter, where does the filtering of rows take place If the command passed to the function is for instance "select * from Table" and that table contains a million rows, but I need 10 rows, starting from the 20th, are all the rows brought back to the client, or does the filt ...Show All

  • Terence Chua Handling Optional Parameters of VB COM components in C#

    Hello All, Can someone help me out in finding a solution to handle optional parameters of VB COM dlls in C# For eg. In VB, we have have "OptTest" class in "OptionalTest.dll" component in which a procedure is defined like this Public Sub test(x As Integer, Optional y As String)    Some logic.... End Sub In C#, I want to use this class like this,. OptionalTest.OptTest opt = new OptionalTest.OptTest(); opt.test(10); When I use l ...Show All

  • Bob Bannon MessageBox.Show method

    I am a newbie on C# language. I have installed on my system Visual Studio.NET 2003 enterprise edition. Anytime I want to display a message using MessageBox, the MessageBox shows up without any output. Even the label like OK on the button doesn't show Can someone help me Here is a sample code: using System; using System.Windows.Forms; class MyMessage { static void Main( string[] args ){ MessageBox.Show( "I am great", " ...Show All

  • zoom maxed textbox test always highlighted on window open

    I have a help non-modal dialog that just displays a text message in a textbox. The textbox is the only component in the form. The problem is that when the dialog is displayed, all the text in the textbox is selected / highlighted. I have tried calling deselectAll on the textbox in the constructor and in the load and visible changed methods with no change. How do I get rid of the selection don't set the ...Show All

  • RTAG21909 Convert a string (diffrent formats) to date

    Hi I got diffrent date formats from a database and I would like to convert the to a date. I don't have the option to work with the sql, since that query is fixed (long story) "20051231","2005-12-31","2005-12-31 09:29:52" ==> "2005/12/31". My first tought was to trim the string and remove "/" and " ", after that only read the first 6 char of the string and as the final step c ...Show All

  • talrs How can we do

    Namaste Everybody,       I am working with ListView Controller. I want to know two things.      1. Can we override the sort() method of ListView Controller, if so can anybody give the code.    2. How the internal process of sort() method of ListView Controller works please expalin me using suitable pictures. Advanced Thanks to all who helped me to understand the above listed things. ...Show All

  • tbednarick Returning multiple values from methods

    How do I return multiple values form methods You could define a struct and initialize the struct with the return values. This could lead to some confusion, unless you are expecting to return the same results from an number of functions. You could wind up with a bunch of structures like 'ResultsFromFunction.....'. Why are you against using the 'ref' and 'out' parameters ...Show All

  • MrPo how to block hot keys on excel, word or another application

    hi all, i want to know if somebody can help me, i'm development a document managment application, i open files from c#, and my partner achieves to hide the tool bar, but now we need to block the hot keys, someone tells me that i can install a system-wide keyboard hook, and see which app has te focus and remove it from the queue, i got an class that shows me which keys are pressed, but i don't know how to remove the keystroke and neither what app ...Show All

  • Vallari Kamble MSFT Start procedure on Form_load.

    I need to start any procedure only once on application's start but Form should be visible. I'm using:            private   void  Form1_Load( object  sender, System.EventArgs e)          {              tmr.Enabled =  true ;      ...Show All

  • Ebola Build hi performance gridview in VS2005 with C#

    Hi, We're building a high level component to be used on a ASP.NET web page. It's a gridview that will perform all the funcionality of a cube. This cube will be programmed with the controls that C# 2005 allowds. The main feature is to allowd endusers to click on a cell of the grid and view more data; scroll veritcally and horizontally; display a footer with totals or other stuff;sort columns, etc. Any suggestion about literature or ...Show All

  • JaLG Display text results

    For some reason, text documents are not being displayed in the preview pane. Instead, they are displayed in Notepad. If the first result of a search happens to be a text document, Notepad opens automatically as soon as the results window is displayed, which can be quite annoying. This is happening both with the latest release version of WDS and with the 2.6.5.5373 beta. Is there any way to configure text to display in the preview pane inst ...Show All

  • two_man_only Logoff User Programatically - In Windows 2003

    Hi, I need to logoff user progrmatically on Windows 2003, I have used WMI and Win32_OperatingSystem Class, and system.managementobject.InvokeMethod("Win32Shutdown", 4,null) . It works fine on Windows XP systems, where as this does not seem to be working on WIN2K3 Standard server. Throws error as Generic Failure. Can any one throw some light on this. Note: system.managementobject.InvokeMethod ("Reboot",null) works fine on all the machine. I als ...Show All

  • prasannakumar C# program to a Windows palm desktop

    Hello everyone, Can someone tell me if I need to do anything special when publishing my Visual C# .NET application to make it work on a palm desktop I am not really sure about it, and so far, not able to test it, it really just have to work, so can anyone tell me what I should look out for to make it work smoothly and perfectly without errors, would all the errors also happen when I try to run the application on my computer Thanks ...Show All

  • Tiffany1489 set the Text value from another Form

    Hi, I am using this code to set the Text value of a Label on WorkingAreaForm from the FindForm but nothing is changing.. why frmWorkingArea WorkingAreaForm = new frmWorkingArea(); WorkingAreaForm.txtName.Text = "HELLO"; Thanks... this is because u are creating anew instance o ...Show All

01234567891011121314151617

©2008 Software Development Network

powered by phorum