Otto Fischer's Q&A profile
Visual C++ Heap/Stack Overflow/Overrun Issues
I am running a simulation program in VC++ 6 that requires arrays (dynamic or otherwise) that will eventually have as many as 200,000 entries of type "double". The program works fine when I use small arrays (with a few hundred entries) but fails when I increase the array size to say several thousands. The error code is "Unhandled exception in sim.exe: 0xC00000FD: Stack Overflow". I guess the main question is, if possible at all, how do I increase the stack or heap size so that the program can accomodate arrays with 200,000 "double" entries Other advice most welcomed. Thanks in advance! ...Show All
Smart Device Development After installing final VS 2005 (MSDN) can't see the designer
Hello fellow developers, I don't know if someone had the same problem but I hope that someone could help me with this issue. Until yestarday I had installed on my computer the RTM version of Visual Studio 2005 and yestarday I uninstalled everything (using the tool for the pre-rtm uninstall that worked fine and uninstalled absolute everything) and I install the final MSDN version of Visual Studio 2005. So far, so good. BUT when I tryied to create a new project for Compact Framework (both Windows Mobile 2003 and Windows Mobile 5), I can't see my current window in design mode. I mean, I see a gray form on which it's applied a menu shortcut (l ...Show All
Visual FoxPro Coming from Excel to VFP9 and need help understanding math functions on cells
I have set up a simple data tracking form that breaks out the associated costs of a vehicle going to Auction ( dealer costs, transportation fees and so on) for my employer. It works great, and I can enter data into the database successfully, and my Report will print it out nicely sorted by Store. I would now like to create cells on my data entry form that calculate and display various math procedures on the data being entered. For instance, a cell that displays the Sum of all the fees and costs, and then a Result field that displays the amount we sold the car for minus the Sum total of the fees. Boy, do I need some help getting my ...Show All
Visual Basic Undo disabled using Worksheet_Change event in Excel
I'm using the Worksheet_Change event to produce a date/time stamp in an Excel workbook. The problem is when using this event it disables the Edit|Undo feature in Excel. Is there a relatively easy way around this problem without writing a whole bunch of code to capture cell values and then manually creating an Undo command button BTW, why does this event disable Undo Undo is an important feature is most cases. Is this a bug you guys are working on I appreciate your help. Thank you. From what I understand, any code executed by Excel VBA clears the undo buffe ...Show All
Windows Forms Owner Drawn Menus
I'm developing an owner drawn menu (overriding OnDrawItem and OnMeasureItem) with the same look as the native Visual Studio .NET 2003 menus. Two questions: 1) I need to change the color of the little triangular arrow that appears on the right side when the menu item accesses a sub menu. By default, the arrow is black when the menu item is& ...Show All
SQL Server Move database from SQLS2k5 to SQLS2k5Express
Hello, 1.) Can I move a database complete with tables, diagrams, relationships, stored procedures, etc. from SQL Server 2005 to SQL Server 2005 Express and preserve all the work I did 2.) Can I do the same from SQL Server 2000 to SQL Server 2005 Express and preserve all the work I did Thank you, dbuchanan Hi, there should be no problem with either of these scenarios, the only thing to be careful of are the restrictions in SQL Server Express. Most restrictions are around size and performance, ie 4GB database size, 1 CPU, 1GB Buffer Cache, but there are also some others for instance, SQL Se ...Show All
SQL Server SMO Method Performance
I've run a series of performance tests on a test app that uses smo for creating sql server tables (including columns, indexes, triggers, and foreign keys) and stored procedures (including parameters). On a 2.7GHz machine with 512MB ram (both app and Sql Server running locally), the series of tests yielded the following results: Table.Create() 0.3 ==> 0.6 seconds PrimaryKeyIndex.Create() 0.7 ==> 0.9 seconds Trigger.Create() ~0.06 seconds StoredProcedure.Create() 0.12 ==> 0.14 seconds With creating a large number of tables/indexes/stored procedures in the app, I'm concerned about performance. Are there ways to quicke ...Show All
Smart Device Development signal strength of WLAN
hi, I try to develop an Application for Pocket PCs with C#.NET Compact Framework 2003. How can I learn the signal strength of WLAN in my Application Thanks.... MAT. This post should answer your question: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=124459&SiteID=1 Michael ...Show All
SQL Server SSIS Doubts
I am having this question in my mind from when I started using SSIS.. In a package I have an OleDB source and a flat file destination. and I hook up the source to destination in SSIS and run the package.. it works .. fine.. but internally what is done does SSIS performs BCP out Going from OleDb to flat file it just reads the data. There is no Bulk option for reading data out of SQL, because it doesn't have to worry about page allocations, changes to indexes, triggers etc. Its just reading pages from memory/disk. Going the other way it uses the BULK load operations as Jamie mentions. FYI these are avail ...Show All
Visual Basic Display a list of files being copied during the copy process.
Im using the My.Computer.FileSystem.CopyFolder object to copy the contents of a folder on a CD-ROM to a folder on the harddrive. Is there anyway to have a label on my form that changes with each file being read. All my code is atm is this: My .Computer.FileSystem.CopyDirectory(UpgradeProgPath.Text, CurProgPath.Text, True ) Just a simple label that says "Copying: filename.ext" IE: Copying update.exe And have it change for each file in the folder being copied. Is it possible to do this at all Or is there a better way to do it than the My .Computer.FileSystem.CopyDirectory method I use using Synchro in .net 2003 but i'm trying ...Show All
Visual Studio Report Control / Writer
Hi, Is there any report control or report writer that goes with VB.NET Express Anything you can recommend that might be free or cheap Regards, Cesar ...Show All
Visual J# High School Teacher still needs help.
Hello, I am a high school math teacher and this is my second post for help writing my first java appet using : Microsoft Visual J#.NET Microsoftw Development Environment 2003 Version 7.1.3008 Microsoft.Net Framework 1.1 I have gotten help from Christian Graus and Jaiprakash previously and I thank them, but I still have not gotten my first applet to run. I am trying to use the code for the applet at http://www.mrpowell.net/progra/java/example1.htm which was written in j++ by myself. As Jaiprakash suggested, I first installed "J# Browser Controls" at: http://www.microsoft.com/downloads/details.as ...Show All
Visual Studio Team System Using CMMI Bug definition in Agile
Hi, Is it possible to use the CMMI Bug definition type in Agile based team project Thanks Michael I recommend taking a look at C:\Program Files\Visual Studio 2005 SDK\2005.10\VisualStudioTeamSystemIntegration\Work Item Tracking\Authoring Work Item Types.doc Assuming you have installed the SDK from VSIP and installed it to c:\program files... etc. ...Show All
Windows Forms in addition
is there a library for binarizing gray scale images wow - ... I wish I had that kindof brain capacity. ...Show All
Visual C++ Changed the COM signatures....using ildasm.....
Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. Any Ideas.... Thanks, Harsimrat ...Show All
