VoiceOfExperience's Q&A profile
Visual Basic "ENTER" key pressed in textbox?
I am just learning Visual Basic 2005 and in the process of making my first super simple game but I am stuck with this problem, I have one textbox and one label. When the user hits the "ENTER" key I want it to check if the text in textbox matches the text in the label. As of now I have a button that does it but I want to get rid of it. Thanks for help with this simple issue:) Thanks for quick response and simple solution but I get an error with that code. 'KeyCode' is not a member of 'System.EventArgs' Thanks Again ...Show All
Visual Studio Team System TF30162: Task "SharePointPortal" from Group "Portal" failed
Yesterday we performed a clean install of Team Foundation Server from MSDN on Windows 2003 Server RC2 and Sharepoint Services SP2. We were able to connect through the network and AD and created two new TFS projects. We rebooted the server and are now unable to create a new project with any user (including the TFSService) user through the network or on the server. We can still connect to TFS and access the two test projects. Here is the error we receive in the Team Explorer when we try to create a new project. Error The Project Creation Wizard encountered an error while uploading documents to the Windows SharePoint Services server on ATLTFS01. Explanation The Project Creation Wizard encountered a problem while upl ...Show All
Visual Studio Team System How can I define an alternate editor?
We use XML Spy and another product internally to edit XML documents, DTDs and Schemas. How can I tell Team Explorer to use a different editor for these files Thanks, Chris Lively MRG Document Technologies In v1 (at least), if VS is able to open a file, it will do so when you select "view" (or double click on a file) in Source Control Explorer. We'll definitely consider an additional option to manually choose a viewer - right now, it only gives you such a choice if VS doesn't know how to open it *and* there's no registered editor in Windows, either. As you may know, VS knows how to open a LOT of file types, so you won't see this very often. For now, you'll want to either use good ol' Windows Explorer or your tool's Fi ...Show All
Visual C# Better class browser
Does anyone know a better class browser I would like one that stays open (e.g. no drop-down menu) all the time, automatically refreshes its contents for the currently opened file and displays the class members sorted. Any ideas Thanks! We're in the late beta stage of a browser that sounds like it would suit you nicely. It's called CodeSkipper , and presents your types and members in a toolwindow. It includes easy-to-use filters for displaying useful slices of your types and members. You can view types within a file, namespace, project, or across the entire solution. Some other useful features: a hierarchical view of your types, so you can easily visualize your inheritance trees. integrated type ah ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Numeric performance on 360
A question for the framework/VM guys... I have ported one of my simpler benchmarks to the 360, and find that the numeric performance is running 5x slower than my 2.8GHz P4 desktop. Now I was expecting a drop in performance on the 360, allowing for the difference in CPU implementation (in order execution / branch prediction etc), but nothing like this magnitude! The benchmark simply transforms a source array of Vector4s to a destination array of Vector4s, using a 4x4 matrix. Have you guys done any benchmarking of pure numeric perf, and if so is this in line with what you get Andy. Shawn Hargreaves - MSFT wrote: The desktop CLR is not easily portable to non-x86 architectures, whereas the C ...Show All
Visual C++ Registration of a Mixed code DLL
This is my first attempt to get answers like this on a forum, so if I leave out information needed, please let me know and I will try to furnish it. I have a project that has 3 .dll's, 2 are written in C++ (mostly native code), one in C#... One of the C++ .dll's uses the C# (via a reference). The project was completed about a year ago and works when compiled with the C++ .Net (2003 version of the IDE). My company moved to the 2005 version (Team server and all that) and now, while the 3 .dll files will still compile without errors, the mixed .dll will not register... the error code returned with the regsvr32 is 0xe0434f4d. As best I can tell, the problem comes from the /clr requirement of the mixed code, using the /clr:oldSynta ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Device inside a content processor?
Is it possible to get the graphics device inside the content processor, to create vertex buffers, etc. I don't know if it's the same situation you're against, but I'm serializing my bsp tree by writing out the front and back nodes like this: (No compiler handy right now, psuedo code:) class BspNodeWriter : ContentTypeWriter<BspNode>{ public Write(ContentWriter output, BspNode value) { output.WriteObject<BspNode>(value.FrontChild); output.WriteObject<BspNode>(value.BackChild); } } I haven't had any problems with type writers calling themselves, it all just works :) ...Show All
Visual Studio Connector inheritance problem
Hi, I got problems with connector inheritance (i'm using the RTM bits). Suppose I start from the Task Flow template. I add a connector MasterConnector that becomes the base class for the CommentConnector. When I create an instance of the CommentConnector (I associate a comment to a task), save the diagram and reopen it, the instance of the CommentConnector has doubled (two lines appear instead of one). Has anybody noticed the same problem Thanks! Mike Thanks for the patient. I think i can repro it right now. The key point here (for my case) is - i have to save and close the diagram, then reopen it, move the shape around. I will look into it and get back to you. Thanks, -Yu ...Show All
Microsoft ISV Community Center Forums dll's in VBA
Currently in my VBA programs, I'm finding myself repeating a lot of code and functionality across different projects, and it would be great from a maintenance point of view if I could create something similar to a .dll, that I could import into a project and use. Furthermore, if circumstances change and I need to change how a sub-routine works in the .dll for example, all projects using it will benefit from the updated code. I know that you can export modules and class modules and then import them into other projects, but this seems a bit limited. First, if i wanted to change how a sub-routine worked in either the saved .bas or .cls files for example, how do I do that Second, how would projects that use either of these two files benefit ...Show All
Visual Studio Express Editions re sizing a form manually in vb express
Hi, Can anybody tell me how to expand the height of a form manually Can u pls send me ur email 2 rihazr@sltnet.lk Regards, Rihaz. Couple of ways. Me .Height += 10 Me .Size = New Point( Me .Width, Me .Height + 10) ...Show All
Visual C# go to definition
In VS2005 when Goto Definition displays a source file (from metadata) ie from an external dll, is there any way of telling which dll the metadata is from In VS2003 the could tell the dll from the object browser. I don't understand what the Object Browser would tell you that the metadata in conjunction with your Project References listing wouldn't... ...Show All
Internet Explorer Development web testing with IE
Ok, so maybe over the years I've missed something BUT how on earth can a web developer test the various versions of IE other than multiboot systems or multiple systems While IE7 is a great improvement, it is a small pain to switch to another system to test IE6, and then to have to configure yet another system for IE5.5. When will Microsoft come out with a web developer version of IE that will emulate the previous versions or did I miss it somehow. I agree. Lightweight IE browsers for testing version incompatibilities would be a wonderful sight. So far, I've only seen Virtual PC as an MS-recommended one-system/multi-IE setup: http://blogs.msdn.com/ie/archive/2006/11/30/ie6-and-ie7-running-on-a-single ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reformulated Discontent
ok sorry, i calmed down a bit. hope that last post gets yanked, actually. in case they do, i'm starting a new and less emotional thread. i hope i wasn't the only one who went through some significant frustrations when just about everything went boom on that first re-compile...here's a more articulate (i hope) expression of my discontent. i understand that things need to change if it's going to be done right. however, there were many things missing that were good (i.e. WindowsGame_Starting/Exiting overridables) that are now gone. in addition, some changes were outright arbitrary. adding the full-screen feature is a good example of what you *want* to do in a second beta -- though it is a basic enough feature that i personall ...Show All
Software Development for Windows Vista Cannot access a disposed object.Object name: 'WorkflowRuntime'. - Error in Workflow with Xaml activation
Hi all, I have a problem when I am starting instance of WorkflowRuntime. Public Sub IntiateRegisterPatientWorkflow( ByVal instanceId As String , ByVal requestXml As String ) Dim workflowRuntime As WorkflowRuntime = CType (HttpContext.Current.Cache(WorkflowRuntimeCacheKey), WorkflowRuntime) If workflowRuntime Is Nothing Then workflowRuntime = New WorkflowRuntime HttpContext.Current.Cache(WorkflowRuntimeCacheKey) = workflowRuntime workflowRuntime.StartRuntime() End If Dim objRegistrationInputParameters As Dictionary( Of String , Object ) = New Dictionary( Of String , Object ) Me ._wfRegistrationRequest = requestXml Me ._wfInstanceID = instanceId Dim ...Show All
Windows Forms Reading Installer Public Properties from a file.
We create Windows Installers using Visual Studio Deployment projects. In out Continuous Integration environment, we do a silent install of the newly created installer, as follows - >> msiexec /i /passive myinstaller.msi USERNAME="foo" DBSTRING="mydb" However, what we want to do is this - >> msiexec /i /passive myinstaller.msi PROPERTY_FILE="myprops.txt" Where, the property file contains the properties we would have been passing from the commandline, i.e., >> type myprops.txt USERNAME="foo" DBSTRING="mydb" After reading a post and this article , this is what I understand - I can create a custom action that reads the file, and creates ...Show All
