paramjeet's Q&A profile
Software Development for Windows Vista WF Designer - How to display Activity Full Name
Hi Dear, I would like to take a print screen of my WF Design to document my work but when the activity name is long then the WF Designer cuts the end of the name and replace it with dots (e.g., receiveCustomerOrder is displayed as receiveCustomer...). It would be nice if the WF designer allows adjusting the size of the Activity shapes (just like controls in a WinForm) but unfortunatly it does not. The shape size is fixed. Could you please advice on how to get the WF designer to display the Activity Full Name How can we resize the Activity shape (I hope that I wouldn't need custom activities for such simple feature) Thanks Karim Hi Karim, Allowing users to resize activities is an inte ...Show All
SQL Server 0xC02090F5 DTS_E_DATAREADERSRCUNABLETOPROCESSDATA
I am moving over 100 tables from mainframe to SQL Server 2005 using SSIS all but 2 tables have worked to some degree. 2 of the packages when executed write 0 rows to SQL Server becaue they are getting this error 0xC02090F5 = DTS_E_DATAREADERSRCUNABLET OPROCESSDATA I have looked at the definitions on the mainframe and SQL Server side all looks good. I have looked at the data on the Mainframe side and there is nothing unusual. The Mappings are simple one to one mappings At one time I could even preview the data while in designer building the package but when the packages for those 2 tables are executed I get the same error. Other tools can read the data. Does anyone know what could possibly be wrong ...Show All
Smart Device Development Install an Exe and preserving it...
Hello, i have an extrange question and i think this is not the right place... but i want to give a try... i need to install an exe, and that this exe and all configuration still alive after a hard reset... is there a way of acomplish that thanks!!! for it to still be in memory after a hard reset would not really be possible I believe. The only people that can customize where/how/what programs are to be kept in memory after a hard reset would be the handset manufacturer/mobile operator people who supply the handset. I'm 90% sure about this however there may/may not be a way of still keeping YOUR program in memory after a hard reset. Hard reset cleans out everything and resets back to factory settings ...Show All
SQL Server Consolidating multiple lookups
In many of my packages I have to translate an organizational code into a surrogate key. The method for translating is rather convoluted and involves a few lookup tables. (For example, lookup in the OrgKey table. If there is a match, use that key; if not, do a lookup of the first 5 characters in the BUKey table. If there is a match, use that key; if not, do a lookup of the first 2 characters... You get the idea.) Since many of my packages use this same logic, I would like to consolidate it all into one custom transformation. I assume I can do this with a script transform, but then I'd lose all the caching built into the lookup transforms. Should I just bite the bullet, and copy and paste the whole Rube Goldberg contraption of cascading look ...Show All
Windows Forms Running a forms application with errors when the user is logged off
Hi, my application runs using the scheduker service. I can't predict if the a user will be logged on when the application starts. The application uses the system tray to display an icon to show the application progress. I get an exception when the user is logged off, and i don't know why. The question i have is: In what security context is my application running when there is no active session, and how can i detect this situation Creating a service is not an option in my case. Any help will be greately appreciated. Thanks! Francesc ...Show All
Visual Studio Express Editions need help
I was wondering how do you run programs after you put in the code because my dad was helping me with a code/program from a book( C++ in 21 days second edition by Jesse Liberty) and we couldnt find out how to run it. P.S. try to make it simple cuz Im only in 9th grade and reading a book from 1997 to learn C++ Hello Re: need help Please do not post the same question in multiple Forums. Thanks Damien ...Show All
Visual Basic Updating bin/debug and bin/release After Rebuild
I am developing a VB 2005 windows app. When I make a change and then build the project it does not automaticallu update the stuff in bin/debug and bin/release folders. I can manually copy everything from the project to the bin/debug folder and then hit F5 to test my changes. There must be an option that I have not set properly but I cannot find it. IS there a way to have the debug and release files updated whenever I (re)build the project Thanks. Thanks for the reply ... Project > Properties > Compile > Build Output Path was set to bin\Release\ ... you say it should also be set to bin\Debug ... not sure how to add a second path name ... can I put a semicolon aftger the first and then enter the ...Show All
.NET Development signed assembly referencing unsigned
I'm trying to reference unsigned assemblies from signed assemblies, is there a workaround The compiler errors when I try to build, Error 5 Assembly generation failed -- Referenced assembly '.....' does not have a strong name ............. I know there are security reasons why the strong signing is required and I also know that one solution is to sign all the assemblies but this is not possible as there are around 10 of them and there presently being referenced by a number of other projects which are not under my control. ...Show All
Visual Basic DataGrid cursor change
Hello, I've a DataGrid on a form and I need to change the cursor from Default to Help when a user moves the mouse over a certain column of the DataGrid. I've the following code but is not working: Private Sub DataGridView1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridView1.MouseHover If DataGridView1.CurrentCell.ColumnIndex = 7 Then DataGridView1.Cursor = Cursors.Help End If End SubThe error message that I receive is: "Object reference not set to an instance of an object" Can annyone help please Thanks, Joao Pinto How do you know the mouse is over the current cell I would do it like this &nb ...Show All
Windows Forms Compile warnings from adding merge modules
I have an installer that requires three merge modules (ATL, CRT, and MFC), and after adding them in, I get the following warnings when I build the MSI: WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[payload_ul]\8.0.50727.42.cat') WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.42.policy') WARNING: Two or more objects have the same target location ('[policydir]\8.0.50727.42.policy') WARNING: Two o ...Show All
Visual Studio Tools for Office How to set the text of a label in Excel (C#)?
Hi all, There is an existing Excel document within a label named "testLabel", and I need write a C# prgramme to open this Excel document and set the value of "testLabel" to be "MSDN Sample", How can I do that Now, I get the worksheet object, it's type is "Microsoft.Office.Interop.Excel.Worksheet", but how can I cover it tobe "Microsoft.Office.Tools.Excel" And how can I get the "testLabel" and set it's text Regards! As Cindy points out, the namespace Microsoft.Office.Tools is only valid for VSTO solutions, and Worksheet.Labels is a method of the Microsoft.Office.Tools.Excel.Worksheet object. Not only that, but also, as the documentation clearly states: "Th ...Show All
Visual Studio 2008 (Pre-release) How can i hook windows messages in WPF?
I want to use WM_COPYDATA to send some data to my WPF application. How can i do this or is there another way for sending data to WPF application I tried to implement the suggestion above. But it seems I cannot get it to run. Using the following code in my main window (Window1) I receive an exception while starting the application. public Window1() { InitializeComponent(); //Adding hook HwndSource source = (HwndSource)PresentationSource.FromVisual(this); source.AddHook(new HwndSourceHook(HandleMessages)); } private static IntPtr HandleMessages(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled) { //Handle messages here return Syste ...Show All
Visual Studio tasks I would like to see added to MSBuild
Hi; Here is my $0.02 worth on what I would like to see added to MSBuild: Better documentation. (The documentation in the VS 2005 doesn't even include the Message task - and the documentation for GenerateBootstrapper is totally insufficient to use it.) rename a file (needed because GenerateBootstrapper always creates setup.exe). move (not copy) a file. sn.exe signcode.exe zip & unzip nunit - with an attribute to set a directory to place output logs for each test file. A clearer way to build projects in a solution file - or at least clear documentation for how to do it now. thanks - dave 4/5: There is a task called Microsoft.Build.Tasks.SignFile. I'm not if it is for 4 or 5. 8. Solution is just a li ...Show All
Visual Studio Team System Create New Team Projects from Clients fails
Hi, We have a problem.... We have installed TFS on our Server which is a TFS only server. We have followed each step from the the manual. We have setup some users to be administrators on the TFS. We have also added them as Content Managers in the reporting services. The admin right is also set on Sharepoint. Now to the funny part when we are logged on the TFS server we can create team projects. If we login on a workstation with the Team Explorer installed it crashes. We have figured out the this happens when the wizard tries to setup the Reporing services. If anyone can give us some tips on how to solve this it would be very appriciated. BR Magnus Muller While I do not recommend disabling the Anti-virus software, it would be ...Show All
SQL Server SQLServer Optimiser
Could someone direct me to where i can find the optimiser rules for access plan selection using indexes. When are indexes candidates, when are indexes not an option for a predicate. Can an index be used when a predicate has a function applied to it etc. here is a snippet from IBM documentation for DB2 and I'm having trouble find it for SQLServer. Is there an e quivalent for SS somewhere It tells when a predicate is indexable. tia. Predicate Type Index- able Stage 1 Notes COL = value Y Y 13 COL = noncol expr Y Y 9, 11, 12 COL IS NULL Y Y CO ...Show All
