Steven McCarty's Q&A profile
Windows Live Developer Forums spatial queries
Is there a way with the latest release of Virtual Earth to perform spatial queries For example I want to know if a point from my database (like an address) is within a polygon I defined or list all points inside a polygon area... or list all addresses 3 miles from a point. If not then what are my options Pay for MapPoint web service and then is there a way to combine that with Virtual Earth instead of the maps made by MapPoint web service I want to stick with Microsoft but I do know that ESRI has spatial queries feature in their web mapping service. Thanks! Andrew Jones Not with just VE. But you are right, the MapPoint Web service does provide point-in-polygon functionality. You can combine the t ...Show All
Visual Studio 2008 (Pre-release) XBAP and default browser
Hi, I got the following problem since I uninstalled the February CTP and installed the May CTP instead: When I press Ctrl-F5 in Visual Studio for a XBAP application, Firefox is started instead of IE. Since Firefox doesn't understand XBAP, I cannot run or debug the application as easily as before. I know how to change the default browser for a HTML application, but I didn't find such a setting for XBAP applications. Any hint welcomed! Greetings, Laurent The weird thing that happens to me when I set the download action to Windows Presentation Host is that once a tab opens, about 1 second later, another tab opens, and another, and another and it never stops until I break the program. The workaround I'm using now is to have Firefox open ...Show All
Game Technologies: DirectX, XNA, XACT, etc. View 3D Axis
How could i view the X,Y and Z axis in windows form when working with 3D objects , i would like that to actually look the objects i place in my project and the coordinates . is it possible to do this , if it so, how , thanks. Turn off the Z/Depth buffer and draw the axis as 3 lines using a linelist or using D3DXLine (line class in managed code). x is (0,0,0) - (N, 0, 0) y is (0,0,0) - (0, N, 0) z is (0,0,0) - (0, 0, N) N is a big enough number that the axis will appear for your current view matrix There is no built in way to do it ...Show All
Visual Basic Search Function
Hi First off, i'm completely new to visual basic. I have a basic access database for making orders for a made up company and I have made an Order Form. I'd like to be able to search the Customer table field; First Name from the form and have the results displayed so that the user can click the matching one and have the form automatically fill itself out with the customers details. If possible i'd like the search to search both the first name and surname fields using what the user inputs into two text boxes, one for first name and one for surname with a command button to start the search. Any help would be much appreciated Lance I would create the text boxes to capture your search strings. Load the orders ...Show All
.NET Development Out of Memory Exception
Hi all, I'm getting a very weird out of memory exception with very large MTOM responses using WSE 3. Basically any response > 30 megs in size is getting the error in StringBuilder listed below. It just started to occur and NO CODE has changed. It's like the latest security patch for .NET that was released started this or something, I'm not sure. Does anyone have any ideas on what's happening Thanks! James Hancock Exception Stack: [OutOfMemoryException]: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) at System.Text.S ...Show All
.NET Development Loop SelectSingleNode
Hello, I need an example of how loop correctly in ASP.Net 2 to get each Xpath of ShippingAPIResponse/AddPacakgeResponse/PieceTrackNo PieceTrackNo will be from 1 to many depending on the number of packages shipped for each order, I would need to get each TrackingNo, PeiceNum etc for each PieceTrackNo Element(I guess it is called Element) < xml version="1.0" > <ShippingAPIResponse> <AddPackageResponse> <SONum>941823-1 </SONum> <Status>OK</Status> <StatusDesc>Transaction Successful</StatusDesc> <OrderProbill>36</OrderProbill> <Carrier>USPS </Carrier> <Service>5 </Service> <PieceTrackNo> <PieceNum&g ...Show All
Visual Studio Tools for Office problems with deployment of VSTO 2005 Excel application
I have created a VSTO 2005 Excel application. If I deploy it to the computer where VSTO 2005 development systems is installed the application works as designed. If I install it on another client (or under VPC2004 on the development computer) the setup routine is working without problems. When I start the application I get this problems: If I doubleclick the Excel file Excel starts, the workbook will load, after this the whole Excel will hang (hour glass). There is no error message or something else. The Microsoft VSTO client troubleshooter will show that all needed bascis are installed correctly. Who has a help I saw this article before and I thought that I did everything right. The Mircorsoft tool for verification that the c ...Show All
SQL Server Variables set via Script task don't change
I've got a container with two variables: xxxNextFile and xxxLastFile , both with EvaluateAsExpression = False. My container has a dataflow followed by a script task followed by another dataflow. The first dataflow starts with ae existing raw file source from variable xxxLastFile and wants to write output to a new raw file from variable xxxNextFile . The script component then sets the value for xxxLastFile equal to the value of xxxNextFile and generates a new value for xxxNextFile . The final dataflow component does pretty much the same as the first one, i.e. it uses xxxLastFile for the source and xxxNextFile for the destination. I've got two package scoped variables pkgFolderTemp and pkgCurrentTime that I use to come up with a unique file ...Show All
Visual Studio 2008 (Pre-release) Calling a web service from an XBAP
Hello, I am using Visual Studio 2005 and I am attempting to create an XBAP application that simply calls a "Hello World" web service. I have created/consumed a number of web services in .NET in the past, however, using web services via XBAPs has proven to be a challenge. I have reviewed the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=517445&SiteID=1 as well as many other blogs. However, I can't seem to get a reference to my web service. My web service is available at an address similar to the following: http://computerName/Services/Service.svc wsdl I then select "Add Web Reference" from my XBAP project. Through the wizard in Visual Studio 2005, I can find the service, I can sele ...Show All
Visual Studio 2008 (Pre-release) Where is the LinQ to SQL template?
hi, guys I have installed LinQ, dotNet 3.0, ADO.NET vNext ,but I can't find the template called LinQ to SQL template. Where can I find it Benelf Assuming you've installed the May LINQ CTP over Visual Studio 2005, four project templates should appear under the category 'LINQ Preview' when you go New Project. All of these let you write LINQ to SQL programs (for the LINQ to SQL designer, add a "DLinqObjects" project item). If you have no LINQ project templates, go to \Program Files\LINQ Preview\Bin and run "Install C# IDE Support.vbs". If you still have no templates, uninstall the LINQ preview and reinstall it as follows (this was discussed in a previous thread, and was ...Show All
Commerce Server Orders Adapter Failure
I am getting the following error on a receiving orders adapter. Im using the correct username and password for this service, can anyone tell me how to troubleshoot this issue further "Could not get the Whereabouts of the DTC on the Orders web service machine. Called byCommerce Server Orders Receive Adapter. Message An authentication failure occurred. Valid credentials could not be supplied for the Web service with URL 'http://localhost/OrdersWebService/OrdersWebService.asmx'.. Stack at Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodException(Exception ex, SoapHttpClientProtocol serviceProxy) " The first thing I would check is to make sure MSDTC is running and properly configured on &q ...Show All
Internet Explorer Development Favicon in IE7
Hi My site uses a FAVICON, which works well in IE7. However, I've noticed that if you create a shortcut to a webpage on your XP desktop, the FAVICON is used as the desktop icon. My favicon.ico file has 2 res images of the file, 16x16 and 32x32. However, the desktop icon picks up the 16x16 version and uses that. Is there a way to make it use the 32x32 version. Or can I get windows to use a default icon. Thanks thegooner, Can you tell me how you got your favicon to work in you website with IE7 If I call up my website using IE7, I get the Microsoft icon instead of my favicon. It worked fine will back level IE's, but it does not work with IE7. Thanks, TK-Inflight ...Show All
Internet Explorer Development IE7 and page-break-before
I have some code that uses page-break-before: always that works fine in IE6, but in IE7, the page-break-before is ignored. Was there a change in this behavior that I have not seen documented uwdoug79 , Pardon me for stating the obvious, but have you tried wrapping around your <table></table> inside the <div> sample I showed above. I think the magic is in using the <div>'s for formatting layout since <div style="..."> complies with MS's new found CSS compliant standards. Also, I see you appear to be using single quotes as opposed to double quotes. May I suggest you run your code through http://validator.w3.org/ as it has excellent advice on what you are ...Show All
Visual C++ Custom Build Step isn't done
I am executing a JScript to generate code. I have a Custom Build Step to do that. It is not being done and I don't understand why not. The command line for the custom build (excluding the path of the script) is: CScript.EXE Preprocessor.js "$(ProjectDir)" "$(InputFileName)" I have outputs such as: "$(ProjectDir)\Output1" "$(ProjectDir)\Output2" However I can't get the custom build to execute. If the outputs don't exist then it does not execute. If the outputs do exist and I update the input then the custom build still does not execute. Am I wrong that the custom build should execute in both situations Update: I found the thread "Custom build step" of a project: execution rule , which suggests that ...Show All
Visual C# DllImport and thread stack debugging
I am using Lua inside my C# application, but I think there is a problem with the interface that was coded to interface Lua and C#. I cannot seem to debug it effectively, however, because it wont display the stack information for the native DLL calls. The call stack window simply reads "External Code". I tried building my own copy of the lua DLL and including the PDB file when I copied it over to the C# app's output directory, but it still will not display the information. The methods in the native DLL are being called via external methods with the DllImport attribute. Is there any way I can get the debugger to display the full thread stack information Below an example of the stack information I get: > LuaInterface.dll!Lu ...Show All
