dseatovic's Q&A profile
Visual Studio Express Editions Linker error with vector use & Multi-Threaded DLL config
I'm writing a program that uses a library which requires the runtime library to be set to "Multi-Threaded DLL" (Command line: /MD), so it is. Well, recently, I've only used C in my application, but I wish to start using C++ variable types and methods. I tried to do a simple vector operation and while it compiled fine, it generated a linker error when I tried to build. I pass the following into a function: vector<int>& Parameters The line: int parameter2 = Parameters.at(1); generates a linker error: error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: int const & __thi ...Show All
Visual Studio Team System Team Suite 2005 RC - Can't run unit tests when web project is in solution
If I create a solution with only a class library, unit tests run as expected. If I add a web project to the solution in addition to the class library, unit tests will not run and I get an error message like this: "Operation is invalid for the current state of the object." Removing the web project from the solution doesn't immediately resolve the problem but by cleaning, rebuilding, and opening the solution from scratch unit tests will work again with only the class library. Any suggestions We have not experienced this problem since moving to the final VS2005 Team Suite. It appears to be corrected in the shi ...Show All
.NET Development WSE 2.0 Authentication Scheme For WebServices
I am running MS VS 2003 with WSE 2.0 I am trying to build a user authentication scheme for my webservices. Below are the steps I am trying to follow: 1) Initially the user must provide a valid username/password and authenticate to a WebService/TokenManager at which point the user will be issued a unique token (Guid). 2) This unique token (Guid) will be stored in the Context.Cache of the Webservice (with a back up in the DB) 3) All subsequent calls to web services will require the unqiue token to be passed with it. I wanted to use WSE 2.0 to handle all authentication. I am able to get the Username/Password to authenticate against the DB wit ...Show All
Visual Studio How to exclude a project from a source controlled solution
Hi Using VSS 2005, We have a source controlled solution and we need to exclude 2 projects from the source control – but have the in solution -. I haven’t found that option when I right click on the projects. How can I exclude them from source control Thank you, Alan Hi Alan, Projects cannot be excluded from source control once the solution has been added to source control. The idea of having the solution controlled is that another user should be able to enlist in the solution by opening the solution from source control and should get all the projects in that solution. At least the ...Show All
Windows Forms Install issue
Hi, I'm facing Install issue with Taskvision source and server edition both , issue is that it says unable to locate localhost database please contact system administrator.I've SqlServer 2K sp3 with latest .Net Framework patch (slammer) updates and Win2k server I've blank password for sa and I checked the necessary setting ,I'm able to login as sa and I'm  ...Show All
Windows Forms listbox selected items
I have 3 listboxes that are being filled with same data and from 1 store procedure call to the database. Theorecctially, the user could selected an item from each listbox, however, when doing so, the other 2 listboxes change to have the same selected item. Ex - If I select item A in listbox1, then listbox2 and listbox3 show their selected item as ...Show All
SQL Server How to load data into a table using a synonym?
I'd like to use a data flow task to load data into a table by specifying the synonym name of the destination table, instead of the actual table name. The OLE DB Destination is forcing me to pick an actual table or view from a drop down list. Any ideas on how to get around this Thank you. This will be fixed in SP1, so that synonyms also appear in the UI in the drop down list. For RTM, the workaround is to use SqlCommand access mode, and then if you specify "select * from synonymTable", that will work. ...Show All
Smart Device Development VSTO 2005, where's the controls????
Hi all, In visual studio 2005 beta, i create a new Pocket PC project. the first time i am trying to do is add some controls to the default form1, so i open up the toolbarbox pane...but all i see listed is "Generl", with no controls! what happened to all the controls or do we have to write these things from scratch now Thanks much for any help with this (btw, is this new forum look new finally, Microsoft is taking a queue from the broader internet community :))), very nice. cept' for one thing. how do i mark a post as being watched or for email-notification ) Hi David, I got the very same problem. I'm trying ...Show All
Visual Basic Regional Settings are used by "IsNumeric", How would I change this behaviour?
I have written a small CAD Text translation program for printed circuit CAD translations. I am using Microsoft Developement Environment 2002 Ver. 7.0.9955 with the Framework 1.0 Ver. 1.0.3705. I am using my German version of Visual Studio but change my regional settings of gr-de (German Germany)to en-CA (English Canadian). The data my program works with is written in the north american English format. I live now in Germany and as my program nears its functional Beta status I would like to be able to install it on Windows machines without having to tell the users they must first change their regional settings. I have read some information ...Show All
Visual C# How to set VS2005 to C#
Hi When I installed VS2005 I set it up for C++. Now that I have started a C# project how do I set all the defaults to C#. I am talking about the news feed on the start page and defaults in help etc. I have found how to change the RSS news feed for the news page but what is the URL for c#. Linda ...Show All
Windows Forms Server Install Error: The parameter is incorrect. (taskvisionsource_1.1.0.0.msi)
So I am trying to setup a server of my own and was installin g the server piece has anyone found a fix for the "The parameter is incorrect." message during the installation I am running Windows Server 2003 IIS 6.0 SQL Server 2000 I do have the .NET Framework v1.0.3705 also installed. Is there a way I can install via Source Any help would be gre ...Show All
SQL Server What happens during connection manager validation?
Hi, I have an issue at the moment regarding a proprietary data source that we are accessing using a proprietary OLE DB Provider. The validation phase when the package starts up takes AGES but when I set DelayValidation=FALSE on the connection manager and the data-flow then this validation phase takes no time at all - as normal. (I still have a delay when the data-flow runs of course because validation occurs then as well) So, it seems as though the bottleneck is the proprietary data source. we can monitor what is happening on that proprietary data source but in order to diagnose what the problem is it would help to have some answe ...Show All
Visual C# How can I capture the event of closing a form?
I have applied Form1_Closing() event handler to capture the Form-Closing event, but failed many times. I attempted to use this .Closing += new System.EventHandler( this .Form1_Closing ); to add the event handler, always suffered from a syntax error. Who can give me some successful C# source codes to fulfill the purpose. You might want to consider overriding the OnClosing event in your form rather than hooking up an event to it. To do this, add the following code to your form: protected override void OnClosing( CancelEventArgs e) { MessageBox .Show( "Test" ); } ...Show All
Visual C++ What's Better?
Which close function works better in C++ Close(); or this->Close(); Somebody told me that one of them has errors but I wanted your opinion first. They're identical. The one reason you would want to use this->Close() over Close() is if you want to use Intellisense for the class that you're currently in to see what members are in the class and saving typing the word "Close". A reason you would use Close() over this->Close(), is if you want to say ::Close() instead of Close(), using a scope operator, to call a global version of the function instead of a member function. ...Show All
Smart Device Development New .net compact framework on device
All, I wrote a simple application using .Net 2.0 - Windows mobile 5.0 smartphone sdk . My application uses Microsoft.WindowsMobile.Status.dll. When I installed this application on AudioVox SMT5600 and tried to ran it. An error popped up on device saying " The application requires a newer version of Microsoft .Net compact framework than the one installed on this device ". Does it mean, .net 2.0 Smartphone apps. written using mobile sdk 5.0 will not be compatible with devices running Windows Mobile 2003 second edition Any help in solving this problem would be greatly appreciated. Thanks. I'm glad it ...Show All
