Joe Buys's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. RANDOM LETTERS FROM A TO G
Hi, I'm looking for a letters generator from a to g. Or a numbers generator. 1 to 9. I have a scoring system for a horseshoe game I created in excel 2007 beta. I need the letters in column d3 to d13 to update once a round is completed. Which happens ok. But once a team is eliminated. I dont want a letter assined to the cell. If anyone could take a look will understand my issue. I will email you the workbook if you think you can help me out with this. I don't no vba yet but am trying to understand it. my email is trobert672@comcast.net Random random = new Random(); // to generate random number: int number = random.Next(1, 10); // min is inclusive, max is exclusive // to generate random character from ...Show All
Game Technologies: DirectX, XNA, XACT, etc. My new game running on Beta 2 (Dr. Popper)
Just wanted to let everyone know now that I have migrated my game to XNA Beta 2, and have put it up for download at http://www.bluerosegames.com . It's called Dr. Popper and it's a puzzle game similar to Pop'em, Jawbreaker, and Bubblet. I will post full source code for the game in a few days, but for now if you have any questions feel free to ask. Thanks, Bill Jim Perry wrote: Hmm, installed the runtime and game on my son's PC and got a System.InvalidOperationException when I tried to run it. Jim, You may be having this problem that is new to Beta 2: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=889627&SiteID=1 I have updated the game to check for Pixel Shader 1.1 support on startup. If you don't ...Show All
Visual Studio Team System Migration, common code- Sync between VSS and TFS?
Are any new tools available that would help with the migration period from VSS to TFS. We want to move product teams over one at a time, but they rely on common code that spans teams. So we want have VSS changes sync'd with TFS so that the team migrating to TFS can work on TFS and teams still using VSS can continue to do that. Are there other ways people are dealing with common code during a migration Thanks Hello, The Migration and Synchronization Toolkit that we are currently developing will facilitate the development of a tool to sync files between TFS and another source control system (i.e. VSS). You can check out the TFS Migration blog for more info: http://blogs.msdn.com/tfs_migrati ...Show All
Visual C# combobox selectedindex issue
I have application in which combobox are filled with following methodology. comboBox.displayMember=”displayString”; //property I have in collection object comboBox.valueMember=”code”; //Property I have in collection object comboBox.datasource=arrayList comboBox.SelectedIndex=-1; comboBox.Text=null; So initially when application launched nothing is selected in combobox. Now I have button in application which swap these combobox containing panel. During these swaping of panel when combobox are re-visible again,some how combobox autometically display the 0th index item. for e.g. Panel -A has combobox1 and Panel-B has combobox2. If initially combobox1 text is null and with following sequence combobox1 displa ...Show All
SQL Server Weird BIDS error message
For some unknown reason, I'm suddenly experiencing the following error when I open a package in BIDS: Error 1 Error loading DimPromotionDemo.dtsx: The connection "" is not found. This error is thrown by Connections collection when the specific connection element is not found. c:\mdwt_projects\aworders_simple\aworders_simple\aworders_simple\DimPromotionDemo.dtsx 1 1 I don't see any error icons anywhere in my package. How do I go about figuring out what's wrong enric vives wrote: It could be that previously you'd have deleted any connection and now, when you're going to open again... Well, I didn't previously delete any connection. Also, there isn't any error icon showing up ...Show All
Visual Studio Team System Cherry Pick Merge causes conflict
I know this subject has come up a few times in the forum, and I've read the answers to those - but still not sure I'm following the answer. I am following an admittedly old webcast from TechEd 2005 by Douglas Neumann that talks about TFS Promotion Modeling, and the ability to Cherry-Pick merge a particular changeset. I'm wondering has something changed since the beta when this seemingly worked Very similar to the demo, I have the following setup: DEV branched to QA (changeset 29) DEV class1.cs QA class1.cs Make a change to class1.cs and check it in + add new property called "NewFeature" for the next release (changeset 30) Make another change to class1.cs for a bug fix and check it in + add new property called "BugFix", need this in th ...Show All
Visual C# Unable to debug C# solutions
I'm using Visual Studio 2005 Pro. This problem is repeatable with archived code on backup discs as well as new solutions. When I attempt to run my apps in Debug Configuration with breakpoints, I get the message: the following module was built either with optimizations enabled or without debug information. D:\Programming\Solutions\******... To debug this module, change its project build configuration to Debug Mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option. Here's a screenshot . This is done with a brand new solution. File > New > Project > C# > Windows/Windows Application > Ok > Build > Run. [update] as par this thread , I've tried restoring factor default settings. ...Show All
Microsoft ISV Community Center Forums How can I run sql command with no cofirmation alert through VBA
hi guys i want to delete a record from another table in After-Update event of a text item in ms access form. the problem is the confirmation alert asking whether u want to delete or not. i don't want this alert to be displayed and I want to delete the record anyway. The code i'm using is docmd.runsql "delete from discarded where sr_no=' " & Form_INV.sr_no & "'" plz tell me how can I bypass this alert Thanks Khawar Pasha khawarpasha@hotmail.com How can we modify this to store the Warnings status first This code would turn ...Show All
Visual C# problem with String.Format function.
hi friends, i got a problem when i do the following operation. String.Format("{CN={1}}","hello"); this is giving error while execution.String not in proper format. but the following thing works, fine String.Format("{0}CN={1}(2}","{","hello","}"); Is, their any better way to do the above operation.Like, is their any escape sequence for {. Any suggestions, Ranu. Hi, ranadheer Here I found two useful links about how to use String.Format method: http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspx http://blog.stevex.net/index.php/string-formatting-in-csharp/ Enjoy it! Thanks ...Show All
Windows Forms KeyPress
KeyPress event not work with CapsLock, ScrollsLock and NUMLock ok I find the solution in this code: Private Sub form1_KeyDown( ByVal sender As Object , ByVal e As KeyEventArgs) Handles Me .KeyDown If My .Computer.Keyboard.NumLock = True Then NumLight.BackColor = Color.LimeGreen Else NumLight.BackColor = Color.FromKnownColor(KnownColor.ControlLight) End If If My .Computer.Keyboard.CapsLock = True Then CapsLight.BackColor = Color.LimeGreen Else CapsLight.BackColor = Color.FromKnownColor(KnownColor.ControlLight) End If If My .Computer.Keyboard.ScrollLock = True Then ScrollLight.BackColor = Color.LimeGreen Else ScrollLight.BackColor = Col ...Show All
Visual Basic name 'c' is not declared
I am trying to create a form using Visual Studio 2005 Pro - and I get this message: name 'c' is not declared My code looks like this: Public Class Form1 Private Sub ReadXmlButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles ReadXmlButton.Click Dim filePath As String = C:\ReadingXML AuthorsDataSet.ReadXml(filePath) DataGridView1.DataSource = AuthorsDataSet DataGridView1.DataMember = "authors" End Sub Private Sub ShowSchemaButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles ShowSchemaButton.Click Dim swXML As New System.IO.StringWriter() Au ...Show All
SQL Server Continue package execution on task failure
Hi, I am developing an SSIS package and need the execution of the package to continue even if one of the tasks within the package fails. I have an OnError event handler for this task which fires when it fails but want the rest of the package to continue. Any suggestions greatly appreciated. Thanks Hi PK2000 Can you tell me on what kind of package it fails on and what the next package is that you want to execute Kind Regards, Joos Nieuwoudt ...Show All
SQL Server want to turn this sql query into stored procedure.
Hi ya, Here is the query: if (criteria == "All" ) { SqlDataSource1.SelectCommand = "select * from [tblproperty]" ; } else { SqlDataSource1.SelectCommand = "select * from [tblproperty] where " + item + "" + criteria.Trim() + "'" + txtSearch.Text.Trim() + "'" ; } } } Now the item contains any value from a combo box, the criteria would be having (All, =, <,>, like, <>) and txtsearch would be having the exact search field value. How can i transform it into a stored procedure so that I do not have to write 2 procedure plus i would be getting all the values back when the procedure executes Any ideas You have t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Wrapping a model with a repeated texture
I have a large, nearly flat cube which represents the ground in my 3d world. I'm trying to apply a grass texture to this cube. Because of the size of the cube any applied texture stretches. Is there an easy way to repeat the texture being applied to eliminate the stretching problem I have it looking really nice in Maya, but when I export it to .x it continues to stretch a single copy of the texture across the surface. Does an operation like this require the use of HLSL I could just create a bunch of smaller cubes that are closer to the texture size and piece the ground together, but that seems like a messy way to go about it. I'm new to this, so anything to point me in the right direction would be helpful. ...Show All
Visual C++ Drawing outside of the application window.
Is it possible to draw patterns outside of application window I'm trying to make a partial screen capture, and befor the capturing I waht to give the user an abbility to select the region he wants to capture. How can I do it This feature is implemented in the CamStudio program: http://sourceforge.net/projects/camstudio/ ...Show All
