ECHS BACHS's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Creators Club
Quick question about membership in the Creators Club. I have 3 profiles registered on my Xbox 360. If I enroll my profile (GamerTag) in the Creators Club and upload a game will all rest of the local profiles be able to play the game as well All three profiles are Gold level profiles. Thanks, Mike Hi Mike, The solution is to have the other profiles sign in after you have run the XNA Game Launcher. That way you can play multiplayer games on the same machines. But the subscription holder must always be the one to log in first. Thanks! ...Show All
Windows Live Developer Forums Help needed
I am trying to search for eg: "bank" in some european countries like "Sweden","Norway" etc. I am getting zero results. The same string if i search in "UK","France","Italy" i am getting the results. The Culture Info string is "en-US". Do i need to change the culture info string to get the results. If so how am i getting results for "France" and "italy". Please help me.Thanks in advance. -Praveena Hey Praveena, it would be helpful if you could post some code from your example. I recently built a tool using the MSN Search API that you might be able to use to validate your results with, as well as see how to ...Show All
Visual Studio Tools for Office How to combine two ranges?
Hi All Do you know any method that can combine two ranges Using following code I can't achieve this because COMException is raised with HRESULT 0x800A03EC: using Microsoft.Office.Interop.Excel; Range r = sht.get_Range( "B2,C3" , missing ); // faires COMException with HRESULT = 0x800A03EC: Hi Steve 1. Dmitriy (and therefore to test, I) are not using Office.Tools, so your C# code snippets are not pertinent. 2. I certainly did test get_Range("B2,E3", missing) on a worksheet object (as declared in my code snippet) and got the same error Dmitriy reports. Note: This error number can also appear if the culture in a mixed language environment hasn't been set. Ho ...Show All
.NET Development Reflection: Best way to identify if a specific Interface Exists
Question Is there a better way than what is shown in the code sample to determine if an Assemblies exported types contain a specific interface Example _Assembly = Assembly.ReflectionOnlyLoadFrom(File); AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve += new ResolveEventHandler(OnAssemblyResolve); Type[] types = _Assembly.GetExportedTypes(); foreach (Type t in types) { Type[] infs = t.GetInterfaces(); if (infs.Length > 0) foreach (Type ty in infs) if (ty.Name == "IPlugin") { _IsValid = true; break; } } WHY Admittedly I have gotten spoiled by the HashTable/Dictionary object where if a key or a value is contained within the hash, one can call Contains(Key | Value) without havin ...Show All
Software Development for Windows Vista Application fails to start under Vista: "A referral was returned from the server." Manifest problem?
I'm working on migrating a driver management application (written in Visual C++) to Vista. It requires access to HKLM, so it needs to run with admin access permissions. For testing purposes, we've been modifying secpol.msc to run it in admin approved mode, but obviously, that's not the right thing to do. The right thing to do, from what I can tell, is to add a <trustInfo> tag to the application manifest (which is embedded in the .exe as a resource). I did that, but now the application fails to start under Vista at all, with the error message "A referral was returned from the server." It still works fine under XP. The manifest is pasted below. Does anything look obviously incorrect If not, is there anything that could interact badly w ...Show All
Visual C# Accessing Resource Strings
Hello All, Is there a way to parse the resx file I want to create a text file that contains all the values of the .text entries in the resx file. Then I can give that to a multi-linguistic expert and ask him to convert those strings to some other language. Any pointers on this would be appreciated !! I believe the ResXResourceReader/Writer classes could help you... I used the reader to read the resource files and create a hashtable. public Hashtable GetResources( String Directory, String FileName) { Hashtable ReturnHashtable = new Hashtable (); IDictionaryEnumerator IDictEnum = GetResourcesEnum(Directory, FileName); if (IDictEnum != null ) { ReturnHashtable = GetHasht ...Show All
.NET Development metaclass/class references
Hi, I'm in the process of learning c#, but i'm getting the hang of it pretty fast. The problem is documentation. I've read up on C# reflection, and i'm already using it, but there are certain things which aren't stated. For instance, my issue is that of class references. How do you do such in C#. Like for instance, delphi: <code> {* class reference declaration *} TDBObjectClass = class of TDBObject; {* Method returns the remotable object for a given class type...the method here is a class funciton *} TDBObject.GetRemotableClass(aClass: TDBObjectClass):TRemotable; begin ..... end; </code> What is most IMPORTANT about my question is the fact that I am not concerned with the Dynamic creation of the class us ...Show All
SQL Server Error on Install
I'm getting an error when trying to install the SQL Server 2005 Express. After it installs the Native Client & Support file, it goes through a configuration check. I'm getting this error (complete) :: The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine <machine name> Error: 2147746132 (0x80040154) and then stops. Suggestions would be great!!! Check here: http://support.microsoft.com/default.aspx/kb/201234 Buck Woody ...Show All
Visual Basic Calendar in a VB Application
I want to put a calander into m applictation and when you click a date (which will be in bold) i want it to show an event that is happening on this date.... Any Help ...Show All
SQL Server SQL Server could not configure 'serverdados\repl' as a Distributor. ERROR 15466
I have completely uninstalled and reinstalled SQL 2005 in same computer name Can someone point me in the right direction Here is the error I receive when I try to 'Configure Distribution' in the SQL 2005 management studio. TITLE: Microsoft.SqlServer.ConnectionInfo ------------------------------ SQL Server could not configure 'serverdados\repl' as a Distributor. ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ An error occurred during decryption. There is no remote user 'distributor_admin' mapped to local user '(null)' from the remote server 'repl_distributor'. Changed datab ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Calculating normals for large mesh with no vertex to triangle info
I have a mesh of 100.000 triangles where I need to calculate the normals for the vertices. The datastructure, I am using, does not point from vertices to triangles, but only the other way arround. I therefore defined my vertex normals as the sum of the triangles using them, weighted by the triangles size. I simply set all vertex normals to zero and then run through my triangles (when running through them anyway for some other task) and add a triangles normal (weighted) to the vertices it uses. The I run through all vertices and normalize the normals. This is suposed to give me a valid normal for the vertices. I am not much liking waht i see though. The entire terrain is filled with little pyramids. Light ones and dark ones. When I ...Show All
Visual Basic Setting MessageBox returnValue to Yes
I have created a dedicated WebBrowser application that is only used for viewing a program containing dynamic web pages that runs on my computer. Some of the web pages in the program utilize activeX controls so when I open up a page containing activeX controls in my dedicated WebBrowser application I get the following warning message box. An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction I click the “Yes” button and all is well. It is just that the repetition is annoying. If I set the “ScriptErrorsSuppressed” property of WebBrowser control to True, I don’t get the warning message boxes, but the activeX controls don’t work either. Is ...Show All
Visual Studio Team System Migrating Team Foundation Server workgroup to the full version without a product key
Hi, We've been using the workgroup edition of TFS since it became available (using betas and RCs before that). We've now purchased the full version, and are waiting for media to be delivered. The version that is on its way apparently doesn't have a product key because we are using volume licencing. I saw an MSDN article indicating that there was a way I could get a product key to do an update via the maintenance screen. Could someone tell me how I go about doing this Kevin Possible false alarm (case of RTFM). I'm now creating my own security groups and adding users to that - on the face of it it looks to be working... ...Show All
Audio and Video Development Sonic Emulator not Rendering HDi
Has anyone had success getting HDi content to display in the Sonic Emulator Per Sonic's last training session (early Aug), they dubbed the "Gold Standard" to be what works on the Toshiba emulator. To me this means that they promote their tracing tool to be more important that what the emulator shows/doesn't show. I personally stopped using the emulator to test HDi. The next practical step is use small size videos and DVD-R's (or DVD-RW's) on the consumer player. The next practical step is the use the Toshiba emulator. ...Show All
Visual Basic vb inherited form: cannot see from which form it inherits
If I look in the vb code of an inherited form I cannot see which form it inerhits from. I have to look in the hidden file ...designer.vb to see the inherit statement and to read the name of the base form. Is that normal When you use the wizard for creating forms(or inheriting from a form)...ALL wizard generated code goes into the .designer file...so yes this is normal ...Show All
