Tom McDonnell's Q&A profile
Smart Device Development Migrating from ASP Web Service to WCF Service
Can anyone point me at resources or samples of how to access a WCF service from a Compact Framework 2.0 application As I understand it the WCF service has to use basicHttpBinding and that the Compact Framework 2.0 app accesses it as a asmx client. I'd really love to see some samples. Also, can anyone comment about problems or limitations they've run into in doing this Thanks! Hi George! As you noted, there is no current support for WCF on Compact Framework. If you haven't read it, here's an interesting blog entry on the subject: http://blogs.msdn.com/romanbat/archive/2006/10/21/windows-communication-foundation-compact-edition-and-the-story-of-the-lunch-launcher.aspx Regarding your other qu ...Show All
SQL Server Role Playing dimensions Currency Conversion issue
Hi, Having issues with Currency Conversion in SSAS when using role playing dimensions of Time. When the Dim Usage in the cube is set for the role playing dimensions, i.e. defining the relation between the Exchange rate fact and the role playing time dims. the base $ measures (no calculations) return a null value. The generated conversion script in Calculations has leaves(Time), not the leaves for each role playing dim. With leaves for each along with leaves(time), the base measures return null. Regards ...Show All
Windows Live Developer Forums Firefox problem & another pushpin Q.
Hi folks, A couple of very basic questions here I'm afraid but I can't find any answers searching. Firstly the following code doesn't work in firefox 2.0rc3 and I can't see why <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > <script> var map = null; var layerid=0; var source="160E6B936FFEBD1!111"; function GetMap() { map = new VEMap('mymap'); map.LoadMap(new VELatLong(51.076351, -3.05), 11 ,'h' ,false); AddMyLayer(); } function AddMyLayer(typ ...Show All
SQL Server Restoring SQL Server 2005 backup to SQL server 2000
I have a sql 2005 backup that I am trying to restore in sql 2000. I get the following error.. Error:3169 The backed up database has on-disk structure version 611. The server supports version 539 and cannot restore or upgrade this database. Restore filelist is terminating abnormally. Is there a workaround for this Vyanki Jonathan Fife wrote: There is no "Restore" functionality, but there is a workaround to copy 2005 databases to 2000: Right-click on DB -> tasks -> generate scripts select DB and click "script all objects...", hit next select any options you want, specifically changing "script for server version" to SQL Server 2000 next through and run the script Now just export da ...Show All
Smart Device Development Problem Installing .Net CF
Hi, I have an Acer N30 running Windows Mobile 2003 ( 4.2) and a Samsung S3C2410 processor. When I try and install the .Net CF I get the message below "Microsoft .Net 2.0 failed to install on your device because the installation file is not intended for this version of the device" I have tried both the first release of the CF and the service pack version and both give the same error. I am almost 100% certain I am using the correct version of the setup file. Its the one found here http://www.microsoft.com/downloads/details.aspx familyid=9655156b-356b-4a2c-857c-e62f50ae9a55&displaylang=en I am updated the ROM on the PPC and this made no difference. I am using Active Syn 4.2. Could someone please help as I ...Show All
.NET Development Imaginary numbers in VB.Net
I am just wondering how Visual Basic.Net deals with complex number. Also, I need to write some code that, if given a complex number, will only take the real part and ignore the imaginary part. Thanks for any suggestions. It doesn't. But they are easily added ... ...Show All
Visual Studio 2008 (Pre-release) Using .svc hosted in IIS shows text only
I created a file based web site that references my service using a .svc file Report.svc =================== <%@ WebService Class="MYService.Report" Language="C#" %> <%@ Assembly Name="MYServices.Service" %> Setting this as the startup project, and running this inside of VS .NET 2005 everything works just fine. I get an url of http://localhost:1606/LocalReports/Report.svc If I start IIS and create a virtual directory to the >> SAME EXACT << directory and try to bring it up, I get the text of the .svc file. http://localhost/VDLocalReports/Report.svc I am using .NET v3.0 - RC1 ( 9/1/2006 ) Any thoughts are appreciated. Dave This is kn ...Show All
Visual Studio Express Editions How To Open Window In Internet Explorer When we click on link on any website
I am developing application which downloads file from internet. I want to know that how to open a window in internet explorer in any website when user clicks on any link. Thanks in advance Regards Ketan Hi, Figo Fei Actually I am devloping application download manager, for faster downloading I am developing it in C#.NET. I want to get the link information at runtime. means after clicking any link in website i want to open a window which shows download information. I hope the idea will be clear Thanks in Advance Regards Ketan ...Show All
Visual Studio Queries in Sandcastle
Hi everyone, Can any one please clarify my doubts, I need them ASAP. 1. How to pass a solution file to generate a documentation(Chm) file can anyone please provide as steps. 2. Is Sandcastle can support VSTO applications because while I am using those type applications to genereate documentation, getting some namespaces are missing error. 3. For time being I am working on sample which was from Sandcastle sample, there we have 12steps to generate a Chm file, there at step 10(hhc step), error was The error message is: An erro r occurred while loading document 'Output\html/d4648875-d41a-783b-d5f4-638df39ee 413.htm'. See InnerException for a complete description of the error. Please let me know the answers for above qu ...Show All
Visual Studio Express Editions Controling sound voume
Hello all! I am new on this forum and I have a question. I tried for some hours to find a method to control the sound volume. I found that I have in somehow to manipulate system API calls( ). If you could help me with this I will appreciate. I have to mention that I am a beginner in C++ programming ...Show All
Visual C++ regarding System.Net.WebPermission while using J# browser Control
hi, I converted a streaming Applet into J# browser Control. that applet will get the feeds from stock exchange and will display in a grid format. im passing the required parameters like exchange ip and port address to applet using PARAM tag. the same thing i did for J# browser control also. when im running my J# browser control im getting this following error. (means that it is blocking my J# browser control to recieve feeds from the exchange) System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed Im using Full Trust Permission set at Machine,Enterprise and User Level. Any Suggestion ...Show All
Windows Forms two datagridviews same datatable
I have two datagridviews on a form. Both dgv's will pull from the same datatable. The tableadapter has two fill methods (one used for each dgv). On the form I dropped one dataset, two bindingsources, and two tableadapter controls. Each dgv was set to use one of the two different bindingsources, and each tableadapter is filled in the load event. Anyway, both datagrids have the same data even though the fill methods are supposed to be getting different data. I cannot for the life of me figure this one out. Any help is appreciated. A datatable only contains one set of data. If you want to show two different sets, you'll need two datatables. Tony ...Show All
Software Development for Windows Vista Looking for CardSpace Relying Parties
It would be great to have a list of CardSpace enabled sites. I think this would be useful for people who are interested in seeing how CardSpace can be deployed. So if you know of a site, please reply to this post, and I’ll start looking into somewhere visible to maintain the master list. I”ll start the list off with some of the sites I know of, please add any others https://infocard.pingidentity.com/cardspace https://www.francisshanahan.com/cardspace/ http://www.opinity.com/ http://www.identityblog.com http://sandbox.netfx3.com/ I added a CardSpace admin-login to my blog, http://www.outofcoffeeexception.de I'm using dasBlog. My CardSpace login does not modify any existing dasBlog files, I ...Show All
Visual Studio 2008 (Pre-release) Custom control design: errors in template
Control Styling Guidelines says: Do not strictly enforce template contracts.Use the Name property to flag elements within a template. ... A control should not throw an exception when an element is not found, but silently and gracefully disable the functionality which required that element. Is there some preferred way to inform template designer, if custom control knows what's wrong with the template I guess template designers love silent failure... There is a TemplatePart class attribute you should add to your control. See this post for more details: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=626285&SiteID=1 ...Show All
Visual Basic Setting MSSQL Entry as Variable in VB.NET
What I'm trying to do is select data out of a single cell in a MSSQL table using the SQL statement "SELECT JobData2 FROM tblJobs Where JobID=1" which will return a string and set that string as a variable within my VB.NET program the purpose of this is so that when all the MSSQL data is dumped and uploaded it will get uploaded in /home/variable/data/ on the FTP server anywhere heres the majority of the code any help would be much appreciated. Public Sub Work() 'GLOBAL VARIABLES FOR DATABASE DUMP AND FTP UPLOAD Dim dbserver As String = dbserverbox.Text Dim dbusername As String = dbusernamebox.Text Dim dbpassword As String = dbpasswordbox.Text Dim dbpath As String = dbpathbox.Text Dim ftpserver As String = f ...Show All
