ron nash's Q&A profile
Windows Forms How to serialize with TreeView?
How to serialize with TreeView in .NET 2.0 Serializing is necessary when you want to write the data structure of a class/object to a file or transmitted over a network. Deserializing is the opposite, you have the data structure to populate a class/object from a file or network stream. ...Show All
Visual Basic Visual Basic 2005 IDE Performance Hotfix Released
We've received feedback, both directly from developers and in the forums, regarding slow performance of the Visual Basic 2005 IDE in certain situations (larger projects, projects with many errors, etc.). I’m sorry that these issues made it to production and degraded the performance of the IDE. The Visual Basic Performance team is working hard to address these issues via hotfixes and the upcoming Visual Basic 2005 SP1 while we work on engineering changes to make sure that issues such as these never make it into a shipping product in the future. Based on this feedback and forum posts, we've been working with customers to address these performance issues. We recently released a performance hotfix to address the follo ...Show All
Windows Live Developer Forums Mozilla 2.0 error loading maps!!
Virtual Earth doesn’t in Mozilla 2.0. This error appears: Error: uncaught exception: Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly. Anyone knows which is the problem Thanks! I'm assuming you mean firefox2 Marc found the solution and I put it in the new code wiki for Virtual Earth: http://www.viavirtualearth.com/wiki/Firefox2.ashx John. ...Show All
Visual Studio Code Analysis policies don't exist in automatic build process when launch the release mode.
When I have changed the compilation mode from debug to release, Code analysis don't apply to automatic build process. it's correct or musn't happen this. Thank you. Regards. ...Show All
Visual Studio Team System Error VSP1386
I have been trying to profile an application, but can not find a fix for this error that I receive at the completion. Whether I execute vsperfcmd from the command line or use the profiling tools through VS, I continue to receive: Error VSP1386 : x buffer(s) lost in association with process xxxx Very little can be found on the web period, and what I find are people like me with the problem and no answer. Can anyone here help me Govers, The error that you are seeing is surfaced by us when the application that we are profiling is shut down incorrectly. The two situations where we have seen this are when the app is killed using taskmgr or process explorer or when the terminate profiling button is ...Show All
Visual Studio Team System Cannot pass a GCHandle across AppDomains
While working on my Automaton framework for build automaton with Team Foundation Server I've come upon this rather cryptic exception. It seems to happen only once in a while, something I'm able to do successfull requests without this exception. What I have is an .ashx which returns some HTML content to my .aspx, and the .ashx is called using Xml Http javascript call (AJAX). The error occurs when I try to read the .WorkItems property on an instance of the Changeset class. Full exception stack: [ArgumentException: Cannot pass a GCHandle across AppDomains. Parameter name: handle] System.Runtime.InteropServices.GCHandle.InternalCheckDomain(IntPtr handle) +0 System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value) +92 CPr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Beta 2 announced (date 'in a couple of weeks')
http://blogs.msdn.com/xna/archive/2006/10/23/announcing-xna-game-studio-express-beta-2.aspx (apparantly this counts as a duplicate post even though its in a different forum so this text is to make it different) XNA guys confirmed today about that Great ContentPipeline, it will be in XNA Beta2! At last! http://blogs.msdn.com/mitchw/archive/2006/10/26/xna-happenings.aspx Why not to say such a thing at the day of announce, though Maybe, there was another scenario as well... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Official Dev Kit vs. "the XNA thing"
Here goes, The official dev kits intergrate within Visual Studio and compile on PC and send the executable to the machine and launch it via remote debugging. This also allows for breakpoints, steping thru code, etc. Will this new XNA subscription and Game Studio Express be similar to this idea I'm dreading things like relying on Windows support and burning it to a CD to play it on the 360. (For example) Egomancer wrote: I understood that you pay 99$ for 1 year, they make you a FTP account on the XBOX live site or another site where you upload the build. You connect with your XBOX360 there and you dload the game and play it. If I understood wrong please correct me. According to the FAQ: Q: ...Show All
Visual Studio Express Editions reading in CSV files
I want to read in, then manipulate different lines of data from a CSV file ... before manipulating the data and then placing the data in a database format and structure suitable for other analysis and review in TBD (Access, SQL or Excel) I seem to be having trouble with the first, perhaps most trivial step. I cannot read in the CSV file (filename.txt) past the first line. I have tried snippets, help and forum generally revolving around the use of: dim fields As String () Using parser As New TextFieldParser (filename) parser.SetDelimiters (" ' ") While Not parser EndofData fields=parser.ReadFields() I am able to read files okay as long as there are single records on a single line, but not able to make a succes ...Show All
Windows Live Developer Forums msn messenger blocks...
hi ppl. i often use messenger 7.5 but last few days i wans't able to use it, i do the login and past the moment i get in the program blocks and it stops responding... same thing happens to windows messenger, the one that comes with windows.. i have unistalled the program and installed it again but the problem continues.. i have windows xp sp2 with bit defender 9 antivirus and sygate firewall.. but i had those programs before the problems began so i dont know whats happening... can someone help me ! ! I also have that problem. I figured out that it doesn’t just happen on my computer, but on any comuter, so de problem is in my account, not the program itself. Please e-mail me if you find the solution. I’d r ...Show All
Smart Device Development Native Exception Error - 0xc0000005
I am running the following code - which takes the data from an XML file and updates a SQL Mobile table - it seems to consistenly throw a native exception error (ExceptionCode: 0xc0000005) Here is the code: #region DataRefreshFromXML public void RefreshDataFromXML() { if ( File .Exists(appPath + @"\data\HandheldInventory.xml" )) try { DataSet ds = new DataSet (); ds.ReadXml(appPath + @"\data\HandheldInventory.xml" ); if (ds.Tables.Count > 0) { using ( SqlCeConnection cn = GetConnection()) { SqlCeDataAdapter da; da = new SqlCeDataAdapter ( "SELECT * FROM MobileInventory" , cn); SqlCeCommandBuilder cb; cb = new SqlCeCommandBu ...Show All
SQL Server MDX Query to display no records for empty rows
Hi, I am facing with the following problem. I am using bar chart to display my report. My MDX query is as follows: SELECT NON EMPTY { [Measures].[SUM_COUNT] } ON COLUMNS, TopCount ( Filter ( {[DIM].[NAME].[NAME]}, [Measures].[SUM_COUNT] <> 0 ) , 10, [Measures].[SUM_COUNT] ) ON ROWS FROM [USAGE] where <criteria> I want to show the topmost 10 records. For some criteria I get the results in the chart. But for some criteria or say for wrong criteria, there are no records. In such a case the X-axis contains all values for {[DIM].[NAME].[NAME] and value for the Y-axis is all 0. Its kind of blank report it will restrict to 10 records. In such a scenario I want to show a message to the user saying "No re ...Show All
Visual C# How to Create a URL syntax checker in C#
I would like to create a URL syntax checker so that can verify a cerrtain URL not a phish site. But I am also aware that some URL have valid syntax but is still a phish site. To answer this, I am looking for some measures on how to verify a URL and its correct DNS equivalent. I am doing a project of mine as one of our requirements and I have decided to create a web browser (already done) and I have included there 3 anti-phish tools. One of the tools is to check for URL syntax error. i have searched for such but has given me no good results that can be of any help to my project. I was hoping that some of the bright minds here could help me or enlighten me in my search. Thanks. yeah something like that. But I won't be using th ...Show All
Software Development for Windows Vista Strange behavior after CDBurning is disabled
Dear all, While testing Vista CDBurning, I found a strange Explorer behavior... 1. Install Vista Beta2 5384 2. Insert a blank DVD+RW disc. 3. Format the disc. 4. Copy some files and it works well. Close all Explorer windows. 5. Lauch "gpedit.msc". Follow "Administrative Template" -> "Windows Component" -> "Windows Explorer" and then enable the "Remove CD Burning Features" option. 6. Check the formated disc, now I can not drag & drop, copy, and paste any file via Explorer. But I can create new folder, new text files and new bitmap files. Further more, I can use "copy" command under command line mode to copy files to the d ...Show All
Visual C++ Displaying text in a CListView
Hi, I wiould be grateful if you could explain how to display text in a CListView.I do not want the text in a tabular form.All subsequent text should be added below the previously inserted text(in the next line).The order of the text should be in the order in which they have been inserted in the view(no automatic arrangement). I looked up CListCtrl::InsertItem and CListCtrl::SetItemText,but they are all for tabular data. How can I get my view to function as a ListBox Thanks Hi, In a CListView window, I used Report mode, set one column, call InsertItem( i, pText), the text line are displayed fine. I also used GetListCtrl().SetTextColor(RGB(255,0,0)), for example using Red for odd number lines, Green for even number of line. W hen I ...Show All
