LoStDaNi's Q&A profile
Visual C++ Can and how do I extend an array of objects during run time?
Hi, I created an array of objects, based on a class I created to hold data only, at the start of my program. During the run time, I may need to add an unknown number of additional objects to new data. Can I do this How can I increase an array of objects during run timge, one at a time as the need arises For exmaple: myClass aryObjects[10]; .............. How do I add to the aryObjects and make it a aryObjects[11] Thanks. Ha ...Show All
Visual Studio Team System Middle tier caching - Is it available? (Excess reads by prc_QueryItemsExtendedLocal)
Are there any caching options for the middle tier of TFS I work on a large system that has the following stats: 205 .sln files 342 .csproj files 22335 .cs files 5713 directories and the first time time I open a solution in a new Visual Studio session there is a request like the following: exec prc_QueryItemsExtendedLocal @identityId=27,@workspaceName=N'BS220',@localItem=N'C:\enterprise\',@deletionId=0,@depth=120,@deleted= ...Show All
Visual Studio Team System Visual Studio 2003 Integration
Hi, How can I run FxCop in Visual Studio and apply it only to the current class (e.g. the class that is displayed) I have created an external tool for the FxCop and also passed all the parameters I need ($TargetPath for the DLL), but how do I specify the current class or namespace Thank you... You can't do this automatically. FxCopCmd.exe currently supports a /types argument, that accepts a comma-sep ...Show All
Smart Device Development Custom Platform woes...
Hello all, I'm using a custom SDK built from PB 5.0 to create a native app. The project is an MFC Smart Device app, and I'm getting some strange results. If I build a plain jane Dialog based app, I get many of the following warnings: C:\Program Files\Microsoft Visual Studio 8\VC\ce\include\sal.h(527) : warning C4005: '__in' : macro redefinition C:\Program Files\Windows CE Tools\wce500\FormaxCE_500\Include\X86\specstrings.h(48) : s ...Show All
.NET Development How to access forms that have multiple instances...
I've done this in other languages but haven't found the right way to do this in VB 2005 yet. I have an application that will open up multiple instances of the same form. Each form will have it's own unique name set in the Text property. From the main form I will then send data to the form in which it is intended to be displayed on. I am unsure how to accomplish this task of looping through the open windows and sending data to some object, contro ...Show All
.NET Development sqlhelper
I am looking for some examples of how to use sqlhelper in conjuction with Stored Procedures. In particular I would love to see the code stored in a SP that might be used to create or update records in a table any pointer grealty appreciated. Hi, Please read the following article: http://aspnet.4guysfromrolla.com/articles/070203-1.aspx Read the section: Using the Data Access Application Block to Execute ...Show All
Windows Forms Multi-Monitor set to different resolutions breaks secondary forms
Just checking to see if anyone knows about this, I experienced this issue a while back and managed to reproduce it in a simple program today so thought I better check to see if its know, or I just mucked up somewhere In a system with 2 monitors, where the secondary monitor is set to a different resolution (larger) to the primary, any window created and shown as a Dialog (yet resizeable) breaks if the window is moved onto the secondary monitor * ...Show All
.NET Development Design Problem In Serialization Of Event
I has a design problem in serialization of event. In all UI class is doesn't implement Serializable attribute that I cannot clone with all object right The following is my customer object [Serializable] public class CustomObject { public event EventHandler Test; public CustomObject() { } public CustomObject Clone() { System ...Show All
Visual C++ What's the most recent version of C++...
What's the most recent version of C++ that should be used to set up a virgin development environment. The latest version of Visual C++ is Visual C++ 2005 but there are several different flavors of this product (Express, Standard, Professional, Team) and which one is best for you depends on what sort of development you are planning on doing. ...Show All
Visual Studio Inserting images into a html file using Help Integration Kit
Hi. Is there an easy way of inserting a picture into my html file which is part of my help integration kit project I am writing a large userguide for a system I built using Visual Studio .NET 2003 and it includes many, many picture files to show the user how to do the topic being taught. I am hesitant to have to type the <IMG> tag every time I need to insert a picture. And also, when the project is compiled, will the end product be ...Show All
Smart Device Development Migrating CF1.0 Application to Visual Studio 2005
Hi, We are trying to migrate our CF1.0 project to VS 2005, it is causing a lot of problems with UI - all screens have to be re-drawn with the new controls (the code seems to still work). Please let us know is there any upgrade or converion tools available. Kinldy also provide us some information about smooth migrating techniques from older .Net CF applicaitons to .Net 2.0 CF Thanks Hi Daniel, Thanks for your rep ...Show All
Windows Forms resizing child window
Hallo, I have in my programm a main window and a child window. Child window contains a datagrid and treeview. Initially when the window gets displayed, the main window has the size of the desktop and child window is in the center of main window. When i maximizes the child window, how can i adjust the size of the datagrid accordingly thanks n regards swingme Thank u Konstantin for ur response.It was a good hin ...Show All
Windows Forms Office XP PIA move to the last page on a word document
When using the office xp pia how do you move to the last page of the document I would like this so that i can attach a new document file to the end of the document, if you know a better way for me to do it that would&nb ...Show All
.NET Development Clibpoard bug in VB 2005 or DotNetFramework 2.0
I am writing code to transfer text to the clipboard in a number of formats in VB2005. I already have code which does this fine under VB.Net 2003 Everything is fine until the text data which I have written onto the clipboard via a DataObject is pasted into Excel or Word, When you do this you get the following exception. System.Runtime.InteropServices.COMException crossed a native/managed boundary Message="Invalid FORMATETC ...Show All
Windows Forms MySQLDataAdapter Insert Not Working...
Can anyone see why this insert command is not working It is not generating any error messages. It acts as if it has inserted the records, but when I check the database the row count is still 0. Here is my code... <hr> <color="Blue"> Publ ...Show All
