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

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

ramdee

Member List

octav
Bulky
Kasracer
Ogedei
KwanzaBot
Dirty.Harry
mannix
Robert98
Newsha
Ilyas Kazi
ThisObject
Ruyana
TSCR
ShimonSim
mak101
John.NET
Yves Liu
kentsoftwareromaniatim
mdvrdrmn
k.i.t.t.
Only Title

ramdee's Q&A profile

  • .NET Development Some thoughts about default parameter for C#

    I've been troubled by this problem since I started to use C#. I always try to write classes that are easy to use. When I try to write some methods that takes several parameters, I found it was really troublesome to write different overloads. I had to give up some overloads, because there are just too many combinations, when the parameter list is long. And I thought, why not default parameters Anders Hejlsberg explained in an interfiew that they didn't include default parameter because they think it was not necessary. They think it's just feature that make programmer a bit easier, but not some feature that make the language more powerful. Wel ...Show All

  • Windows Forms A simple combobox question

    In VB6 I used a combobox to allow users to choose the units (mm, inch etc) of the data they entered. The combobox only showed the units names at run time, and would use the constants (1, 25.4 etc) in the second column in any calculations. I'm now trying to rewrite the prog in VB.NET and cant find out how to add more than one coloum of data to a combobox. Does anyone know how to do this. below is the code i used in VB6 and VB.NET. VB6 Dim IPs As Integer 'this set the values for the parity combo Selectpay(0) = "Even" Selectpay(1) = "Odd" Selectpay(2) = "None" setpay(0) = "e" setpay(1) = &q ...Show All

  • Visual Studio Team System Require a Changeset comment on CheckIn

    I've poked around a bit, and cannot see where I would require that a Changeset Comment be required on Check In. I see that I am able to require Comments from the four roles (Code Reviewer, Security Reviewer, Performance Reviewer, and Developer). But, I like the fact that the Changeset comments are associated automatically and displayed in the Build report. Is this supported by default, and am I just missing something Or, will I need to write a custom Check In policy TIA, Chuck Hello Chuck, There is no default setting I know of in VS 2005 Team Systems that enforces a user to enter ...Show All

  • .NET Development 404 Not Found in HTTPWebRequest.GetResponse and HTTPListenerExceptions???Someone help please

    Hi, I am getting lots of 404 Not Found when i request for a URL through HTTPWebRequest.GetResponse() method. What possible reasons can be there and how to correct them. Dim Wresponse As HttpWebResponse = CType (Wrequest.GetResponse(), HttpWebResponse) Also I am getting the following HTTPListenerExceptions when I try to write data to the HTTPListenerResponse Object through a buffer. i). System.Net.HttpListenerException: An operation was attempted on a nonexistent network connection at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size) ii) System.Net.HttpListenerException: The specified network nam ...Show All

  • Visual Studio Team System "Check In - Work Items" window number hours spent

    I think the "Check In - Work Items" window should have a column for number of hours spent on the files being checked in. Otherwise the flow is disrupted by the developer having to go into team explorer, find the work item and change the appropriate field. Why is it that when you double-click on a work item in the "Check In - Work Item" window that all the editable fields are greyed out From the Pending Changes window (View > Other Windows > Pending Changes), double-clicking (or right-click Open) on a work item in the Work Items channel opens the work item in an editable VS document. When the Work Item channel is hosted in&n ...Show All

  • Visual Studio Help me to setup the color of a textbox, please !

      I tried to setup the color of a textbox22 in detail row, I did it like this: =iif(ReportItems!Textbox22.Value >-40, "Black" , "Red" ) because the value is a complicated formula, I don't want to calculate the value again here, but I got the following error Info: The Color expression for the textbox ‘textbox22’ refers to the report item ‘Textbox22’.  Report item expressions can only refer to other report items within the same grouping scope or a containing grouping scope.   What did I do wrong Please help ! Thanks in advance. Long Use the following expression ...Show All

  • .NET Development Bug HtmlInputRadioButton ???

    drop an HtmlInputRadioButton on a blank page. Set runat=server set checked=checked the following asp html  code is generated: < input id ="Radio1" type ="radio" checked ="checked" runat "server"/> browse the form. the following error occurs Parser Error Message: Cannot create an object of type 'System.Boolean' from its string representation 'checked' for the 'Checked' property. change the html to < input id ="Radio1" type ="radio" checked ="true" runat "server"/> the following XHTML validation error is genrated: Error 5 Validation (XHTML 1.0 Transitional): The v ...Show All

  • Visual C# Reading deom App.config in VS2005

    hi, can we use this method   "System.Configuration.ConfigurationSettings.AppSettings['Key'] " to retrieve the value of key value pair in VS 2005. Thanks in Advance. hi Jangu,       that technique was already obsolute in 2.0. you have to use like this: 'System.Configuration.ConfigurationManager.AppSettings["yourVal"]' of System.Configuration namespace. but, before this, you need to add that namespace manually to your project. HTH, myo zaw ...Show All

  • .NET Development Redistributing the .NET framework SDK

    Hi there - Is the .NET Framework SDK redistributable (all 350 some-odd megs of it) Or just the framework Thanks, - Chris Hello Chris, Just the Framework libraries are created in a redistributable and installable format. If you can further explain what you are trying to accomplish, we might be able to offer more guidance. I would recommend posting in the Visual Studio Setup Forum for setup/redist related questions, though. Hope that helps, Stephen Fisher ...Show All

  • Visual Basic Additional files (readme.txt) in deployment

    In Net 2003 there was a step in Deployment to indicate which additional (miscellaneous) project files were to be copied into the application path. Readme.txt files were shown as an example. How is this accomplished in Net 2005 These are observations after further testing in 2005 Express. Note, this refers to additional files, not basic files like .vb or database. Include additional file in the project. If file type is .txt, it will be included in deploy ... Solution Explorer file property "Build Action" has Primary control: If value is "Content" (default for .txt files) then ...Show All

  • Visual Studio 2008 (Pre-release) Force Image to native resolution?

    Is there a simple way to force an Image to be displayed without scaling That is one image pixel for every screen pixel. If you use the don't specify a Stretch and that is the behavior that you'll get. ...Show All

  • Visual Studio Team System VS2003 + Visual Source Safe upgrade question

    Hi, I'm in the process of looking at upgrading our development environment. We currently run Visual Studio .net 2003 Professional Edition and use Visual Source Safe for source control. What version of Visual Studio 2005 should i be looking at and what is happening with Visual Source Safe Is there a new version or is Team System the replacement All of our development is for web applications and web services if this affects the advice. Also we tightly use Visio and Project. Any help would be good, Thanks, Michael The direct replacement for your current environment would be Visual Studio 2005 Professional with Visual SourceSaf ...Show All

  • Visual Studio Express Editions Cannot activate express products

    Hi everyone, When I click on the "Register now" link in the Help->Activate Product... menu for both Visual Web Developer Express and Visual C# Express nothing happens.  IE is my only installed browser. Is there a link on the Express product web sites that would allow me to actiavte my 2 products   Or any idea on why clicking that link would not take me into my IE Thanks, Mike Hatfield When are these microsoft idiots going to fix this problem I looked at the reported bugs and all they say is they cannot duplicate the problem.  Tough luck for us. What a bunch of incompetant, useless ...Show All

  • Visual Basic Printing Logo from form

    I have a form I created with various fields. I have figured out how to get the information printing, but I can't get the logo to print. What do I need to do VB.net NEWBIE Here's what I have for code so far...... <code> Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'displays the print preveiw dialog box when the PRINT button is clicked PrintPreviewDialog1.ShowDialog()     End Sub Private Sub PrintDocument1_PrintPage( ByVal sender As System.Object, ByVal e As System.Dra ...Show All

  • Visual Basic End Process Tree -- Programmatically

    What is the best way to duplicate the "end process tree" function of the task manager Should I loop through the Process list received from using System.Diagnostics.Process.GetProcesses and just kill the processes that way, checking for parent IDs somehow... other info: I've been searching online for about half an hour, and I can't seem to find a quick and dirty way to duplicate the "end process tree" function in the task manager programmatically. I did see a good article on the Processes on one website: http://www.codeproject.com/csharp/ManageProcessShellAPI.asp ...Show All

©2008 Software Development Network