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

Software Development Network >> Visual C#

Visual C#

New Question

sql connection string
exception handling
Write to C# Immediate window in 2005
Multi-user limit
Need Some answers
Transform Word Doc in to xml?
How to make a form non-resizeable
VB.net verses C#. Which is used more. Which more popular
Selectable Label Text
Updating an app - possible without a second executable?

Top Answerers

bswick
adsolo
Steve_King
Honey Chris
Qadeer Ahmed
rodolfo allendes
bitsbird
Dzung NGUYEN
Ph0enix
Jaqq
4D Tech Tips
Only Title

Answer Questions

  • P J Walklate Database Connection String

    I am new to C# and VS2005 and am creating a large project which connects to SQL Server using numerous table adapters. I would like to be able to organize my code so that when I am building the project in Debug mode the table adapters use a given connection string. Then when I'm building in Release mode, the table adapters use a different connection string. I am looking for solution that only takes a few lines of code. I am ...Show All

  • Azazeal WIN32 API Problem

    Hello All I am trying to do some animation using WIN32. I have a form and I want first copy the form to bitmap in the memory,then hide the form and then show the bitmap that was in the memory on the same location as the form I have shown the code which basically does copy the forms image to bitmap in memory.However but it does Bitblts the image to the screen. I think this is a refresh problem or am I doing anything wrong IntPt ...Show All

  • WaveSlam Reading from App.Config c# 2.0 console application

    http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx The above link tells me to use the ConfigurationManager class to read appsetting elements from the app.config. When I do this VS2005 C# 2.0 console application the ConfigurationManager class is not reconised. Can someone please point out this simple command. Syntax used: using System; using System.Collections.Specialized; using ...Show All

  • Dishan Fernando Outlook 2000 crashes on exit with WDS installed

    I ran into 2 problems with WDS version 2.06.0000.2083. I have just installed WDS for the first time on XP SP2. I don't have MSN Search Toolbar installed. My Outlook setup doesn't use Exchange and just connects to my ISP to retrieve email. The problem I have is that Outlook crashes on exit. I can post memory dump if necessary. Additionally, if I let WDS finish indexing while Outlook is up, WDS doesn't ever find anything in the email message ...Show All

  • chpe simple question in windows hooks

    ok i`m confused on the following thing.. they say you cant make hooks other then mouse and keyboard hook.. in .NET Framework.. and only works ina native dll now if i create a library class in c# and the hook procedure goes there.. and i create a app that will use that managed dll.. will it work to hook other hooks then mouse and keyboard .. like CBT Hooks zapacila89 wrote: so can it be done in managed dll global hooks In g ...Show All

  • KevlarMpowered Update quey error

    Hi I am using a DetailsView in Edit Mode to update data in a database. When you click Update it gives the following error "Invalid cast from 'Int32' to 'DateTime" Stack Trace: [InvalidCastException: Invalid cast from 'Int32' to 'DateTime'.] System.Int32.System.IConvertible.ToDateTime(IFormatProvider provider) +159 System.Convert.ChangeType(Object value, TypeCode typeCode, IFormatProvider provider) +528 ...Show All

  • Sabi Running an ActiveX control on a form from DLL on a separate thread.

    I have an ActiveX control that only works when I place it on a form and implements Single Apartment threading. I need to use this control in a DLL for a Windows Service program. The control communicates with a device. When I need to send a command to the device, the control sends the command, and then raises an asynchronous event when the transaction is completed. I created a form in a DLL and added the ActiveX control. I created a thread and ...Show All

  • ahixon2112 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 I am not doing ...Show All

  • ggssu How well does C# compare with C++?

    Hello, I have a few questions about C# I was hoping someone might be able to answer for me. I am new to the world of programming, and I don't know if I should begin learning C# or C++. From a employment standpoint, C# seems to be a very good choice of language to learn. Where I work now, data driven web sites are becoming more in demand, as is work with SQL/databases. After I learned about C#, it seemed like the ideal language to learn since it ...Show All

  • nfedin How do i retrive out the SelectedItem value ?

    Hi guys i got an annoying problem ..i am developing on windows.form. and i got a listbox which has the following settings myListBox.DataSource = myDataTbl; myListBox.DisplayValue = "Name"; myListBox.ValueMember = "CarNumber"; How do i retrive out the displayValue give that my table has the following entries Wilson,FNN635 Jason,FGG 911  i want to extract Wilson and Jason ... Hi, To retrieve on what is being displayed you can do this: ...Show All

  • Glo System.Configuration.ConfigurationManager Not Found!

    I'm developing a basic application, and I'm saving the connection string in the app.conf. when I'm compiling i get this warning.... Warning 1 'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings' but when i try to use the System.Configuration.ConfigurationManager it is not found! so what can be ...Show All

  • Eugene Ostroukhov Excel Interop

    We have three machines with visual studio 2005 -- two Professional and one Team Edition for Developers. On the Team Edition machine, to use Excel interop we have the line: using Excel; In visual studio 2003 we had to use this syntax: using Microsoft.Office.Interop.Excel; On both of our machines with visual studio 2005 professional, the syntax that works in Team Edition doesn't work -- we have to use the vs 2003 syntax. However, ...Show All

  • TavodelaCruz My own textbox

    Hi all I want just for exercise my skill to do my own textbox but i dont know how will the text box take the text from the keyboard Any article , tutorial or anything else that should help Creating TextBox control is quite hard, one of the complicated controls. anyway, if you eant to catch keys using the IMessageFilter. Read this atricle for more details: http://www.codeproject.com/csharp/IMessageFilterArticle.asp ...Show All

  • http200 Dictionary of events?

    Is there a way to create a dictionary of event objects How This is what I have: public delegate void MyDelegate(); This is the type of thing I would like: private Dictionary<Object, event MyDelegate> listeners; Is something like that possible I know I could use a List<MyDelegate> instead of an event but I would rather use the event for obvious reasons. Thanks. But then it is just holding a single ...Show All

  • mdulfer Win32 Heaps keeps on Growing

    Hi Guys, We've written a Service Application for importing data into our system. It appears that we have a memory leak since the applications grows and grows and grows until it crashes ( OutOfMemoryException ). Using .NET Memory Profiler 2.6 I found that the Win32 heaps seems to be the culprit. Does any one have any Idea what could be causing this issue are there any COM objects or p/invoke's ...Show All

94959697989901234567891011

©2008 Software Development Network

powered by phorum