Mick Badran - MVP's Q&A profile
Visual Studio Squshing stuff together on designer and too much room on report
In order to have the correct spacing between text lines on the report I have to have them overlap in the designer. It makes it tough to design and I get warnings about overlapping fields from VS. I've tried adjusting the font property to lessen space around the top and bottom for each control from the default of 2pts but I still have to crunch it together in the designer. What am I doing wrong What about the style paddings properties The default value is 2pt. Thank you, Nico ...Show All
Visual C++ seeing a class event in a windows form
I am trying to update a windows form using an event from a class object. The only information about this I have been able to find at MSDN or on the web is related to VB or C#. I am trying this using VS2005 C++.Net. Below are some snippets of code I have: namespace NETWORK { public delegate void Status(String^ data); public ref class clsServer { public : event Status^ ReadStatus; clsServer ();   ...Show All
Visual C++ how do you make that circle come out when you click
you know in the video tutorial for the web developer (and probably every other tutorial) how theres that circle that whenever he clicks it comes up how does he do that I am not sure if you mean this: Look in the System Control Panel for the Mouse. Check the Pointer Options. There is a option that shows a circle when the Strg key is pressed. ...Show All
Visual Studio Tools for Office How to delete the user’s Command Bar?(Outlook)
I made a outlook COM Add-in , and the Add-in will create a new commandbar when the outlook starts. But how to delete it when close the outlook Thank you! Hi, This forum is specifically for questions regarding solutions created with VSTO. You might try posting your question in a newsgroup specific to COM Add-ins such as COM add-in issues : office.developer.com.add_ins newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.com.add_ins&lang=en&cr=US I hope this helps. Kathleen McGrath ...Show All
Windows Forms Server connection timeout when publishing files
Whe I use Whidbey Beta2 ClickOnce to publish projects to another machine, the output window shows : Connecting to 'http://10.147.129.134/DWMAssemblies/'... Publishing files... Error: Failed to copy file 'D:\DMS2002DEV\src\DWM\DWMExe\publish\DWMExe_1_0_50610_0\AxInterop.SHDocVw.dll.deploy' to 'http://10.147.129.134/DWMAssemblies/DWMExe_1_0_50610_0/AxInterop.SHDocVw.dll.deploy'. Unable to add 'DWMExe_1_0_50610_0/AxInterop.SHDocVw.dll.deploy' to the Web. 服 器 接已超 。 Error: Failed to copy file 'D:\DMS2002DEV\src\DWM\DWMExe\publish\DWMExe_1_0_50610_0\ChartFX.Base.dll.deploy' to 'http://10.147.129.134/DWMAssemblies/DWMExe_1_0_50610_0/ChartFX.B ...Show All
Visual Basic Button_Click Event won't fire
I have upgraded a VB .Net (Framework 1.1) to Framework 2.0 and received a clean bill of health from the upgrade wizard until I added a New Data Grid View in place of an older (Framework 1.1) Data Grid. Once I cleaned up the errors for commands which have been deprecated, I began to experience the following issue: I have seven (7) buttons on the form, 4 are fire filter functions on the data view grid and two (open other forms) and the final one is an exit button. The two (2) buttons which open other forms are not firing. I have placed break points on the first line within the try section as well as on the catch area, nothing ...Show All
Visual Basic Immediate window - very simple
In VB6 I could type commands into the immediate window to test the syntax i.e. msgbox "Test" <rtn> and a messagebox would pop up. Is there a way of doing this in VB .NET All I can find is to go into watch mode but I need to be running my code for that to work. I want a simple way of checking syntax Matt Use the command window ...Show All
Smart Device Development Suddenly get "sql server does not exist or access denied" after connected for ages.
Hi all, I'm developing a PDA app using the compact framework. It connects to a SQL server 2000 database calling stored procedures to read data and update it etc.. It all works absolutely fine for 10 minutes or so - reading and writing lots of data. Then all at once I get the error "sql server does not exist or access denied". In my error handler I try to reconnect - but it seems once this error has happened it's not possible to reconnect. I don't know whether it makes a difference but the PDA is connecting to a database on my machine via a USB connection and the ActiveSync (the very latest version) program. Any ideas would be much appr ...Show All
Windows Forms Generic Bootstrapper - SQL Express Named Instance
I'm using the bootstrapper to install a named instance of SQL Express as a prerequisite. If SQL Express is installed on the computer but my instance isn't, the bootstrapper will bypass the installation of my named instance. 1. Is there a way of passing an argument to the SqlExpressChk.exe to look for the named instance instead of any SQL Express installation 2. Is there a better way of accomplishing my installation goal Thanks, Wayne Has anyone done a bootstrapper for SP2 64-bit I have created one based on the x86 SP2, the only differences are the executable names and the download link. I have got my set ...Show All
Visual C++ link library for getDC and releaseDC
Hi, I'm writing a small test case that tests a 3rd party library. I'm using the Vis. Studio .NET 2003 C++ and compiling and linking using the command line as follows: cl /LD /MD /I" ... my includes ..." MyTest.cpp 3rdPartyLib.lib [DependentLibA.lib DependentLibB.lib ...] In order to do this, I've had to identify and include all of the libraries that 3rdPartyLib.lib depends on. Unfortunately, I'm left with 2 unresolved externals for getDC and releaseDC. What library do I need to link with to resolve getDC and releaseDC Thanks, Andrew I assume you mean GetDC and Rele ...Show All
Windows Forms Keyboard input in Form
I'd like a Form to handle keyboard input. However, I do not want it to clash with other controls that use keyboard input, such as ComboBox, PropertyGrid, etc. Is there a way I can find the Control that has the keyboard focus and query it to see if it (is one of the known ) text entry Controls. This way I could prevent multiple controls from handling the same input. This particular application needs global level input due to its UI requirements. If there is a better way to handle input at the form level, please comment also. Thank you once again for your input (pun not intended). I hav ...Show All
Visual Studio Team System Error during creation new project in Team Explorer
When I try to create new project in Team Explorer, I receive error: Project creation failed with error: "Initialization failed for plugin(s):'Microsoft.Pcw.wss','Microsoft.Pcw.currituck'" with following log: 08/08/2005 11:50:53.648 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://as-cmp-1:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0.0300432 seconds 08/08/2005 11:50:56.052 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 2.403456 seconds 08/08/2005 11:51:02.902 | Module: ELeadServiceMediator | Template Information for domain "as- ...Show All
SQL Server Reminder - please indicate if a reply has answered your question.
How do I indicate a post answered my question While reading a reply to your question you will notice a button with this Icon: . Clicking on it will mark the post as the answer to your question Thanks! Dan ...Show All
SQL Server Execution of Package failed
I am trying to design package which would copy all tables and stored procedures from one server to another. It used to be simple task in SQL 2000, there was wizard. However the new wizard does not work... I wrote SSIS package, but when I execute I get the following error: "Can not apply value null to property Login..." Any idea It seems to me that this new SQl2005 is not that simple to use like 2000. 2000 was a great product. I am considering to rollback to 2000. Very frustrated with the new one... There should be more to the error message than that. Please can you copy the ...Show All
Visual Studio Displaying multiple reports in CrystalReportViewer in ASP.NET, VS2005 Beta 2
I am a new VS 2005 b2 user. I have several reports that I want to display simultaneously in one crystalReportViewer on an asp.net page. In Crystal 8.5, this was possible with the ActiveX Viewer. Is there a way to do it in VS 2005 b2, or do I have to upgrade to a new version of crystal If so, which one Thanks for the feedback, I'll make sure that our product group takes a look at this thread. Just to clarify for the rest of the people reading CRAXDRT is our COM based reporting engine. It is not a .NET reporting engine is not shipped with Visual Studio .NET 2002 or 2003. Keith - Business Objects ...Show All
