Lee Franke's Q&A profile
Smart Device Development TRACE problem when bring in MFC code
I tried to pull forward some code from the MFC library so that I can use one of the deprecated classes under Mobile 5.0. I have been fairly successful so far, but it would appear that TRACE is confused. I am getting .\winsplit.cpp(82) : error C2664: 'void::ATL::CTraceFileAndLineInfo::operator {} (const wchat_t *,...) const' : cannot convert parameter 1 from 'ATL::CTraceCategory' to 'const whcat_t *' The line of code looks like TRACE( ...Show All
Windows Forms My Biggest wish...
Hi all, To add to the global wishlist. I'd like to be able to use operators with complex types (color, IntPtr, etc.) in VB.net. The only way for these simple things is to use .Equals method or use some weird advanced methods like; op_LessThan, op_Ex ...Show All
Visual Studio Team System How to delete / rename / move top-level folder in TFS source control beta 3
How do I delete a top level folder inside a project in source control For example, if I want to delete the folder "bar" in the project "foo", how can I remove a folder once it has been created Can I rename "bar" to something else, like "oranges" Can I move "bar" to some other folder in the tree The only way to delete a top level "Team Project" folder is with TFSDeleteProject. We will be releasing TFS in Q1 of '06 - just a fe ...Show All
Visual C++ C3861 error using Visual C++ 2005
Hi, I was trying to program a C code using Visual C++ which basically saves an area on the screen to a buffer. However, when I tried to Build the code, I got the following error message: "error C3861:clrscr identifier not found." Is it possible that Visual C++ does not support DOS graphics functions Your prompt help would be much appreciated. Thanks Sami It would appear not, it would appear that function is ...Show All
.NET Development Problems with Network Stream and Threading - please help.
Hi folks, i have threads that are used to retrieve any data from a client after a client connects to the listener. When i try to get the server to close all connections, i do that but after it finishes closing all, it then crashes on a StreamReader.ReadLine() call. how do i make it so that when the TcpClient is closed, then thread stop correctly The StartListening method kicks it all off. Note: I've left out some private properties to ...Show All
SQL Server uniqueidentifier update question
Hi all I am written a script to update the customer db, it is 99% done apart from this. The information is sorted in a temporary table where I then update two tables, customers and contacts. The uniqueidentifier field is an nvarchar in my temp table as I am extracting it from a txt file, when I go to update the customer table all ok apart from the fact I can’t update this field: Server: Msg 8169, Level 16, State 2, Line 1 Syntax erro ...Show All
Visual Studio Express Editions My db Problem
Hi I,m a novice at this I have a problem (I,m using Visual Basic Express) I created a small app using a database table called myDVDProject,ands its working fine. However I would to add a search to the Title field.I used a Query and it searches, but the DVD title has to be 100% correct. Thats my first problem When the search is completed I want to remove the search results and return to my apps. But to do this I have to Stop and Resta ...Show All
.NET Development SoapWebRequest
What happend with Microsoft.Web.Services.SoapWebRequest & Microsoft.Web.Services.SoapWebResponse in Visual Studio 2005 Is there any replacement for them I have to reformulate having in view that none is answering. How do a make a request to a web service having in view that the SoapWebRequest function doesn't exists any more in Visual Studio 2005. There's no need for them as long as you can call a web servi ...Show All
Visual Basic WebBrowser SelectAll/Text size
How can I (i) select all the content of a webbrowser control and (ii) change its text size in code In VB6 I would have used the ExecWB method, but this seems to have vanished in .net. I try the following, it does not work... For Each item As Windows.Forms.Control In Me .WebBrowser1.Controls &nbs ...Show All
SQL Server subscribe a report from application
Instead of going to subscription page of report server, can I subscribe a report from my .Net application If yes, how can I do it or where can I find resource or sample I am using SQL 2000. Thanks. Joe. Joe, u can subscribe to reports from the reportserver using .Net Application, Reporting Services provides the following two methods "CreateSubscription" and "CreateDataDrivenSubscription& ...Show All
Visual Studio export each page on different pdf file
Hi! I have a dataset containing two related tables. The parent table contains many rows. Each of them normally creates a page in my report. Is it possible to export each of these pages into separate pdf files The most simple thing to do would be to loop through each row, copy it to a new dataset, copy also the child rows and then perform the export to the new dataset. Can you think of a more elegant way to do that Thanks Dimitris ...Show All
Visual Studio Express Editions Plugins, DirectX, and other languages
OK can anything plug into Express Editions and can it open, say Office projects or DirectX ones at all If each Express Edition is a different separate tool another language wouldn't plug in it'd be a whole extra program Would/Could that work that way Also when will microsoft make a plug-in for Visual Modelling that doesn't require ultra-expensive Enterprise Architect Edition with all the bells and whistles, I tend to thin ...Show All
.NET Development Using .NET Assemblies with a C++ .dll
Using Visual Studio 2005, I have a C++ dll that needs message queueing and would like to use the System.Messaging Assembly in .NET. I am having a problem just getting off of the ground. When incorporating any .NET assembly into my .cpp file in the C++ Win32 project (dll), I get the compile errors that indicate the the Assembly is not being imported. For example, I get the following error when trying to import the System.Drawing assemb ...Show All
SQL Server How do I set ApplicationName through ODBC call so that SQL Profiler can see it properly
Hi, I want some proper name to be set in the "ApplicationName" column for my application in the SQL Profiler instead of always being empty. I use ODBC to connect to SQL Server. I am sure there must be someway to do that because when I run SQL Analyzer, I can see "SQL Query Analyzer" or "SQL Query Analyzer - Object Browser" displayed in the ApplicationName column when I turned on SQL Profiler. Thanks, Jeff ...Show All
Visual C++ Linker Error LNK1316: duplicate managed resource name ...
Hi I've converted a managed C++ project from 7 to 8 (VS 2005beta2) and am now getting this error for which there is no online-help.... Error 1 fatal error LNK1316: duplicate managed resource name 'MyProjXY .resources' MyProj.XY Can anyone advise as to what this error means, amd possibly how to get round it Thanks Mark Hi! I have this exact same issue. If I check the "CommandLine" tab under Lin ...Show All
