cmendozas's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XBox 360 hard drive question for MS staff - semi off topic
With all the great new offerings out or coming soon for the 360: XBox Live Video Marketplace, XNA game creation, and the recently announced IPTV, the poor little 20GB hard drive's days look numbered. Is MS planning to release a larger hard drive for the 360 I'm pretty sure that many people (including myself) would be very interested in one. What I would most like to see in terms of additional storage is the ability to use a standard USB external hard drive. Similiar to DVR's. For instance, my Explorer 8300 DVR, made by Scientific Atlanta, does this very nicely. And it formats the drive in a way my PC does not understand, which reduces the risk of ripping content from it. ...Show All
Visual C# validating gender
I am using this code to validate my records .. but the problem come always from gender ... I want it to be male or female but alwayes when I type male it does not pass the validator.. help me this is m code if (Request.QueryString["username"]=="123" && Request.QueryString["password"]=="123") { if (Request.QueryString["id"] =="" || Request.QueryString["id"].Length>4) { Response.Write("-2"); Response.End(); } if (Request.QueryString["name"] =="" || Request.QueryString["name"].Length >50) { Response.Write("-3"); Response.End(); } if (Request.QueryStr ...Show All
Software Development for Windows Vista How do you install system fonts in Vista?
Is there anyway for a normal (non-installer) program to install system fonts without making a separate executable that demands elevation so that it can write files in the system fonts directory or to be able to write to HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts Similarly, if you want to install a font permanently for one user only it seems like you have to use the virtualization stuff (which seems like a hack that will break someday, and might not even work now, since it would only be visible to programs running in compatibility mode) or just have an application re-add it everytime that they run. Is there a better way Note that installer detection can be turned off and doesn't apply ...Show All
Visual Basic Setup Project Question
Hi, I'm trying to deploy a VB.NET 2005 application that works with a registry key, because I need the user to type the value of this string, I would like to build a setup program that will have a user interface. Is there a way that I can do this with the "User Interface Editor" in the Setup project in Visual Studio 2005 I need to install also a windows service, I know that when you have the myservice.exe file you need to run the command line: InstallUtil "c:\path\myservice" Is there a way I can acomplish this by adding this line in the setup project (my final installation package) Is there a way to add code Does somebody know where can I get more information about the deployment options Thanks guys ...Show All
Architecture Visio UML Code templates
Has anyone got any documentation or examples of custom Code templates. Regards My answer might be irrelevant, but I'ld write it anyway - don't use visio for code generation, you'll regret it later ! Try Sparx's Enterprise Architect - it's much better and the code generator is fully editable. Ido. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Applying custom effects to an imported model
Hi everybody! I'm playing around with my shiny new Beta2, and I'm loving it. :) I've hit a bit of a stumbling block, though: I have a .x model that I've imported, which was pretty elementary.... What I've not been able to do is find the proper methodology for associating a custom, imported effect with the meshes in my model. How exactly do I do that And what if I want different material effects applied to different meshes in the model Thanks, and I appreciate the help! There are two options: At runtime, you could loop over all the ModelMeshPart objects (contained inside each ModelMesh inside the Model, so you'll need two nested loops) and assign you new effect to the ModelMeshPart.Effect property. You co ...Show All
SQL Server Dimension Writeback
I am interested in using the Dimension Writeback feature to solve a specific problem in a forecasting application. I only need to Update attribute values on existing dimension members, I don't need to insert or delete members. Looking at various resources on the web, I think I understand the following ... - I must be using the Enterprise version of SQL Server / SSAS - I need to write enable the relevant dimension from within my development environment - My users need to be using an OLAP Client which supports dimension writeback. Some questions ... - Is my understanding above correct - Do the following OLAP clients support dimension writeback --- Excel 2007 Pivot Tables --- Excel Services running within Sharepoint 2007 --- If n ...Show All
Visual C++ Help comparing strings
I am trying to make a magic 8 ball program I cannot figure out how to compare strings here is my code #include <iostream> #include <cstring> #include <windows.h> using namespace std; int compare(string question); void cases(int num_coord); int main () { string question; cout <<"Ask the magical 8 ball!!!"<<endl; Sleep(600); cout <<"What is your question:"<<endl; cin >>question; int num_coord = compare(question); cases (num_coord); } int compare(string question) { int num_coord; if (question == "does") { num_coord = 1; } else if (question == "when") { num_coord = 2; } else if (question == &qu ...Show All
Windows Forms Multiple rich text boxes and one rtf.
If I've posted in the wrong area please forgive me. I've read through quite a few posts are various forums. I've asked a few questions awhile back and had to put this subject down for awhile. Now I find I'm back at the end of this mess saying "I remember now". I have arrived here to post my unanswered question. I have two rich text boxes. The first rtb receives formated text by LoadFile (somefile, RichTextBoxStreamType.RichText). The second rtb receives text and formatting from the user. This includes use of fontDialog. The goal is to "append" rtb1 with the contents of rtb2, formatting remains intact. Keeping in mind the differences between rich text, plain text and the associated code for each; how is this don ...Show All
Visual Studio Loop Project Files
Hi Is there a way to to gather all filename(full path) in any given project I succeeded in get a CS project code to parse using ProjectItem.Properties, but this method fails when run agains a CPP project. Any Ideas Thanks Alistair I was already using the Property.FullName Value, I was looking more for a way to loop the all files in a given project . Thanks Alistair ...Show All
Visual Basic Textbox Array
Hi, I have a VB6 form converted into VB.net (2005). The for has row of textboxes populated from datbase, like EmpNo EmpName Salary Department Job DOB 1 ABC 5000 IT SE 1980 2 XYZ 4500 IT SE 1981 Each value in row will be populated into textbox (array), and its Dynamic.. Depends on the number of records in a table Problem is: After Conversion using Wizard, when i run VB.net application, form is showing Blank and looks like hanged. When i look at the code the textboxes converted like.. _txtName_0 Public WithEvents _txtName_0 As System.Windows.Forms.TextBox shows this in FrmEMP.Designer.VB What is solution, data is coming from database and fine, only thing is i need to know, how to manuplate with textboxes arrays i ...Show All
Visual Studio Team System Unrecognized default notification 'From' address again....
Although I have seen this issue before, I haven't been able to fix this on the environment I am working on now. This is an environment that was once restored from a single VPC into a dual server environment. I have verified the web.config and both the mailserver and from addresses are fine. I have even set the email property of the user used to run the AT in Active Directory. Tried, IISReset, even reboot. The STMP Server can send messages, I verified that. I still end up with this error in the eventlog: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.Technical Information (for the administrative staff): Date (UTC ...Show All
Visual C# Raising events from one thread to other
Hello, I am new in C# and would appreciate any information on standard ways to raise events from worker thread (System.Threading.Thread) to the main UI thread, where the main form is created and lives. Here I interested in the events only (as they usually used within the thread scope), not Control.Invoke()/BeginInvoke(), not BackgroundWorker class, as they are more or less learnt and OK. By default, raised events go to the same thread, is it the only behavior If not, how I should redirect them into UI thread's message loop Thank you in advance. Try this thread. I had the same question and it was answered well in this thread. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=797 ...Show All
Windows Forms How to bubble down a mouse event
I got a panel that has one control A inside it. I need to catch the MouseEnter event while i am in the panel and over A. Anyone knows how to do that Hi Yep i know the Location and size of my panel but how do i know the X and Y If i register the panel on the mousemove or mouseenter or what ever it fires ONLY if I on the panle itself. But when the panel contains controls the events DON'T FIRE !!!! Only the event in the controls fires. ...Show All
Internet Explorer Development Offer Remote Assistance breaks after installation of Internet Explorer 7
We are seeing an issue where Offer Remote Assistance breaks after Internet Explorer 7 is installed. The error message generated is "Remote Assistance failed. Please try again." Has anyone seen this And, does anyone know how to resolve it Thank you, in advance. Windows XP SP2 Internet Explorer 7 RC1 I just installed IE7 on my Dads computer, but when he trys to send an invitation, it fails "program could not be started, please re-try". - This is with the official release downloaded through MS update..! Any Ideas! ...Show All
