DiamondDavo's Q&A profile
Visual Studio Printing reports
What is the proposed way for printing reports in local mode My application is web based, i.e. the starting point is the report viewer on a web form. There is a print button property in the report viewer contril but the button is not displayed. When connected to a Report Server, the ReportViewer web server controls prints using an ActiveX control. When operating in local mode ActiveX printing is not supported, ho ...Show All
Visual C++ Upgrade from .net 2003 c++ (and basic)
If I'm using .net 2003 C++ (and VB) can I upgrade to Visual Studio 2005 And will I get the other 2 languages (c# and j#) as a bonus, or do I need to buy the full product I'm using the standard edition. Visual Studio (except Express Versions and Visual Studio Tools for Office) contain all languages: C++, VB, C#, J#. http://msdn.microsoft.com/vstudio/products/compare/default.aspx ...Show All
Windows Forms Maskedtextbox and SelectAll()
Hi, If have a problem with the maskedtextbox. I want the select all the text when the the maskedtextbox got focused (via "Enter" event). and then using the maskedTextBox.SelectAll () funtion. It works fine without putting a mask. But when i put the mask = "00000", the SelectAll() funtion doesnt work anymore. Little side question, whats the difference between the mask "00000" and the mask "99999". Can anyone ca ...Show All
SQL Server Comparing VarCHAR FIELD with NULL
Hi, I have the following query SELECT * FROM PABX INNER JOIN LOGIN ON (PABX.COD_CLIENTE = LOGIN.COD_CLIENTE) AND LEFT(LOGIN.TELEFONE1,3) = LEFT(PABX.NRTELEFONE,3) LEFT JOIN AUXILIAR ON (AUXILIAR.ORIGEM=LOGIN.LOCALIDADE) WHERE pabx.COD_cliente = 224 and SUBSTRING(PABX.NRTELEFONE,4,1) NOT IN ('9', '8', '7') AND LOGIN.UF = RIGHT(PABX.LOCALIDADE,2) AND LOGIN.LOCALIDADE <> PABX.LOCALIDADE AND PABX.CLASSIFICA IS NULL AND PABX.LOCALIDADE ...Show All
Windows Forms How to cancel form load, if error is detected during constructor execution or load event
I am looking for a way to stop the form from loading if problem occured during load (constructor/Load event). If I use this.CLose I get an error message stating you cannot close an object that has not been created. Any suggestions would be ...Show All
Windows Forms More visual inheritance issues - docking and having to always "BringToFront"
Is there something I'm missing here I have a base form that i designed that has atoolbars and some panels. Some of the panels are private, some are protected, the toolbar is private. The toolbar is docked top and so are all b ...Show All
Windows Forms Teaching .Net in Colleges
In January 2004 (possibly in September 2003), I will be teaching VB .Net at a local college. I was wondering what kind of ideas my friends over here have for me. Also, does anyone know of a school that is already teaching .Net I'd li ...Show All
Visual Studio Team System Attachment Size revisited?
In Beta 2, one had to set the maxRequestLength in the web.config as noted in this post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=11990&SiteID=1 In Beta 3 refresh, the web.config file located in the web services folder contains a maxRequestLength attribute, but it is already to the asp.net max of 1000000. Is there a new method to overcomming the 4MB limitation on attachment size in Beta 3 We do a slightly different setup an ...Show All
Visual Studio Team System Distributing include files: Cloaking by default?
Hello, We have a bunch of common tools which many of our (20+) teams make use of. The binaries for these tools are distributed by a dedicated deployment file server (they're built centrally so that each developer does not have to do that manually at each change). We're about to migrate to using Team System (we have been using VSS before), and we're having some trouble doing the following thing: Most of the tools have include files which have to ...Show All
SQL Server isnull()
does sql server mobile 2005 support the isnull function I'm getting an error when I try to use it and I don't know if it is becuase of using the isnull function or not, but when I run the same query on Sql Server 2005 it works fine. to answer my own question, yes you can use isnull in sql mobile. Specifically I am trying to run this query: select (isnull(StreetName + ' ', '') + isnull(StreetSuffix + ' ', '')) as ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Thoughts about PC Gaming and its current problems
Hello to all, I’ve been thinking about windows game development and why with the flexibility and power that a PC offers is inferior to the consoles (sure, pc gaming is not dead, but is the business is dying when you compare it with the console business) and I came to the following problemas that affects pc gaming. 1. Performance. Let’s face it, in order to play the lastest games in a nice way (nice graphics, good f ...Show All
Visual Studio Team System Track the "for" statement
Hi, I need to track the "for" statement in my code. For this i am going thru the instructions and checking for the node type "for". But i could not get the solution. My code is ......... -------------------------- int memberCount = type.Members.Length; for ( int mc = 0; mc < memberCount; mc++) { Method method = type.Members[mc] as Method ; for ( int count = 0; count < method.Instruction ...Show All
Visual FoxPro Importing Data from ms excel format.
Hi! I'd like to ask help to all the gurus, i have this application which will let you import data from an ms excel format. Say, I had a list of inventory items (summing up to 2,000+) instead of inputting those items again to my application, i will just provide an option to browse the excel file and do the importing of the data. How will i go about this What commands to be used Any help would be greatly appreciated. Thank you! Alfred N. ...Show All
Visual C# How do you merge a ContextMenuStrip with a MenuStrip?
I have a MenuStrip with 3 items on it: File, Edit and Help. I'd like to merge a ContextMenuStrip I've created with the Edit sub menu. I've been scratching my head and trying without success now for over an hour. I've been attempting to use ToolStripManager.Merge() am I on the right track Please help! merge menu will create submenu item, for Example if Main menu contains - File,Edit and Help ...Show All
SQL Server Multiuser Databinding in SQL Server 2000?
Hi I am developing one multi user application in windows environment using VC++ .NET with SQL Server 2000. How Can I create dataset for multi user data updating in my SQL Server 2000. Where I can get help and sample code Thanks Jose Hi Thankyou for the nice explanation. One more question how can I write custom primary key value. for example (50710000001) like this. 5 is for year, 07 is for month, 10 is for place, ...Show All
