herman_d's Q&A profile
Software Development for Windows Vista WWF Thread Safety on Windows Forms
I would like to implement all my windows application logic based on workflows. This is, even the actions of showing forms and all possible pre and post actions. This way I could customize an application for a customer without needing to change code... The problem is that, as far as I know, the instance can only run on a different thread than the UI process... this way, for example, I can't open a MDIChild on a workflow... Can I run the workflow on the same thread of the UI process Thanks! Alex I never eard of that 'till now... I'll try it tonight and get back here to report the results :) Thanks! ...Show All
Visual C++ How to execute DCM converter in VC++
Hi, I am new to VC++ and i am working on DCM Converter. I found this project (i.e. DCM Converter) on net. but i failed to execute it in VC++ environment. I downloaded that source code from net. That uses CxImage and DCMTK. I downloaded the source code of both these(DCMTK and CxImage) and put that in a folder along with dcm converter. I changed the project settings as directed on Cximage web page. then i compiled all the three (dcm converter, DCMTK, Cximage) seperately but still i am not able to run it on VC++ plz guide me if i am wrong somewhere. We really can't help you without including more details like ...Show All
SQL Server SQL Server 2005 SP1 issues
I upgraded x64 bit server to SP1. Then processed my cube with the new release. I have stopped seeing some of the data for prior periods. I was partitioning the data by Fiscal Year (~50million rows per year) due to a problem earlier with backup/restore (see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=339278&SiteID=1 ). I also tried dropping the partitions and used table binding in the partition, to create one partition only. This gave the same results. I only see data for two years and only the current year was correct. The cube uses an Account dimension and that is used in the query to access the data. Is anyone seeing th ...Show All
Visual C++ Can't run NMAKE from command line
All: Very new to VC++. I just installed VC++ 2005 Expresss Edition Beta 2 on a Window 2000. It was activated as instructed. From the command line I entered: nmake and it gave back: 'nmake' is not recognized as an internal or external command, operable program or batch file. What should I do from here Should I set path to point the VC++ home Thanks PCZ The solution is just as you expect - the path needs to be set. Ok, I am using VC6, and assuming the solution will be the similar, if not the same; if you have a look in the bin directory, you should find VCVARS32.BAT. This batch file will set up the environment as you need to. ...Show All
SQL Server Problems with Date And Time
Hello everybody, I have a problem with a date. I retrieve data from an Access database, where there are two fields, one for the date and one for the time. I have to join this two fields in my destination column, but I don't know how to do it... I tried using a Derived column, in which I cast this two fields in string, concatenate them and then cast them back to datetime, but it doesn't work.... Does anyone knows how to resolve my problem Thanks Did you get an error from SSIS when trying to parse the derived column code (DT_DATE)((DT_STR,4,1252)YEAR(<DATE_COLUMN>) + "-" + (DT_ ...Show All
Visual C++ Automation detection
I have an application that you can run through automation and that you can also run doing the standard double-click and it loads thing. well is there a variable or method i can query at any point during my application that will tell me whether or not the application is being run through automation or otherwise Thanks Will If you use the standard MFC way you have a command line with the /automatin option when started from OLE-automation The CCommandLineInfo class parses this parameter and setsthe flag m_bRunAutomated. ...Show All
Windows Forms Windows Client using COM DLLs
I am building a windows client that will use COM DLLs and one of the requirement for this windows client is to be able to deployed using the no touch deployment method or in other words the users should be able to use URL to access this application. I know if it is a pure .Net application and I have adequate rights , assemblies wil ...Show All
Visual Basic Setting focus to control in next/previous tabpage?
Hi, I use a TabControl several places in my project, and this is what I want to do: When the user presses tab in the last control on a tabpage, I want to set focus to the first control in the next tabpage. When the user presses Shift+Tab in the first control on a tabpage, I want to set focus to the last control in the previous tabpage. If there's no next or previous tabpage, I want to follow the "normal" taborder. Is there a pretty way to do this that I have yet to discover Hi, There is no pretty way of doing this. You'll have to detect if its the last control and just sendkey a " ctrl+tab " to move to the other tabpage... &nbs ...Show All
Visual Basic Call a New form from within an Existing form
Being new to the MVS2005 and visual basic it's self, I cant seem to find anything about calling a form so I can ask questions and then read data from it back to the main form. Any links to places where i can find this type of help would be nice or just a simple explancation below would help out alot. Thank you. If there's a FAQ for this forum, it would certainly cover this, as it gets asked most days. To create a new form instance, declare it like any variable: Dim f2 as Form2 = new Form2() f2 has two methods, Show and ShowDialog. The second will show a modal dialog ( one that takes full focu ...Show All
Visual Studio Tools for Office Outlook: no Add-In does load anymore
Hi, currently i'm developing with VSTO 2005 ans VS 2005 Team Suite for Office Outlook 2003. I wrote an Add-In with C# and it works well, creating a setup which grants the CAS too. But today i changed some code within, rebuild the solution and tried to start a debug session with a break point right in the ThisApplication.ThisApplication_Startup Method. And nothing happens!! My Add-In was not loaded anymore. I tried to do a reinstall with one of the previous generated setup packages (which worked!) and started Outlook manually. And nothing happens. My Add-In was not loaded. So, even previous versions which worked yesterday doesn' w ...Show All
SQL Server Overloaded Stored Procedure
Hi I want to create two stored procedures with the same name but accepting different params. Lets say Procedure A can accept param1, Procedure A can also accept param1,param2. Is there any way SQL Server supports overloaded procedures with different sigantures. Regards Imtiaz No, but optional parameters are supported: CREATE PROC YourProc @Param1 INT, @Param2 INT = 0 AS ... -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < ...Show All
Smart Device Development ARMV4 vs. ARMV4I
Hello We have compiled our software for ARM4V - is it necessary the rebuild the applications for ARM4VI Most appl works - 1 application has performance problems - is this perhaps the reason Thanks ARMV4I should be able to run ARMV4 binaries, performance difference is usually negligible. Performance issues you see are probably due to something else. However, it worth trying anyway. ...Show All
SQL Server Shared data source
Based on this page http://msdn2.microsoft.com/en-us/library/ms226799 "You can modify a shared data source item in Report Manager by changing its properties, connection string, and credentials. If you rename or move a shared data source item to another location in the report server folder hierarchy, the path information in all reports or subscriptions that reference the shared data source are updated accordingly." How can I achieve the same results programmatically I believe I should the following methods: ListReportsUsingDataSource() to get the list of reports SetReportDataSources() to reset the data source properties Should I use batch m ...Show All
Windows Forms Cannot assign ImageList in Beta 2
It appears that the Imagelist property is no longer available on the toolstrip. Yet, Image Key and Image Index are still available programmatically. Is there any way to assign Imagelist or has it been removed permanently from toolstrip If the latter is the case, what is the recommended way to assign images, ie. via local resource or use project resource file and is it possible to reference them directly via an index (just like via an Imagelist) Vijaye Raji wrote: I think the property "ImageList" was pulled out of the Properties Window ...Show All
System Center One Server 7 Sites!
I keep getting a bridgehead error. How can you setup one exchange server at one site with all of the other sites connected over the wan I think this is the scenario you are asking about - please correct me if I am wrong. Using model wizard, you create a deployment with one central site hosting the Exchange servers and 7 branch sites, which just contain clients. You then delete the bridgehead server in the central site and do a simulation. At that point you get an error message that the mailstore is unable to connect to the bridgehead. This problem is not that you need a bridgehead to support the clien ...Show All
