gonzo883's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. LoadGraphicsContent for Game and Component - What is the best practice...
Hi, I've followed the spacewar example and put the call to new ContentManager in the LoadGraphicsContent of the Game. Because I need to use the content manager in some of my components I have made it a static property on the top level game. I can call now call upon the content manager from the LoadGraphicsContent method within my components and load textures and stuff as required. However, it seems that the LoadGraphicsContent of the components are being called before the one in the Game. What is the best practice with regards to setting up the ContentManager, and using it within the Game and Component's LoadGraphicsContent. Any ideas Kind Regards, James Well, changing the resoluti ...Show All
Visual Studio 2008 (Pre-release) How do I go about adding this kind behavior?
I need to provide some custom context around method calls on my service. By "custom context" I mean that I need to set something up before a method executes and destroy it when the method is done. This context is purely for the server has no ties to the message data at all. What type of WCF extensibility approach should I use for this I'm aware of behavior extensions, IExtensibleObject, IServiceBehavior, etc., but I'm having a problem figuring out exactly which approach to use to achieve these exact "before method/after method" notifications that I need. Thanks, Drew For historical purposes, here's what I ended up doing because it seems to be the best approach to me: Implem ...Show All
SQL Server How to completly stop mirroring, eg disable the endpoints on the server
We have tested mirroring with success. Now we want to completly disable mirroring, and have done this on all mirrored database. It seems though that the server stille maintains the mirror endpoints, hence you can do a "telnet localhost 5022". How can we disable the mirroring endpoints Martin Tan SQL DBA ...Show All
Internet Explorer Development Very ugly problem with CSS nested lists, when hovered
My site is the best test case: http://www.aplus.co.yu/ Move your mouse over any of the items at the top, next to Blog. In all other browsers submenu appears on maroon background, but in IE7 the UL with the maroon bg is shown, but none of the subitems is visible. Not just invisible - they are not rendered at all. Any comments/hints welcome. This is the most serious issue I encountered so far - other stuff I keep under control. Aleksandar, I don't blame you for being tweaked about this -- nice work, if only IE 7 played nice. I doubt I have anything in the way of a solution for you (sorry), but my post "Javascript bug " is somewhat similar in that IE 7 failed to display elements Firefox ...Show All
SQL Server Express and Developer - performance counter errors
I installed Visual Studio 2005 on my machine, which includes SQL Server Express. I then installed the Developer edition of SQL Server over the top, as that's the edition I wanted. I now get four errors in my Application event log whenever I boot Windows: MSSQLSERVER - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions. MSSQLSERVER - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled. MSSQL$SQLEXPRESS - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the ...Show All
SQL Server Web Synchronisation Using RMO
hi every body please help me out on this issue , since i am at final stage in finishing up the module. Previously i had done web synchronisation using RMO it is working fine at my office where i have an 2003 server which is an domain controller , publisher i have configured on the 2003 server , and i had subscribers on xp Machines where it was well working fine, clients were not on the domain , it is an independent Machine. we had an security error which was resolve by this same forum, ie the client windows login id should exists on the server too. only then synchronisation is happening at our office, Now the problem is i have an same setup , but the server 2003 is hosted at a remote place , which is not an domain controller, n ...Show All
Visual Studio Team System Visio 2007 - forward engineering?
Does Visio 2007 support forward engineering I love the ERD tool but pretty useless if I have to code all this again into SQL 2005 If not what does support forward engineering into SQL 2005 Cheers Damien Damien fromOZ wrote: thanks. Seems strange not to include this excellent functionality in their new product. Also what is the deal with all the team edition of visual studio I have a MSDN subscription and so have access to Visual Studio 2005 but don't understand the product placement for team edition excpet more money Cheers Damien Hi Damien, The Team editions of Visual Studio each have a very large block of functionality above and beyond what's in Visual Studio Professional ...Show All
Visual Studio Express Editions How do I add an Image to a Form
I am a newbee to Visual Basic Express Edition and altough I am proficient in MS Access I encounter many problems in VBEE. Add the Paint event handler for the form. For example: Private Sub Form1_Paint(ByVal sender As Object, ByVal e As PaintEventArgs) Handles MyBase.Paint e.Graphics.DrawImage(My.Resources.AceOfSpades, 0, 0) End Sub ...Show All
SharePoint Products and Technologies VPN Windows server 2003 Certification Authority
I need to make a remote access for a Windows XP client using a VPN to my windows 2003 server R2 based domain. The thing is I want to use certificates, and I need help for this configuration. How shall I setup the server so that it promts the user with a certification message when trying to log in the domain You might want to post this under another forum topic - like networking or security - doesn't seem to much related directly to sharepoint development. ...Show All
Visual Basic New page windows generated from WebBrowser are sent to back....
I trying to write a simple Kiosk program using the WebBrowser control. All control widgets are hidden so the user can't close or alter window settings. The problem I have it that if a user clicks on a link that opens a new webpage in a new window, the new form is sent to the rear of the parent form. The only way to get to it is to alt-tab to it. This is a problem because in the final version, alt-tab will be disabled. How can I force the new window to come forward, I have tried using the new_window event to use Me.sendtoback, but no change. Help Jeff Pardon me if I'm a little confused but is it a window, or a form How are you instantiating it I'd recommend Form.showdialogue Have ...Show All
Software Development for Windows Vista How to use DirectX.AudioVideoPlayback????
Hello.I have used DirectX.AudioPlayback in my application to play MP3 Files But I have a problem.How I know when the playback is finished, because I need to start the next melody. I have tried to use audio.ending() event, but I don't see any result. the code is the following: .... // backmusic is the name for audio InitializeComponent(); this.backmusic.Ending += new EventHandler(backmusic_Ending); .... private void backmusic_Ending(object sender, EventHandler e) { MessageBox.Show("The playback is completed1!!!"); } thanks The only .net AV work I have done has been with DirectShow using http://DirectShowNet.SourceForge.net . I tried looking up some documentation in Direct ...Show All
Visual C# Access data from vector from one class to main program class
I have a C#.Net program that once a button is clicked it goes to a public class(called Tal) and gets data in a vector, then exits the class, and goes back to the main form(program). I will do this task over and over. I want to take the data ,do many(over 20) calculations, and go back to the program. How can I get access to the data array(vector) from the main program I keep getting different errors and have tried so many different ways. Thanks in advance. Code: { Mainfrm tal.talbars(); } Public Class tal // get vector array Price[] closes = row["SETTLE"] == null null : row SETTLE"].PriceVectorValue; int first_element = elements - 5; // to get 5 back for (int i = first_element; i < elements; i++) static void talbar ...Show All
Visual Studio Team System Customize web setup for Auto Installation and Testing
Hi, In my TFSBuild process i have WebService, Setup Project, Web Deployment Project and Unit Test Project. Through automated build am able to create .msi for my webservice and install it on my Build server as well. My next step is run my test against this Installed webservice as a part of automated build process. But when the webservice is installed. I see 1. it by defaults to ASP.net 1.1 instead of ASP.net 2.0. 2. web service should be Windows Inegrated Authentication selected and should not allow Anonymous Access but it does exact opposite of this. Due to this my test cases fails. How do i customize my setup project so that i achevie above settings. Thanks, Jignesh Vyas Ya i haven't recieve ...Show All
Visual Studio Team System MSF process modeling notation
I was wondering if someone could tell me what process modeling notation is used for the MSF Process Guidance diagrams. Or, could someone explain the distinctions between a (semi-)circle, square, triangle and why some of the enclosed circles are filled and others are empty thanks in advance! ...Show All
Windows Forms Problem with a customized TextBox
Hi, I've created a customized textBox which I can drag in a PictureBox (besides other functionality that works almost perfectly). But when I move my control it doesn't paint itself as it should. It makes a kind of flick. At first, I tried to solve it doing a double-buffer; but I didn't get anything, it worked in the same way. I don't know what I have to do to make it function well. Here, you have my code: public class MyTextBox : TextBox { private bool bLeftDown; private SizeF sizef; Point previousPoint; PictureBox container; public MiEtiqueta( PictureBox screen) { this .ReadOnly = true ; bIzqPulsado = false ; this .AutoSize = true ; this .AcceptsReturn = true ; //this.M ...Show All
