BrandonD's Q&A profile
Visual C++ Problem with friend overloaded operators in Vicual C++ .NET 2003
I have a problem when overloading the operator << in some versions of visual C++ and not others. The code attached builds without error and warning in VC++ 6 and express beta 1, while it fails in .NET 2003. Errors are : test_friend.cpp(15): error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'tutu' (or there is no acceptable conversion) test_friend.cpp(20): error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion) If you put the definition of the friend operators outside of the class, or if you comment the member op ...Show All
Windows Forms MultiThread in VB.NET
Hi I want to make an application in VB.NET and I want this application to work as follows, There will be an array of items on which I want to perform a specific operation (MyTask), with the help of multiple threads. for example say the array is holding 12 items in it, and I want to create 3 threads to do the work, first therad reads ...Show All
Visual C# Mouse Events
Im trying now to get the coords of the mouse on the SCREEN out side my form i was thinking to use win32 WindowProc function on the desktop handler ( using getDesktopWindow() ) im familiar with using external functions like getDesktopWindow but i just have no clue how to user WindowProc function .. it suposed to get callback function or something how to do it in c# thanks :) Well my final solution was using timers and mouse cursor position suggested by Daniel Rieck ...Show All
Visual C++ STL.NET
Will there be the full version of STL.NET available with VS 2005 final version . I heard that STL.NET will still be in beta when VS 2005 ships. Is that true Thanks, Madhu. ...Show All
SQL Server ROM on SQL 2005 replication
I needed a ROM on a SQL 2005 replication requirement. Would really appreciate any help on this. We have a SQL 2005 database with about 4 GB data, 46 tables to be replicated. For users to run queries and generate reports, we need a replica of this database. We are thinking of using replication wizard to generate a separate instance of the database on a different box. Also thinking that the replication wizard could be used here. Based on this information would it be possible to get a ROM estimate for the Development tasks involved in setting up the replication We do have some internal performance numbers for snapsh ...Show All
Visual Studio Will VS 2005 coexist with VS 2003?
I am about to rebuild my computer so that I have a fresh machine for Visual Studio 2005 (I had the RC installed until now). Once I install everything (including VS 2003) will Visual Studio 2005 install fine and will both Visual Studios work as expected The problem is solved already. After installing .Net framework 2.0, there is one more tab named "ASP.NET" in the IIS Web Site Properties dialog. Change the ASP.NET setting to 2.0.XXXX. It will be OK. It works on both IIS 5.X and 6.0. ...Show All
.NET Development NotifyAlert.exe-Common Language Runtime Debugging Services
How can I get rid of this Window popping up NotifyAlert.exe Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process ID=0x7fc (2044), Thread Id=0xc38(3128) Click OK to terminate the application. Click CANCEL to debug the applicat ...Show All
Visual Studio Express Editions Visual Basic Express won't install.
I recently tried to install the VB express edition. I went through all the agreemetns and such,but when it came time to install, it wouldn't. It has done this on several occasions. it will being to install but then stop and says it cannot be installed. It gives me no error messages or anything. It just says: "The following item could not be installed: Microsoft .NET Framework 2.0." Anything I could do ReneeC wrote: Bronco Billy, this is for you: http://www.msdn.net/vbrun/staythepath/additionalresources/ GGGG's Thanks For The Recycled Gift...... One of Us or Both of Us Just Don't Get It....... I'll ...Show All
Visual Basic Winsock Question....
I have to build a VB 6 program that (i'm guessing) sits on a server and "listens" for messages coming in on a particular port that are in an ISO format. I have a pretty strong VB background, but have never done any programming on this level. I'm looking for any input on what my best angle would be to handle this. My problem is that I have no idea where to send the information back. In looking at Winsock documentation, it looks like I could create a TCP or UDP app, but these look like I have to have a client on the other end. I'm only writing the piece that sits on one location, and I'm not sure where the info is ...Show All
Visual Studio Express Editions Failed to add validation event handler - thank you
I am trying to learn ValidationWalkthrough. When I double click on Quantinity column the following error occurs: Failed to add validation event handler because of the following error: Invalid Index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) The system is: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: C# Express Microsoft Visual C# 2005 76544-000-0000011-00126 What I am doing wrong Marek I am trying to do the same thing & having the same problem. I found this other thread which di ...Show All
Visual J# CLSCompliant(true)
Hi; There appears to be no /** @assembly CLSCompliant(true) */ - how do I set this in a J# project thanks - dave Thank you. I think I got so used to the ALT-ENTER in IntelliJ/ReSharper that I forget about this in VS. thanks - dave ...Show All
Visual Studio 2008 (Pre-release) NotifyCollectionChanged
I have a control which is bound to a class which inherits from ObservableCollection<mytype>, using objectdatasource <ObjectDataProvider x:Name="myCollectionDS" x:Key="MyCollectionDS".../> <TabControl ItemsSource="{Binding}" .../> I am overriding OnCollectionChanged protected override void OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedAction action, object oldItem, object newItem, int index) { base.OnCollectionChanged(action, oldItem, newItem, index); } However this method is never hit. <Button Click="OnButtonClick" .../> private voi ...Show All
SQL Server Remote Connection problem on MS SQL 2000
Hello, First, I want to say I read all threads similar this thread and I couldn't solve problem. My firewall is always off when I tried to connect remotly to SQL Server. I opened 1433 port from my router's configuration page and forwarded it to 10.0.0.4:1433. When I started SQL Server service and checking "netstat" with "-na" paramters. It shows only one row as "TCP - 0.0.0.0:1433 to 0.0.0.0:0". What "0.0.0.0" means and why foreign addres port is "0". I guess, It should like to be "TCP - 10.0.0.4:1433 to OutsideIp:1433". I removed forwarding from my router and used Windows's Network Connection to forward ports. I opened ...Show All
Visual Studio 2008 (Pre-release) Button Style Trigger - IsPressed Property
Hi guys, May be someone knows why I can't change button's background using style trigger in IsPressed Property. Appreciate your help. Irina <Window x:Class="Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Window.Resources> <Style TargetType="{x:Type Button}"> <Style.Triggers> <Trigger Property="IsPressed" Value="true"> <Setter Property="Background" Value="Red"/> </Trigger> </St ...Show All
Software Development for Windows Vista How to access <Activity Reference...> in DesignerHostingApplication
Hi, I'm trying to reference another activity from the property grid with the DesignerHostingApplication from Lab 10. When I click on <Activity Reference...> I get tge following error: The service 'System.ComponentModel.Design.IDesignerHost' must be installed for this operation to succed... What do I need to do to get the Activity Reference dialog Hallo Bernhard Hab's gefunden. Muss leider wieder in ein Meeting zuruck. Werd mich heute Abend mal melden, kann aber 20 Uhr werden. Grus, Sebastian ...Show All
