Pinal Patel's Q&A profile
Visual C++ Report Designer
Anyone know how to get to the Report Designer in VS 2005 C++ Chicking on "Add" and "New Item" does not show a "Report" selection. DataSet is there and the ReportViewer is in the Toolbox. Am I missing something or have us C++ types been forgotten (again) Ronald Thanks for the reply. I'm using the following version: 8.0.50215.44 (beta2.050215-4400) which was sent to me on a CD from Micro ...Show All
Windows Forms must declare the variable '@hostname'
I guess it must be silly in my environment (I'm not a "heavy" developper) but I get the following error message when doing a MSI install of the server or the source environment... must declare the variable '@hotsname' I tried command line  ...Show All
Smart Device Development How to test phone incoming call on wm5.0 smartphone Emulator using visual Studio 2005
Dear All, I am developing an application for smartphone using visual studio 2005.It includes phone incoming call notification.I am unable to test incoming call notification on Emulator as we cannot have multiple instances for an Emulator. Is there any possible way to test incoming call notification help me please, Thanks. You need to use the TAPI API using VC++ and its classes use callback functions and so it could not be wrapped easily, y ...Show All
Windows Forms WebBrowser Control and the res: protocol - How-To?
Could one give me an example of what I have to do, to use Resources with the WebBrowser control and the res: protocol. I wonder if VS2005 still needs to use the rc.exe to get the right resource files. If it needs, how can I use the rc.exe in the build process Thankx ...Show All
SQL Server Query Tuning
I want to take the execution plan of some transact sql queries, I took the execution plan as text based one, that having index scan, index seek Remote scan, remote Update sort order by cluases in the above clauses what is the high performance, and how will i change to the high performance clauses by changin the query to improve the execution speed of the query Please guide me &n ...Show All
Visual C# How to pass a variable from a form to a user control
Using VS 2005 c# I have a windows form and an assigned variable (string name = "test";) I have on this form a user control - i want to access the form1.name Can anyone show me how to do this - thanks in advance. All controls derived from Control should inherit (or override) a function called FindForm() that returns the form the control is on. The return type is 'Form' but you know ...Show All
Visual Studio Tools for Office How to create hidden message in a folder
I'm looking at code sample in VB to create this such of message. Jean, You will need to work with MAPI properties on your message to do this. There is a property, I believe isHidden for this purpose. It is helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. So you will be best served by posing this question to a forum or newsgroup wholly dedicated to a ...Show All
Software Development for Windows Vista SequenceActivity Execute method
I have implemented a custom activity that derives from the standard SequenceActivity. When I provide an override for the Execute method, it doesn't seem to be called. Would/should this method be called If so, when If not, why not thanx -- /chris Tom Lake wrote: What build are you using The method should be getting called in Beta 2 and beyond, but would not be called in Beta 1. Sorry, my ...Show All
Visual Basic What's wrong with this code?
I had this code that i am supposed to use for my current project...Using Crystal Report, I want to sort the record by entering the two dates (dtpFrom, dtpTo), the name of the company(FINAL2.COMPANY), the description(FINAL2.Description) Private Sub ConfigureCrystalReports() Dim mySelectFormula As String = "{FINAL2.Order_Date} >= #"" & dtpFrom & "#" & " and {FINAL2.Order_Date} <= # ...Show All
Visual Studio Domain Model Definition Schema
Hi, I found a XML Schema used for validating the Designer Definition (*.dsldd) in my VS install (DesignerDefinition.xsd), but I couldn't find any for the Domain Model Definition (*.dsldm). Here comes the questions : Is there such a schema for the Domain Model Definition If so, is it available Will there be an equivalent for the united format (*.dsl) to come with the first final release of the DSL Tools Regards, Kevin POCHAT. ...Show All
Windows Forms Sample Code: TreeGridView - collapsing/expanding DataGridView
I've just started a blog and the first main post is a sample that I wrote to customize the DataGridView to support collapsing and expanding. I call it a TreeGridView: http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx Let me know what you think! -mark DataGridView Program Manager Microsoft This post is provided "as-is" Fantastic code Mark ...Show All
SQL Server suppress a row in a table (mailing address report) - suppress like CR.
i'm retrieving addresses from a database and displaying them in my report. i have an addr line 2 for addition address data if needed. i have placed this addr line 2 on its own detail row. however i do not want that row to display if there is no data. the following is happening even though i have set the visibility on the row and text field to =iif(fields!addr2="",false,true) the name prints on the first line, the main address on the ...Show All
Visual Studio 2008 (Pre-release) Windows Media Player 9 leads to InvalidOperationException
Hi Just like to confirm with you guys that with WMP9, MediaElement will not work when you start playing. When you close the app or stop debugging, an invalidoperationexception will be thrown by the app.run() method with an error message like "closed media player only support open and close" Now I've upgraded to WMP10 and can't reproduce the error. (WinXP SP2 + WinFX Runtime Component + WinFX SDK (Feb)) ...Show All
.NET Development [OneWay] behavior at runtime instead of compile-time
I am currently working on a grid computing framework (see NGrid for more detail). For the sake of performance, the [OneWay] attribute is used whenever possible in the grid framework. Unfortunately the asynchronicity of [OneWay] raises numerous issues to actually test the framework. Ex: We have a Distributed Garbage Collector (DGC). A call to DGC.Collect() ultimatelly collects the garbage, but the [OneWay] attributes makes very unpredictable th ...Show All
Visual C# foreach loop to loop all the text box in a form
I am new to C#, I am hoping that can anybody teach me how to use the foreach loop to loop throught all the text box in a from. Thanks. Hi, Use following loop. foreach ( Control c in this .Controls) { if (c.GetType().ToString( ...Show All
