Geo725's Q&A profile
Architecture What are "Newly Added Programs"?
All I can seem to find is how to enable/disable the highlighting of "Newly added programs". How exactly does Windows determine that a program is "newly added". I like the feature, but I need to know why some things are highlighted and some are not. I manage a Terminal Server environment and have redirected to a custom Start Menu and now lots of stuff shows as newly added when it in fact is not. How can I set/reset a program as newly added I would like to 'clear' that flag on everything so it starts fresh and only shows new programs as I install them. I checked dates on the shortcuts, etc., but it is still not consistent (IE shows as "new", Excel shows as "old") Samm, ...Show All
Windows Forms Taskbar events
Hi together, I am trying to add a C# control to the taskbar. The control shows up in the "Shell_TrayWnd" and I can click or type some text (if it's a textbox). The idea behind is to have something similar than Windows desktop search, where you can enter the search text in the taskbar and then a window pops up with the result. The main problem is, how can I hook up the events from the taskbar, so that my control recognizes if the tasbar gets resized or the TrayNotifyWnd gets expanded or collapsed. Any help would be great Cheers, Franz Hi, thanks for your answer, I know that project but I thought I can handle this without band objects. But it seems, that there is no other way. Cheers, Franz ...Show All
Visual Studio "Get Latest Version (recursive)" gives list of files for each project
Hi All, We are trying to implement MS-SCC API functions (v1.3) for a SCM. When a solution is opened in VS2003/VS2005 with multiple projects and choose option "Get Latest Version (recursive)" for a solution, SccGet() function is called with list of file for each project. I want to show list of all files in a dialog box. While if "Get Latest Version (recursive)" is selected for a project, it shows all files (including files from directory). Can't distinguish whether SccGet() function is get called from solution node or project node or file node. Any pointers Thanks, Abhay > This raise one more question - How to do IPC communication between MSCCI provider and package Both will be loa ...Show All
Visual Studio Team System Viewing a list of WorkItems from a Project Portal Site
Hi, I know this question might sound somehow strange, but we have a case in which we need to access a work items list for a specific project particularly bugs from a project portal. I know that you can access a specific work item through its id from the browser through the url format: http:// <TFS Server Name> :8080/WorkItemTracking/WorkItem.aspx artifactMoniker= <WorkItem ID > I know also that you can access the project portal through the URL format:: http:// <TFS Server Name> :8080/sites/ <Project Name> /default.aspx The problem is that there is no way to access a list of work items (i.e. Work Item Query) for a particular project from the project portal site !!! Please advise. ...Show All
SQL Server Parameter visability dependant on a parameter?
Is it possible to change the visibility of a parameter based on a boolean parameter that a user can view in the report So you have one parameter that is a boolean value defaulted to false, when the user changes the parameter from false to true another parameter, previously hidden, is then displayed. Thanks Dynamically hiding certain parameters in the report viewer UI is not supported directly through RDL. You would need to implement your own custom frontend for handling this parameter logic and then send the selected parameter values to Reporting Services (e.g. via URL access, or by using the report viewer controls in local mode). -- Robert ...Show All
.NET Development Can't install dotnetfx3setup.exe
This seems very strange. I am running XP SP2 with all current updates installed. It's a new Vaio SZ230P with VS2005 Pro installed as well as Office 2007 Beta 2. I am also running Windows Live One Care, release. I kind of suspect it but am not sure. On another Vaio One Care is one of the only things different and the Beta 3 bits installed just fine. I have tried installing via the web/Run and by downloading to the machine and running from there. In each instance the install dies very shortly after it starts. I have sent the error reports through the reporting mechanism but I don't think you can link those back to me so I'd be happy to send them to you via an email address as I'd really like to get to the bottom of this. Thanks. Gregg ...Show All
.NET Development Using windows Service How to shut down a n/w PC
Dear all, I have created a windows services which is installed in client machine which is on network.how i can shutdown the pc using my windows service Awaiting response. Neeraj You might able to call shutdown command. Note: This depends on access rights. Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername ] [-t xx] [-c "comment"] [-d up:xx:yy] No args Display this message (same as - ) -i Dis ...Show All
SQL Server DataFlow suggestion
I am transfering data from a textfile to sql server.I use a data flow task for trasfering my text files. Here is what i do. 1.Add text file source What i want to achieve here is if the text file countains the column name in the first row i should delete them and if it does not contain column name in the first row just transfer it. how can this be achieved 2.add one more column to my text file which should contain the status(insert or update). how can this be done 3.before transfering data ot destination i want to know if the record exists if exists i just want to update it instead of insert.and if new record i want to insert it .and the status in the above new column need to change. please help... ...Show All
Visual Basic open a form if the system is idle for xxx min
in my application i need to know if the system is idle for more than 5 min my requirement is if the application which i am developing is now open on desktop and if the user of this application dose not give any input to the system for moure than 5 min it should open a dialog which promt the user to input the reason for the idleness [SJW: Merged Thread -please do not multipost] Thank's Tall Dude it has helped me but i should make changes to that code according to my requirement ...Show All
Visual C++ Basic thread saftey
I have a class that will be acting as a buffer for two threads. Thread1 (the faster thread) will only writing to this class and Thread2 will only be reading. Im pretty sure this will be thread safe, but I just wanted to make sure there wont be any problems or any thing if they try to access the same data. Also do you think that Thread2 might slow down the execution of Thread1 Ooo, here be dragons... Given to long responses, sorry, hope you've got some patience! If you have any piece of data/object etc that can be written to and read from at the same time then, unless you can absolutely guarantee that a write will never modify the data or the location of the data that might be being read by the ...Show All
Windows Forms How to Raise and handle Events
I have searched every server connected to the internet and msdn help but they returned no answers to my question Heres what i want to do I have a switch connected to my parallel port and i need to write an event to make textbox1.visible = true when it is pushed Please note i have every thing to do with the parport under control please help dav In addition, I found this article explaining how to program with parallel port in an interesting way and learned a lot, though you have everything to do with the parport. ...Show All
SQL Server SQL CLR Stored Proc Reads
I have written a same stored proc in TSQL and SQL CLR which basically takes an input xml and returns xml document. In SQL Profiler, I am getting reads value about five times more for the CLR. Does anyone has any idea why the CLR is doing more reads than TSQL Thanks in advance. To do it in SQLCLR, you have to first get all of the data from SQL Server (one full read), get it into the CLR space and into .NET data structures, then read it back from there (and since the ..NET data structures are less space-efficient than the SQL Server ones (since they're much more general), that's probably 1.25 more full reads as you loop over that DataSet). THEN you're loading it ...Show All
Visual Studio 2008 (Pre-release) XamlReader.Load is not finding named elements for loose XAML
i've got an app which loads Loose XAML using XamlReader. the problem is that named elements cannot be found by triggered animations when loaded using XamlReader.Load(). but if i embed the exact same XAML into the app ... it works fine. so how is XamlReader not parsing it the same e.g. the loose XAML has a named element in the content like this (it's an excerpt from playing video on a 3d plane). the exception this will throw when it tries to render is "'mediaElement1' name cannot be found in the name scope of 'System.Windows.Controls.MediaElement'." <GeometryModel3D> <GeometryModel3D.Material> <EmissiveMaterial> <EmissiveMaterial.Brush> <VisualBrush> ...Show All
Windows Live Developer Forums Where can I start?
Hi all, I'm interested in creating a plugin for WLM. For example : add a button into the WLM's main window, or into the chat's window, send and receive a message from an another application , ... Can I use VC 6 to develop it Or can I use .NET to develop it and make it comunicate with my application that is created with VC6. Do you have somme samples to make me have some idea please Where can I start I'm a newbie, so help me please even if my questions are simple. Thank you, Hzocm (i'm sorry for my bad english, but i tried my best) .NET ;). You can add reference to Messenger API Type Library (this is a COM library). Then use classes from namespace MessengerAPI. But there some problems with windows live messenger: http://forums.mic ...Show All
Visual Basic How to add comboBox in a data grid column, DataGridComboBoxColumn???
The question is simple, & for sure sample code will b there, I searched & found only C# smples :( I want to add a combo box dynamically [at runtime] in the data grid, it should appear in one of the columns of the grid, say column 1, a text box, column 2 a check box, column 3 is a combo box please provide vb.net sample, if you use any self mde 3rd party specialized class, provide the code please Hi- The sample I point to above supports showing combo values from a lookup table. The piece of the sample responsible for this feature is setting the DisplayMember and the ValueMember of the combo box to values in your lookup table. Could you please try that and let me know how that works for you Best, Paul ...Show All
