Jim Thatcher's Q&A profile
SQL Server Import XML string into DB
I'm not sure what an "edge" table is. Can you post a sample of the XML, the OPENXML syntax you're currently using, and the output you're trying to achieve -- Adam Machanic SQL Server MVP http://www.datamanipulation.net -- < GBez@discussions.microsoft..com > wrote in message news:c959c905-bfac-4471-b7a1-059439279ef9@discussions.microsoft.com ... Hi, I have a string of xml stored in a ntext field of a table in a SQL Server 2000 database. What I have to do is strip out the data stored in the string and store it in a table in the database. I ha ...Show All
Visual C++ error LNK2001: unresolved external symbol "public: __thiscall
Hi folks, This is my first unmanaged C++ program in vs 2003.( I use to code in vs6). created a template class stack and in the main trying to use the same. in compilation getting template1 error LNK2001: unresolved external symbol "public: __thiscall stack<int>::stack<int>(void)" ( 0 $stack@H@@$$FQAE@XZ) for all the methods defined in the stack. The problem is that the stack<int> is not getting instantiated. After googling I did find a solution but that doesnt seem logical to me: It says that the implemtation for the template should be present in the header file. I would like to know what is rationale behind such beh ...Show All
SQL Server SQLXML Client Features
HI, We are planning to install only Integration Services in our server. As part of the installation we have decided to install the following components. 1. Integration Services. 2. Client Components a. Connectivity components b. Management Tools c. Legacy Components The doubt I have is should I install SQLXML Client Features. Thanks & Regards Shri.DBA ...Show All
Visual Studio Express Editions toolbar for dataset (how do i make one?)
i checked out the beginner videos and they were really useful. i added a dataset and when i dragged the table in datagridview onto the working area, a data grid pops up with a nice toolbar on top with the usual functions like adding, deleting and saving. i thought i didn't need the toolbar so i deleted it. now that i want one, how do i add one i tried dragging another datagridview onto the working area, and a data grid shows up WITHOUT a toolbar any help Maybe this will work (If I understand correctly what you're trying to do) Go into the ButtonClick event of the button that you want to to fire th ...Show All
Windows Forms Grid Layout in Panel
Hi, How can I create panel with grid layout for putting controls on it like grid Grid Layout - it's that putting controls on screen in view like grid: same width in same column, same height in same row and all controls grow with panel growing. Attention: I am writting in C# in the VS2003. Where can I get it Thank's Alexei Hi Alexei, You might want to check out Beta2 or RC of VS 2005. There is a new control called TableLayoutPanel that allows you to do exactly what you are describing. If you don't want to upgrade to 2.0 of the framework just yet, you can find a helpful article for a 1.1 implementation here: http: ...Show All
SQL Server How do you edit Derived Column expressions? (I myself use notepad)
When composing or editing expressions in the Derived Column component, where the expression edit window is far too small for anything but completely trivial expressions, I select the whole thing with home & shift-end, and then copy & paste it into a notepad window, and edit it there, then ctrl-a to select it all and paste it back. Its fairly tedious, and I wish for a built-in way to edit (like MS-Access has, with its F2 hotkey to get a half-decent sized window up for editing field values). Does anyone have a better method I submitted it at the Product Feedback Center, where you type into these re ...Show All
Visual Studio Team System msbuild
is there a possibility to checkout out files from the team foundation server for doing an msbuild task which modifies these checked-out files I am not sure I understand this q. If you mean, is there an MSBuild task I can use to check out files from TFS, the answer is yes. You can either use the Exec task calling tf.exe as Buck mentioned or you can write your own custom task using the VC OM to checkout files. If you mean, is there an MSBuild task I can use to modify files and check them in later, the answer is yes. You can again write a custom task which modifies a given file and checks in into SC usi ...Show All
Windows Forms Progress bar for unknown file size
Hi, I'm loading a text file(log) from one folder to another. I want to show the loading status. I don't know the file size.I can find it by reading all the lines. but i hope it's not an efficient way. bcos loading 3 or more files into one. is there any other way can anyone tell me how to do this Thank U! You can do what Windows does, just have a progress bar that moves endlessly. Or, you could ask the file system for the file size, then make an educated guess, and fudge it a little. But if you're going to read it line by line before you start your progress bar, that seems a little redundant to m ...Show All
Windows Forms How to access methods of MDI Child form by MDI Parent toolbar?
How can I access the methods (save, new, delete methods) of a MDI child form when clicking on a toolbar positioned in the MDI parent form So on the MDI parent I have this toolbar. When clicking on a button on this toolbar it must call a method from the current MDI child form. There are several types of MDI child forms, but each contains (the same) methods... Does anybody has an example of how to do this Thanks, Alwin I'm answering for my own question :) I found :) use : ala = dynamic_cast <Iform*> (ActiveMdiChild); ala->napisz(); for example :P ...Show All
Visual Studio Express Editions Opening a child form from a child form
Heh hi again. I'm trying to open a MDIChild form from a child form, but I seem to be having trouble. How can I designate the parent by calling from a child At first, you must write a clear title for your question, everyone here has questions, the second thing is you must explain your problem, you didn't said what is the problem... ...Show All
.NET Development Rationale on the System.Collections.ObjectModel namespace
I'm curious to know the rationale on having the System.Collections.ObjectModel namespace. More importantly I'm curious to know why only 3 generic collection classes are in there while the interfaces and the remaining generic classes (Dictionary, List, etc.) are in System.Collections.Generic. It seems to me that this is counterintuitive. I thought the original purpose of System.Collections.Generic was to isolate generic collections from regular collections. If so then it would seem that System.Collections.ObjectModel should be for non-generic collections. Additionally it would seem to me that the hierarchy viol ...Show All
Visual Studio 2008 (Pre-release) Unable to begin a storyboard in a datatrigger.
With the following code: <Button.Triggers> <DataTrigger Binding="{Binding Path=ReadyToAnimate}" Value="True"> <DataTrigger.EnterActions> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="myButton" Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:0.3" /> </Storyboard> </BeginStoryboard> </DataTrigger.EnterActions> </DataTrigger> </Button.Triggers> I get the following exception: Triggers collection members must be of type EventTrigger. Any help ...Show All
Smart Device Development MDE: Bug in restarting?
This happens here: 1. Start Pocket PC 2003 SE emulator 2. Start ActiveSync 3. Start Device Emulator Manager. 4. Change Pocket PC 2003 to Cradle in DEM. 5. Close emulator. 6. Close DEM. 7. Start Pocket PC 2003 SE emulator again. 8. Start DEM. The Pocket PC 2003 option does not show up in DEM. A reboot cures the problem. Can you confirm which version of the emulator you are using either the standalone version of the device emulator or the emulator performance patch version This issue does not happen with the current builds of the Device Emulator Manager. In the meantime, I suggest that you use the " ...Show All
Smart Device Development conversion from CString to UINT in mfc, vc++
hello everyone i have an mfc smart device application in which i need to convert a CString object to UINT type. could anyone tell me if this is possible and ifyes how do i do that thanks in advance sumalatha Try using _ttoi macro. An ex could be CString x; int num = _ttoi((LPCTSTR)x); Hope this helps ...Show All
SQL Server Msg 468, Level 16, State 9, Line 1 --Cannot resolve the collation conflict between "Latin1_General_CI_AI" and "SQL_Latin1_Ge
execute the following in any user database... So far I've been able to only reproduce this on SQL 2005 Standard instances..for some reason I don't get the error on Enterprise server. It appears that perhaps the system objects have different collation attributes.. !! select name from sysusers where name not in ( select name from master .. syslogins ) Microsoft SQL Server 2005 - 9.00.1399.06 (X64) Oct 14 2005 00:35:21 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 1) (1 row(s) affected) Msg 468, Level 16 ...Show All
