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

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

bday55

Member List

Jeremy Herbison
Dan S
Kevin Pulford
Ivan M
Tom Couvret
rioja
Jose_Marcenaro
fdirosa
Fizban
Emrys Mydhrin
garyl
MattMorg
Carlos Mendonca
Cristian Adam
Manuel5
Kris M.
Golf4Fun
TomPepe
SQL2K5
LegacyOfHerot
Only Title

bday55's Q&A profile

  • .NET Development TCP Sockets checking aliveness

    Hi, I have an app where it is critical that any connection interruption between the server and the client is immediately noticed. Right now I'm using a "ping packet" that I send to the server and the server sends it back. If it's not returned within time x and the server hasn't received a new one within time x the client assumes it's disconnected or the server disconnects the client. However, since I'm sometimes sending large objects over the socket which can take a couple seconds to transmit I can't send a ping packet every 3 seconds or so as it then would time out since the socket might be blocked while sending a larger object. H ...Show All

  • Visual C# GetRows Method works in VB but not in C#

    Can someone look at my code below and tell me what I'm doing wrong I converted VBScript to C# for ASP to ASP.NET migration. (I wasn't able to successfully convert legacy ADO to ADO.NET, so sticking with this) I'm getting an error at this line: cartValues = RS.GetRows(-1, null, null); Error Message: Exception Details: System.Runtime.InteropServices.COMException: Application uses a value of the wrong type for the current operation. C# Code: ADODB.ConnectionClass con; object[] arrVals; string sqlStr; ADODB.Recordset RS; object cartValues; int i = 0; con = new ADODB.ConnectionClass(); con.Open("Provider=SQLOLEDB;Data Sourc ...Show All

  • Software Development for Windows Vista WorkflowTrace.log being generated in Beta2

    Hey WWF team, My workflow code is writing trace messages using System.Diagnostics.Trace.WriteLine(), which I view normally in DebugView. As of Beta2, I find that in my bin directory there is being generated a file called "WorkflowTrace.log" that contains 95% of these lines, and it sure ain't my code that is creating that file. Is this expected How can I turn this off Riley Hi Arjun, I wish the final fix will avoid creating file in BIN folder. -- We had a webservice timeout issue recently on .NET 1.1 -- regardless how big we put timeout in the machine.config, it always timeout in 90 sec. ...Show All

  • Visual C++ C1083: Cannot open include file: 'resource.h'

    Project converted from VS.NET 2k3 to VS2k5.  Receive the following error in several projects (6/21) that build fine in VS2k3.  The include file exists, is part of the project (auto generated by VS2k3).  Anyone see this   Thanks. Harrier Many of the #includes were unnecessary so I cleaned those up.  Joys of being on a large team. Did a complete CLEAN of the project and deleted all temporary and tool generated files.  Then did a Rebuild. This seemed to fix the issue. ...Show All

  • Visual Studio Team System TFS Beta 3 Install Error 32000 w/ Report Server

    Have repeatedly worked through many of the other issues posted here on this forum associated with installing Beta 3.  It looked like it was finally going to complete the installation when it hit one final snag.  Error 32000.  The Commandline "C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools\creatds.exe /setup /install http://EDISVRDEV/ReportServer/ReportService.asmx TfsReportsDS "Data Source=EDISVRDEV;initial catalog=TFS Warehouse" "HTS\TFSREPORTS" "a long long string of characters here" returned non-zero value: 6. I checked permissions on the TFS Warehouse database and everything appears to be fine ...Show All

  • Visual Studio Team System Howto: exclude .Net Framework 2.0 from VS 2005 Team Foundation Server Beta 2

    Hi, I'm trying to install VS 2005 Team Foundation Server Beta 2 on a clean virtual machine (VM) but, an error message advises that an existing .NET Framework 2.0 and an Active Directory is located and therefore is unable to complete the installation process. This maybe a result of an application incompatibility, I dont know but here's what i have installed: Operating Windows 2003 Server ASP.NET has been enabled Installed VSS 2005 ( includes .NET Framework 2.0 ) Installed Windows Server 2003 SP 1 Installed SQL Server 2005 ( includes .NET Framework 2.0 ) Installed Windows Sharepoint 2.0 Services Excluded SQL Serve ...Show All

  • SQL Server How to read the names of package variables in custom task

    Hi there, I found a lot posts about package variables. But nothing about how getting access to the names of the package variables programatically. Why - Well I want to create a list of variable names from which the user can choose one of in a UI of a custom task. That's all... :) I thought of using the variable dispenser in the Initialize method of the task and then storing the variable names into a property which can be read by the UI through the taskhost. But it seems that you have to know all your variables by name if you want to use then in a task. Any idea Fridtjof In your IDtsTaskUI. Initialize m ...Show All

  • Microsoft ISV Community Center Forums MultiPage problem!

    I have a UserForm1 in which I have placed a Multipage with 13 pages. In each page I have a spreadsheet. The problem I'm having is when I enter a number in any cell, when the I close the UserForm and reopen it the numbers have not been saved. I've tried using a CommandButton to save activeworkbook, bit with no joy. Can anyone help. ...Show All

  • Visual Basic CDO AddAttachment sending .DAT file instead of File

    I'm adding the ability for a user to submit an email form, adding a file attachment. So, I've created the upload feature and it works. I've tested the send email functionality and it works also when I hard code the path to the file on the server as Code: ObjSendMail.AddAttachment "E:\vhosts\dev.sheridan.edu\asp\upload_tmp\test.pdf " But, for some reason, when I write the variable in that place, a .DAT file gets emailed to me instead: Code: ObjSendMail.AddAttachment response.write(session ("fileAttach")) I think it has to do with the quotes around the path... when I put the response.write there are no quotes. So, how do I ...Show All

  • Visual Studio Team System Workspaces are broken

    I created a team project, created a distributed app in that project and checked it in. I then created another team project, created a native C++ app in that project and checked it in. Doing the above broke Team Build since both projects were associated with a single source control workspace.  So I created a second workspace for the second project, and created a mapping in that workspace between the source control branch and working folder for that project. Team build is now happy, but the project itself is broken.  Opening the source control explorer for the second project shows no mapping for any of the files, nor can I find any ...Show All

  • SQL Server 2000 Client Connectivity .msi?

    Does anyone know if there's a msi or msp package around anywhere for just SQL client connectivity to SQL 2000 Preferably SP3a or 4 Thanks, MB What kind of client do you want Generally, MDAC ships with OS and it can be used to connect sql server, including sqlserver 2000 (sp3, sp4), sqlserver 2005. ...Show All

  • Visual Basic A Pause with a Loop

    Okay...what I want to do seems simple but I've been at it off 'n on for a few days with this & finally decided to post my question. I have a Label I want to flash on & off a few times much like a warning sign. You would think something as easy as: For i as Integer = 0 to 20 Label1.Visible = True Thread.Sleep(500) Label1.Visible = False Next would do it. But it doesn't. I tried throwing a timer in there somewhere but I'm not placing it right. I can get it to run one time (on then off) but that's it. Any suggestions I know this is pretty easy but sometimes easy things can help more then 1 person ...Show All

  • .NET Development DAO To ADO.Net

    Hello All, I have an old VB6 app which is still using DAO for data access. I am doing a complete rewrite of this app to VB.Net. I know I should have converted to ADO a long time ago. Are there any good informational sources out there that assist in converting DAO code to ADO.Net or at least to ADO, then I can convert the ADO to ADO.Net. Any help you can offer would be appreciated. Thanks In Advance, V. Shane Curtis ...Show All

  • Visual Studio Express Editions creating dll's

    hey i am designing a program and i was wondering if it is possible to create a dll in Visual Basic Express Edition well, maybe I should rephrase that. I'm designing a program where when you click a button it opens a text editor(already have that made). Someone told me that to reference the program in the code you need to create a dll(is this true ) Shak, Normally there is a path variable which includes that directory. When I open a command window, and enter: c:\>path it will display the path information for the system: C:\>path PATH=e:\Program Files\DirectX 9.0 SDK (October 2005)\Ut ...Show All

  • Visual Basic Generics, Inheritance and Directcast

    Hello, why can't i cast a generic instance to another variable in which the type paramters in the of clause inherit from the type parameters in the source variable I think there is an inheritance relationship Markus Example: Public MustInherit Class clsBase     Public Overridable ReadOnly Property Name() As String       Get         Return "This is Base."       End Get     End Property End Class Public Class clsClass1     Inherits clsBase     Public Overrides ReadOnly Property Name() As String &n ...Show All

©2008 Software Development Network