bgreen

Members
  • Content count

    105
  • Joined

  • Last visited

Community Reputation

162 Neutral

About bgreen

  • Rank
    Member
  1. CLR anyone?

    He's probably talking about C++/CLI. Have a look here to start with: http://msdn.microsoft.com/msdnmag/issues/06/00/PureC/default.aspx
  2. I think you'd be far better off spending some time on the deployment of your app.
  3. MS Visual Studio 2005 Express Addins

    How big is your project/solution? I've never really had a problem with it, and I've had a number of large-ish projects on the go as well...
  4. A BinaryReader is probably more suited to binary files. You're reading in a text file. Look at using System.Convert.ToInt32(), and other functions in System.Convert, to convert from a string that you read in (which contains the number) to an int datatype. See here, here and here.
  5. [.net] DLL placement

    Anywhere you want. To add a reference to it, you can browse to the file and select it (from the Add Reference dialog box, select the .NET tab, and then click Browse).
  6. Apparently, never. See: http://blogs.msdn.com/tmiller/archive/2006/03/20/556105.aspx.
  7. Don't forget SQL Server Express: http://msdn.microsoft.com/sql/express/default.aspx
  8. There is nothing wrong with Windows Server 2003, as long as you know what you're doing.
  9. Sample VB code to calculate the timespan between two dates, in various measures: ' Your start and end times get read from the db. Dim st As DateTime = DateTime.Now Dim et As DateTime = DateTime.Now.AddHours(2).AddMinutes(45) ' Get the timespan between the dates Dim ts As TimeSpan = et.Subtract(st) Console.WriteLine("Start Time: {0}", st.ToLongTimeString) Console.WriteLine("End Time : {0}", et.ToLongTimeString) ' Convert the timespan to different measures Console.WriteLine("Duration: {0} ms", ts.TotalMilliseconds) Console.WriteLine("Duration: {0} s", ts.TotalSeconds) Console.WriteLine("Duration: {0} m", ts.TotalMinutes) Console.WriteLine("Duration: {0} hours", ts.TotalHours) This is what you want, yes?
  10. Shouldn't you be using the TimeSpan class for this?
  11. Is this free version crippled in any way? Or is it really, truly free?
  12. Sounds like you need to change the product code of the MSI.
  13. Did you specify the UpdateCommand on your data adapter (or alternatively used the Command Builder)?
  14. So, is it a Windows SERVICE application, or an ASP.NET application then? Windows Forms dialog boxes have no meaning in web applications. In ASP.NET applications, the pages ultimately output HTML. So, how could a Windows Forms Dialog be represented as HTML? Are you maybe hosting .NET applications in IE instead?