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

Software Development Network >> CSharpCoder's Q&A profile

CSharpCoder

Member List

Vicki
Burton G. Wilkins
BobJski
Alemus
paulbihs
Usai
SteveHello1234
PatriotB
Henry Chen
KTI
dariakus
Xiao Feng
pentash
J. Matt Hills
John Birch
Brett Stowe
Brice FROMENTIN
Ubuntulover
Kamka
redhatws
Only Title

CSharpCoder's Q&A profile

  • SQL Server Database Mirroring vs SQL Server FailOver (Performance)

    Hi there. I’m running some tests in a database with Mirroring and without Mirroring. As expected there is a performance hit using Database mirroring. The tests i’m running are just simple functions inserting and updating the database, and then counting the number of sucedeed inserts and updates in a time interval. My question here is: What if i use Sql Server failover mechanism I know that failover time will increase and management ...Show All

  • Visual C++ IntelliSense works intermittently

      I understand that c++ intellisense is poor than c#, but sometimes it simply doesn’t work. The scenario is quite simple:   Edit a line and type a class object and then the -> operator. Successfully intellisense open the drop-down box and show all available members. Now go to the next line and type de same class object and intellisense is not capable to find any thing. Or at reverse situation. In first line intellisense doe ...Show All

  • Visual Studio Express Editions capture Control-Enter keystroke

    In one of my programs I use e.KeyCode = Keys.Enter to tell when the Enter key is pressed while the focus is on a textbox.  I want to be able to capture when ControlEnter is pressed.  In the IntelliSense picker there is an option for CTRL modifier, but nothing for CtrlEnter.  So how do I combine the two to capture a ControlEnter keystroke   I tried e.KeyCode = Keys.Control + Keys.Enter but that doesn't work.  Thanks. ...Show All

  • Windows Forms adding item to combo box

    hi, i am binding data to my combo box. but i also want to add new item at index 0 tiltled "select the category". so i tried combobox.Items.Add("select the category"). it's giving me error. doc says combobox.Items.Add(object item) but i am not sure of what type of object this item should be. any help will be appreciated. I found the easiest thing to do what your doing is to return that value with your dataset.  For example: select&nb ...Show All

  • Smart Device Development Using "Remote Display Control" under Windows Mobile 2003 Second Edition

    Dear all, is the use of the "Remote Display Control" (which is part of the Microsoft Mobile PowerToys for Windows CE) still supported / recommended under Windows Mobile 2003 Second Edition Thank you. Dietrich Schaeffler You will get a message during the installation mentioning that the application was not designed for this version of the OS.  However, all the features will function correctly.  You can ...Show All

  • Windows Forms Creating an bitmap from designer host surface.

    Hello, I'm having a trouble saving a bitmap with a "preview" from all components placed in the host designer (later, this image will be shown in a button, to open the design and to continue the design). I'm using DrawToBitmap to do this, but this method works in reverse order with the control to draw is a container controls. I have attempted place in reverse order all components in the container, but this are sorted automatically. See ...Show All

  • Visual Studio Team System Team Project Creation Failed (Error Log attached..)

    Hi there, While creating a Team Project, I am getting the following error: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Client found response content type of 'text/html', but expected 'text/xml'. Can anyone help on this Just to mention: I have already tested my setup with the required permission for SharePoint and SQL Reporting. And It is working as expected. Would appreciate your help. Thanks. Regards, Keyur. 05/12/20 ...Show All

  • Visual Basic the binding handle is invalid

    I recently installed the free VB2005 Express. However, no matter what i do in VB, it refuses to run because "the binding handle is invalid" Help! Hi, This is the post on the debugger forum about this issue, with some work-arounds http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=65188&SiteID=1 . Links to work-arounds: - http://lab.msdn.microsoft.com/productfeedback/ViewWorkaround.aspx FeedbackID=FDBK3 ...Show All

  • .NET Development inserting attributes into an eleement

    Hi I am trying to alter an xmltv file. I want to add an attribute to elements in an XmlNodeList and write the file back out again. The value for the attribute i want to add is the "start" attribute. An xmltv file looks like <tv> <programme start="789789778786 UTC" stop="98890890787 UTC"> ...... </programme> </tv> I want to add an attribut to the programme element e.g <tv> < ...Show All

  • Visual C# please microsoft or anyone tell me why !!!????

    when i debug this code Process p=process.getAllprocessbyName(processName, Remote MachineName); p.Kill(); i have this exeption this feature is not supported in remote machine what i want to say is why microsoft make this function and told us that we can use it for remote machinr in msdn help i found: C# public static Process [] GetProcessesByName ( string processName , string machineName ) Param ...Show All

  • SQL Server AdventureWorks db for 101 Samples

    I'm not sure if this should be asked here.  If it's the wrong place, let me know and I'll correct. I've just downloaded 101 Samples for Visual Studio 2005 .  But the data access samples require AdventureWorks database which is not included in the C# sample.  Who know where I can get this database   It is a SQL 2005 database, I think. Thanks! gaile- Thanks for your quick response. Specifically, from CreatingMaster ...Show All

  • Windows Forms passing variables between forms again :)

    I have read about five different threads about passing variables between forms and none of them have made much sense to me or helped me. I know i am very new and green but can't seem to figure it out. So one more time could some one help me in simple terms. Show me how to be able to access data from one form to the next. I am wanting to for example access a string that i have assigned in form1 and use it in form 2. Don't know how to do it. I am ...Show All

  • Visual Basic Making a picturebox have a transparent background

    I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All

  • Windows Forms string and object comparisons in C#

    I've noticed a number of ways to compare strings, objects, etc == String.Equals(a, b) Object.Equals(a, b) a.Equals(b) String.Compare(a, b) Which is best in terms of performance   And which is safest in terms of comparing string values as opposed to references ...Show All

  • Visual Studio 2008 (Pre-release) Programmatically Creating a Binding to XML and a DataTemplate

    Hello, If you have a DataTemplate thus, <DataTemplate x:Key="DT"> <TextBlock /> </DataTemplate> and an XML document; for instance, <People> <Person> <Name>Bob</Name> </Person> </People> How can you create a Binding between the XML and DataTemplate in C# XmlDocument xml = // ... as above ... Binding b = new Binding(); b.Source = ; b.XPath = ; DataTemplate dt = ...Show All

©2008 Software Development Network

powered by phorum