JRickW's Q&A profile
SQL Server How to read a package variable in a custom component?
What I tried, based on something I found in Jamies blog: IDTSVariables90 vars = null; this.VariableDispenser.GetVariables(out vars); However the vars stays empty, while I have 3 user variables defined. I saw in the documentation that one should not use 'VariableDispenser' since it is for internal use. But is there a better way, like in a script task, you just do Dts.Variables( "BatchID" ) . Youre input is appreciated, Henk ...Show All
Software Development for Windows Vista Expense Reporting Sample using Webservices
The Expense Reporting Sample given in Labs(beta2) is based on remoting. what are the changes that we need to do in the same sample if we want to use WebService instead Remoting. I believe the updated expense reporting application from www.windowsworfklow.net uses WCF instead of remoting. That should get you started. It also shows the issues if you need to use ASMX web services. You have to manage routing the ...Show All
Windows Forms Comparing strings
String comparison Is there any way so that all the below conditions give me true results. String val = “Hello” Now comparing val it with the following code. 1“Hello “ //Note white space at the end o ...Show All
Windows Forms Moving between VS2003 & VS2005
I'm creating a windows forms application using my home laptop which has VS.Net 2003 installed. I'm going to be away on business soon and will have to take my work laptop which has VS.net 2005 Beta 2 installed. If I transfer my windows app to my work laptop and work on it, will I still be able to copy it back to my home laptop without anything breaking (in theory) Or, should I avoid all such a move Hi, In addition to these I recommend you ...Show All
SQL Server Query behaviour
Hi there, I wonder if one of you worthy folks can help me out with some strange behaviour exhibited by a piece of SQL. Its my first post here , so please be gentle. Here is my simple example :- <my test table> create table test (ind int, message varchar(255)) insert into test (ind, message) values (1,'date=01/06/2006') insert into test (ind, message) values (1,'date=20/12/2005') insert into test (ind, message) values (2,'test') The fir ...Show All
Windows Forms Custom ToolStripRenderer - Display at Design Time?
Hello, I am using my own ToolStripRenderer to render my ToolStrip. At runtime I set the Renderer property of the ToolStrip to my ToolStripRenderer. Hurrah - it works! However, I would like to see my rendered ToolStrip at design time. Any ideas Many thanks in advance. ...Show All
SQL Server Bulk Copy into CSV file with column name
Hi i am exporting a data from table to CSV file using BCP command but only the data are exported in CSV file,actually i want column name also in CSV file. Appreciate your help for this issue Thanks in Advance You can use a query that contains the header row and orders the data appropriately. See http://www.umachandar.com/technical/SQL70Scripts/Main8.htm for an example. Note that with this approach you will have to convert ...Show All
Visual Basic Encrypt in VB6, decrypt in VB.NET? (and vice versa)
I use DES Encrypt and Decrypt routines in VB.Net2003, using System.Security.Cryptography - something like: Public Shared Function DESEncrypt( ByVal strKey As String , ByVal strData As String ) As String Dim strValue As String = "" If strKey <> "" Then ...Show All
Visual Studio Express Editions Learning -Books-
Anybody have a good sujestion for books. I am new to programing and have bought Visual Basic 2005 step-by-step and also Visual Basic 2005 The Language. I am looking for a book that deals with a larger overveiw of programing in general someting that can set a solid base for a good future. Any thoughts would be helpful. Thank you. Thanks, I went a head and bought the book Code Compleate 2. I hope that it fills in the gaps. If anyone else ...Show All
Visual C++ ddraw.h and wtsapi32.h not found
Hi: I tried converting a C++ unmanaged project from VS2003 (professional edition) to VS2005 (standard edition) and get errors indicating that the files ddraw.h and wtsapi32.h are not found. I noticed that these files are in the Platform SDK that came with VS2003 but not the Platform SDK that came with VS2005. Does this mean that these files are no longer included in the most recent Platform SDK, or is the Platform SDK that came w ...Show All
Visual C# Where is "Add Inherited Form" in Beta 2?
Hi, all! I've just downloaded and installed Visual C# Express 2005 Beta 2. I can't find "Add Inherited Form" menu which existed in Beta 1. Is it gone now or is it just only my problem Thanks. Sam Anson, I'm using the C# Express Beta 2 and use form inheritance quite a lot. If you intend to build an application framework that is usefull and reusable, form and control inheritance is a must. IMO, it is very annoying to miss the inherited ...Show All
Visual Studio 2008 (Pre-release) can't use the Http test page about the indigo(Feb,2006 CTP)
When i have built the Server successfully in the Feb,2006 CTP. I use the http protocol,but when i type the :http://localhost:3721/HelloWorld/ IE,it will show error message ,doesn't show the indigo test page: HTTP 500,internal server error I have closed the firewall. Below is the source code and config file. why thanks a lot~ Waiting~~~ ----------------------------------------------------------------------------------- ...Show All
Visual Studio Express Editions Form inheritance
Hi, Anyone an idea if form inheritance is possible in the C# Express Edition And how And also, i need some info about the differences between the Express edition and the VS.NET 2005 professional edition. Major shortcommings etc... Greetz & thanx alot! Vincent I assume it should be. . . right click your project. . . In the add Items box, you should have an "Inherited Form" entry. Only ...Show All
SQL Server RS question
Hi i am new to Reporting Services,i have aquestion regarding Reporting Services.When i saw the Reporting Server in browser it was like version 9.0.So i want to whether RS2000 or RS2005 are installed on my machine. Thank's a lot. Hi, 8.x is 2k based, 9.x is 2k5 based. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio More custom code questions
I've been through Brian Likes's custom code blog entries and I can get code to work but only the easiest of examples. I'm using a local report rather than SQL reporting services so I think that a custom assembly might be easier in my case, and hopefully the deployment code (likely ClickOnce) will understand that there is a referenced assembly. But using a custom assembly or even just local code, I can get Hello World to work but I can't figu ...Show All
