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

Software Development Network >> Visual C#

Visual C#

New Question

Size of an extra reference to an object.
display a series of characters
Cannot read from a text file - FileNotFound Exception, although file is there
Loading Data into API
Timer execute once
Unique Machine ID
Why can't I accept a socket?
C# Compiler heap error - help!
Interop, COM and Office Automation Question
Argh DLL Hell

Top Answerers

billoo
Mike Chaliy
Tony Rosen
fremontca
nelson888
sharon sharon
Craig Reder
LiQuiDpLasMaFloW
David in NZ
Satishchandra999
Central Server
Only Title

Answer Questions

  • bygosh If statement problems

    Hi, I'm very new to the C# community I have been working on a program that uses username recongnicition and I have a question. Here is my code if (textBox1.Value == "mittensonfire")             {                 MessageBox.Show("You are very leet");           &nb ...Show All

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

  • 郭?? 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

  • sjimmerson C# project always rebuild if Xml Documentation is set

    Under Visual Studio 2005 Beta 2, I noticed that the C# projets are always rebuild if the option to generate xml documentation is set (and this make all the projects that depend on the project to always rebuild aswell) . The following steps can create the problem I'm talking about: 1) Create a new "Class Library" C# project 2) Build it. It should build it (i.e. you see in the output "csc.exe ..."). 3) Build it again. It should not build it (ie. ...Show All

  • Feffi How do I move my records in one dataset into SQL database with field matching?

    I am working on a attendance application( base on SQL Express) for school, I figure out the way import the CSV files(Attendance Record) into a dataset but I cannt find any information regarding how to transfer the record into SQL Express Thanks Wow.....u are my Hero....Great...haha Thanks so much... The problem is that I have 2 dateset in the form, one is from CSV files, an other one is from SQL Express and I need to have field mat ...Show All

  • sangeetha shanmugam How to implement the "Check for update..." feature?

    I have a WinForm application which cannot be handled by ClickOnce technology because of the limitation of ClickOnce.  However, I would like to implement the "Check for update..." feature using the ClickOnce related technology(may be System.Deployment class ).  Anyone know that Thanks Thanks for the reply.  And actually I have used UAB in my last app version.  It work but having some limitation. I know from Co ...Show All

  • Randy Capturing KeyPress "Always" !!

    Greetings... My Form needs to capture the KeyPress and KeyUp events. I did set the KeyPreview property to true and it works almost all the time ! When the application starts, it doesn't work... I fist need to touch something (i.e. give the focus to a control) so that the key press and up events could be treated properly. How can i go around this Thanks ! Acoquinar   Forms cannot have the input focus themselves ...Show All

  • Bassem Murad Bytes Read

    Ok, I have a media player and I would like to know how to read the size of a media file, and display it in a textbox. You can use the FileInfo class: FileInfo info = new FileInfo("c:\\MyMedia.wma"); MessageBox.Show(info.Length.ToString());   Ok. I have a little bit more complicated question. I now know how to read the bytes of a file. So now, let me make an example. I have progressbar and a timer. Ok, there is a part of m ...Show All

  • StubbornNoob Adding Attributes Dynamically generated CheckboxList

    Hi, I am using CheckBoxList control and Adding checkboxes dynamically based on the results. Here is my code foreach (Site s in Sites) { ChkSites.Items.Add ( new ListItem(s.Description)) } I would like to add Attributes to each of the above generated Checkbox ListItem. The following code is adding attribute to the CheckBoxList control, but I want the attribute to be added to ListItem. foreach (Site s in Sites) { ChkSit ...Show All

  • IceStationZebra C#!!!!!!!!!!1

    Hi, I am a newbie in C# programming.( though was using COM,Win32 earlier!) I try to explain the current problem, which I am facing- 1.I have a ATL dll(VS6) and a C# program(which refers to a web page...VS7). 2.I run C# CLR from this ATL dll. 3.So C# is caller program, which calls ATL dll's signatures. 4.Though I have added refernces to this ATL dll, in my C# prgram, but thread fails on ATL dll as well as C# program, as soon as it tries to enter ...Show All

  • whatever 1942 XML/XSLT -I think I'm going to put a hammer throught the screen!

    Hi Everyone,    for the sake of my monitor can someone please help me with an xml/xsl problem that I'm having. I have the following xml file (really simple stuff): <root rname="Directory"> <company name="XYZ Inc.">  <addressLines addressdata="One Abc Way">   <address2 val="his avenue"></address2>   <city cname="Tech city"></city>   <country cname="Neverland ...Show All

  • tintok3 %s

    When entering a web address to search I get redirected by the %s that appears in the search bar. This only happens when using MSN. Not when searching from rogersyahoo. Thanks Can you post source code how you reprocue this and what version of the tools you are using Can you specify how to reproduce this Hi thanks for responding. As an example only, if I search for "westjet" ...Show All

  • MarkW assemblies question

    wrote in message news:5d8d1995-842f-44f7-a0f4-662b1d2771d8@discussions.microsoft.com... i have 2 classes(class x and y) in one assembly ,now i want that only class x will be able to create objects from class y, how can i do that thanks in advanced Make the class internal, and check "Accessibility Levels" in C# Reference Manual for more info on access modifiers. internal class SomeClass { .. Willy ...Show All

  • ProfRoger Cannot uninstall WDS v2.6.5 (5378) under XP SP2

    Howdy, I am using XP SP2 on a IBM T40 laptop, accessing through two accounts; one with admin privilege and the other under Power User. For daily usuage, I used the latter. The problem is I can't uninstall WDS v02.06.5000.5378. It is because: a) WDS isn't listed in Add/Remove Programs b) the Uninstaller package is not listed in %systemroot%\$NtUninstallkb911993-V2$\spuninst and lastly c) The "Windows Install Clean Up" doe ...Show All

  • Pankaj2joshi WDS Query from VBScript or COM

    I'm looking at integrating WDS functionality with an existing application and have been trying to call the ExecuteQuery from VB6 but am having problems. Does anyone else have some example code that they've managed to get working I've worked out that passing empty strings seems to case issues and am passing null references instead but am getting some errors raised ("Inv. Proc. Call"). This is for a small quick research project ...Show All

8910111213141516171819202122232425

©2008 Software Development Network

powered by phorum