Alastair Bell's Q&A profile
.NET Development The same table <choice> cannot be the child table in two nested relations
I have a xml file generated by third party. I need to display the content on datagrid to let user modify and write back to the xml file. Usually I create a dataset and read the xml into it. But this xml file is different from those i have worked on before which it gives me such error message as in the subject. What should I do I ended up not using this method at all. Instead, I created ...Show All
Visual C++ std::map<,>, xtree and find
I am working on an unmannaged C++ application in Visual Studio 2003. The application is using STL map class. std::map<ApxString, CGPO> GPOs; GPODataFactory.GetGPOs( pContext, GPOs); std::map<ApxString, CGPO>::iterator GPODataIter = GPOs.find( GPOGroupKey) GPOGroupKey is of type ApxString of course and it was initialized to "T" earlier in the program. When I go through the debbuger in the GetGPOs function a ...Show All
SQL Server Dynamically edit DataSet
Hi, I have a web application, where the user specifies the criteria for filtering data (with like, In, between... operators and data retrieved from the db). So, the selection criteria query (SQL) is generated. This is somthing similar to Query Wizard. It builds the SQL for WHERE clause only. This needs to be attached with the query (the developer specified during report-design, which is under dataset->commandtext in RDL file). To clarif ...Show All
Microsoft ISV Community Center Forums Excel 2000 - macro not found
I developed an Excel 2003 spreadsheet with an embedded worksheet form button with an assigned macro written in VBA. The Excel file is hosted on a web server. User will open the Excel file from a web page via IE browser. Customer's Thailand branch office says it doesn't work. So far we tested with Excel 2003 in Singapore branch and no problems at all. I found out that the Thai branch users are running Excel 2000, but don't know if there a ...Show All
Visual Studio 2008 (Pre-release) FlowDocumentScrollViewer.Document
If this is not the case then forgive me but not seen it anywhere, the following has changed for Feb CTP. TextFlow has been removed, use FlowDocument. FlowDocumentScrollViewer.Document has been removed. Andy I'll answer part B of your question... Short Answer: You can remove all FlowDocumentScrollViewer.Document elements from your content. Long Answer: The Document property still exists on ...Show All
Visual Basic XML comments
My group is attempting to standardize on XML commenting for all of our classes and methods. We like the "Insert comments" option in VS 2005 but would like to add an additional tag <history> to the comments section. I know that we could probably do this manually each time we add a new class, but I would like to be able to have this new section come up automatically when we insert the comment. Is there a way to modify the XML co ...Show All
.NET Development Garbage collector - destroying connected objects
Suppose you have a parent object that has a child object amongst its members. To support communication between the two objects, the child object also holds a reference to its parent. My question is, can we be sure that the garbage collector is able to destroy the parent object (and the child object) when it is no longer used (all references pointing to the parent going out of scope) I am only a simple VB programmer but I know this u ...Show All
Windows Forms How to display mdichild window over the controls hosted in mdiparent
Hi I am having a MDIParent window with some controls hosted in that.When I show a MDI Child window on that it is showing behind that controls.Is there any method to bring the MDIChild to front view Thanks in Advance Joy ...Show All
Visual Studio Team System Beta TFS MSSCCI plugin now available for VB6, VC6 (not yet VS 2002/2003)
There's now a beta of the TFS MSSCCI plugin for VB6, VC6, etc., but it's not for VS 2002/2003 -- that's still too come. You can download it at http://www.microsoft.com/downloads/details.aspx familyid=32202966-EF04-442F-8C5C-88BDF15F551C&displaylang=en . Brian Harry posted some details about it, including the fact that it is not part of the go-live license . http://blogs.msdn.com/bharry/archive/2005/12/29/507993.aspx ...Show All
SQL Server SSIS WorkFlow
Hi Can any one provide sample for work flow in SSIS . and how to excute package conditionaly like if package1 is sucess then excute package2 else excute package3 .( more like writeing batch file in Data Stage ETL Tool ). Thanks & Regards Jegan.T Have you checked BOL http://msdn2.microsoft.com/en-us/ms141221.aspx Workflow is implemented using precedence constraints. You can define that a tas ...Show All
.NET Development FileSystemWatcher Problem
I have windows service, in OnStart I do the following: FileSystemWatcher fsw = new FileSystemWatcher(); fsw.Path = @"d:\data"; fsw.InternalBufferSize = 10005; fsw.IncludeSubdirectories&nb ...Show All
Visual Basic Reading Registry Key
I am working on a VB.NET application that can take a computer name and connect to that computer over the server and check several of the local security policies and create a log of what policies are incorrectly set. In a nutshell, it is an automated way of going through a security checklist rather than manually looking at each policy at each computer. I am currently trying to read the "Audit Policies" such as "Audit Policy Chang ...Show All
Visual Studio Express Editions What to do?
A little story: - I have on my computer 2 OS (Windows XP SP2 - with all the things: .NET Framework 2.0, Visual Basic Express Edition 2005, all updates and Windows XP SP2 - without .NET Framework and Visual Basic) I maked a program in Visual Basic (ok...is running) but on the other OS (without .NET Framework) is not running.What I can do to make the program running on all computers without installing .NET ...Show All
SQL Server Parameter is missing a value
I have a report parameter with Allow null value checked (and also Allow blank value). The report works as expected when viewed in Visual Studio, i.e. if I don't supply a value for the parameter, the report still renders. However, when I try to view this report through the web ReportViewer I get the error message "The X parameter is missing a value". It works fine when a value is supplied but I want that parameter to be optional. Any ...Show All
Windows Forms No touch deployment question
I'm trying an example of no touch deployment. I'm building a form that does nothing, just shows and has click buttons, I created a folder in my inetpub/wroot called NoTouch test. I'm buiding the output of my form to this folder. The prob ...Show All
