Patrick Schmid's Q&A profile
SQL Server Adding row with values in script
Hi, In a dataflow script I can Add an empty row using OutputBuffer.AddRow(). But how can I put values into the row Regards, Henk Henk, Intellisense can help you here. If you type "Output0Buffer." a menu will appear and somewhere in there will be the names of the available columns. It makes it all very easy. Typically the usage would be: with Output0Buffer. .AddRow() .col1 = <value> .col2 = <value> end with You can see an example of this here: http://blogs.conchango.com/jamiethomson/archive/2005/07/27/1877.aspx -Jamie ...Show All
Windows Forms ToolStripComboBox and AutoComplete
i am using a toolstripcombo box with the autocomplete source set to allurl.. when i start typing in a url, the list box appears, but when i hit the "tab" key, i expect the first list item to be highlighted, with subsquent tab keys scrolling down the list (ala Intenet Explorer) ... however, when I hit the tab key the control loses focus and another button gets the focus. How do I replicate the behavior of the Internet Explorer auto-complete where the tab key is a big part. Thanks - Brian Any ideas on how to control the tab order so that if the user hits the ...Show All
Visual Studio Team System Canceled book purchase - Introducing Microsoft Visual Studio 2005 Team System Beta Edition
I've tried to purchase the only VSTS available (many weeks ago) and my order was just canceled. I guess Microsoft is not going to release it. Oh well... http://www.amazon.com/exec/obidos/tg/detail/-/0735621802/qid=1122472985/sr=8-1/ref=pd_bbs_1/002-7165628-3580031 v=glance&s=books&n=507846 Come launch time, I'll be interested in reading the Wrox book. http://www.amazon.com/exec/obidos/tg/detail/-/0764584367/qid=1122733526/sr=8-2/ref=sr_8_xs_ap_i2_xgl14/102-6502439-3372964 v=glance&s=books&n=507846 ...Show All
Software Development for Windows Vista OTP: help with removing Vista and installing XP
i currently have windows vista installed on my computer and i want to reinstall windows XP. I have the windows XP system disk, the problem is when i have vista up and running and i put the disk in it doesn't give me the option to install it. For some reason my computer won't give me the option to boot from the disk. if somebody could please tell me how to reformat the harddrive and install XP it would be greatly appreciated. when i try to reformat the harddrive it says it is currently being used so it can't. You probably need to go into your BIOS and set it to boot from CD. You can set your BIOS options dur ...Show All
SQL Server sp_dropsubscription, article
Hi There I needed to change a column definition for a published table. I did the following. sp_dropsubscription for publication specifying the one article. sp_droparticle for the specific publication/artcile BOL is not very clear here, i presume this drops the subscription ONLY for the 1 article , correct Secondly i then altered the table accordingly then ran sp_addarticle for the publication/article then sp_addsubscription for the newly defined article. This seems to have worked fine. But i now see there are 2 distribution agents for this publication to this subscriber. What exactly has happended Is the 1 distribution agent now simply dedi ...Show All
Visual Studio Team System How To Monitor TFS Build server activity
Hello, I would like to now if it is possible to get the same flavor of build activity with Team Foundation Server as with CruiseControl.Net which offer a portal listing all build types and indicating their current state. If it does not come with the product, do I have means to create one Thanks Eric Well - if you wish to customize the page with data of your choice, you could do that using the wide array of Team Build web services that are available. Just look through the list of web services on the App Tier to choose which services would be helpful for you. A related post might be http://forums.microsoft.com/MSDN/ShowP ...Show All
SQL Server Page in Excel File
Hi, I have made some simple single table reports and using ="Page " & Globals.PageNumber & "/" & Globals.TotalPages to display the page no against total pages It works in the report previewer and pdf export, however, when I export it to excel file, all the reports display only Page 1/1. Am I doing anything wrong or is there any bug Anyone have solution/workaround and similar experience Please help. Thanks. Hi I faced the same problem too.Its a bug in 2005.I noticed so many bugs when exporting to excel in 2005. Thanks Hobbs ...Show All
SQL Server System error during deployment
Hello. I've been following the tutorial on analysis services 2005 and got the following error when I first tried to deploy: "System error: Login failed: Unknown user or bad password". When I created the datasource for AdventureWorksDW I used the sa username and password, and everything worked great, up to this point. After the error apeared, I switched the datasource authentication from username/password to service account and it worked OK. Why does the deployment fail when I use the username/password authentication schema Until now, I've never used the service account for absolutely nothing. Thanks in advance, Hu ...Show All
Visual Studio Express Editions Game programming and VB 2005 express
Is VB 2005 a good choice to learn game programming Would Visual C# or C++ 2005 be better If so, why I am a newbie to programming. For me programming is a hobby (my livelihood doesn't depend on my future skill as a programmer). And I would like to learn programming as a game development tool. I doubt that I would go as far as any 3D game development, but I would like to try my hand at educational game development and maybe 2D action games. So what about the choice of VB 2005 Express for game programming Thanks for any help. David I would go to the game development center in the coding4fun website f ...Show All
Visual Studio 2008 (Pre-release) ListBox.ItemContainerGenerator.ContainerFromItem() not working?
Has anyone encountered a situation where ContainerFromItem() returns null Would this happen if I've replaced the ListBox's control template I've followed some sample code that Beatriz Costa posted to a previous forum question. I need to be able to get the UIElement container for each item in the ListBox and determone where it has been rendered on the Canvas. Thanks. I thought I'd include some more info: Here's the XAML for the ListBox's control template, then the item DataTemplate, followed by the XAML for the listbox itself: < ControlTemplate x:Key = " ListBoxControlTemplate ...Show All
Visual Basic Toolbar images
In the program I'm writing I’m using a toolbar control. Everything are working fine but I would like to change the image from the default image, but I can't find any other images in VB. Are there any other images included in Visual basic 2005 express edition and i there are where can I find them You should be able to find some in the various DLL and EXE files that come with VB... I have VS2005 Pro, so I don't know which files will be the same as yours, but I think VB will allow you to extract icons from those files. If not, there are plenty of utilities (many are free) that will do it. For instance, when you use a toolstrip, you ...Show All
.NET Development Enterprise Library simple way of synchronizing the dataset
Hi, I am new to the enterprise library. I went through a dozen different tutorials but neither could tell me how to simply synchronize the dataset with the database. I would like to call just a single method like PerformUpdate(ds as DataSet) and there should go the code needed for it. something like ds.AcceptChanges() I suppose. Can someone show me how to use it with the EL or point me to a tutorial that shows a simple way to do so That would be a great help, thanx Sven. ...Show All
Visual C++ Can't get static data member imported from DLL
I'm having trouble importing a static data member from a class in a dll. I reduced the problem to a very simple example consisting of a DLL implemented in 2 files (lib.cpp and lib.h) that exports the class and the static data member, and a console application (main.cpp) that imports and tries to use it. They are listed below: // === lib.h =========================== class __declspec ( dllexport ) GeoTransform2 { private : int _value; public : GeoTransform2( int ); int value(); static int sampleStaticMethod(); static char * const cs_default; // this is the pr ...Show All
Visual C# Missing character in string
Hi to all! I miss a certain character in my string! The character is the symbol for female (this editor won't let me use it). It indicates the end of a page in a .txt file that is converted from a .pdf file. Has anyone an idea how I can still use it with a string.indexOf(symbol) *UPDATE* The question is actually, how can I select a form feed character (= ascii code 12 = page-break) from a string Kind regards, Nele The problem was, I had already removed the '\f' characters (stupid stupid stupid, but it is a project from half a year ago...) ...Show All
SQL Server Error in subscription
New Subscription Wizard - Beginning Synchronization (Success) - Synchronizing Data (Error) Messages * An incorrect or unsupported HTTP function call was made. HRESULT 0x80004005 (28017) * The operation could not be completed. - Finalizing Synchronization (Stopped) - Saving Subscription Properties (Stopped) ...Show All
