Software Development Network Logo
  • SQL Server
  • Visual Studio
  • Microsoft ISV
  • Visual C#
  • Game Technologies
  • Smart Devicet
  • Audio and Video
  • SharePoint Products
  • IE Development
  • VS Team System
  • Visual C++
  • Visual Basic
  • Windows Vista
  • Windows Forms
  • Visual FoxPro

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

flandercan

Member List

Beyond Blue
kfsoft
Bramanandan
NextXtreme
narend
Robert Gregory Garfinkle
arkiboys
ChiaraE
doc203
mojoshaneman
Arda Cetinkaya
gifuran
Jon Stelly
corblet
jerrykur
Jourdan
GR101
b0bd0gz
Richard G.H.Lin
managar
Only Title

flandercan's Q&A profile

  • Software Development for Windows Vista Showstopping Bug in WF Persistence?

    We have been struggling through an error for some time and as yet have found no resolution. We would like to persist a workflow that contains activities that have subactivities (like subtasks). The problem is that we get a SerializationException when the app tries to load the persisted workflow (on SqlWorkflowPersistenceService.LoadWorkflowsWithExpiredTimers). The specific message is "The object with ID XXX implements the IObjectReference interface for which all dependencies cannot be resolved. The likely cause is two instances of IObjectReference that have a mutual dependency on each other." If we take out the "subtask" concept, or take out persistence, our code works perfectly. Here is the code with the issue. //The Custom Acti ...Show All

  • Visual Studio Team System Load Test using Team Build

    We want to run a load test nightly and collect the metrics so that we can see if/how the performance of a web app under development changes over time. To that end we created a Team Build build type for a solution that contains nothing other than a test project that contains the load test. The load test was added to a test list for the solution, and the build type was configured to run the test list. When we build the build type the load test runs just fine (we can see the load on the web server), and the test completes with no errors. After the build completes successfully we view the build report, drill into the Results section, click on the test run, and then double-click on the completed test in the Test Results window. At this point we ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting started with DirectX and Visual C++ 2005

      Hi,   My setup environment is Windows 2000 SP4 and I'm using Visual Studio 2005.  I'm looking to set environment for using DirectX with Visual C++ 2005.   This morning, I tried but without success to install DirectX SDK using file downloaded from following link: http://www.microsoft.com/downloads/details.aspx FamilyId=C72D9F1E-53F3-4747-8490-6801D8E8B4EF&displaylang=en#Requirements   Even if I verified that, under system requirements, Windows 2000 was listed, after downloading, I received the following error while trying to run resulting "dxsdk_aug2006" file:                     &nb ...Show All

  • SQL Server snapshot agent error: "string or binary data would be truncated"

    I'm creating a publication with a complex filter joining many tables, for replication between SQL Server 2005 and SQL Mobile 2005. Is there a limit on the number of articles, or depth of joins, in the filter I have a working replication, but when I add another article joined to tables already in there, the snapshot agent status window gives me this error: String or binary data would be truncated. Cannot find the object 'MSmerge_ctsv_2C675AF5938E4EA1B7D0DCFF9ECAD9EB', because it does not exist or you do not have permission. sp_MS_marksystemobject: Invalid object name '[dbo].[MSmerge_upd_2C675AF5938E4EA1B7 The MSmerge_ctsv... system view being referred to DOES in fact exist. But I wonder if there's an internal varchar variable used to hold ...Show All

  • Visual Basic ieframe.dll not a valid .net assembly

    Hello All Since installing IE7 my deployment project includes the file ieframe.dll and when testing the install set on a IE6 machine and a IE7 machine I get the same error during install. Uanble to register the file ieframe.dll HRESULT -2147467263. The buttons available are Exit; Try Again; Continue. Click Continue and the install completes and the application works fine. For now I have excluded the file ieframe.dll as it appears to be an IE7 file and I already include shdocvw.dll. When I try to register ieframe.dll through the regasm.exe it returns the same error. File is not a valid .net assembly. Any ideas. Thanks. Naheem. If I recall correctly, MS suggests you do not include shdocvw in an installer as y ...Show All

  • Visual Studio Express Editions I have a textBox that is 4 pages long that I would like to print, but it only prints 1 page...

    I have a textBox that is 4 pages long that I would like to print, but it only prints 1 page...How do I get the print message to print more than one page of a textBox Private Sub pdPrint_PrintPage( ByVal sender As System.Object, _ ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles pdPrint.PrintPage cdColor.ShowDialog() fdFont.ShowDialog() txtDocument.Font = fdFont.Font e.Graphics.DrawString(txtDocument.Text, txtDocument.Font, New SolidBrush(cdColor.Color), 10, 10) End Sub With the Rich Text Box, you will have to do a similar thing (measuring, etc. ) but with a much finer scale. You will need to go through looking at the formatting of each word, or even ...Show All

  • Software Development for Windows Vista The road to IE Automation.

    When I was a junior tester, I thought software automation is very mysterious, and I always had lots of questions. How to automate Testcases from manual testing Now I have no wander about above question any more. I’d like to write what I had learned and known about automation testing and share to all of you.  How to automate Testcases from manual testing [Automate App via call the programming interface of app] Sample: Automate Microsoft Internet Explorer As you know, IE is a COM base application. [MSDN] Internet Explorer uses Microsoft ActiveX Controls and Active Document interfaces to connect components. The following diagram provides a high-level overview. IExplore.exe is at the top level; it is a small application that ...Show All

  • SQL Server Query on dataset

    I have a dataset filled with data. I want to get a particular (row,column) value from the dataset. How do I query on the dataset if the query is firstname, lastname where employeeid='1234' I think you can't directly use Select on a DataSet, but you can do it on a DataTable. So it should look like this : expression = "EmployeeId = '1234'" DataSet.Table[0].Select(expression) Then you'll get an array of DataRows. you can look at this article : http://msdn2.microsoft.com/en-us/library/det4aw50.aspx ...Show All

  • Visual Studio Express Editions Loading a CSV file INTO a DataGridView control

    This one is something interesting. See this original post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=240197&SiteID=1 I took this one up to try and learn something. But, now have become a bit obsessed with solving it. Ok, assume the following: Dim fromFile = "test.csv" Try Dim ConnectionString As String ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\log2\test\;Extended Properties=""Text;HDR=Yes;FMT=CSVDelimited""" Dim ExcelConnection As New System.Data.OleDb.OleDbConnection(ConnectionString) ExcelConnection.Open() Dim da As New System.Data.OleDb.OleDbDataAdapter( "Select * FROM " & fromFile, ExcelConnection) ...Show All

  • SQL Server Package error: Cannot create thread

    I have a child package that has been run successfully multiple times in the last month +. Each time with roughly the same amount of data, give or take a few thousand rows. Suddenly, this child package is now giving me the following errors from the log file: Error: 2006-11-17 12:04:19.98 Code: 0xC0047031 Source: DFLT Primary DTS.Pipeline Description: The Data Flow task failed to create a required thread and cannot begin running. The usually occurs when there is an out-of-memory state. End Error Error: 2006-11-17 12:04:20.03 Code: 0xC004700E Source: DFLT Primary DTS.Pipeline Description: The Data Flow task engine failed at startup because it cannot create one or more required threads. End Error I tried taking the ...Show All

  • SQL Server Programatically creating dataflow tasks require assembly reference

    Hi, I am creating dataflow tasj using following Imports Microsoft.SqlServer.Dts.Runtime Imports Microsoft.SqlServer.Dts.Pipeline Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper These refer to Microsoft.SqlServer.DTSPipelineWrap.dll and Microsoft.SQLServer.DTSRuntimeWrap.dll. While these assemblies were already there in my dev machine I don't find these files in production enviornment for SQL server 2005. I am refering these assemblies from following path in my local machine : C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies. How to install these assemblies in prod env, offcource one option is to copy it and then put it in GAC thru script . Why does not it gets installed while installation of SQL server 2005. ...Show All

  • .NET Development How to allocate a large size array on 64 bits machine

    hey, I am using 64 bits machine (windows XP) and VC++2005. I want to allocate a 60,000x60,000 two dimensional float array. But it falied, though the system allow me to allocate two 30,000x60,000 float arrays. Is there any way that I could allocate one array instead of two separate ones Thank you in advance!! Unfortunately arrays larger than 2GB in size are unsupported on the current framework. I've written a blog entry about this here: http://blogs.msdn.com/joshwil/archive/2005/08/10/450202.aspx -joshb ...Show All

  • SQL Server SQL Server 2005 Installation Failure on Vista - Hangs at IIS

    I just bought a new laptop with Vista pre-installed and was able to install Visual Studio 2005 Pro, but when attempting to install SQL Server 2005 it just hangs at the IIS detection step. I was using the administrative account. I was able to install the Developer Edition of SQL Server 2000, but I need 2005. Some posts mention IIS version issues and 32 vs 64 bit version issues. Can anyone ellaborate on what is happening and why What is the work around By default, IIS is not turned on in Vista. If you want to install the component Reporting Services (RS) in SQL Server 2005, you need to turn on IIS on Vista first. Please make sure you check IIS Backward Compatibility. Otherwise, you still ca ...Show All

  • Visual Studio Team System Date overflow rebuilding TfsWarehouse cube when moving servers

    I am moving my TFS databases from one server to another on the same domain, using the How to: Restore Team Foundation Server Data to a Different Server http://msdn2.microsoft.com/en-us/library/ms252516.aspx I have run SetupWarehouse.exe successfully, but when I try to process TfsWarehouse cube, I get the following error: Processing Dimension 'Date' failed. Processing Dimension Attribute 'Date' failed SQL Queries: 1 SELECT DISTINCT [Date].[__ID] AS [Date__ID0_0],[Date].[Date] AS [DateDate0_1],[Date].[UTCDateTime] AS [DateUTCDateTime0_2],[Date].[YearString] AS [DateYearString0_3],[Date].[Month] AS [DateMonth0_4],[Date].[MonthString] AS [DateMonthString0_5],[Date].[Month of Year] AS [DateMonth_x0020_of_x0020_Year0_6],[Date].[Week] AS [Date ...Show All

  • Visual Basic mouse position + mousehook

    hi all, I am trying to catch the mouse events all over the screen. I did a lot of researchs about that but unfortunatelly even the samples I found were in C and unfortunatelly I am using VB.NET 2005. by saying that I managed to find one sample which works fine just on the current application's form. but this is not what I want. I want to catch any mouse events that been made on the screen. And I also want to turn on or off this facility. For example if I click button1 it will start and if I click button2 it will stop. This following code is the one I managed to find. It is quite urgent and I am looking forward to see your helps. Thanks hi nobugz thank you ever so much. you are a lifesaver. thanks a lot. ...Show All

©2008 Software Development Network