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

Software Development Network >> Dan Ludwig's Q&A profile

Dan Ludwig

Member List

Ti L H
JanakaF
Hao Liu - MSFT
rutu
Suma Sushilendra
Stoke
Denis Mathews
Davidarh
Jesse Hersch
ccc3
lordfkiller
TjMulder
AEC-JD
RobBattaglia
Namita Parab
aguyngueran
endersshadow
koko_han
shikwai
Aigarslv
Only Title

Dan Ludwig's Q&A profile

  • Smart Device Development Acknowledgement for MSMQ message

    I want to receive a acknowledgement message when the MSMQ message arrives. The message is sent from a Windows 2003 server to a Pocket PC. I have set the AdministrationQueue for the message and the AcknowledgeType to PositiveArrival but no ack is sent back ... I am looking in the admin queue but there is no message there. The setup: A LAN with the Pocket PC using Wi-Fi. MSMQ is is workgroup mode on Windows Server. I am using FormatName:DIRECT=OS for referencing the queues. ...Show All

  • Visual Studio How to get full path from relative path

    I am relatively new to MSBuild, specifically Team Build and I am trying to Exec an application located in the $(SolutionRoot) tree. The problem I am having is that the $(SolutionRoot) has a \.. at the end of it so my Command is something like c:\test\..\app\app.exe, which is unable to find the exe. Is there any way to strip off the \.. from the $(SolutionRoot) Thanks. Thanks for the response. I investigated this further and it was not the relative path that was the problem, but instead the way TeamBuild moves files around. I corrected the path and all is working well. Thanks again. ...Show All

  • Windows Forms Tool Tip question

    Hy Does anyone know how to set a ToolTip to a ListBox item I don't know how to do this using standard ListBox features. But I do know that you can create your own ToolTip and display it using the Show method on a location that you provide (are you using VS 2005 ). If you would use the ListView instead of the ListBox, you could override the OnMouseMove method and use the GetItemAt method to find the underlying item and show a tooltip on that item's position. ...Show All

  • Visual C++ Floating Point Addition Problem

    I have a sticky and weird problem. I have two C++ programs running under Visual Studio 2003. One program works correctly, the other has problems adding two double values. Take the following 3 simple test lines. double dTest1 = 0.00061234567890; double dTest2 = 3359.01234567890; double dTest3 = dTest1 + dTest2; Program that works, dTest3 = 3359.0129580245789 Program that doesn't work, dTest3 = 3359.0129394531250 Notes: 1 - The program that doesn't work may have come from the 16 bit world. 2 - I have checked the compiler and linker options between the 2 solutions and there isn't anything that is obviously different. 3 - I have turned ON the di ...Show All

  • Software Development for Windows Vista Issue Moving Lab 04 (Beta 2) to VB

    In order to try and have a workflow example running in VB (I tried the code examples that I got from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=139052&SiteID=1 and they don't seem to build properly - could they be for ver.1.2 ) I've taken my favorite example, (StateMachine, 04) and I've tried to move it to VB. The actual code in the OrderWorkflows project was easy enough but the code in form1 from the OrderApplication project was somewhat more challenging. The good news is that I think I'm almost there. The bad news is that I've hit a rather large snag with the StateMachineTrackingService.RegisterInstance method in the Sta ...Show All

  • Software Development for Windows Vista Power icon problem

    Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. Do you know what can i do to fix this problem Because of this problem, i never know when the battery is low. Thanks for your help!! If your machine is battery-enab ...Show All

  • Visual Basic Listview control.....removes selected item(s)

    Listview control.....removes selected item(s) How to remove a selected items or checked items from a listview control in VB.NET Listview1.Items.Remove(lstapplications.SelectedItems(i)) I thought I can do the same as in listbox but did not work.   ReneeC wrote:   The following works when multiselect is not set: lv1.SelectedItems(0).Remove() but not when there is a for loop it gives an error For i = 0 To lv1.items.count - 1 Step 1 'lv1.CheckedItems(i).Remove() lv1.SelectedItems(i).Remove() MessageBox.Show(" ...Show All

  • Visual Studio Express Editions How to retrieve month name in VB2005?

    I'm trying to use this code but it generates an error: Dim thisDate1 As Date Dim thisMonth1 As String thisDate1 = DateString thisMonth1 = month(thisDate1) It generates an Error: value of type 'date' cannot be converted to 'integer' I use similar code retreive current year and it works: Dim thisDate As Date Dim thisYear As Integer thisDate = DateString thisYear = Year(thisDate) I want to retrieve current month name and assign it to string variable. How can I do that Using a Custom DateTime Format Strings try: thisMonth1 = thisDate1.ToString ...Show All

  • Windows Forms How can I add changes to a already deployed project

    I recently built a setup project in VS.  I deployed the project to my production web server. Later, I made some changes to a few aspx.vb pages. My question is: How do I add those changes to the production web site  WITHOUT  building another setup project and re-deploying the entire web site. ...Show All

  • SQL Server Script Task errors

    I have a custom .dll that I put in MS.Net framework  2.0 + Gac for my development environment to create packages. I have a script task that references this dll and the precompile option is set to "False". When I change the precompile option to "True" and remove the dll from .net framework 2.0, I get errors.  My question is why doesn't dtexecui.exe utility check GAC since I have set my precompile property for script tasks from false to true Is it possible that the script task is not getting refereshed in the package I checked the .dtsx in notepad and found the binary listed right below the actual script. Any help would be appr ...Show All

  • .NET Development How to compare input value with database value

    hey guys, I have trouble with comparing the two values. One value is from the user, then once the user click the calculate button, it will take the input value compare with the value in the database and then select only that row of the data base. Below is my code: Imports System.Data Imports System.Data.OleDb Imports System.Data.OleDb.OleDbPermission Imports System.Data.OleDb.OleDbConnection Imports System.Data.OleDb.OleDbDataAdapter     Public Class Form1       Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load   ...Show All

  • Visual Studio Team System Can you please add so that linked workitems state is shown.

    When you open a Workitem and selects the tab "Links" you see a list of all linked workitems. This view is realy great when you look at a scenario and see all the bugs and tasks linked to it. If you also added so that it was possible to see "State" column of all these workitems it would even greater. If the state was shown it would be an easy way to see "total" state of the scenario. Right now I am doing the finaly testing of a scenarion that have several bugs and tasks linked to it. Before I can close the scenarion I have to make sure all the bugs and task are also closed and if I saw the "State" from this list if would help me alo ...Show All

  • SQL Server reading material to use SSIS accessing Oracle

    Hi, folks : I am now working on a project to use SSIS to integrate all other systems from different platforms into one. One of our system is in Oracle 9i. What is the best practice to ETL data from Oracle to Sql Server 2005 using SSIS. Do we create a package to do it Any book, manual, scripts I should read. pointers, hints are very much appreciated.  Thanks again. Whether your sourceing from Oracle or any other data source the fundamentals of SSIS are pretty similiar.  The only gotcha's i've seen with oracle so far is its inability to always determine the proper code page, and the inability to use parameters with the nati ...Show All

  • .NET Development SessionState 2.0 Problem connecting to SQL Server

    We are attempting to upgrade from 1.1 to 2.0. We are running SQL Server 2003, and it has SessionState 1.1 installed successfully. We installed 2.0 on the same server, but under a different database name. The userid and password that is used to connect to 1.1 was given dbowner permissions on the new database. When we attempt to use the application, we get the following error: Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL server. Please install ASP.NET Session State SQL Server version 2.0 or above. I know it's installed. I just don't know how to determine why .net doesn't think it's installed. ...Show All

  • .NET Development HttpWebRequest. "Keep-Alive" header disappears after a while :(

    Hi everyone! I have searched for solving this problem, but haven't yet found the solution for this problem. Hope i'll find them in this forum. So, I have timer and every minute i send a request to the server. First time header "Keep-Alive" displays correctly in the request (i use http sniffer to analyse requests), but in next time it disappears. There is the code of the problem point: Dim oReq2 As HttpWebRequest = HttpWebRequest.Create(" http://server.com/ping.html " ) oReq2.Method = "GET" oReq2.Accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-sh ...Show All

©2008 Software Development Network