Limehill's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Power of XBOX360 - raw triangle power
Hi, I was wondering if it was possible to compare the graphics power of XBOX360 to any of current gfx cards. Say, if it`s capable of rendering same amount of triangles as e.g. GF6800 does. The old XBOX was usually compared to GF3 in terms of graphics performance. The reason I ask is, that I would like to know the general boundaries of the raw gfx power, since I`m planning on converting some of my current games to XNA (and later to XBOX360) as soon as it becomes available. Currently I`m pushing the GF6800 card to its limits, which means I`m rendering a range of 0.5M-1.0M triangles (all unique, non-instanced) per frame and it seems that GF6800 starts to slow down when it crosses 1M barrier. No pixel shaders there, just Vertex Shader ...Show All
Visual Basic DeviceIOControl Does Not Work on Windows 98
i wrote a program that get hard disk's firmware serial and it works fine in winXP/Win2000 but when i run it in win98 it doesn't give me the serial number i used Smartvsd.vxd and vWin32.vxd to Solve this problem but it doesn't work yet. any idea plz forgive me for my bad english . From his test.zip: Private Declare Function CreateFile _ Lib "kernel32" Alias "CreateFileA" ( ByVal lpFileName As String , _ ByVal dwDesiredAccess As Integer , _ ByVal dwShareMode As Integer , _ ByVal lpSecurityAttributes As Integer , _ ByVal dwCreationDisposition As Integer , _ ByVal dwFlagsAndAttributes As Integer , _ ByVal hTemplateFile As Integer ) As Integer ...Show All
Windows Live Developer Forums i need some help on nick changing
the problem is i can't change my display name in windows live messenger, and my current display name is my email address, it just remains the same display name no matter how i change it. just recently, i tried to log in my account using windows messenger. i change my display name there and it did work. however, when i back to windows live messenger, i encounter the same old problem again. by the way i can neither change the personal message in windows live messenger. anyone know why on earth does this happen Question for Zennway and JamieS... are you guys using any windows messenger addons (like msg plus! or msg discovery for example) or are you just using windows live by its ...Show All
.NET Development x64 driver programming
Hi, For as far as I know you need the Windows server 2003 DDK and just install this and link some paths in Visual Studio to it, and you can programm x64 drivers. Well for some reason or another, the install of WS 2003 DDK tells me: The procedure entry point ... could not be located in the dynamic link library msvcrt.dll; can anyone tell me what this means and how I can install it, plz ! I'm using a AMD 64 bit processor, with Windows XP Pro x64 on it and MS Visual Studio 2005 Could you copy and paste the full error message. Knowing exactly which entry point it is refering too may help. Thanks, Kang Su Gatlin Visual C++ Program Manager ...Show All
Visual C# password help!!
When I'm inserting the pass word how can I erase a character that I inserted by mistake, the last one or all of then (one-by-one) using 'backspace' I know how to remove the last character but the * stay the same! Ex: ***** >>abcde After removing the last character it stays the same! ***** >>abcd Hi Schmack, add this when you want to delete the last * Console . CursorLeft = Console . CursorLeft - 1; Console . Write ( " " ); Console . CursorLeft = Console . CursorLeft - 1; -- SvenC ...Show All
Windows Forms Attention NEWBIES... updating records
Help please add new button Me.BindingContext(ds, "info").EndCurrentEdit() Me.BindingContext(ds, "info").AddNew() ..... Save button Me.BindingContext(ds, "info").EndCurrentEdit() adapt.Update(ds, "info") ds.AcceptChanges() but i encounter error, "Update requires a valid InsertCommand when passed DataRow collection with new rows." You need to create the update, insert, and delete commands for your data adapter. The command builder will do this for you. For this example I am assuming you are using a sql data adapter. Dim cmd as new sqlcommandbuilder(adapt) adapt.Update(ds,"info") ...Show All
Visual C# Visual Studio 2005 Professional crashes Vista Ultimate
A couple of weeks ago I did an in-place upgrade of Vista Business to Vista Ultimate and ever since I've been experiencing blue screen crashes of my entire machine. Lately I've been looking at the memory.dmp file Windows generates and Windbg implicates Visual Studio a lot. It actually indicates a hardware problem but I never had problems with my machine while I was using Vista Business so I think reports of a hardware failure may not be correct. In any case, Visual Studio crashes a lot (just the program, not my machine) so I tend to think it's Visual Studio crashing my machine. Any known issues with Visual Studio and Vista Ultimate Just to note I am using Service Pack 1 and the Visual Studio Vista upgrade beta. ...Show All
.NET Development How to Close Connection When Using Data Reader
In a Windows app, C#, VS 2005 I have a generic class which opens and returns a data reader to the calling class where the data is processed. The generic class, get DataReader, opens a connection and generates the reader as follows: cn = new SqlConnection(strConn); cmd = new SqlCommand(strSQL, cn); cn.Open(); dr = cmd.ExecuteReader(CommandBehavior.CloseConnection); In the calling class, after the data is processed, I have no way to close the connection cn, and the CommandBehavior.CloseConnection parameter does not seem to close it either. I have Max Pool Size = 3 in the connection string, and I get a timout error when I try to open the data reader the fourth time. The calling class's code is: dr = sqlClass.getDataReader(strSQL); ...Show All
Visual Basic Window size when using multiple monitors
I have a Matrox Parahielia 3 monitor video card. Whenever I open a new window in the IDE it stretches it across all three screens. Is there a way to make the windows open onto the center screen at a certain size in a certain position for any new window so I don't have to resize every window to work with them Thanks I am having the problem while writing code in the IDE and not when the application is running. I can position windows in the application with no problem. When I open say the locals window it covers the full three screens and I have to resize it down to be able to work with it otherwise it is under all of the other windows I have open. Tim ...Show All
Software Development for Windows Vista STANDBY power broadcast
Hi, I am working on interrupting the standby and hibernate of Windows Vista and am handling WM_POWERBROADCAST. I found that in XP the hibernate/standby msg parameter is PBT_APMQUERYSTANDBY while in vista it is now something else. can someone point me as to what the value changed to I cannot allow the machine to go into hibernate or standby. Aborting a hibernate might not be in the best interests of a user. I have my notebook set to hibernate when the battery is low (yes I still have a notebook that gets a respectable battery life). I constantly have half-composed blog entries, forum postings and interesting websites open that I would like not to lose should my battery die while I'm attending to life. That being said, I'd prefer ...Show All
SQL Server Script to create Replication Script like EM does?
Hi!, I am looking for a script which will output the same script which EM does under Replication\Generate sql Script. I have no idea how to do it or the time either! Thanks ...Show All
Visual Basic ProgressBar colours.
I want to change the little blocks on a progressbar to red at a specific event, then back again to their original colour at another event. I also want to have them as blue, on another bar. You may have to disable visual styles to get rid of the XP domination over your control appearances. Before you run your program, go into your Project Properties and uncheck the Enable Visual Styles tick box. ...Show All
Visual Basic Changing connection string at run time??? :(
I have got two connection strings in my application which I am creating in VB.NET 2005, one whose database is installed with my application so i can keep the connection string and other which is already there with the user. I want the connection string of the other database which i am taking from the customer to be installed in the registry which is fine, the string value is stored in the registry from the customer input. Now how do i get that string as the current connection string as systems.settings.connectionstring is read only Is there any ways this can be done because I am working on this project and it needs to be done somehow There's nothing magical about a connection string, it is just a string that you can put togethe ...Show All
Visual Studio Duplicate Items Not Supported?
What the heck does this mean can somebody help me Error 1 The item "obj\Debug\Wacky_Words.Form1.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. Wacky Words Does http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=550253&SiteID=1 help Let us know if it doesn't and we can investigate further. Dan ...Show All
Visual Basic copy & paste
How do i copy, paste, cut, and select all in the current form to or from the clipboard You want to use the My.Computer.Clipboard object http://msdn2.microsoft.com/en-us/library/a2kwzzs8.aspx This has lots of examples of stuff other than textboxes. As far as copy the selected text to the clipboard My.Computer.Clipboard.SetText(Me.TextBox1.SelectedText) To retrieve the contents of the clipboard and set a textbox Me.TextBox1.Text = My.Computer.Clipboard.GetText() Cut is simply a copy and then removing the original. You can only select all the text in one control. Try putting two textboxes on a form and selecting text in both at the same time - only one control can h ...Show All
