asalcedo's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Simple Game
I can't wait until tomorrow. I have a idea for a hope a simple game which I believe could be a really addictive live game. I know I can't do multiplayer so I'll will be working on the single player game. I have no programming experience shock horror. So here it is. Im assuming this is going to be 'click and play' and then program something like Gamemaker. Will it be easy to swap a characters charistics ie basically swapping from one type of thing into another. I don't want to give too much away! I really do think this could not be acually ground breaker but really addictive. There isn't another game of its type out at the moment. I dreamt about it last night :) The Pro version of Game Studio ...Show All
Visual Studio 2008 (Pre-release) How to arrange items of a ListBox in this way?
Normally, the items of a ListBox is arranged in order. Seems like: Item1 Item2 Item3 Item4 Item5 Item6 Item7 Item8 Item9 But in my situation, I hope the items to be listed in this way: Item1 Item2 Item3 Item4 Item5 Item6 Item7 Item8 Item9 I know it's really strange. But can I make this happen Thanks ItemsPanel is a property than can be set on the ListBox. You can use any panel, including custom panels to layout the children of a ListBox. Here is an attempt with Canvas to get something like I see in your question above... <ListBox> <ListBox.ItemsPanel> <ItemsPanelTemplate> <Canvas /> </ItemsPanelTemplate> & ...Show All
Visual Studio Team System Solutions and team builds spanning TFS servers?
If you had two team foundation servers, could a solution contain projects from other TFS servers. Such that Get latest at the solution level would work and things of that nature Second question could you get team build to work that way There might be a custom solution you could make. Visual Studio 2005 SDK rocks, i'm not saying this is the best way to go or that you should have to write your own interface/plugins. I've just gotten so excited lately at how much you can do with it. If you wanted you could use the API of TeamFoundation server, and do all sorts of things that extend your user experience. But, I know with TFS they are going to be adding more and more user functionality and hopefu ...Show All
Windows Forms Apply TextRenderingHint to normal font w/ Graphics class and Paint Event?
Is there a way to apply a ClearTypeGridFit TRH to a label Either using graphics or not Thanks, Hi, Sure, you can use it just as what used to form. For example: private void label1_Paint( object sender, PaintEventArgs e) { Font TextFont = new Font("Times New Roman", 25, FontStyle.Italic); e.Graphics.TextRenderingHint = TextRenderingHint.ClearTypeGridFit; e.Graphics.DrawString(" http://forums.microsoft.com ", TextFont, Brushes.Black,0,0); } label1_Paint is delegate of Label1.Paint. (and dont forget to set the AutoSize to false to demo the result) ...Show All
Visual Basic Script Error
Help. I have been making a browser. It seems that when I run it, and go to a website, an error message comes up. It says "Internet Explorer Script Error. An error has occured on the script on this page" It has two buttons at the bottom that say yes and no, and above that it says "would you like to keep runnung scrips on this page I was wondering wether that error message can be eliminated. It gets annoying after a while of browsing. Thanks, fspilot2006 ...Show All
Visual C# Remove all functions assigned to an event
Is there any way to clear an event instead of having to do all ths: myevent -= blablalba1 myevent -= blablalba2 myevent -= blablalba3 myevent -= blablalba3 I have a program where events are assigned dynamicly and i don't know which events that has been asigned and there are pretty many so removing them one by one would be many lines of code. possible yes. should you do that no! you'll have to use reflection to set the delegate behind the event directly = to null for the instance of the object who's event you want to kill. ...Show All
Windows Forms Commit changes to database
Hi, My Windforms DataGrid 1.1 is bound with two database columns. The user edits the contents and thereby changes the contents of the dataset the grid is bound to. I need to commit these changes to the database on a button click. Trivial question but i dont seem to be getting it right :( hi, i did that but since my sql table didnt have a primary key SQLDataAdapters auto generated update statement complained. I had to explicity add the Update Command to the DataAdapter, add parameters and then it worked like a charm. Rohan Wali ...Show All
Visual Studio 2008 (Pre-release) Possible WCF installation issue?
I am having problems with my IIS hosted service once I deploy the service to another machine. On my local development box, when I navigate to the service in IE using something like http://isapps008996/Services/MyService/Service.svc , it displays the default (i guess) wcf page that tells you in order to use the service create proxy (etc) using svcutil.exe http://isapps008996.ci.okc/Services/MyService/Service.svc wsdl . When I click on the link it displays the wsdl file. I can also set a service reference in a client application and execute methods on my service. Now, when I deploy to another machine, I am able to navigate to the service in IE using something like http://devweb/Services/MyService/Service.svc , it displays the default w ...Show All
Visual Studio VS 2005 Beta 2 with .new Framework 2 (release) and VS 2005 SDK (October)
I had VS 2005 Beta 2 installed and working with .net Framework 2 Beta 2. This morning I decided to try out the DSL tools. This required replacing the .net Framework 2 Beta 2 with the released version. Then installing VS 2005 SDK. Eventually I got everything installed. But now VS 2005 won't load. I get the splash screen with the note about the VSIP Licence Required (I read the threads indicating that this didn't mean anything). So will the DSL tools work with Beta 2 of VS 2005 Thanks Chris. Visual Studio is bound to a specific version of the .NET framework, and by rules of the .NET framework only one version of the framework can be loaded into any one process at a time. If the DSL tools require one version of .NET, and VS nee ...Show All
Visual Studio Team System How can I get the OutputDirectory for DeploymentItem?
Do I need to use reflection with System.Attribute.GetCustomAttribute() to get at that info, or can I get it through TestContext Thanks...Rick Hi Rick, You can get it using testContext... there is a property called TestDeploymentDir Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
Windows Forms Multicheck menu
Hi, When I click in menu the list of menuitems is opened. 1) Now when I click on item (without ctrl holding), the item is checked and the menu is hides and runs the item event. 2) Now when I click on item with ctrl holding, the item is checked and menu stays visible and no event are created. When I click on item (without ctrl holding), the item is checked and the menu is hides and runs all items' events. How can I do this Or where can I download the source Thank's Alexei You cant do this, at least not with a standard Menu control. Clicking an item will always close the menu. The best you could is handle the click event, set the checked property of the menu item, then try to reopen the menu, but there would be ...Show All
.NET Development Download resume to a word document does nothing
THe resume page has been set up, and looks like everything is fine, but when the button to download the resume in a word document button is selected nothing happens. What am I missing I had this same problem and spent an entire day looking fo the solution. Don't cry after you see how easy this is: Put an ImageButton on the page instead of the default image and select the ImageURL: <asp:ImageButton ID="ImageButton1"runat="server"ImageUrl="~/ your button image .gif"> In the code behind, enter: <System.Serializable()> Partial Class Resume_aspx Inherits System.Web.UI.Page Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web ...Show All
Smart Device Development Context menu for datagrid row
Hi, In my Windows Mobile project I have a datagrid and would like the user to be able to delete a data row by bringing up a context menu. If I attach a context menu to the grid, it pops up when I "right" click (hold down stylus) on the row, but does not select the row. I'm not sure how to trap the click event which brings up the context menu so I can select the row first before handling the delete menu item click (currently it just deletes the first row in the grid). Holding the stylus down on the grid/row does not fire the mouse down event. To complicate things, I have a mouse up handler which opens a data record form, so I need to specifically handle the soft panel version of a right click. Does anyone know how to do this Id ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a basic Terrain
Hi everyone! I just downloaded game studio express and have successfully imported a mesh. Now, I'm ready to start building my game. I've decided to try and tackle some concepts 1 at a time and then incorporate them into a game. The first concept I'm trying to tackle is creating Terrian. I've searched quite a few places, but most tutorials I find simply create a random height terrain and render the color of the terrain based on height. What I'm wanting to do is import an image file and lay that on top of a grid. The most important consideration I have for the future is moving models over the terrain and adjusting the models x location to match the terrain height. This is all clear as mud. Any help or direction I would greatly ...Show All
SQL Server Tool for MySQL to MS SQL Server 2005
Hi, I'm in search of a nice tool to convert the database from MySQL to SQL Server 2005, where the schemas of both the DB are different. I just want to move the data from one database to another with column mapping.. Can any pls suggest me a nice tool for this issue Early reply is appreciated... thanking you VarShant SwisSQL Data Migration can help you in column mapping and data migration from MySQL to SQL Server 2005 http://swissql.com/products/datamigration/data-migration-download-form.html ...Show All
