Dave Arter's Q&A profile
Windows Forms task notification service?
Hi all, I am thinking of creating an extra feature into a derivative taskvision app to send reminder emails out to task assignees when the 'complete by' date is almost up. Basically I am looking for some pointers on how to approach designing/coding this...my first thought is a windows service to poll the database once a day and find incomplete tasks that&nb ...Show All
SQL Server Using Active Directory from MSRS to find usernames, phone numbers
hi, I'm a newbe when it comes to reporting services and was wondering if it's possible to use active directory to provide a dataset/table of users (samaccountname from a domain group) to be used in a report parameter. I've seen examples in .net on how to extract the information programmatically, but don't know how to translate that to RS, nor how to determine the data provider through that interface. any help would be appreciated. thanks, jon There is an OLE-DB provider for AD. Using that provider, you should theoretically be able to treat AD like any other data source. http://www.carlpr ...Show All
Visual Studio Express Editions How to Format date from 01/01/06 to 01, Jan 2006 in VB 2005
I am having a problem. I just installed the new version of VB 2005, and I don't know how to format the date. For example in VB 6.0 I do as fallow: CODE: Me.panelDate.Caption = Format(panelDate, "dddd"", ""dd MMMM"", ""yyyy") DISPLAY: Sunday, 01 January 2006 If I do similar using the VB 2005 CODE: Me .LabelDate.Text = Format(LabelDate.Text, "dddd"", ""dd MMMM"", ""yyyy" ) DISPLAY: " dddd"", ""dd MMMM"", ""yyyy" I know it is something I am doing wrong. Please someone help me I am getting stressed with this new VB 2005. Thank You ...Show All
SQL Server WMI Provider Error
Hi, Im new to SQL Server 2005. Im getting this "WMI Provider Error" when Im trying to change from Local Service to Network Service. Im using Windows Server 2003 Standard. The error msg said : "A new member could not be added to a local group because the member has the wrong type". Any solution for this And is what Im trying to do is correct (Change from Local Service to Network Service) In order for workstation to be able to connect to the SQL Server Thanks for your repy beforehand. Can you describe a little more about your configuration and what you're trying to accomplish If the issue ...Show All
Visual C++ Problem with LoaderLock in C++/C# application in release build of VS Standard
Application Description We have a mixed application written predominately in C#, with some legacy dialog MFC stuff written in C++. We have been developing this through the VS beta's to the point where the application runs and correctly works with the C++ code integrated in with the C# code, paying regard correctly (as far as we are aware) to all the issues with Managed/Unmanaged code, and such things as DLLMain. Problem Now we have recompiled the application with the release build of VS Standard, with the intention of preparing it for release in the next few weeks. However the recompilation has introduced an error we are unable to ...Show All
SQL Server Filter Records returned on report builder based on User LogOn
Dear Anyone, Is there a way to filter the records returned by a report model in report builder depending on the actual user that is logged on the report If so, how do we go about this Thanks, Joseph This has been vexing me as well for quite some time as well. At times, it seems like I'm getting real close to an answer just to get shot down by restrictions on what entities are available when inside the Expression Editor. In my case, all data goes through our web services and users have no direct access to the database, so that leaves making filtered views out of the question. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Asset Relationship Management
Hi, I am quite interested in the functionality that the ARM API can provide and think that it will be very useful to us and I would like to do an evaluation of it. Are there any samples or tutorials online or in the March 2006 CTP that explain how to use the API Cheers Ashley Davis Lead Programmer Kuju Entertainment Hi Ashley, at the moment the ARM concept is very much a prototype, as is the ARM explorer, hence the less than intuitive interface :). We really wanted to get it out there as soon as possible so we can better understand the direction that customers would like to see it go in. I definatley agree with you th ...Show All
Windows Forms Object Reference Error.
Here is some code of mine: Public PassedLine As String Dim myValue As String = PassedLine If myValue.IndexOf("Jason") > 0 Or myValue.IndexOf("Gaylord") > 0 Then UpdateType = 1 Return ...Show All
SQL Server IAuthorizationExtension.GetPermission for a specific report
The signature of the method is: public StringCollection GetPermissions( string userName, IntPtr userToken, SecurityItemType itemType, byte [] secDesc) How to get permissions for a specific report "/report/reportxyz" using this interface Thanks very much! Yuhang. Just in case someone is looking for information on this like I was, I found my answer here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/RSPROG/htm/rsp_ref_soapapi_service_ak_269g.asp Specifically, this chunk of code will go through the permissions on a report: Imports System Imports System.Web ...Show All
Visual Studio Building target partially
Building target "MyTarget" partially, because some output files are out of date with respect to their input files. How does MsBuild build a target partially Does that mean that it only run some of the containing tasks I imagine that it can't figure out which tasks to run since inputs and outputs are not always defined clearly on a task. Update: After a while I figured out that is one of the dependent targets that skip building because of its inputs and output. The Target in question is build completely. Perhaps a better message would prevent a misunderstanding like mine! Hmm, I just tried that, but ...Show All
Windows Forms InvalidOperationException
Hi, I create a Windows Form with a datagrid on it. I create a class with at least 2 public properties. I bind the grid to my object. A bindingsource is automatically created (grid->bindingsource->object). (allownew for both grid/binding source) When I run the form, edit the first column of the first (and only) row, press tab and then press escape my app crashes with an invalidoperationexception (operation is not valid due to the state of the object). I have been investigating this for a week now. Can't get it to work. Probably has something to do with not implementing ICancelAddNew or IEditableObject, ... Any ideas T ...Show All
Windows Forms Help with creating a custom designer
Are there any good books or examples that describe how to create a custom designer INCLUDING wiring it up to a custom CodeDomSerializer to generate appropriate code in the InitializeComponent method of the designer control. The code will be added to a custom code editor in a similar way that Visual Studio adds it to a code behind module. There seem to be numerous examples showing how to host a custom designer (which I can follow) but none show how to implement code behind generation. I hope this makes sense. Any help would be appreciated. Damien Came along a good example of this in the MS ...Show All
SQL Server Transfer SQL Server object task: Can we cleanse data by using the expression?
Hi all, I have a task as creating a SSIS package to transfer all the 10 tables from a database to another. And I have used the Transfer SQL Objects Task to select a table list and let the component do the transfering. But my problem is that the source database have bad data and some null data, so I have to find a way to transfer only 'NOT BAD' data, and remove the bad data (lost relationship) and change NULL to "N/A". And I can't find a way to do this. Is there anyone have experiences with this problem Can anyone help me I will very appreciate you help Eliminate the bad data using a Conditional Split transform. ...Show All
Windows Forms Simple Control Binding to objects
Ok, I feel like an idiot but I cannot get simple control binding to work. I've set up a DataSource and mapped it to my custom object. Assigned the DataSource and the Databinding to several of the properties of the object on the actual control. But when I run the form - no databinding. What am I missing Apparently there needs to be something to trigger the binding, but looking through the method interface there appears to be nothing there... Also, anybody have a link to where databinding basics are described for Winforms 2.0 I've searched around and there are all sorts of articles that talk about list binding and using the navigator co ...Show All
Software Development for Windows Vista Please help
When I try to build an old project which uses directx to show videos. there are errors as follows Linking... ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_AudioRendererCategory ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_AudioInputDeviceCategory ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_VideoInputDeviceCategory ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnum CyklOneDlg.obj : error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnum Graph.obj : error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnum ConfigDlg.obj : error LN ...Show All
