Alvin Kuiper's Q&A profile
SQL Server Get the variable from Execute Process Task to C#
Hi! I need help with some C# code. I have build a SSIS package with an Execute Process Task. I need to send dynamic variables in to my C# program so I thought it was a good idea to use the StandardInputVariable. How do I get the variable in my C# code Thanks Carl My intention was have to have the argument to jump to a special method in the code. The variable will have information about witch rows in the table the code shall read in and treat. In any case, can I put a dynamic variable in the argument Carl ...Show All
Visual Studio 2008 (Pre-release) Providing alternate styles for a control
involved_Mike_Brown wrote (at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=490249&SiteID=1 ): "What you want to do is create two named styles within your control's generic.xaml. After your control is initialized, set its template to one of the styles. If you want to change the style, load it from the resource dictionary and set the control's template to the new style." Hi Mike, Could you explain this step a little more fully Practically all of the examples I have seen relate to themes rather than skins. The only skin example I have seen is the format outlined in the Programming Windows Presentation Foundation book, but it seems like having default visuals and multiple skins for a custom control ...Show All
Smart Device Development Changing the Locale programmatically on Pocket PC
How do you change the Locale programmatically on a Pocket PC. I want to change the OS language, equivalent to changing it in the Control Panel, from C++. I am not an expert here, but looks like you cant change the OS locale on Pocket PC Check this link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=933152&SiteID=1 Thanks Srikanth Bogadapati ...Show All
Visual Studio Tools for Office word *.dot VSTO solution publish problem with IE - VSTO 2005 SE, word 2003
I have created template solution, and publish it to my computer. Then i go on other computer in our intranet, add policy to my computer, and run template from Internet explorer. It doesn't work. When i try to run this from FireFox, it work. When i delete policy, template don't work. What should be done with IE to make this work I have try on IE6 and IE7. Thanx in advance :) Is there any difference in the Location URL you set that would allow Firefox to understand the URL, but not IE Are there any characters in your URL, such as % ()& ...Show All
Visual Studio Team System Moving Multiple Files/Folders
Due to a lack of research on my part, I used the project root as the root for all my source for a particular project. This makes branching difficult because I want to branch all of the files/folders in the root into a release folder, and I can't branch into a folder that is in the root as well. My current layout looks like: $/Folder1 $/Folder2 $/Folder3 $/Folder4 $/Folder5 $/file1.ext $/file2.ext $/file3.ext I'm planning on changing this to: $/Main/Folder1 ... $/Main/Folder5 ... $/Main/file3.ext And then I can have my release folders like: $/Release 1.0.0.0/Folder1 ... First, are the any issues with this plan It seems pretty standard to me. Second, how I can easily move these folders and files I can't seem to select multiple ...Show All
.NET Development How to sort an xml data island by a field
I have an xml data island like this.. actually a few hundred web pages using a similar form <xml id="xmldataisland"> <table_T> <table_R> <field1>1</field1> <field2>Beer</field1> <field3>Mmm</field3> </table_R> <table_R> <field1>2</field1> <field2>Wine</field1> <field3>kkk</field3> </table_R> </table_T> </xml> that is, root > record > fields I would like to write a javascript function to sort the records within the xml data island by a view. So for example sortmyisland(xmldataisland, "field2"); I haven't got a clue about xsl - if anyone could help me write thi ...Show All
Windows Forms Master/Detail issue in DataGridView using DataGridViewComboBoxColumn
Hello everyone, In the last few days I was trying to create a DataGridView that shows data from two tables related with a foreign key constraint. The DataGridView should have 2 columns. The first one, called 'Name' is a bounded column that gets data from the first table and the second column is an unbounded one of DataGridViewComboBoxColumn type that shows 'details' from the second table. This is a classic example of, lets say, region-city data binding. The DataGridView is formed by a number of regions (each region represents one row in the grid) and for each region a combo box shows the cities from that region... I've tried the examples from MSDN and even the given examples, but with no success... The error I get is: &q ...Show All
Visual Basic What is wrong with the ComboBox !!
Hi all, I am writting very simple event for the ComboBox... but my msgbox displays nothing. kindly have alook at my code. Public Class Form1 Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) 'Handles ComboBox1.SelectedIndexChanged If Me .ComboBox1.SelectedIndex <> -1 Then 'MsgBox(Me.ComboBox1.Text.ToString) MsgBox( Me .ComboBox1.SelectedText.ToString) End If End Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim conn As New Data.OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\MaHMouD\Deskt ...Show All
SQL Server Microsoft Visual Studio is busy
I get this message in a balloon that pops up frequently when I am trying to work in the SSIS designer. For example, I get it when working in a DataFlow task, trying to open editors for the OleDb Source and Destination. Is anyone else getting this What could be the cause, it seems to get sluggish. Thanks. Hi folks: I have the same exact problem. I see the message Visual studio is busy. For me this started happening after I installed Visual Studio 2005. I have 1 GB memory and i have both SQL 2000 (default instance) and SQL 2005 (named instance) running on the box. I never had this issue when i was running VS.NET 2003. I started seeing this after I uninstalled VS.NET 2003 and installed VS.NET 2005. Doe ...Show All
Visual C++ C# DataGridView control in CWinFormsControl hangs on ALT + TAB
I am developing a DataGridView control in Virtual Mode on a UserControl using the code in this article http://msdn2.microsoft.com/en-us/library/15a31akc.aspx Then it is hosted in an MFC dialog using the code in this article http://msdn2.microsoft.com/en-us/library/94t3ebxz(VS.80).aspx So far so good and everything works pretty much as it should. However if you ALT + TAB off to another application halfway through editing a cell the application hangs e.g. if you type 4 and then ALT + TAB. If you ALT + TAB to another application at any other stage there is no problem e.g. if you type 4 then click on another area of the UserControl and then ALT + TAB. Has anyone ever had any similar behaviour and if so what fixed i ...Show All
Visual Studio Team System Cannot Replay the recorded web test
Hi, I'm having a problem with re-playing web tests. I have recorded a web application ( a live web application) using VSTS (visual studio 2005 team suite) and , then when i try to re-play the same . The very first step fails with the following error message: "Reqest failed: Index and length must refer to a location within the string. Parameter name: length" Is that error message on the response web page or is it listed in the Details tab under Exception What I'm asking is whether the error is coming from the server or from Visual Studio. Josh ...Show All
Visual Studio 2008 (Pre-release) Looking for lab or sample on WCF security
I am new to WCF and want to learn about setting up security between server and client. I have read Keith Brown's article in the August MSDN magazine, which explains things clearly but I need more sample code, showing particularly how to configure endpoints, bindings and behaviors to set up message-based and transport-based security via the app.config file. I have come across a couple of blog entries with sample code, but they are from earlier times and the APIs have changed sufficiently that they don't build any more. I am now using RC1, the latest. (Trying to figure this out from just reading the docs is HARD!) Craig, I presume you mean to chack this setting on the server I looked all over th ...Show All
Visual C++ error LNK2001
Hi, (I saw the post on same subject but it seems to be a little different. so I'll use some word from that post!) There is a project earlier written in VC++ 6.0. I opened the same project in VS. NET 2005 and I am trying to compile. The code compiles properly (with couple of warnings) but while linking I am getting unresolved external symbol errors like this: The linker seems to have problem with seeing .obj from files in program (which are in the debug directory). It doesn't seem that the /Zl switch or the /NODEFAULTLIB are on. 1>Linking... 1>Utm.obj : error LNK2001: unresolved external symbol _RTC_Shutdown 1>Zone.obj : error LNK2001: unresolved external symbol _RTC_Shutdown 1>Zones.obj ...Show All
Windows Forms Can I unsign a ClickOnce manifest
Without breaking the projects and having to reinstall the app. ClickOnce doesn't have an option for you to unsign the manifest. You can only create a new manifest with the same attributes and not signing it. May I ask why you want to unsign the manifest Thanks, Patty ...Show All
Visual Studio Team System Problem with Importing Schema
I am using CTP 5 and using a restricted access login to import the schema; Visual Studio crashes while “Reading filegroups”; this was not a problem with CTP 4 Remote database is SQL 2005 database ...Show All
