Rosss's Q&A profile
Windows Forms .NET Memory Consumption
Hi All Here's something interesting: Launch your Winforms app. Open task manager, look at the memory used on this app/process. Minimize the app, look at the memory. Restore the app, look at the memory! Why does it take SO much memory to "launch" ye ...Show All
Visual C++ Directories of 64-bit targets created from 32-bit ones
Hi, The VS 2005 feature for adding 64-bit targets by coping win32 ones is pretty neat: http://msdn2.microsoft.com/en-us/library/9yb4317s(en-us,vs.80).aspx I've noticed though, that when doing this with projects converted from VC++ 6, in some places the new target uses the same build directory as the target copied, so that, for example the amd64 and the win32 versions can't be built at the same time. I've put an example below. The x64 part doe ...Show All
Visual Studio Express Editions invalid object
I am trying to write to a database table using native configuration. I have already checked my connection string, I believe I am connecting. However, I get the "table3 is invalid object " error. I checked the spelling and case of my objects. These objects exist. Why do I get this error Hi, from what i understand, if ExecuteNonQuery() is producing an error, then either the table name is wrong, the column name is wrong or there ...Show All
SQL Server The solution was: User Instance=False
I want to process data of an old VS6 project in VisualStudio2005. First part is done. With SQL Management Studio I created the database file 'dbTest4' and attached it to SQL 2005 Express server (.\SQLEXPRESS). Then I recoded the VS6_C++ project feeding its data into the database file using the ConnectionString: "Provider='sqloledb';Data Source='.';Initial Catalog='dbTest4';Integrated Security='SSPI')" Until here its worki ...Show All
Visual Studio Fail clearing directory
I fail in doing a very simple task. In the beginning of a target I would like to make sure that the output directory is empty. I do this with the below 2 lines that removes and creates the directory. < RemoveDir Directories = " $(OutputPath) " Condition = " Exists('$(OutputPath)') " /> < MakeDir Directories = " $(OutputPath) " /> In some rare cases it only removes the directory, but seems to forget to create it again. By T ...Show All
.NET Development Servers, Pages and their controls and HTTPWebRequest.
Recently I was asked how to push button on a web page control programmatically and I realized I didn’t know. For the last couple of weeks, I’ve been playing with HTTPWebRequest and getting the samples to work. That’s a wonderful class and it looks as if it exposes every possible thing that could be exposed, but I realized after all the code that I still don’t know how the pieces fit together. I have a single XP node and I’ve set up ...Show All
Visual Studio Team System Which type methods are from the interface?
When you have a type that implements at least one interface is there an easy way to enumerate the methods that are from an interface Method.ImplementedInterfaceMethods seems like it would and is used in the RuleUtilties.IsExplicitInterfaceImplementation method but it hasn't worked for me. I may not be using it correctly though. It looks like I won't be able to get this information at the type level and will have to analyze the methods of the im ...Show All
Visual FoxPro Need VFP 9.0 Report Help
Hi I have a report that in the detail band I have the following info: QTY Part Number Description Price Extended Price 5 2222-009 5500 Watt 220V &nbs ...Show All
Windows Forms ReadXml with ProgressBar
Hi, i am getting a stream from a ftp server... I am reading this stream to a dataset... My stream is about 4-5.MG, so i have 2 options: To download my xml file from the ftp server, to save it localy on my computer. In this way i can make a progress bar of my recived data... and i can know how much time left... The other way is to read the stream directley from the FTP server... This way is better because of the performance. But in ...Show All
Visual Studio Disable updates in the edit window
Hi, I have an add-in that changes the text in the file that is currently in the edit window of VWD. How do I disable the updates to the window while I my add-in is ruinning then enable the window and refresh it when the add-in is finished Thanks, Nick You can diable UI by setting the following property DTE.SuppressUI = False /Ole ...Show All
Visual C++ How to use MergeMod.h IID_IMsmMerge, ExtractFilesEx and CoGetClassObject
Help!! I am trying to write a 1) VBscript to merge - merge modules to a msi database using Merge Object but I get an error when I use ExtractFilesEx method cause ExtractFiles method shortens the path name. so I tried to write in C++ cause the DOCUMENTATION on MSDN is wrong... 2) my C++ files has few errors and I dont know how to use some of the functions.. such as CoGetClassObject etc.. so if you could look at the following code and let me ...Show All
SQL Server order by in a view in sqlserver2005
Hi, I've a problem with a created view in sqlserver2000 that I'm now using in sqlserver2005. This is the view : CREATE VIEW hsarti01_VD1 AS SELECT TOP 100 PERCENT * FROM hsarti01 WITH(index(hsarti01_PK)) ORDER BY 1,2 desc,3,4 When I do the "select * from hsarti01_VD1" in sql server 2000, I see in the result that the order by is been using. but in sql server 2005 it's just using the order of the primary key and not the orde ...Show All
Visual C# No Such host is known errror
am trying to create a simple dateTime application in which the server provides the current date to the clients who connected/listen on a particular port(port number 13) This is the DateTime Server Application ----------------------------------------- using System; using Syste ...Show All
Visual Studio Team System Testing a Unit that uses AppSettings
Hi, I wanted to unit-test a code unit that uses information from the appSettings section. Thus I created a corresponding app.config file in my Test Project. This looks something like < xml version="1.0" encoding="utf-8" > <configuration> <appSettings> <add key="mySettingName" value="something"/> & ...Show All
.NET Development partial data sent?
1 man 4 days 15 hours / day I have this problem and think I have made no progress after 4 days. I am having SEVERE serialization problems from Server to Client. Client seems to be the problem. I thought it could be my smartphone mobile device but no, even If I do this on the PC the result is almost the same. When my Server serializes over a network stream, Server seems to send the data fully, Cli ...Show All
