sbatati's Q&A profile
Visual C++ stringstream causes memory link VC++ 2005?
This simple program seems to leak LOTS of memory when compiled in VC++ 2005: int _tmain( int argc, _TCHAR* argv[]) { for ( int i = 0; i < 100000; ++i) { ::Sleep(1); std::basic_stringstream<TCHAR> str; str << _T( "Current iteration: " ) << i; } return 0; } CRT: Multi-threaded debug or Multi-threaded I compiled and ran the same piece of code in VC++ 2003 and I don't see ANY leaks! Any ideas ...Show All
.NET Development I NEED HELP! ITS AN EMERGENCY!
I just wanted to install updates on my windos live care program which protects from viruses and such. the thing is, it won't let me update since it said something was wrong, so then it told me to remove my .net framework version 2.0 and i did. now, the program won't even work or whenever i click on it, it just won't come up and its saying theres some kind of error and that now i have to re-install it. i just want to know, where or how can i get ...Show All
Windows Forms A few Windows Forms Questions
Hello, I've got three questions; Firstly, is it possible to have an event when a certain keyboard button is clicked Secondly, is it possible to write a .txt file Furtermore, is it possible to send files, such as a .txt file via the internet to a certain E-Mail address With Thanks, Gal Beniamini. Hello, Thanks very much for ...Show All
Windows Forms are windows forms a replacement for mfc?
we have a mfc app and want to re-design the UI. does it make sense for us to use .net or should we stick with mfc i don't really know when to use each. Excellent question. I guess that's a matter of your personal pr ...Show All
SQL Server installation bug found SQL Server 2005
Hi! I had the earlier builds and this did not happen but: just downloaded SQL Server 2005 (RTM) from msdn When selecting to install integration services (amoungst other options), whilst installating it gives me an error saying I do not have admin privledges to install one of the .NET libraries/runtime files I cannot remember the file name at all im afraid. Error: 0x80131501 So I cancelled the install and just installed everything but the in ...Show All
.NET Development Consuming Web Service over SSL...
I am trying to consume a webservice created using .Net using SSL. If I use Framework 1.0 it just works fine. But if I use 1.1 I get the following error: The underlying connection was closed: Could not establish trust relationship with remote server. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originate ...Show All
Visual C++ Converting Project to Use msvcprt.lib instead of msvcirt.lib
I am attempting to convert a project to use msvcprt.lib rather than msvcirt.lib. When I run nmake on the .mak file I am getting an error 'unable to open msvcirt.lib'. I have removed all references to msvcirt.lib in the .mak file. The error is actually occuring at the linking stage, so it looks like the reference is inside an embedded library. As far as I know I have successfully rebuilt all libraries used by the ap ...Show All
Windows Forms Redirecting Console Output
Hello, I have the following problem, i hope someone can help me: I want to write an mini-IDE in C# (like SharpDevelop e.g.) and want to provide the possibility to compile and run C#-Projects. To compile and create an assembly i use the namespac ...Show All
Visual C# How can I create Menu seperator with .Net framework 2.0?
with .Net framework 1.1,I can implement menu seperator through setting the MenuItem's Text Property with a minus as shown below: MenuItem mi = new MenuItem(); mi.Text = "-"; but how can I achieve this with .Net Framework 2.0 it seems that the new class MenuStrip provided by .Net Framework 2.0 can not be manipulated this way. any help tips will be appreciated You should be able to create a separator with code ...Show All
Windows Forms Adding menu to treeview nodes
My situation: I have a treeview which displays different levels of nodes and I would like to allow the user to right-click the node and then he will see menu options for that particular node (IE: rename node, delete node, etc..). I have added the MouseDown event but I have to figure out how to create a menu (with menu items) and add this menu and display it with the node that was clicked. I have never added a menu to a node and would great ...Show All
Visual Studio Team System How to access Team system using Programs
Hi all, I want to use the functionality of Team System. Are there any classes and interfaces opened by Microsoft to access Team system. So that I can access the Team system through my own written programs. If any one have some code snippet to explain or some links regarding the access of Team system using Visual Basic functions, it will be helpful Thanks Hello Could you be more specific on wh ...Show All
Visual Studio Team System Permissions Question with Reporting Site
I have a question concerning the setup of permissions on my SQL Reporting. In order for someone to create a project in TFS, they must have Content Manager access, understand this, not a problem. The problem is that I have to add individual users to security settings, a group of users won't seem to take. Example: Dev A is part of the Development AD Group. If I add the Development Group as Content Managers, Dev A can not create a project ...Show All
Visual Basic data grid question
I hav 2 questions. 1. How do I change the datagrid's Column headings the problem is when I load the gris it shows the tables's column names. e.g. If in database Table the column name is "EmployeeID", then I want to show it as "Purchased By" . How to do that 2. How do i export data from a datagrid to a Excel file Anyone help. Thnx in advance. Hi, 1. You can programatically change the header: ...Show All
Visual Studio Team System Beta3 and SSL problem at Report Server aspx pages
Hi! I have installed Beta3 and enabled SSL connections. Registration Variables are set for SSL and Default Site, Shpt Site & TFS site have SSL enabled It works fine except Report Service aspx pages, like: Reports/Pages/Folder.aspx Pages have incorrect links ( like: Home | My Subscriptions | S ...Show All
Smart Device Development referencing drawing2d using vs2005 cf 2.0 c#
Hi, i am a complete novice so please excuse me if this question is naive. I am creating a project in c# and wish to use graphicspath which is in drawing2d. The help files seem to suggest that system.drawing.drawing2d is referenced from within a project using c# and compact framework 2.0. I do not see this under the references and can find no sign of it in the add references screen. So my question is, is drawing2d.graphicspath available ...Show All
