Matthew Roper's Q&A profile
Visual Studio no drill down option on my crystal reports gallery
I'm using asp.net 2.0 , visual web developer 2005, and the crystal report xi When I create a new crystal report (eg: crystalreport.rpt), it will popup Crystal Reports Gallery with 3 choices in Choose an Expert: -Standard -Cross-Tab -Mail Label others like drill Down, Form, Form Letter.. MISSING I saw the online tutorials that Drill Down has a lot of charting functions, but mine don't have Drill Down option in Choose an Expert. Help... I have no idea at all, why it doesn't appear... birdanddog wrote: I'm using asp.net 2.0 , visual web developer 2005, and the crystal report xi When I create a new crystal report (eg: crystalreport.rpt), it will popup Crystal Reports Gallery with 3 choices in Choose an Expert: -Standard -Cross-Tab ...Show All
Visual Studio Passing Parameters From Crystal Reports To VB.NET
Hello, I have created a form which loads up a Crystal Report (.rpt file) and displays it on the screen. The Crystal report has a parameter set up which prompts for a range of ID's. This means that when I run it in Crystal, I get prompted to select a Start ID and and End ID, and the report runs for only the ID's in this range. However, in VB when I display the report it simply produces the report based on the last set of parameters chosen in Crystal, and doesn't give me the option to select a different range each time. Therefore I thought I could set up a form with text boxes and combo boxes on, that would read the parameters from the .rpt file and populate the text and combo boxes accordingly. Firstly, is this possible Secondly, how would ...Show All
SQL Server PIVOT sql_variant into underlying dataypes
Does anyone know of a way to PIVOT an sql_variant column so that the resulting columns will be their proper underlying datatypes I wish this to be done in a View. I currently do this by hard coding the conversion as follows: SELECT A, B, C MAX(CASE Letters WHEN 'D' THEN CONVERT(int, LetterValue) ELSE Null END AS D, MAX(CASE Letters WHEN 'E' THEN CONVERT(datetime, LetterValue) ELSE Null END AS E, MAX(CASE Letters WHEN 'F' THEN CONVERT(varchar, LetterValue) ELSE Null END AS F FROM Alphabet GROUP BY A, B, C I would like to take advantage of the SQL_VARINIANT_PROPERTY(LetterValue, 'BaseType') function so I do away with the hard coding. Any ideas Jim: Is this the transformation you are looking fo ...Show All
Visual Studio Team System WebProxy for webtest tests and view browser when running coded tests
hi there, I am new to having a look at the web test product and only have the Bet 2 at the moment (long story)... A couple of questions: 1. How do you set a webproxy for the webtest tests. I have set the username and password under the credentials tab but this just results in a 407 Proxy Authentication Required. I can do it in the coded version with the following NetworkCredential credential; credential = ( NetworkCredential ) CredentialCache .DefaultCredentials; WebProxy proxy = new WebProxy ( "XX.XX.XX.XX" , 80); proxy.Credentials = credential; this .WebProxy = proxy; How do I do this through the webtest interface 2. When I run a coded test the Web Browser does not show, where as when you run the webtest it does Is there a s ...Show All
.NET Development compiler error
I compiled a vc6 application in vc-2005 and i am getting this error: c:\program files\microsoft visual studio 8\vc\include\atlmisc.h(1164) : error C2440: 'return' : cannot convert from 'const char *' to 'TCHAR *' I tried a lot but not getting any solution till yet... Please help. Thanks in advance Harry Sounds like you're using WTL. Be sure to download the lastest version. You can get support at that same site. ...Show All
Visual Basic Unable to cast COM object of type 'X.YClass' to interface type 'X._Y'.
Dear all, I'm getting this nasty error and I cannot find any answers (google didn't help either). Here's the thing: I'm calling a VB6 DLL from a VB.NET (VB2005) application. This is the error I get when I call the DLL: Unable to cast COM object of type 'X.YClass' to interface type 'X._Y'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{780BDA61-8169-4A5D-AD31-59A902BC3B84}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Strange thing is, sometimes my code works properly, and the next hour I get this error. I rebuild the DLL, unregistered and re-registered the DLL, swept through the internet and the ...Show All
Visual C# enums inside interface ?
What is the way to involve enums in an interface i know why i can't , but how do i solve this public interface ICommCallback { enum CommEvents // ERROR! { Connect, Disconnect, Send } void handleReceiveCB( byte [] ReceivedData); void handleEventCB( CommEvents commEvent, bool Res); } Why are you trying to put an enum definition into an interface Interface is kind of a contract. You should put your enum outside the interface: public i nterface ICommCallback { void handleReceiveCB( byte [] ReceivedData); void handleEventCB( CommEvents commEvent, bool Res); } public enum CommEvents ...Show All
Software Development for Windows Vista RecipePropertyHandler SDK sample - no index integration ?
Hi all, After installing the latest Vista SDK and building the RecipePropertyHandler sample I have the following problem : The information in the sampe .recipe file will now show up in explorer - as extra preview fields and as property fields etc., but this information is not searchable by index, which I had assumed it to be. Is there something I must do in order to make the indexer pick up my .recipe file and index the defined properties I have added the file extension to the indexer from control panel, but it made no difference.... The propertyhandler dll is NOT locked by any processes (as I would have thought it would be), so I have the feeling that the indexing service never picks it up..... Thanx in advance Ole ...Show All
.NET Development Assmebly Resolve
I have lately started running into a very random issue for which I cannot find enough online help (from blogs, etc.). This issue is quite unpredictable, and I have encountered it only on Windows Server 2003 (more notably, IIS 6.0). Here is my current environment setup: 1) I have a host application with a default implementation - all it does is catches the OnArrival() event of the SMTP sink and captures the email attachment which is then parsed and passed on to an interface method. 2) Other developers can inherit this method and do whatever with the attachment - at run-time, the host application loads the specific library that implemented the interface method using the AssemblyResolve event. This must be done because the CDO COM object is i ...Show All
SQL Server SQL server 2005 SP1 on SQL server 2005 Client
hi all, i m new to SQL server 2005 . can anybody tell me can we apply SQL server 2005 SP1 on SQL server 2005 Client tnks a lot for Any suggestions.... -Tushar Yes, you can apply SP1 to your client machine. When you launch SP1, it will only allow you to patch your installed components, so it should be pretty clear during the install. If you have any questions, feel free to post them. Thanks, Sam Lester (MSFT) ...Show All
Smart Device Development Detect Device Cradled
I have a windows application which I need to start when the device is cradled. how do I do this how do i detect when the device is cradled The OpenNETCF.Desktop.Communication library includes the ActiveSync class that will allow to do that: http://www.opennetcf.org/docs/Communication/OpenNETCF.Desktop.Communication.ActiveSyncMembers.html http://www.opennetcf.org/PermaLink.aspx guid=d7b7cbef-4ab6-477b-924c-0498a523beaf ...Show All
Visual Studio Tools for Office Publish Excel 2007 Add-In using ClickOnce
Hi, I'm trying to publish my Excel 2007 Add-in with VSTO 2005 using ClickOnce but I'm not having success. Is it possible to publish my Add-in using ClickOnce How can I do that Thanks. Hi Helio, I assume you are VSTO 2005 Second Edition. VSTO2005 does not support Click Once but does have a publish experience. Briefly once you publish the solution you will also need to - Install the pre-requisite on any client machines (.NET, VSTO 2005 SE runtime, Office PIAs) - Make a local copy of the application manifest. - Trust the solution to run using CASPOL - Register the add-in with the appropriate registry key Details of how to deploy VSTO2005 SE add-ins can be found here: ht ...Show All
Visual Studio Tools for Office outlook add-in 2002 vs 2003
I have built an outlook add-in on my machine (has outlook 2003) and is running fine. But when running the same dll in another machine (has outlook 2002) it fails. Any idea why Vikas Verma wrote: Does the Outlook 2002 machine have PIA's installed on them if not sure then first install them and then run it again FOR OUTLOOK XP (2002) http://www.microsoft.com/downloads/details.aspx familyid=C41BD61E-3060-4F71-A6B4-01FEBA508E52&displaylang=en FOR OUTLOOK 2003 http://www.microsoft.com/downloads/details.aspx familyid=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad&displaylang=en Installed pia... Didn't work either. This code was written in VB6. The interesting thing is that the dll compliled from the same code fro ...Show All
Visual Studio 2008 (Pre-release) [Animation] Complete event
Hello, I wrote the following animation and I am wondering, why the Complete event, assigned to Storyboard isn't triggered. The animation works fine, ellipse moves from one position to the other. public Window1() { InitializeComponent(); TranslateTransform translate = new TranslateTransform (100, 150); NameScope .SetNameScope( this , new NameScope ()); Ellipse ellipse = new Ellipse (); ellipse.Name = "myEllipse" ; ellipse.Fill = Brushes .Blue; ellipse.Width = 100; ellipse.Height = 150; ellipse.RenderTransform = translate; this .RegisterName( "Att" , translate); hotspot.Children.Add(ellipse); DoubleAnimation dax = new DoubleAnimation (); dax.To = 300; da ...Show All
Software Development for Windows Vista RC1 XDSmpl "Print to file" with spooler error
I build the whole XDSmpl (UI and all filters) in VISTA RC1 WDK (build 5600) and tested it in VISTA RC1 5600 build. Here's the problem I got: In notepad, if I select the " Print to file " from the Print dialog. The printout is okay and viewable but the spooler is stopped with a pop up message "Spooler SubSystem App stopped working and was closed". When I closed this msg box, I got a notification says, " Problem fixed in Windows Vista final release ". I also observed the following scenarios, 1) If I create a local port like "d:\testport.xps", I can print to it without any problems but I have to uncheck "Print to file" box. 2) if I remove all of the filters from the pipeline co ...Show All
