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

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

Bensmiff

Member List

Mike Martos
ZOS
KevinBB
jjm
Darren Straight
Christopher D
Just-A-Nerd
treble1999
psychokiller
Karthik.N.Rao
vitjan
lordfkiller
bernardus
tsennyuen
Mark Henneman
NZDev
Finny
aguess
Pagiel
Dien Ba Quang
Only Title

Bensmiff's Q&A profile

  • Visual C# Retrieve System Up Time Err:(input string was not in correct format)

    I have a windows service program that checks the system up time. It works for most users that use it but a small few are getting this error: Exception: Input string was not in a correct format. Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Int32.P ...Show All

  • Visual Basic Complex Numbers

    Is there a complex number type as part of VB.NET 2005 Makes me wonder, if not, why not No there is not an intrinsic complex number type http://www.vb-helper.com/howto_complex_number_class.html http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbtchUseClassStruct.asp are links on how to create your own complex type/structure to achieve this and a simple web search on &q ...Show All

  • Visual C++ run LIB command in Visual 3003.NET

    Hi, I downloaded a mathematical library -- it comes as a dll and a def file. The instructions tell me to: "In order to link to these .dll files from Visual C++, you need to create .lib "import libraries" for them, and can do so with the "lib" command that comes with VC++. In particular, run: lib /machine:i386 /def:libfftw3-3.def " Questions: - Where do I execute this command - I added "/machine ...Show All

  • Visual Studio Team System Adding a Note when changing the Build Quality.

    Hello All! Wondering if there's a way to add a note when changing the Build Quality in VSTS. Right now, I'm using VSTS RC1 with TFS BETA 3 and can't seem to add columns in the list of "Daily Builds" type we've created. Is creating and add-in the solution Is it even possible Is there a workaround If so, can anyone point me in the right direction. Many thanks! Sincerely Vince Unfortunately, there is no supp ...Show All

  • Visual C# Rounding off

    Hi, Can someone please show me how to round off a decimal For instance, I have a number 123,4567890 but I want it to be 123,45 So how do I do that Thanks Math.Round ( value , precision ) will round the value to appropriate precision using IEEE rules.  If  you want slightly more control then 2.0 introduced the MidpointRounding enumeration to have some control over the rounding. Michael Taylor - 1/6/06 ...Show All

  • Windows Forms How to change a data row color based on a field value in run time?

    Hi all, I have no idea how to do this, can you give me some idea Let's say one of the field is status of the data, if its value is "OK", then the row is displayed GREEN color in background of the whole row, otherwise it is RED color in background.   Thanks for anyone help. Is there a solution for this in the datagrid .net 2003   tnx Remco ...Show All

  • Windows Forms Making a window the background

    I have a main window that is maximised and I want it to be  the background, so that other open windows of the application remain in view even when the menu in the main window is used. There seems to be no BottomMost property for windows. If I set the TopMost property of the main window to false and set the same property of other windows to true, the main window will remain in the background. But Message Boxes and predefined Dialog Box ...Show All

  • .NET Development writing XML to a socket

    Can anyone tell me why code block 1 (below) writes an XMLDocument successfully to a network socket, whereas example 2 (which would be my preferred method of doing it) does not 1: Dim tcpClient As New System.Net.Sockets.TcpClient() tcpClient.Connect( "127.0.0.1" , 5000) Dim networkStream As NetworkStream = tcpClient.GetStream() Try If networkStream.CanWrite Then ...Show All

  • Visual C++ srand

    What is the difference between not using srand, using srand(1) and using srand(arbitrary value) as regards, producing repeatable sequences with rand It doesn't matter what you use. It is the same as using srand with 1 as documented in the MSDN. rand always produces the same sequence of random numbers when used with the same values of srand. So the same occurs if you not use srand or use srand(1) ...Show All

  • SQL Server Business Intelligence Projects - Visual Studio Net 2003

    Hi, i must create a new report for Reporting Services. In Visual Studio Net 2003 (new project) i don't find the folder "business intelligence projects".   Can you help me thanks ...Show All

  • SQL Server Pocket PC database connection

    Hi, I am developing an application for a Pocket PC (PPC). I am using Visual studio 2005, and the Operating system on this PPC is Window Mobile 2003 SE. The followings are my codes to connect PPC with the database on my PC with sql server 2005. But when I cick the button1, the error with "SQL Server does not exist or access denied." Any ideas Thanks a lot. Imports System.IO Imports System.Data Imports System.Data.S ...Show All

  • Visual Studio Team System Cannot Create Team Project

    I have just installed team server and all its pre-reqs, single server install.  I have installed this on a Virtual Machine.  After all this, I installed VS 2005 on the machine and tried to create a Team project.  The error I am getting is "Unable to connect to server" When I try to connect to http://servername:8080/default.aspx i get the following error: Server Application Unavailable The web application you are attempting to acc ...Show All

  • Windows Forms Install Error : The parameter is incorrect. (taskvisionsource_1.1.0.0.msi)

    When installing taskvisionsource_1.1.0.0.msi, I'm getting this errormessage: "The parameter is incorrect". The installer then rolls back. MACHINE CONFIG: * Windows Server 2003 Standard RC2    Application Server mode : IIS 6.0, ASP.NET and FPSE working fine. * SQL  ...Show All

  • Windows Forms DGVComboBoxColumn gives ThreadStateException

    I'm having a problem when selecting cells in a DataGridViewComboBoxColumn.  Each time a cell is selected I see the following error: "DataGridView Default Error Dialog: System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made.  Ensure that you Main function has STAThreadAttribute marked on it. ..." Firstly, I don't use any Main() methods in my application.  ...Show All

  • Visual Studio Express Editions Visual Web Developer 2005 Express Edition - ASP 1.1 or ASP 2.0

    If I use Visual Web Developer 2005 Express Edition can I develop in ASP 1.1 Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabindex=1&tabid=39 David was right, VWD will only allow you to do development of ASP.NET 2.0 applications.  Sorry. HTH, PEte ...Show All

©2008 Software Development Network

powered by phorum