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

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

tht1guy

Member List

DieHardGuy
TTangoman
Larb
darkvader
anina
Premanshu
Jayson Go
Johan Hertz
hazz
numal.com
Hey all
homerun1
narsimanv
Petter Harnes
Fred_101
totte500
hyslopc
Cougar J
Paul Papadopoulos
levogiro
Only Title

tht1guy's Q&A profile

  • Visual Studio 2008 (Pre-release) intellisense issue

    the toArray and toList methods on sequences does not show up with intellisense var foo = new int [] {1, 2, 3, 4, 5}; foo.Where(x => x % 2 == 0). ToArray (); foo. ToList ();         We disabled that feature for the LINQ preview because it would tend to interfere too much with what you were typing (since we really don't have a good understanding of LINQ code). You can re-enable it by going to: Tools | Options | Text Editor | C# | IntelliSense | Show completion list after a character is typed. -- Cyrus (http://blogs.msdn.com/cyrusn) ...Show All

  • Visual Studio Team System Can the Perf counter "PhysicalDisk: % Disk Time" be greater than 100

    I had used PerfMon to collect "Physical Disk:%Disk Time" for my perf-run. "Physical Disk:%Disk Time" is the percentage of elapsed time that the selected disk drive was busy servicing a read or write request. Can this value be greater than 100. I see the following values in perfmon log ie (103.4638,175.2998,100.3468) etc. Thanks, JReddy Yes, strange but true. There's a knowledge base article at the following location that explains this (the article is a bit old, but apparently still applies): http://support.microsoft.com/default.aspx scid=kb;en-us;310067 ...Show All

  • Visual Studio Express Editions Making TextBox handle Numerica values?

    Hi everybody, I am trying to learn visual C++ and this is my first problem in building a Widows application: A textbox control can handle data of Text type only. For example, if I have a form with a TextBox named textBox1, and I have the following code under a button: int x; x = textBox1->text; I woul get the followin error when compiling: error C2440: '=' : cannot convert from 'System::String ^' to 'int' Now, how can I change the data type of a textbox so that it can take numbers Would appreciate any input. Thank you in advance, Hello maman ...Show All

  • .NET Development Weird IsDbNull issue with MSSQL/ADO.NET

    Hi, I have a problem selecting date-columns from a user defined function in MSSQL, in short: When I do a SELECT on a table, my datareader returns the correct date (IsDbNull returns false). When I wrap the above table in a userdefined function, my datareader returns NULL (IsDbNull returns true). When I wrap the above function in a view, my datareader returns the correct date again (IsDbNull returns false). The error occured after I upgraded to VS 2005 Beta 2 (.NET v. 2), everything works fine in VS 2003 (.NET v. 1.1). Has anyone else observed this   Hi again, Me bad ... after some more investigation, it seems that i was a lit ...Show All

  • .NET Development holland culture

    Hi , Can any one of you please specify the culture which should be used for Holland. I used nl-NL. With this if I want to add a minus figure to some number it gives the minus sign after the value. eg 200,00  10,00- Please note that this is not to minus 10 from 200 but to add "minus 10 " to 200. I think according to holland this "-" sign should come infront of 10. Can any one please specify why this is coming behind the 10... Thank in advance Bim Culture-based format strings are controlled from  Regional and Language Options in the Control Panel . For the Dutch culture, the minus sign is indeed a ...Show All

  • Windows Forms using nodes vb 2005 EXP

    I would like to use the tree view control to open: My .Computer.Audio.Play( "C:\....\.....wav" ) TextBox1.Text = My .Computer.FileSystem.ReadAllText( "C:\....\....txt" ) PictureBox1.Image = Image.FromFile( "C:\....\.....gif" ) I could use labels, etc. but I would like to use the tree view. When selecting a node I would like to open a .txt, .gif, and a .wav file in a windows form. Is this possible Thanks for any Help GrayWolf If e.Node.Text.StartsWith( "" ) Then PictureBox.Image = Image.FromFile() End If Something like this i ...Show All

  • Windows Forms Custom Combo box control

    Does .NET2.0 support a Combo box control with a provision to increase its height and aligning the text in vertical fashion I have used the ComboBoxRenderer class and a list box to simulate the behavior specified as in point.1. However, I have the following 2 issues: The list box is added to the parent of the Combo box control. It is shown when the arrow button is clicked. When the parent control’s height is smaller than the height required to display all the list box items without a scroll bar, then the list box is getting cropped in the bottom. Not able to place the cursor in the textbox control associated with the Combo ...Show All

  • Visual C# Making a folder virtual folder on button click in asp.net using C#

    Hi All Please tell me is there any way from which i can make a folder a virtual folder by clicking a button in asp.net using C# You can use the following code segment using System; using System.DirectoryServices; namespace VirtualDirectory {     public class IISManager     {         public static string VirDirSchemaName = "IIsWebVirtualDir";                 private string _serverName;         private DirectoryEntry _iisServer;         pu ...Show All

  • Windows Forms Data Replication???

    I wasn't sure where to post this but I figured I stud a better chance of getting an answer here than anywhere. I'm in the process of trying to build a website that will tie in with our point of sale system. The problem I'm trying to over come is that or P.O.S. uses Visual FoxPro DBF files for its backend. The P.O.S. also seems to&nb ...Show All

  • Windows Forms New Window

    i am making a browser in vb 2005 beta but sometimes when i click a link it opens in a new window in Internet Explorer now how can i have it so it opens in a new version of my own browser or a browser on a second form any help would be greatly apreciated. So what if you use the entire code on that site, does it then still not work on your particular computer ...Show All

  • Visual Studio Express Editions how to update the GUI from a different class

    well! i have written a class which has some functions is there a way to update my GUI form that Class. I am assuming you want to draw on the form from a class. I would pass a graphics object to the subroutine or function that is doing the drawing. ...Show All

  • Visual C++ need to create a .exe using vc++ without runtime files ?

    Hello All I need to create an application Suppose if I use VC++ do I need to include any big runtime files Say for example the Dot net runtime Suppose If I use Visual C++ Express Edition to create application do I need to include Runtime files like the Dot net runtime Thanks Steven Please take Visual studio express C++ as an example and let me know how to enable 1) native (not managed) code and 2) use the static CRT version. What options I must choose in the Visual studion express 2005 c++ Steven ...Show All

  • Smart Device Development loading controls and using load, activated and sub new()

    Hi, i'm developping an application for pocket PC using VS 2005 Beta2 and here is (are ) my problem(s ) I set up the first page as, let's say, "loading", once I launch the application, I want to first of all check if a login is set, if it is, show the login form ("login") and if not, load all the controls on my loading form, once they're all displayed, load the data from my database to finally show the welcome page ("welcome") now, here's my method (all of them are into the "loading" form): in the sub new() : check if the login is set, if it is, show "login" in dialog mode if not or if the login is correct, exit the sub new() in the sub l ...Show All

  • Windows Forms Getting raw visibility of a control not based on parent form visibility.

    Hi all I'm struggling with this one but hopefully its simple. I need to get the "raw" visibility of a control irrespective of whether the parent Form is visible or not. As far as I can tell, looking at the Visible property of a control will always return false if the parent Form isn't visible. Regards Jero That's how Window Manager does it; it checks the parent and child is visible (with WS_VISIBLE flag set). The same also applies to IsWindowVisible API function. If you want to get the "raw" visibility of a control, then I suggest you need to extract the styles of the control, and check ...Show All

  • Visual C++ STL for Managed C++

    Is anyone interested in porting stl for Managed C++. I know that Dinkumware is coming up with STL.NET but its meant for specifically VS.NET2005. But my application is already written in VC++ 7.0 and I am not ready to port it "again" to VS.NET 2005. pardgr8 wrote: Is anyone interested in developing stl for Managed C++. I know that Dinkumware is coming up with STL.NET but its meant for specifically VS.NET2005. But my application is already written in VC++ 7.0 and I am not ready to port it "again" to VS.NET 2005. With all the resources available to Microsoft and Dinkumware, STL.NET i ...Show All

©2008 Software Development Network