suy's Q&A profile
Windows Forms Occupied Space and cellRadius
I'm confused by the following code provided in the developer documentation: Why would an organism with a cellRadius of 1 occupy a rectangle that is 3 cells wide minus 1 pixel Is it assumed that an organism occupies 1 cell plus a number o ...Show All
.NET Development Obtain a Stack dump ?
I would like to know if it's possible to perform a full stack dump in .Net Since the VS debugger is basically capable to navigating through the stack granting a visual access to all managed variables of the stack, this must be possible somehow. Such feature would be really useful for various purposes including debugging (post-app crash forensics) but also performance tuning (post-run stack analysis), etc... Does anyone know how to perform a st ...Show All
Visual FoxPro Select SQL Problem
I am trying to select records from a database to determine qualifying order over 3 rounds of competition. I *thought* I had it working but the results are not always correct. I need to find the lowest number in the field IQUARTER from a list of runs from many different entries listed by the field RACESESSIONS, but I need only the lowest for each contestant. If there is a tie then the highest Miles Per Hour from the field ...Show All
.NET Development helloworld app generates "System.Security.SecurityException" occurred in mscorlib.dll
Hi I created a simple "helloworld" application about 6 months ago (it only has a label on the windows form) to demonstrate web deployed windows forms. It used to work, but nowadays, it results in (from MS CLR Debugger): An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll. Additional information: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000. ...Show All
Smart Device Development Significant performance slowdown when running 2 .NET applications in PDA
Hi, In a project that I am making, I am currently making 2 applications. The first one is the main program, the exe file size is about 2.5 mb and when deployed, it consumes about 5 mb of memory. Its function is to read and store new data in XML's. The second one is more of a maintenance application, uploading the XML's on the backend server. (it should also run even when the main application is closed) When the main application is running, it wo ...Show All
Visual Studio Express Editions performclick and graphics
I've written a short graphics test program. Basically the program executes when a button (button event) is pressed. I then wanted to use button.performclick in a Paint Event but the graphics in the button event does not work. I'm using a picture box as the canvas. Any suggestions. BTW the performclick does work for code other than graphics. Perhaps you need to post some code and define 'does not work', my first ...Show All
Windows Live Developer Forums Contest Participant Document
Hi!!! I was wondering if it is possible for all participants of “The World’s Best App” contest to have a document that acknowledges that we participated in this event, even if they (or we) did not win one of the prizes. You know, just a memento or something that we can brag about with, say, our grandchildren or Human Resource Head Hunters. That would ...Show All
Windows Forms Can a control access the DOM?
Is there a way I can reference objects within the HTML in which my control is embedded I'm developing a user control and marking it for COM Interop so I can embed it as an ActiveX control. I would like it to be able to&nb ...Show All
Visual C# How do you REMOVE or DELETE Items from Recent Projects list in VS2005 RC?
I have been testing VS2005 RC and as a result, I have built many applications. Most I am no longer interested in or use and would like to DELETE them from the RECENT Projects list, but I dont see how ! I have been achieving this by manualy deleting the project from IIS, but there's got to be a better way ! Any ideas cheers, yousaid Really, you shouldn't need to, but there is a way. If you continue to use V ...Show All
Windows Forms Question about BinaryReader
I have a couple questions about using BinaryReader on a NetworkStream. 1. With BinaryReader, am I correct in assuming that all read methods that read in a specific data type (such as ReadBytes(), ReadByte(), ReadInt32(), etc.) will block until there are ...Show All
Visual C# how can I save binary data in XML?
How can I insert binary data(such as pictures or programs) in XML document Is it even possible(CDATA maybe) and if there is a way can you give a simple example thanks in advance. You can encode it to base64 string, then place it in the XML like any other string: byte [] binaryData = new byte [fileStream.Length]; string xmlData; fileStream.Read (binaryData,0,( int )fileStream.Length); fileStream.Close (); ...Show All
SQL Server rda localconnection
get the following erroer when trying to connect to local db on ppc both emulator and device using vb 2005 to create a PPC 2003 appliction Unknown connection option in connection string: provider. the error occurs at the following code rdaPress.LocalConnectionString = "Provider=Microsoft.SQLSERVER.OLEDB.CE.2.0;Data Source=\My Documents\newsprint.sdf" any help would be appreciated Thanks GS ...Show All
Windows Forms Microsoft’s Exception Management Application Block
I am trying to use Microsoft’s Exception Management Application Block in one of my VB.Net programs. I need to log my errors to a log file say “ErrorLog.log”. I changed the code a little bit but I wasn’t successful. Writing to the event log ...Show All
Windows Forms Using the My.Settings feature
Hello! I have some issues on My.Settings feature (VS2005). 1) Configuration a setting's scope to user, automatically creates a new .config file for each user when the settings changes. The path of the new .config file is C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\MyCompany\MySettingsTest.exe_Url_0evurcay5xosgddod5egjuj1e2piba0f\1.0.0.1 Don't understand! What does the MySettingsTest.exe_Url_0evurcay5xosgddod5egjuj1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Networking...
I've just been reading "C# Network Programming" by Richard Blum in order to get up to speed with networking (non-http, most of my C# experience is in ASP.NET). Now, he shows many examples of how to network in the book, and I've learnt some great things, but after reading Tom Miller's book, it's left me wondering how much is going on in the background of .NET and which approach is better for an MMO style game. In Richard's book he shows fi ...Show All
