vpitts's Q&A profile
Windows Forms Windowbase application
Hi, I want to create a windowbase application which must be in running stage and its icon should be displayed in taskbar system tray. All suggestions are welcome. Thanks in advance. Regards Hi Hitendra here we have an example minimize window to system tray using c#, hope it help you. http://www.developer.com/net/csharp/article.php/3336751 ...Show All
Visual Studio Team System Visual Studio 2005 with Team System?
I would like to try some of the features of the Team System so I am thinking of installing the trial edition. Given the fact that this is a 180 - day trial I will eventually remove this trial. What will happen to the existing Visual Studio installation Can I still use VS 2005 projects when I have the Team Suite installed Will they continue to work after the trial is over Thank you. Kevin I still get the "180 trial period has expired" message, see the "Team System" as the launching version, and get a failure to launch after uninstalling the trial version, then uninstalling the vs 2005 pro, and reinstalling it. ...Show All
Silverlight (formerly WPF/E) OnLoad event
I'm trying to create the a WPF/E control and hook up a some events after it has loaded it's XAML. I've trying a zillions of ways to hook up the onload/onloaded/loaded event (or what ever it is called - the doc is not too clear on that), but no luck. I'm also confused on whether I should hook the event to the host or to the WPF/E Control Basically here's what I'm trying to do: this ._host = new agHost( this .get_element().id, // hostElementID (HTML element to put WPF/E control into) this .get_element().id+ "_wpfeControl" , // ID of the WPF/E ActiveX control we create this ._width, // Width this ._height, // Height this ._backColor, // Background color null , // SourceElement (name of script tag containing x ...Show All
Windows Forms How can I draw a circle (ellipsis) at design time ?
How can I draw a circle (ellipsis) at design time In Delphi and VB6 there is this option. What about vs 2005 I think only nobugz really understood my question (all the other solutions are runtime solutions, not design-time.....). I want only to be able to drop and adjust an eclipse (in fact a lot of them) on a form, but at design time (visually - the form should be "beautiful"), not through code .... And I still didn't test nobugz code ... ...Show All
Silverlight (formerly WPF/E) WPF/E vs. XBap
Hello Community! I was recently trying to evaluate why there is seemingly two ways to write web-based applications with WPF. Am I way off Can anyone explain to me when I would use an XBap over a straight up WPF/E application Thanks, Alan Shan McArthur wrote: As it stands, neither XBAP or WPF/E are suitable for integrated web development. Indeed. It really seems as if Microsoft has gone out of its way to make sure they don't have a competitive rich-client development environment. XBap's hijack your whole browser and can't even read your session cookies. Meanwhile, WPF/E is just an anemic version of Flash with no Flex components. WPF/E's ability to communicate with browser obje ...Show All
SQL Server SQL Statement gets truncated at 7459 characters.
Hello, I am debugging a SQL Server 2005 stored procedure that creates and executes dynamic SQL statements. One of these statements fails because it has a length of 7811. The statement is created in a varchar(8000) or varchar(max) and executed with exec(@variable). Apparently, the system tries to execute only the first 7459 characters of the command string, and it fails. Obviously, the query can be redesigned in a better way, but they are complex queries and there are hundreds of them, and i do not have the time to do it. The SQL Server documentation says that the length of a varchar can be up to 2^31 characters with varchar(max) declaration, and I hope for a way to enable these long queries to work. Thank you in advanc ...Show All
SQL Server Can't uninstall or reinstall SQL Server 2005 Dev
Long story short: Installed SQL Server 2005 Developers Edition along with Visual Studio 2005. Everything worked as it should. Then there was a problem installing .NET Framework 2.0 Security Update. Fixed that by uninstall and reinstall of .NET Framework 2.0. Now SQL Server does not work. So I figured uninstall/reinstall. Only problem is that it WILL NOT uninstall. I have tried to uninstall manually per KB article (9009967). That doesn't work either. The error info that I'm geting is: LinkID: 20476 Product Name: Microsoft SQL Server Product Version: 9.00.2047.00 Message source: setup.rll Message ID: 50000 EvtType: stateengine\resourcemodule.cpp@ScheduleActionAction@sqls::ResourceModule::LoadStringW@0x716 I ...Show All
Visual Studio Need help building web projects with MSBuild?
If you're interested in building your web project using MSBuild, we can save you the trouble of posting the question and waiting for an answer :) To build web projects with MSBuild you need the Web Deployment Project add-in. You can get it from http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/ . Another option is to use Web Application Projects , which give you the VS2003 model of working with ASP.NET projects, but the benefits of ASP.NET 2.0 and VS2005. Happy building! Neil Craig, There's no support for publish/deploy from the commandline that I'm aware of for web projects. With regard to your other question, I'll have to pass this along to the web guys and have them post back. I'm not too familia ...Show All
SQL Server is SSIS wonderful?
Hi guys, I'm using sql 2000 now but eventually will upgrade existing server to sql 2005. currently we only have OLTP dbs. I would like to set up data warehouse & OLAP functionality to drive reporting from the system, is SSIS the product I need can you please give me the suggestions regards I know SQL 2005 can do pivot() in the query, isn't enough for reporting Do I really need to use SSIS ...Show All
Visual Studio 2008 (Pre-release) Element Binding: Line X1 Y1 bind with UIElement's location
I have a line object on the canvas and along with button. line's X1, Y1 exactly start from the right border of the button and end after some distance. Now what I want is to bind the X1, Y1 properties of the line object with the location of the button. Now e.g. if the button object moves, the line's X1, Y1 should move with button (just because of element binding). (make sure that X2, Y2 should be static, no movement should occur) Can we do that in xaml.... Any question please ask Thanks alot to read this thread :) and too thanks in advance to feed it something like this should work < Canvas Height = " 400 " Width = " 600 " > < Button Canvas.Left = " 100 " ...Show All
SQL Server TOP 2 in a Cross Join (Matrix)
Hello I have to retrieve a cross join between languages and language-skills for more person in a matrix (grid) report. E.g. i like to ritrieve the TOP 2 people in each "cell" of the grid (order by name). There are 3 people in cell "ITALIAN / very good". So i have to retrieve only the top 2. In table tEmployee i have the people names (john, anna, michael) In table tLanguage i have all language (english, italian, german) And in table tLanSkill i have the language rating (bad, good, very good) bad good very good Englisch Michael John Anna Italian John Michael Anna German Anna THX for your help. ciao, michele ...Show All
Smart Device Development only get files with the correct extension
Hi! I want to get all the files in a folder that has an extension matching one of the extensions in a string array. How do I do this Thanks, Martin Martin, It sounds from your original question like maybe you meant to get all of the files in a folder matching any of the extensions in a string array. There's no API that does exactly that, but you can easily do something like this: string[] extarr = { "*.txt", "*.htm" }; List<string> filelist = new List<string>(); foreach (string ext in extarr) filelist.AddRange(Directory.GetFiles(".", ext)); You should be aware, however, that the Directory.GetFiles() method has a somewhat unintuitive behavior when you tel ...Show All
.NET Development Server Control Id and Name from Script
I have a doubt. I placed a web server Button with in the Content Region of a Master page. i gave the Button ID as "Button1". But at Run time when i access the Button from Javascript thru as alert(document.getElementById( 'ctl00$ContentPlaceHolder1$Button3' ).value); i am getting object not defined error. I checked the view source of the web page. then i saw that my button id and name changed to ctl00$ContentPlaceHolder1$Button3 and ctl00$ContentPlaceHolder1$Button3. Now how i can access my Button from script or how will get the new(changed ) name and id from my script Sreejith If you can count on the text/name of your button staying the same you can use something like this ...Show All
Visual Studio Tools for Office document close event.
Hello, I want to use the close event of document object but the thing is that it is still fired even when the user clicks on the close button but then chooses cancel when the prompt is displayed. The microsoft.office.tools.document class has shutdown event that I'd like to use but it is not possible to use this class from another application. What can I do should I create a component using VSTO and then use it from my app If yes how I want to open a word file from my application and then detect when it is closed. Also, the document class has got many collections like these: tables,words,paragraphs,etc. Is it possible to store all these collections in other files or in sql table and then assemble the word document using them Thanks ...Show All
Windows Search Technologies wds exception error when clicking file types tab
System WinXP current with all updates. WDS 3.0 beta 2. Uninstalled previous version of WDS prior to installing 3.0. When using control panel to access indexing options, then advanced button, then file types tab, I recieve the following error. RUNDLL An exception occured while trying to run "C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\System32\srchadmin.dll",Indexing Options" When accessing indexing options from right click on tray icon, then advanced button, then file types tab, I get the following. RUNDLL An exception occured while trying to run "shell32.dll,Control_RunDLL "srchadmin.dll"" I've spent most of the morning trying to find any information on this with no luck. I've also un ...Show All
