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

Software Development Network >> Visual C#

Visual C#

New Question

Anyone used Visual SourceSafe with C# ?
Database connection dilemma
Visual C# Express Edition Beta 2 and SQL Server Express Beta 2
Time/Clock Example
How to tell if Windows or Web GUI called library
How do I pass a class as 'parent' to a form? (using VS2005 Beta 2)
Disable automatic refactoring
Enum Components
import file from a remote machine to local machine
C# InputBox to use with a Console Application

Top Answerers

Pïeter
robert okoroafor
GreggM
Kunal Sharma
Shaking Stevens
zoltak
Z.Fan
Turbond
Ashraf Hameeda T
MasterMind
Topix: R&B
Only Title

Answer Questions

  • ChrisTB ValueType arrays

    I'm trying to copy a cutomized valuetype to string type. string source[10]; // bcString is a ValueType that hold a string object and implicit // conversion from string type to bcString bcString target[10]; target = source; I have tryed with the syntax target = (bcString[])(System.Array)source; but I get an execution error (cannot convert...) Any hints Thanks, Felice Russo The ...Show All

  • steveculshaw RGB Color Combination

    Hi, How to apply RGB Color combination to any control forecolor or background colour. Is there any direct method is available for this You can use the Color.FromArgb method to create a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. int red = 50; int green = 50; int blue = 50; control.BackColor = Color.FromArgb( red, green, blue ); ...Show All

  • brjali OLE Objects

    Hi, All: I would like to know how to use OLE objects in C#, since the language seems not to have such control, which was a standard in other versions of Visual Studio. Any hints and tips would be greatly appreciated. Thanks! Marco ...Show All

  • Audaz Timeout expired in SqlCommand.ExecuteNonQuery (insert) for SQL Server 2005

    Hi, I am upgrading from VS2000 & SQL Server 2000 to VS2005 & SQL Server 2005. One of my massive programs has an exception after a lot of inserts to a certain table during insert via SqlCommand.ExecuteNonQuery: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnectio ...Show All

  • ivenk how can I put in a procedure to download a file

    I have been searching and searching - but it is hard to find anything useful when the key word is "download" Anyway here is what I would like to know how to do If I have a WebSite created in VS2005 and I add a button to Default.aspx, I would like to have a file to  be downloaded on the user's computer in a directory that they choose. I would think that this should not be too hard but I just can't seem to find out how to do this n ...Show All

  • MKan No intellisense with nullable enum values?!

    One of nice new things in C# 2.0 is that, as in VB, variables of type enum automatically have there enum values displayed by Intellisense. This is great! However, when the enumeration is nullable, this isn't working anymore. Ok, I can understand that of course the value "null" is also correct in this case, but it should be nice still that the enum values are shown in the intellisense, maybe even with the option null. Is this by d ...Show All

  • Stelben Joining Pics

    Hi Im tryinf to make a little util that involes the ability to join two or more picutres together and then saves out the newly joined pictures as one, but i don't know how this is done can some one please help with an example. Thanks Drakx The CP article basically does what my code did - create a big enough bitmap and draw the other images onto it. What's going wrong with your code Can you ...Show All

  • KG rtf to image

    Hi, i need to transform the contents of a richtextbox (rtf) to an image. Any suggestions will be highly appreciated Thank you Hi, precisely, i need an image of a rtf text - wiht colors, different fonts, sizes, alignement ... it would be great if someone already did something like that because there's many issues to consider on this problem and my time is limited DrawToBitmap actually makes a copy of the screen imag ...Show All

  • AntoineF Visual C# Communities

    Does anyone know of active Visual C# communities, whether they be a forum, irc, or news group codeproject.com  la la la la la Also check out: http://channel9.msdn.com/ While not C# specific, there is some great content here. One other that has some occasionally good info is: http://forums.apress.com/ HTH. Hi, This forum is good enuff I must say ;-) Anyways che ...Show All

  • Satish D How to list a remote directory?

    Hi there, How can I list the files in a directory on a server (I'd prefer .NET 1.1) Thanks, Finch82. U have two options I think. 1. I think WMI will work you just need to set the ConnectionOptions in the ManagementScope object. But this may be slow depending on the query filtering involved. 2. Write a .net remoting or older dhcp service that runs on the password protected server and have it ru ...Show All

  • Dathan Nicholson ICollection Conversion.

    Hi,I can't speak English,If I speak wrong,please help me improve. Purpose:Print DataGridView,If has selected rows,Only print them,otherwise,print all. private void printDoc_PrintPage(object sender, PrintPageEventArgs e) { // Can't pass,generates complier error CS0173. ICollection rowCollection = dataGridView1.SelectedRows.Count > 0 dataGridView1.SelectedRows : dataGridView1.Rows; // Pass,Run normally. ...Show All

  • plavun Automatic logging in to websites via WebBrowser

    Let's say I want to automate some repetitive tasks done to various websites. Specficially, these tasks involve: Logging onto website with user id and password Filling out form with certain information Submit form for processing Parse web page output and capture relevant information User id's and passwords are stored in a file encrypted by a master key which I have to type in. My questions are: How do I use .NET 2.0 W ...Show All

  • JameyMcElveen Newbie File IO question

    Hi Everyone,    I'm new to C# (I'm a VB developer). I was told to move to the dark side - so here I am.  :-) I'm doing some file IO work that involves reading ftp log files. These things are continually being opened, written and closed. I've written a class that goes ahead and checks if a file, directory exists and returns the last modified date/time. What I would like to be able to do is determine if the file is currently open (o ...Show All

  • ddm how to know when form lost its focus

    Hi, Is there any way to know when Form lost its focus I have tried Deactivate event but it does not helped me. Thanks in advance Let me give little bit idea what I am doing. I have an application which shows user news. If user is already in news form then no notification is given. But if it is working on another form then user is notified using a popup. I have done this with the he ...Show All

  • Jyothi Srinivasan MSFT question about arrays

    I have 2 questions regarding array manipulation: 1) which is the best way to reset an array if i initially declare as: private byte[] array1 = new byte[0]; 2) how to insert elements into array at a specified index e.g: initial array = [1,2,3,4,5] new array = [1,2,7,8,3,4,5] Ragards, Donkaiser Looking at what you want, I think you would be better off if you use a List instead of an array. For type safety y ...Show All

394041424344454647484950515253545556

©2008 Software Development Network

powered by phorum