ckob's Q&A profile
SQL Server scheduled subscription
I always confused about scheduled subscription what does scheduled subscription can work for me how to use this thanks in advance Well, that's a very good question. Maybe I can turn it into a blog in the coming days. In the meantime, as you well know, an event driven subscription is rather straightforward. When an event occurs, notify the set of subscribers who are interested in that event. For example, I want to be notified when a certain stock exceeds a threshold that I set. A scheduled subscription is similar; it notifies subscribers of certain event data. However the primary difference is that it does so at an appointed time. For example, I want to be notified at the end of each day with a ...Show All
Software Development for Windows Vista How to implement custom rules using RuleEngine in Windows Workflow Foundation
Hi All Basically we are working on rules engine in WWF .To Implement custom expressions what I understand is that our class should implement IRulesExpression interface and inherit from CodeExpression.I have got a sample to explain about how to implement Custom Expression by there is no proper documentation for That.Can any one explain how Custom Expressions should be implemented and with sample code is vety much apprecaited. Thanks in advance Sunil Sunil, You can find a sample of a custom expression on our community site: http://wf.netfx3.com/files/folders/rules_samples/entry4315.aspx ...Show All
Windows Forms Delete multiple directory in file system, excluded items
Is there any way we can delete multiple directory at the same time without cleaning the children I have over 200 folders on the project and I don't really want go one by one to delete the content inside the folder before deleting the folder itself. When I'm trying to delete it is saying: Cannot delete folder, folder is not empty or it might contain excluded files, which are not shown. I can't beleive I will need to do one by one.... please help. thanks. The same problem happened to me. But, I don't really understand how to modify .vdproj to solve this problem. Is it possible to tell me more details Thanks! ...Show All
Visual Studio 2008 (Pre-release) BLinq customization
Does anyone know if it will be possible to customize BLinq page layout, as well as to alter navigation structure It helped a lot. Does BLinq use a code generator to create automatically the code that goes behind the pages If so, would that code generator be open to us, mere mortal users :) ...Show All
Software Development for Windows Vista please help to close AactiveMovie Window
{ ... here is generating graph hr = pGraph->QueryInterface(IID_IMediaControl, (void **)&pControl); hr = pGraph->QueryInterface(IID_IMediaEvent, (void **)&pEvent); if (SUCCEEDED(hr)) { hr = pControl->Run(); if (FAILED(hr)) PutMessage("run error"); } } pControl->Run(); this opens a activemovie window how i can close this window from program Geraint Davies thenks i'll try smart pointers ...Show All
Software Development for Windows Vista Workflow event does not get fired
Workflow event does not get fired Tom, Where can I find the UnloadOnIdle property to check its value I'm having a problem when firing an event and I havent been able to solve it for 2-3 days and maybe it has something to do with that property... By the way it would be cool if you could check the post where I explain my problem and give me some advice. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=582956&SiteID=1 Thanks, Ruben ...Show All
SQL Server SP2 failed only on the Database engine and now won't restart
I have a clean SQL 2005 Ent. x64 SP1 clean with no user db's.....applied SP2 and everything showed "Success" except the Database Services (Error 29534)...... Time: 02/22/2007 08:29:50.134 KB Number: KB921896 Machine: TORCA8 OS Version: Microsoft Windows Server 2003 family, Enterprise Edition Service Pack 1 (Build 3790) Package Language: 1033 (ENU) Package Platform: x64 Package SP Level: 2 Package Version: 3042 Command-line parameters specified: Cluster Installation: No ********************************************************************************** Prerequisites Check & Status SQLSupport: Passed ********************************************************************************** Products Detected Language ...Show All
Visual Studio Team System Publishing unit test results without TFS
Hi, I want to publish some unit test results to a system testing team without the use of TFS. I've recently moved over from a java project were all junit test results were published to system test in a junit report. This is idea for my organisation. Here the system test team are totally separated from development so TFS is not an option, and they will only accept code into system test if similar junit style unit test reports can be provided ! I really don't want to have to use NAnt and NUnit2Report, so am hoping there’s another option... Well, there is nothing today, and I dont think we have any plans to change this in the future -- with TFS you get a huge range of things that publishing the results ...Show All
Windows Live Developer Forums Web Services
Hello guys, and gals its another day another doller, I hope. Todays question is about web services. In my gandering around the MSDN forums I keep comming accross web services. These nifty little bouts of code allow you to access a function from a webpage that is not normaly available. Thats a great thing and like the Live Search, Custom Domains and a few other's on live.com it can be really handy. Does the Live Web Messenger at http://webmessenger.msn.com/ have a web sevice My current project is going in the direction of a a stand alone web service client! By using Live ID, my client is hopeing to authenticate the user (his employees), then the user will be able to access alot of diffrent online functions which will configure the applicati ...Show All
Visual Studio How to enumerate all the project files in a IVsProject?
I'm currently implementing a VSIP package for VS2005 that maintains some information for each source files in a solution. How can I enumerate all project files in a IVsProject using VSIP I do not want to use Extensibility objects for that. Thank you. Hi Mishazh, This can be done in a number of ways, but given you don't seem to want to use the EnvDTE automation model, you can use IVsHierarchy.EnumHierarchyItems. There is a sample package in the Visual Studio SDK, that does just this. It's the SolutionHierarchyTraversal sample. Sincerely, ...Show All
Smart Device Development How to register COM object on Windows Mobile device?
Ok so I know on the desktop you can create a COM component and register it so it's in the registry and sorta globally visible to all applications - but how would one do it on Windows Mobile I got Platform Builder and Visual Studio 2005 if anyone wants to know what I'm working with here. I need to access the COM component remotely, so I'd need to do this for that to work. Windows Media Player Mobile does not support DSP plugins. In fact the only type of plugin it supports are UI plugins and those must be UI-less (I know it sounds strange, but that's the way it is) ...Show All
Visual Studio Tools for Office Error HRESULT E_FAIL has been returned from a call to a COM component.
And back to the error with no meanings: I’ve created a document, published it on an IIS, and opened it from the IIS, resolved the security problems, and now facing this error message: Error HRESULT E_FAIL has been returned from a call to a COM component. ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at Microsoft.Office.Core.CommandBarControls.Add(Object Type, Object Id, Object Parameter, Object Before, Object Temporary) at CreditCommentsDoc.ThisDocument.ThisDocument_Startup(Object sender, EventArgs e) at Microsoft.Office.Tools.Word.Document.OnStartup() ...Show All
SQL Server Use parameter in field list?
Hi. Hi I have a problem with using parameter as a column in an sql. Is this possible Lets say I have a input value @field1 that I want to use as field in my sql. "SELECT @field1 AS somthing FROM table" return only the value from @field1 since the parameter is a string. I tryed to write the sql as a string and then use EXECUTE. It will give me the correct result when I run it but the problem is that the dataset doesnt understand that it contains fields. Ex: DECLARE @sql VARCHAR(8000) @sql = 'SELECT ' & @field1 & ' AS somthing FROM table EXECUTE(@sql) Is there anyway to use a input parameter as a column name Reporting Services. Preferble without using stored procedures. Thanks ...Show All
Windows Forms how to disable selected image index property in treeview
Hi I'm using tree view control in my application. I'm using Imagelist to provide images for nodes,but How can I avoid selected item image index Thank u You have to do SelectedImageIndex = ImageIndex per TreeNode I am unclear as to why they have a default TreeView SelectedImageIndex and ImageIndex. ...Show All
SQL Server 1 project - Multiple packages
Greetings SSIS friends, If I have more than one package within one project, how do I select which package I want to run first Thanks in advance. dreameR.78 wrote: This make me want ask a rather obvious question. What exactly is the point of having a project I can understand that a project can have multiple packages but what is that makes the packages run in the order you desire The only way to execute the other packages is to have them called via an Execute Package task. If you are doing that then package executon order is determined by the control-flow of the calling package. Projects are a way of grouping stuff together. That's not as useless as it may seem. e.g. How else would you go about distribut ...Show All
