Answer Questions
Jonathan Green changing crystal reports conn string dynamically using auto attach feature of SQL Express
I need to switch between the databases at runtime for my crystal reports in .NET 2.0.We know that it is possible to change the crystal reports connection string at run time in .NET 2.0 and my question is related to SQL EXPRESS 2005 auto attach feature. Is it possible to implement the above scenario using the auto-attach feature of SQL’05 with Crystal reports. We are attempting to move the database from a full install of SQL'05 to a SQLE ...Show All
Daniel Rodriguez VisualTreeHelper
I'm trying to get a location for button control using VisualTreeHelper .GetContentBounds function; here is my code void OnClick1( object sender, RoutedEventArgs e) { Rect mybtn = VisualTreeHelper .GetContentBounds(btn1); MessageBox .Show( mybtn.Left.ToString() ); } I get MessageBox with "Infinity" Why Hi There is no TransformPoint method within Transform Classs. However there is T ...Show All
Spudly Hyperlink in a RichTextBox - no ToolTip?
Quick question: When I set the ToolTip property on a Hyperlink that is then embedded into a RichTextBox, hovering the mouse over the hyperlink doesn't display the tooltip*. Why is this, and how can I make the tooltip appear properly * For that matter, clicks are not correctly interpreted by the Hyperlink either, I have to programmatically attach a MouseDown handler to deal with launching the link's NavigateUri ...Show All
Yuriy Skroba Stepping thru code the debugger moves afer several F11
Not sure what caused this problem, When i debug and step into code i need to press F11 several times for the debugger to move to next statement. No clues on how to fix this ! What edition of Visual Studio are you using What type of application are you developing Habib Heydarian Program Manager Visual Studio Debugger Removed Team Edition for Software Developers VS ...Show All
patlora VSLangProj and EnvDTE in VS 2005.
Hi, I am updating a existing VS 2003 add-in to VS 2005 addin. I am using the dll "VSLangProj" assembly. But unfortunately I couldn't debug the appliction in a machine having VS 2005 (Not having VS 2003) only. I am getting a FileNotFound exception (System.IO.FileNotFoundException: Error while loading file 'EnvDTE, Version=7.0.3300.0). One of my project is using VSLangProj and it is depen ...Show All
schow Create a diagram by using custom code
Hi all, I am trying to create a diagram by using some custom code but facing some problems. Not sure if I am on the right way. I am first trying to create a "store" (Microsoft.VisualStudio.Modeling.Store). after that I am trying to create a new diagram ans suply it the new (empty) store by using code that looks like this: ServiceDescriptionDiagram diagram = ServiceDescriptionDiagram.CreateServi ...Show All
gdumazet sending e-mail from a SmartTag
Hi, I am trying to make my SmartTag to send e-mail but I dont know How. I have a contact list from SharePoint that contains name and e-mail address, when you write name of one of the contacts you get the Action of the SmartTag, ( I mean it works and it recognizes the name of my contacts in sharepoint) , my problem is how it can send e-mail I tryed following code: (it does not work) ProcessStartInfo StartMail = new ProcessStartInfo("OUTLOOK ...Show All
Brian Delahunty Error attaching schema to document in VSTO 2005
Hi, I am getting the following error when trying to attach a schema to a document from within a VSTO 2005 Word Project: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." The code I am using is: Me.Application.XMLNamespaces("myschema").AttachToDocument(Me) I do a Me.XMLSchemaReferences.Add first if the schema does not exist in the library... It's pretty much the code that gets generated by ...Show All
unborracho Requirements if loaded in Dummy System
Hai All, I have developed an application in C# (2005)using crystal reports.. What files are needed if i want to install my application in a new system... I have loded framework 2.0 in new system and loaded my application. Iam getting a runtime error when i tried to open my reports. Some error regarding System.CrystalDecissions.Engine.reportdocument....is coming. Plz tell me the necessary files... Thanx. ...Show All
Sorin Solescu Customized TRACE + AddIn output window?
Hello, everyone! I've done some research on writing add-ins, and it looks like it's possible to create customized tool windows. I'd like to make one that's just like the Output window, and redirect TRACE strings to that tool window. However, I still want TRACE to go to Output, so that means I'd have to have a way to write a MYTRACE "function" to redirect the output to my customized tool window. Can anyone comment on whether or ...Show All
Atanas - AQA how can i get colors
Hi can anybody know how to get all available colors into combo box at runtime (using c#) Thanx-Nagu You could always use Reflection to find all the colors from the Colors class. WPF can create a vast range of colors - the color structure can store 16 bits of color information per channel (red, green and blue) - greater than the 8 bits per channel that GDI+ is limited to. Do you mean named colors lik ...Show All
Dhawal55 Excel SaveAs() method
I'm having trouble saving a workbook. I show a SaveFileDialog, the user specified where he wants to save the file, and where. When the user clicks on Save button, I say SaveAs... and do something else with the file (after the file is saved). Anyway, that's what it should do. My code for saving is this: this.SaveAs(fileName, Excel.XlFileFormat.xlXMLSpreadsheet, missing, missing, false, false, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlNo ...Show All
jack zhao Visual Studio 2005 RTM Bug for Crystal Reports Blank?
I have used the built in Crystal Reports for Visual Studio 2005 Beta 2 for a while now. All the reports run fine without any problems showing all the data on my web project. I have installed the microsoft removal tool and uninstalled the Visual Studio 2005 Beta 2 Successfully and installed the final Visual Studio 2005 Professional. All my code compiled and all my web page screens work fine as well. I ran the reports and they a ...Show All
VDeepak How to update PropertyGrid after changing type
Hi all, Our model allows to change the type of an element using the property grid. The element type changes succesfully, but the propertgrid is not updated accordingly. When another element is selected and then the changed element, then the propertygrid displays the correct properties. How can I dynamically update the property grid after changed the element's type Kind regards, Ronald I know ...Show All
avner ben-zvi uninstall V.Stdudio 2005 prof.
I have been installed Visual Studio 2005 professional recently. But I decided to uninstall it. I selected Uninstall Microsoft Visual studio 2005 Professional Edition 2005 - ENU But it alerted that " Setup is unable to determine a valid ordering for the installatios.See the error log for further details." And cancelled. (Windows-XP SP2) I want to uninstall it.can you hepl me Thank You........... try using ...Show All
