Micael Baerens's Q&A profile
Windows Forms Datagrid Relations Dont Update Datasource
I am having a bit of a problem that is difficult to explain. I have a 2 datagrids set up like so: 'Parent Datagrid settings FormDataGrid1DataSource = DS FormDataGrid1.DataMember = "products" FormDataGrid1.AllowNavigation = False 'Child datagrid settings DS.Relations.Add("ProductStyle", DS.Tables!products.Columns!prodid, DS.Tables!prodstyle.Columns!prodid) DS.Relations.Item("ProductStyle").ChildKeyConstraint.DeleteRule = Rule.Cascade DS.Relations.Add("LinkStyle", DS.Tables!prodstyle.Columns!styleid, DS.Tables!styles.Columns!styleid, False) FormDataGrid2.AllowNavigation = False FormDataGrid2.DataSource = DS FormDataGrid2.SetDataBinding(D ...Show All
Visual Studio Team System Past VSTS Web Webcasts not availible for "On-Demand playback"
Hi! Why aren't all past VSTS Webcasts available in form of a recording I am especially interested in following Webcasts: Change Management With Visual Studio Team System Unit Testing, Code Coverage, and Policy with Visual Studio Team System Thanks, Ana This can happen for any number of reasons (recording quality, recording success, etc.), but I don't know why those two aren't available. I'll see what I can find out. However, you can catch the second one live on March 31st . ...Show All
Visual C++ Project Property Sheet User-defined macros evaluation order
I am using project property sheet to store common settings for all of our projects. Include and library paths are among these settings. One problem I encountered is not all of our project files are at the directory level. This makes hard-coded relative path in the property sheets unacceptable since the relative paths will map to different directories in different projects. Once solution I have come up with is to use user-defined macros. The idea is to use a macro called "root_dir" which specifies the "root" directory of the source tree. I can then define the paths in property sheets use "root_dir". Since only individual projects know where ...Show All
Windows Forms VSNET 2005 FINAL release can't open a form
Hello, The new version of VSNET2005 FINAL release can't opens a form file that use Infragistics controsl. The error shown is the following: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The designer loader did not provide a root component but has not indicated why. Hide at System.ComponentModel.Design.DesignSurface.get_View() at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.CreateWindowPane(DesignSurface surface) at Microsoft.VisualStudio.Design.Seria ...Show All
Visual Basic Select Questions??
Select tblRepairCodes.Name, tblWatchRepairXRef.RepairCost From tblWatchRepairXRef INNER JOIN tblWatchInstance ON tblWatchRepairXRef.Instance_Key = tblWatchInstance.Instance_Key INNER JOIN tblRepairCodes ON tblWatchRepairXRef.REPAIRCODE_KEY = tblRepairCodes.REPAIRCODE_KEY Where (tblWatchInstance.WatchID = '0010000269') I have this select query and it works fine but when i run in the Querey Analyzer i get all the repair associated with it....But in my client code i use my datareader to pull the info but it only shows ONE repair when in QAnalyzer it shows them all....any help with this issue would be great! While dr1.Read() ...Show All
Visual FoxPro New to Word integration using DDE
We currently are using word integration that involves a foxpro table where each field represents a mergeable item. The data from the foxpro table is pumped into an excel spread sheet and then into Word. I want to eliminate excel as well as get around the limit of being only able to have 255 merge fields. To this end I want to have one foxpro table that contains two fields , the first field will hold all the merge field names, and the second will hold the value to be used to substitued when a word document is pulled up containing the merge fields. Has anyone tried the record based approach rather or ...Show All
Smart Device Development vs2005 compiler is fatally flawed: generates bad code
In this very simple excerpted code, the compiler fails to do its job. If you want it recreated, I propose someone there try to recreate it. I've already got it happening here. It's as simple as it gets. From the type of failure, it looks like it's going to happen a lot. r12 is assigned the address of mc.decodePriority only if gDecodeMaxPriority >= 3, yet it, r12, is still used as the store address when it is not >= 3. r12 is pointing to nowhereland in the code below, when, for example, gDecodeMaxPriority is 0. if (mc.inWaveMode ! ...Show All
Visual C# file upload user control
well... i created a user control - <form id="Form1" encType="multipart/form-data" runat="server"> <table> <tr><td><input id="filename" type="file" name="filename" runat="server"></td> </tr> <tr><td><input id="uploadBtn" type="button" name="uploadBtn" runat="server"></td> </tr> </table> </form> it has a form tag ...so when im dragging it to my applicaion im getting the error- System.Web.HttpException: A page can have only one server-side Form tag so the question is -> is it po ...Show All
Visual Basic Object invoked has disconnected from its clients ERROR
Hi everyone.. Im working on a VB6 migration to .Net and Im getting a very strange error. Heres part of the code im executing and where the error is thrown.. I got a form where a message is shown in screen for the user to track what operations the main applications is running.. the routine is in my VB99_loadingScreen. VB99_LoadingScreen.DefInstance.Message("Reading Tag Configuration for Smart Devices") My form has the next routine where the message is shown. I use doevents to keep other part of code executing... Public Sub Message( ByVal sMessage As String ) If Visible Then lblMessage.Text = sMessage ...Show All
SQL Server SSIS Access from SQL Server Management Studio
I am trying to develop a package using SSIS to get rid of Informatica. But I am not able to connect to the SSIS from the SQL Server Management Studio. The error message is 'Connect to SSIS Service on machine XXXXX failed: Access denied'. I am using Windows authentication and I am in the DTSADMIN role. I have 'dbo' privileges in all the databases in the Server where the SSIS Service is running (Yes, I checked and the SSIS Service is running). The SSIS is installed in the same Server as my SQL Server 2005 Standard Edition is running. I can see that the same issue is posted by many people and no answer is posted againt it. It will be ...Show All
SQL Server DTC problem
I have a master package that executes a series of sub packages. The sub packages run in a series with OnSuccess precedence constraints between them. The master package is run from a SQL Agent job. When I run the master package without setting TransactionOption = Required at any level they all work fine. However when I set TransactionOption = Required at the master package level (and Supported from there downwards) the first package in the series of sub packages executes (as reported in the Event Log), but the next package does not seem to start . . . however the SQL Agent job keeps running indefinitely. If I disable the second package ...Show All
Visual FoxPro Converter error.
When I open an older 2.6 Dos report in vfp9, I am getting intermitent errors by the converter. Giving it a few tries usually ends up working. Here is the error log: Fatal Error in Converter: Error: Cyclic relation. Error Number: 44 Method: allothers Offending Code: ... File being processed: c:\devel\krcb\cpo1.frx I am getting the same error when I try to do this with VFP6. Anyone got this error Thanks. This usually indicates a logic Error.. It’s kind of the Sql Equivalent of an infinite loop. (Some thing like the following) Create sql ...Show All
Visual Studio 2008 (Pre-release) Is MediaElement/MediaPlayer support broken in December CTP?
I have tried playing around with the MediaElement in both Independent mode and using a MediaTimeline but could not properly control the running Video. I implemented Pause/Resume as well as Stop/Play to restart the Video but both failed to work properly. Both will stop the rendering frame at the instance of Stop/Pause but will never re-render new frames once Resume/Play is called. In both cases the Video sound restarts at the beginning and only starts to re-rendering frames after it hits the frame location I paused the Video. In the case of playing the Video to the end I get the MediaComplete event and it shows the last frame ...Show All
Visual Studio Team System Load test for pre defined Number of Iterations
Is it possible to configure a load test to perform a particular number of iterations ACT used to have this functionality but I can't seem to see it in the load test configuration wizard. While not a load test solution, I thought one could use the "Number of run iterations" setting under the "Web Test" portion of the .testrunconfig files to manage the number of times a test runs. I thought this was the intended mechanism for setting iteration counts. However, I've noticed a problem that arises when I use these webtests as elements of orderedtests that I'm not sure ...Show All
Software Development for Windows Vista WebService Host example for State Based Workflows...
Are there any examples of the best way (or even a good way) to host WWF as part of a custom Web Service - i.e. not using the auto-generated stuff. Hi Karthik, Again, thanks for the info. 2) In terms of cookies etc, it's not an addressing issue that I am discussing (unless I've missed your point somehow...). When you have a client calling into a state based workflow, you usually get a Workflow ID so that the client can identify to WWF, which instance of that State based W/F it's intending to send the next message to (is that the address you're referring to ). Anyway, this is usually done using ...Show All
