jiggs's Q&A profile
Visual C++ Intrinsic available for reading CPU flags
Hi. I'm looking for intrinsics that allow me to read CPU flags, especially the carry flag would be important to me. I'm writng x64 application so I have no possibility to use the inline assembler therefor. I would need the flag register to check wheter a value assigned to an unsigned __int64 caused an overflow. Thanks in advance, Trenor seems without inline assembler, it's hard to retrieve the flag register. if a assignment caused an overflow, there should be an exception raised. ...Show All
Visual Studio Team System Add Work Item menu still loading...
I just uninstalled/reinstalled TFS on my server. I uploaded my custom process template, and created a new team project from my template. However, when I try to right-click the Work Items folder, Add Work Item, it says "Add Work Item menu still loading...(try again in a moment)". It has been saying this for over an hour now. When I remote desktop into the TFS server and use team explorer on there, I can add work items just fine. What is going on here Everything else on my dev machine client appears to be working. I can upload and view documents just fine, and I can run work item queries and see the proper ...Show All
Visual C# Any good examples of how to use Applications settings
Hi, I'm trying to use Application settings to persist the size of a window between sessions in c# Express. I've tried following the help files but it's all way too complex - I can work up to comlpex once I've got something working! Does anyone know if there is a simple 'how to' anywhere, covering the basics What code do I need to add (to save ) What are the steps in the designer Many Thanks for any help Baffled It's a bit old, but how about this article in the MSDN Persisting Application Settings in the .NET Framework http://msdn.microsoft.com/library/en-us/dndotnet/html/persistappsettnet.asp ...Show All
Visual Studio 2008 (Pre-release) How to develop an icq-like applicaton use WCF?
use which binding which channel Hi Leo, WCF includes a feature called "PeerChannel" for writing just these sorts of peer-to-peer applications. We have a great sample that shows how to write a chat application using PeerChannel: http://windowssdk.msdn.microsoft.com/library/en-us/WCF_samples/html/813dc74f-bfcf-43a8-96ce-4d72c083e5f3.asp . For an example of an application that mixes multicast and direct connections for file sharing, check out Omri Gazitt's "Indster" sample: http://www.gazitt.com/Blog/PermaLink,guid,18f80934-df34-445e-944f-495fac1a4c49.aspx . Cheers, JJustice [MSFT] ...Show All
.NET Development Security problem
Hi, I have an application call myApp.exe which is a vb.net application This application call another application call importCable.exe Both application are on the same Server if i double -click on importCable.exe the application start and do what it is suppose to do But when importCable.exe is call from the myApp.exe application I have a security error I call the application importCable.exe from the myApp.exe with this line: Call Shell( \\myserver\mySharedFolder\ImportCable.exe , AppWinStyle.NormalFocus) The error message is : System.Security.SecurityException: Request for the permission of type System.Secutity. ...Show All
.NET Development SUb MAIN in forms application using VB.NET
Hello All, I have this simple question. When you write a application in VB.NET. The application begins to execute from SUB MAIN. When you develop a form application using VISUAL STUDIO.NET, I dont see the SUB MAIN in the FORMS1.VB or anywhere else in the project. Is this SUB MAIN something created automatically by VB.NET and then compiled Thanks Prashant H. K. Hi, You just treat it like C++ program where main is the first running procedures. By default, sub main runs first after initialised components. This procedure serves as the starting point and overall control for your application. This articles clearly ...Show All
Visual Studio Express Editions Installing over VS 2005 Beta 2
Question 1: What is the correct way to install VS 2005 Standard over VS 2005 Beta 2. Should Beta 2 first be removed and then install the Standard VS or is it ok to install over the Beta 2 version. Question 2: I have been trying to use the different starter kits and the .vsi files are not recognized by VS 2005 Beta2. I am hoping that by installing VS 2005 Standard this will take care of this issue or is there something else I need to do to rectify this problem. I have searched for answers but have not come up with anything that is helpful. Any feedback is appreciated. Thanks John You can't i ...Show All
Windows Live Developer Forums Worlds Best App Contest Winners
It’s time to announce the winning applications for MSNR Messenger’s Worlds Best App Contest , which MSN ran from September through December 31 st , 2005. There were a lot of great entries, hard work and interesting new ideas for building new applications and games within Messenger. Submitted applications were judged based on the official rules and judging criteria which included creativity, launches during the contest, suitability for the medium and best use of other MSN services. The following identified winning applications still subject to verification and acceptance of their winning prizes : Grand Pri ...Show All
SQL Server "Open Table" NOT WORKING in Management Studio
When I open a database and right click and select "Open Table" I get the error message "Object reference not set to...". What could the issue be. I have loaded the adventure works db and tried it also and still get the same error. Could someone at MS please respond to this. Also when open table works can I directly edit values in the result pane like I did in Sql Server 2000 David, I will do some research on "Object reference not set to" error. You can edit data directly from the results pane. Thanks! ...Show All
Smart Device Development Smartphone and scrollable dialogs
Is there a way to programmatically scroll a Smartphone full-screen dialog (initialized with SHInitDialog) and set the focus to a control initially not in the visible portion of the dialog The purpose is to bring the user to the control that had the focus before screen rotation (dynamically switching from portrait to landscape). It must be possible, as this is thebehaviour of the standard Smartphone dialogs. According to CESpy, scrolled controls are moved outside the client area so I've been trying several combinations of DM_RESETSCROLL and MoveWindow, DeferWindowPos, SetWindowPos, etc. ...Show All
Visual Studio Express Editions Debug does not work after editing in VS2005 Full
Hi, We have a program. I have the Express version and my developer has the full version of Visual Studio 2005. I work on the project and send it to him and he works on the project and sends it back to me. Well, after he sends me a projec and I make any changes debug does not work anymore. I have to view my changes by choosing start without debugging. Does anyone know the cause of this Is this because I am working on Express and he is work on the FULL version. It was working for awhile then all of a sudden stopped and we cannot figure it out. thanks hi, full versions have some extra too ...Show All
.NET Development Parser Error Message: Execution permission cannot be acquired.
Hello I get following error and I don't know how to resolve it. Server Error in '/' Application. You should exlude the c:\windows\microsoft.net\framework\v1.1.4322\ directory from the Indexing Service on the server. Use "Computer Management" to do this. If you are a little paranoid, then also exclude all temporary ASP.NET application folders beneath the .NET root folder. ...Show All
Windows Forms Overriding the users Regional and Language options
I have a string that I'm converting to a DateTime. I am placing this DateTime in a DatagridVew. I need to control how the time portion of this date time is displayed. I need the time displayed in 24 hour format (13:00:00) It needs to be a DateTime because I need it to be sortable. I repeat, I can not fill this cell with a string, it needs to be DateTime sortable. The string I am converting from is in the format I need. 02/12/2006 21:01:04 If the users computer is set to show times in 24 hour format all works well. If the user has the Time setting to use 12 hour with AM/PM I have a problem. When ...Show All
Visual Basic Amazing super serious bug..
Using 2005 RTM In our file based Webb application, we add a new page. Then we add this simple code. Dim bTest as Boolean = True If Not bTest Then Debug.WriteLine("bTest is false") End If And Guess what, the debug line is printed. If I do a breakpoint on the If line, and add a watch for bTest its TRUE, still it goes into the if statement. Rebuilding the solution dont help. I cant replicate it on any other project at the moment, but it happens in our main development project. Any tips are welcome!! This bug seems hard to repro. But, we at MS are committed to find and fix it. We need more info on the bug. Does this repr ...Show All
Visual Studio Text template load a file
Hi, I need to load a project file from text template and write all lines. The below code work fine, but I need to put complete "path" in property " FileSourceCode" I need to load from "current path". <# if (System.IO.File.Exists(att.FileSourceCode)) { System.IO.StreamReader sr = new System.IO.StreamReader(att.FileSourceCode); #> <![CDATA[ <# while (!sr.EndOfStream) { #> <#= sr.ReadLine() #> <# } #> ]]> <# } #> </EventHandler> Any idea Thanks, Alexnaldo Santos Alexnado, I'm not sure what you ...Show All
