Tom_Liu's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Tutorials Thread
If it's not too much trouble, could this topic be stickied I am just wondering if we could have a main thread that carries links to all the tutorials. In other words, someone makes a thread with a new tutorial, and then, they post the link to it here with a description of the tutorial. That way, others don't have to search through a whole forum for just one topic. Just an idea to make it easier on everyone. On a side note, I plan on linking this thread to another thread titled: First XNA Program Development Team (FXPDT). Take a look at it. Thanks for your time. Also, I've added some tutorials for you all for now. P.S. Since the tutorials are publicly viewed and linked to, I don't think you need permission to ...Show All
Visual Studio Express Editions VC# hangs after creating new project
Okay, this problem didn't happen the last time I installed VC# (some 6 months ago). Recently, I downloaded the VC# Express ISO (2 weeks ago), and installed it. But it hangs as soon as I create a new project. Did Microsoft change the ISO files or something Here are all the wierd things that are happening in my VC++ Express and VC# Express 1) I installed VC# Express first, it hangs immediately as soon as I try to create a new project. It just says it's creating a new project and hangs. 2) I tried uninstalling every sign of VS Express and then reinstalled first VC++ and then VC#. The problem still persists. 3) Right now, my VC++ Express install fails to install the MSDN Express Edition component. 4) Even after closin ...Show All
Visual C# How to write code for Logout Page in ASP.NET 2.0
i wrote following code but it is not working properly.i want ot erase url of page from Client Browser History . My Code is on click of Logout Button Session.Abandon() HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache) Response.Cache.SetAllowResponseInBrowserHistory( False ) Response.Redirect( "Logint.aspx" ) Alok_sriashoka_Patna_city, you will have better chances of getting answers to this kind of question if you post in a forum that is focused on ASP.NET. Try forums.asp.net. Sorry --mc ...Show All
Smart Device Development Problem related saving the image to a file at runtime
hi all, I want to save the image at runtime. If user changes the current image, then it should prompt for replace and if user says yes, then it should replace the existing image file.or open the savefiledialog to save the image if user refuses to replace. I tried alot but didnt got any solution. DialogResult Result = MessageBox.Show("Do you want to save the changes", "Save", MessageBoxButtons.YesNo,MessageBoxIcon.None,MessageBoxDefaultButton.Button1); if(Result == DialogResult.Yes) if (File.Exists(FormClassReference.DeviceImagesForm.ImageCollection[ImageIndexForPreview].ToString())) { StreamWriter(FormClassReference.DeviceImagesForm.customSnapList.ItemsCollection[ImageInd ...Show All
.NET Development System.Data.OracleClient.OracleException: ORA-01036: illegal variable name/number
Is anyone familiar with this error System.Data.OracleClient.OracleException: ORA-01036: illegal variable name/number I get it when calling oracle stored procedures Here is a sample of my code: m_oracleCommand[0].CommandType = System.Data.CommandType.StoredProcedure; for (int i = 0; i < this.DbParamsCollection.Count; i++) { p = (FocusDbParameter)this.DbParamsCollection ; m_oracleCommand[0].Parameters.Add(":" + p.ParameterName, p.Value).Direction = System.Data.ParameterDirection.Input; m_oracleCommand[0].Parameters .Size = p.Value.ToString().Length; } m_oracleCommand[0].CommandText = "FOCUS_RPT.FOCUS_RPT_B3"; m_oracleCommand[0].Connection = m_arrOracleC ...Show All
Visual C# Simple Question regarding Objects
I'm a bit reluctant to post this question in the forums because I know that the answer is going to be something fundamental, but I've come to a point where I simply can't continue programming without having it answered and after hours of searching I'm at an end of what to do. So here goes: How can I access the properties and methods of an object from a class other than the class that the object was created in. For example, I create a new object (called object1) in a class (lets say Entity.cs) and this new object, object1, contains a method called update. Now here's the problem, I want to call the object1.update method from a class other than the Entity class (for example Other.cs) how can I do this without creating a new object in the O ...Show All
Visual C# Free version control tool
Hello, Is there a free version control tool with .net API Thanks. there is not a version control supplied with the .net framework. you may want to look at Visual SourceSafe or Team System which are version control system from Microsoft. There is also CVS or SubVersion which are free version control systems available. ...Show All
Visual Studio Team System <WHEN> with multiple values
Is it possible to use multiple values in the <WHEN> clause In the example below I have 4 different web projects that somebody can pick. If they pick either Web 1 or Web 2 then display a list with only ".NET 2.0", but if they pick either Web 3 or Web 4 then display a list with "Classic" and ".NET 1.1" <FIELD name="Web Project" refname="My.Test.WebProj" type="String"> <ALLOWEDVALUES> <LISTITEM value="Web Proj 1" /> <LISTITEM value="Web Proj 2" /> <LISTITEM value="Web Proj 3" /> <LISTITEM value="Web Proj 4" /> </ALLOWEDVALUES> <DEFAULT from="value" value="W ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where do I start?
Hi Guys! I have been coding in C# for 3 years now. But I only wrote Windows and Console Applications. Where do I learn DirectX game development ~Matt I'd have to recommend installing Game Studio Express and going through the many tutorials the community has put out as well as all the tutorials that come with it. ...Show All
Architecture security data between layers
We are designing an application with sevreal layers. Data Business Logic Services Client - Gui ASP.NET or WebServices Wea re thinking of authorization in the BL and maybe in the Data layer. our problem is tramsfering the current data between the layers in an easy way. Any ideas In other words, you're not trying to secure data but rather are interested in auditing. Auditing is one part of an overall security methodology, but you should be clear about what threats you intend to handle, and which ones are out of scope. With that said, in order to log which user did what, you need to have that information available. The design for this functionality differs between Win and Web scenarios, although you could ...Show All
Game Technologies: DirectX, XNA, XACT, etc. waiting for a sound to finish
Hi, I'm all new to this & there is probably a simple solution.. I'm wanting to play a sound and trigger an event or callback when that sound has finished playing. Do I need to check the status of the sound in each Update or is there a more elegant way Many thanks, Pat XACT supports notifications for this. Check out the IXACTEngine::RegisterNotification method and the associated XACT_NOTIFICATION_DESCRIPTION structure. (Note that this functionality is not available in XNA). ...Show All
Visual Basic I'm bored, so does anyone have any ideas on...
I'm bored with Visual Basic, so I was wondering, what do you people program in VB I'm just bored. I don't know what to do, but I want to use all this programming power. Any ideas Thanks. try learning C# - move on up the scale know about sockets/networking ever created webservices or use Xml ever created ASP.NET sites Worked with SQL Tried re-creating some games or some applications which already exist, but your own version Tried creating a client/server application Tried Windows Mobile Development ...Show All
SQL Server Conditional formating in Subtotals?
I have subtotals in a matrix and I want to format the background color depending on the subtotal value - > 95 = "Green", < 95 > 90 = "Yellow", < 90 = "Red". I go to the Subtotal properties and put the iif expression in the background color, but it's not detecting the Subtotal value. How do I refer to the Subtotal value in a formating expression Yes, I created the subtotals by right-clicking the row cell of the outer-most group and selecting 'subtotals'. The problem with the simple iif... is that it affects all the cells - not just the subtotals. I did find out why my background image wasn't showing in the subtotals, if you set a background color in the Subtotal ...Show All
Windows Forms Wepos 1.1 Image and registry key
Hi All, I'm new here at the forum and i hope i'm in correct community for this. I have a problem with regards to the Image I created on WEPOS 1.1, when i uploaded it on two same terminals, the other one is lacking a registry key which can be seen on the other terminal. Do you guys have ideas about this i tried looking on the BIOS setup of both terminals and they are but with the same configurations. Please help me on this. Thanks in Advance. GaV56 Hi, Gav. I'm afraid you're in completely the wrong place. This forum is for.NET related programming questions only. Your question is web related, so if it relates to ASP.NET, then it belongs at www.asp.net , otherwise, it doesn't relate to any ...Show All
Windows Live Developer Forums The following message could not be delivered to all recipients
"The following message could not be delivered to all recipients" I keep getting this error msg everytime i try talking to one of my contacts. It was all working fine until all of a sudden i cldnt communicate with them no more.. Also i'm having the same problem on both windows messenger & Windows live messenger.. can someone pls address this issue for me. Yeah, got the same problem around the same time as you did, too. It's only happening with a few contacts and at certain times (usaully around peak usage hours - strange...). It helps sometimes if I switch between my laptop and desktop when it starts happening. If that fails, I just use Web Messenger. It seems to be account-related ...Show All
