merrickchaffer's Q&A profile
SQL Server FTP Connection Manager: Set FTP password using a variable
Hi, I want to setup an FTP task that is portable in the sense that all it's connection parameters are stored in variables. I can create expressions for properties ServerName and ServerUserName but not the ServerUserpassword. Is there an property that I missed, there seems to be properties for everything else except the key piece of info, the password. I could create a script component using the FtpClientConnection method as a last resort but would rather not. Any ideas Thanks Ignore this thread, I wasn't thinking straight last night. I can use a config file to dynamically set the ...Show All
Smart Device Development Running the same application on a PC and a CE device using .Net Framework and C#
I need to run esentially the same application on a CE device and on a PC. The only change might be a larger UI on the PC. I would like to use C# and the .Net Framework. Is this possible Are there any example programs How would one go about doing this At the moment it appears the only reasonable way of using the same source is by using unmanaged C++ code. It is possible on both binary level and source code level. Please see this: http://www.danielmoth.com/Blog/2004/09/retargetable-256.html ...Show All
Visual FoxPro OWC11.PivotTable
I've tried to play with MSGraph for some time and after not getting very far yet (although I got some graphs) I downloaded MS Office Pro 2003 enterprise Edition and found out that there seem to be richer controls out there. In particular I am trying to work with OWC11.ChartSpace , OWC11.PivotTable and OWC11.SprreadSheet . I have resigned to the fact that I would have to use MS Excel Spreadsheet as an interim container between my tables and the graphs (Marcia will be thrilled at my defeat:) ). I am finding it difficult to figure out how to populate spreadsheets . There are a number of suggestive properties like OWC11.PivotTable.DataSou ...Show All
Visual Studio Package load failure AND can't import settings (on another machine)
Visual Studio 2005 RC1 installed on a machine where August CTP was previously installed. --------------------------- Microsoft Visual Studio --------------------------- Package Load Failure Package 'Visual Studio Explorers and Designers Package' has failed to load properly ( GUID = {8D8529D3-625D-4496-8354-3DAD630ECC1B} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. --------------------------- Yes No --------------- ...Show All
Visual C++ Thread-Safe increment
Hi Is it thread-safe to increment a unsigned int like: static unsigned int c_unMyId = 0; unsigned int GetId() { return c_unMyId++; } or do I have to implement all the mutex stuff around it Regards Thomas Hi TomFromBern! > Is it thread-safe to increment a unsigned int like: > > static unsigned int c_unMyId = 0; > unsigned int GetId() { return c_unMyId++; } > > or do I have to implement all the mutex stuff around it See: InterlockedIncrement http://msdn.microsoft.com/library/en-us/dllproc/base/interlockedincrement.asp -- Greetings Jochen My blog about Win32 and .NET http://blog.ka ...Show All
Visual C# zip hole folder
How can i zip a hole folder with SharpZipLib The folder that i am ziping.. may contain some other folders too.. and those folders can contain too some foldrs and files.. Please provide some example... Thanks in advance You can download source code and samples from here . They also have a forum that hopefully will give you quicker response. ...Show All
Software Development for Windows Vista which one to use... having trouble getting wwf installed.
I have the TS ide, and am wanting to check out some of the workflow stuff, but I see several different things to download. most seem to be for previous versions of 2005 (beta versions), and one I did install errored out (some package error), so I downloaded the winfx dec. ctp but no workflow templates are available in visual studio. any help would be great. thanks. ok, the beta 1.2 worked for me (using the 180 day trial of vs.net 2005 team suite). Thanks so much! ...Show All
SQL Server Migrating Legacy Maintenance Plans to SSIS?
Hello. I'm trying to find out if anyone has attempted to migrate a SQL2000 Maintenance Plan to SQL2005 Integration Services Every time I right-click the Legacy Maintenance Plan and select "Migrate," I get the message "Input string was not in a correct format. (mscorlib)" I ran SQL Profiler on the migration action. Although I see lots of exceptions of Error 207 "Invalid column name", but only one statement instance where that should (theoretically) apply: SELECT s.log_shipping AS [LogShipping] FROM msdb.dbo.sysdbmaintplans AS s WHERE (s.plan_name=N'MaintenancePlan1') (Invalid column LogShipping.) I had posted this message this morning and ...Show All
Smart Device Development Drop Controls within UserControl at DesignTime
Hi, I have created a Control Library project for Windows CE 5.0 in Visual Studio 2005. I have created a simple UserControl, and my wish is to be able to drop other controls in it at design time. In the full .NET, you can use this code to enable this functionality on the UserControl: [ Designer(typeof(ParentControlDesigner))] public class MyUserControl : UserControl {} But when I try to do this in my project, I can't drop controls on my UserControl. As I understand, the attribute above relies on the assembly System.Design.dll. Is this available for CF2.0 How do I create a CF2.0 UserControl that I can drop other controls within &nb ...Show All
Visual Basic PRINTING TO CONSOLE
I AM TRYING TO USE THE CONSOLE.WRITELINE FUNCTION USING VB 2005 EXPRESS. I WANT TO DISPLAY 2 OR MORE VARIABLES ON A SINGLE LINE . I WOULD LIKE TO BE ABLE TO CONTROL THE SPACING BETWEEN THE VARIABLES. IF THIS CAN BE DONE WITH THIS FUNCITION WHAT IS THE CORRECT SYNTAX. I HAVE ONLY SEEN SINGLE VARIABLES USED IN DOCUMENTATION. Console.WriteLine supports the same syntax as String.Format, so you can write: Console.WriteLine("Var1 = {0,20} Var2 = {1,30}", var1, var2) The values of the variables will be inserted at the specified positions ({0}, {1} and so on), while the (optional) number after the comma defines how many col ...Show All
Visual Studio Team System Name instead of UserID in Assign To dropdown list
Add name instead of userID in Assign to – who knows a devlopment teams (10-20 people) all userid’s xx98237d. Hi Daniel, Thanks for the reply, it was a AD side issue as the display names for some users were mentioned incorrectly. Regards, Vijay ...Show All
Visual Studio Express Editions How to create an Icon image file
Hi team, I have been trying to create an icon file for my new project. But I have been totally unsuccessful and I am confused. Since I have never done this before I must ask the question that is probably obvious to everyone else. What makes an Icon file an Icon I know that it has an extension of .ico but there is more to it than renaming a 32 x 32 pixel bmp to an .ico. Is it the size Some internal header data When I try and add a resource with the type "Icon", I select my image file but it gets imported into the "Images" area and not the one for Icons. I have tried jpg's, bmp's and gifs to to avail. The form ...Show All
Visual Studio Express Editions MFC projects in Visual C++ 2005 ???
I just started up Visual Studio 2005 Express and attempted to create a new MFC project. But that's not an option on the New Project dialog. It shows some CLR project types, which is NOT what I want to do. It shows Win32, allowing only a Windows Console app. And it shows "Other Project Types", but lists no actual project types under it. So, how do I build an MFC application with VS 2005 Please don't tell me that Microsoft is simply abondoning MFC applications!!! If I have Visual Studio .NET (not 2003) and downloaded Visual Studio 2005 Express Edition, is it possible to compile MFC programs in 2005 using the ...Show All
Visual Studio Team System Continued Errors after troubleshooting guide
This will be a living document and as we troubleshoot issues, we will add to the query and document. It will culminate in a consistency checker tool which automates the checking and ultimately other functions like kicking the warehouse etc... Feedback is welcome and I will update this data. Symptoms: The data in the reports is stale and doesn’t seem to ever get updated. The reports error out. An error has occurred during report processing. (rsProcessingAborted) … Background: Data in the operational stores (Work Item Tracking, Version Control, Team Build, Integration Services) is pulled into a relational database (TfsWar ...Show All
SQL Server 2005 encryption - symmetric keys
Hi There We have been playing around with encryption in 2005. I cannot find a BOL topic that discusses dropping encryption objects such as keys. We do the followign steps: Create master key with password, then we create a certificate using the master key, we then create a symmetric key using this certificate and encrypt data columns. But what i find worrying is that you can then drop the symmetric key , there are no warnings that you have objects dependant on this key for decryption. Once you have dropped the key you cannot decrypt the data anymore Also the key defults the expiration date to 1 year. WHat happens afte ...Show All
