Orest's Q&A profile
Windows Forms create timeline control in c#
Hi, I need to create a timeline control in c#. But I don't even know what it is. And the timeline control should be C# managed control patterned after Outlook’s Journal. And I have no idea what that means. I need some  ...Show All
.NET Development active directory update with application.
I want to be able to update attributes of active directory users. I am using this code to get the user's information. Specifically if the user is active or disabled. ------------------------------------------------------------------------ Dim search As DirectorySearcher = New DirectorySearcher search.Filter = String .Format("(SAMAccountName={0})", userName) search.PropertiesToLoad.Add("givenName") search.PropertiesToLoad.Add("sn") search ...Show All
Visual C# Operator '+' cannot be applied to operands of type 'T' and 'T'
One day, the Microsoft C# team will stop treat us as kids, and this code will become possible: public static ABIDataVoidNull<T> op_Addition_NV_NV<T>(ABIDataVoidNull<T> inValueL, ABIDataVoidNull<T> inValueR) { if (inValueL.IsVoid) { ...Show All
Visual Studio Express Editions Stop Row Deleting
I have a DataGridView with some rows displayed and would like to check if there is any related data before deleting the row. I have a foreign key constraint but would like to popup a nice message when the user tries to delete the row rather than wait until they click on save and have the ugly, default error message. My first thought were to put some code in the RowDeleting routine. I have tried putting in a popup message along with e.row.c ...Show All
.NET Development invalid primitive type:system.reflection.missing. Only CLS compliant primitive types can be used. Consider using CodeObjectCreat
I am using VS.NET 2003 and .NET framework 1.1 with hotfix (KB886903). I got the error message when I tried to place an OCX component on to a form: "invalid primitive type:system.reflection.missing. Only CLS compliant primitive types can be used. Consider using CodeObjectCreateExpression." This article http://support.microsoft.com/default.aspx scid=kb;en-us;811532#appliesto says MS has a fix download, but I couldn't find it. ...Show All
Visual Studio Team System INstall WSS=> MDSE =>INstall VSTF =>UNinstall WSS Do While True
WSS (STSV2.exe) automatically installs MSDE THEN Visual Studio Team Edition install complains about it saying "Uninstall WSS, drop MSDE and reinstall WSS", which automatically Installs MDSE without notice.. Do while True Install WSS Install Visual Studio Team Edition UNinstall WSS UNinstall MSDE EndDo 'Loop til you die.. Maybe STSV2.exe should ask if the user would like to use the existing SQL2005.. If I ever get Visual ...Show All
Visual Studio Team System Issues with Windows Sharepoint Services while Installing TFS
Hello All, I am installing TFS. while installing TFS we are geting following errors " Error 32000.The Commandline '"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadm.exe" ...' returned non-zero value: -1. " and then doing everything what MS says we get this error. " Error 32000.The Commandline '"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\S ...Show All
Visual Studio FireFox Compatiblity
We need to create reports that can be displayed in a multitude of browsers. We created our first report with ReportViewer and it looked great in IE, horrible in Firefox. I've seen some work arounds listed in this forum for shrinking report issues etc. I was wondering if we should continue down the ReportViewer path or just switch over to Active Reports or another 3rd party product. We have similar problems with using ClickOnce in Windows forms, ...Show All
Visual Studio Team System File locked by another programmer
I have a project that has a file locked by another programmer that is no longer working with me and I can't get him to check the file back in. How do I (as an adiministrator) remove the lock from TFS source control Please add your thoughts to the following blog post. The tfpt features are certainly high on the list for a VS power toy. http://blogs.msdn.com/buckh/archive/2005/11/16/493736.aspx Buck ...Show All
SQL Server Configuration File Locations - Likes to say it can't load them in designer
I have a package and added a configuration file to it to hold settings such as connection strings etc. When I open the package up in the designer and check where the configuration file is from, it likes to specify it with a full path like this: \\myserver\projects\packages\blah.xml Where blah.xml is the configuration file and the package file is in the same exact directory. This creates an issue when I use build and then try to insta ...Show All
Software Development for Windows Vista WST decoder for Turkish character?
Hi! Does anybody know about Turkish character display of Microsoft WST decorder I wrote a program, it seems to work fine in English Windows but can not decode O.K. in Turkish Windows. Reading the docs on the WST Decoder I see: "Only Western European languages are supported at this time" They don't specify which languages those include, but given that you say it doesn't work, it seems l ...Show All
Visual Basic initialise settings variable
Hey guys, In my application I have a setting that is an arraylist variable. I keep getting a Nullreference exception because it hasn't been initialised yet. So easy I initialise it but then it does that every single time I start up and the variable is emptied every single time when I want to be able to save it on exit and reload eve ...Show All
Windows Forms WebBrowser interaction help
Used to be with the ActiveX web browser you can use - AxWebBrowser1.Document.All("username").value = "HackMax" to set a value of an element in an HTML document. How do you do it with the new WebBrowser control in .NET 2.0 What does "value" pertain to Would value be the name of a textBox or something on the webPage you are sending your string to ...Show All
SQL Server Create time or date timension?
Is there aan easy way to create these dimensions in sql 2005 Thanks Luis, One way to achieve this is to use a Script component to create the source rows. It runs exceedingly fast (even on my workstation) and 10 years worth of calendar dates is less than 4000 rows, for the time dimension, given that the granularity is minute, 84000 rows or so was also quick to generate. Paul ...Show All
Visual Studio comment helper in VS2005
looking at v 2.0 50727 for the HelpStudio Lite, but see only a feature to highlight a line of code as a comment- where is the export feature to create a XML comment file that was in Configuration Manager Is HelpStudio Lite in this versions I have installed the VS2005 SDK Octover version, but there is no 'Comment Helper' add-in HelpStudio installed but no DocumentX How do I get the xml comments to docu ...Show All
