dougde's Q&A profile
.NET Development Many Webmethods
I'm starting a relative big system and I'm using Web Services as a middle tier for remote access features. It's not a SOA application and will not integrate with anothers systems by this Web Services. In that system I will take hundreds of webmethods and if I split each section of the system (clients, payments, orders...) in a separate web service each webservice will be so big and any new webmethods modifications will have a greater proxy update impact (in my account I will take 10 to 15 web services each one with 20-150 webmethods). As a solution I'm thinking in use just a single webmethod that receive a name of a resource like " ...Show All
Windows Live Developer Forums A lot of pushpins
I need to add a lot of pushpins, such as 1000 for example. When you add 1000 pushpins , VE control starts to act very slowly . Panning and zooming is slowed down a lot. I did not see any limitations on the number of pins in API documentation. Is there any alternative solution to speed this up Here is a sample code. Using VE v3 control. map.DeleteAllPushpins(); for (var i = 0; i < result.length; i++) { var pin = new VEPushpin( i, new VELatLong(result[ i ].Lat, result[ i ].Lon), 'pushpin.gif', 'test title', 'test body' ); map.AddPushpin(pin); } Hello, I would do this importing a GeoRSS file with your p ...Show All
Smart Device Development no website is configured at this address.
Hi all, I am trying to build a basic web service from a Pocket PC 2003 SE Emulator that prints "Hello World" in a textbox after a button click. I tested the web service in IE and Mozilla and both work fine. The URL I type in is like: http://(IP Address):8080/Service.asmx I installed ActiveSync 4.0 after that and managed to connect to the Internet through the mobile device. However, when I used the URL above I get this message in the pocket IE: No web site is configured at this address. I then try and deploy my HelloWorld web service and I get this error after I click the button: An unexpected error has occurred in MobileApp1.exe. S ...Show All
Windows Forms Searchable DataGrid
I am trying to implement searchable DataGrid. I am creating a DataSet object with DataRelation on form load, as follows: Private Sub BindDataGrid() Dim planTS As New DataGridTableStyle Dim appTS As New DataGridTableStyle Try 'Call ExecuteDataset static method of SqlHelper class that returns a Dataset. ...Show All
Visual Basic Objects and instances
Hmmm... this is really quite a simple question, but never mind! I want to make a simple game which uses a grid of buttons. Each of these buttons has EXACTLY the same characteristics, but I cant put them all in manually for two reasons: There are 100 buttons to put in most of the time (time consuming!) The user is given the option of how many rows and columns of buttons to put in How do you define the behaviour for a button such as this (ie what code do you use), and how do you add more than one instance of exactly the same button at run time -Javawag How do you make it s ...Show All
Visual FoxPro Date problem in VFP 6.0
Hello! Huh, I currently have field named 'fine' in my DB. It's used to store fines. There two other fields, 'rent-date' and 'no_of_days'. The first one stores the date on which the rent of a book starts and the second one stores the number of days the book is going to stay with the borrower. Well, I would like to know how can I calculate the fine. To calculate it, I must find by how many days the due date has been "excessed" and then multiply it by a fine of 10 per day. I must do it without adding a 'due_date' field. Can anyone suggest a piece of code I have tried using the date functions...but I have messed up everything. ...Show All
SQL Server SSIS Access Denied Error
I am getting an error when trying to access SSIS packages stored in the MSDB section. File access works, but I get an Access Denied error with the MSDB access. I've tried through the SQL Server Management Studio on the server and on a remote workstation. I've logged on with multiple users; to no avail. Has anyone encountered and solved this problem yet I've noticed several posts that appear to be similar, but there are no resolutions that work for me. Any suggestions will be appreciated. Thanks, Stephan I've tried changing service accounts for SQL Server, SSIS, and SQL Agent. I've tried restarting S ...Show All
.NET Development simple xpath expressions question
I use C#. This is my XML file. < xml version ="1.0" encoding ="utf-8" > < Schedules > < Schedule Date ="14/12/2005"> < Location > Place1 </ Location > < Time > 12:00 </ Time > < Description > Set mode </ Description > </ Schedule > < Schedule Date ="15/12/2005"> < Location > Place2 </ Location > < Time > 01:00 </ Time > < Description > Select Position </ Description > </ Schedule > </ Schedules > How do I query this to extract data based on criteria I would then like to assign ...Show All
SQL Server Can you setup backup/restore functionality in SQL Express 2005 from a C# app?
Hi, I'm currently working on a project which uses a SQL Express 2005 database. I want to be able to setup SQL Express from my C# program so that it can perform backups to a specified path location at the requested interval itself. This would free up my program from having to manage the backups. Just wanted to know if this is possible Also, when the current database becomes corrupt will SQL Express perform the restore for the user automatically, instead of them having to manually request a restore I realize that it might not be able to handle the restores in the same way as backups, but I figured I'd at least ask. Thanks, ...Show All
.NET Development XML DataSet and Autoincrement
I have a typed dataset(stDataSet) and it's being loaded from a xml file. There is a table (Competitors) which has an ID and a Name columns. The ID is defined as an autoincrement value and unique. The problem appears when i tried to add new rows tot hat table. STDataSet stDataSet = new STDataSet(); stDataSet.ReadXML("C:\\test.xml"); // When i try this it doesn't store the ID and when i try to add the second row it says the ID already exists. stDataSet.get_Competitors().get_Rows().Add(new Object[] { null, "x1"}); stDataSet.get_Competitors().get_Rows().Add(new Object[] { null, "x2"}); ...Show All
Visual Studio Adding existing project with template
I am creating a solution template, which needs to have a couple of shared existing project in it in addition to the new templated project. I couldn't figure out how to add existing projects to the solution with project template and/or solution template. Any one can help me There is no way to reference an existing project to add to a new solution, as this would require specific knowledge about the computer's directory layout. You can implement an IWizard DLL to plug into the wizard, and in that DLL you can add the project reference manually, if you wish. Craig ...Show All
Visual Studio Team System Error 3200 ... /ReportServer/ReportService.asmx returned a non-zero value of xy
Good evening all, After browsing the forums a bit I've noticed that I'm certainly not alone here. I too am suffering from the 3200 'web service' error. However, I've spent about three days back-to-back trying each and every solution listed here but to no avail. To top it off, my server setup isn't exactly anything special: a standard Win2k3 box, latest updates etc. It also runs SQL 2000 and SQL 2005. Basically, I cannot install TFS release. Keeps failing out with multiple web service errors, all relating to /ReportServer/ReportService.asmx returning a non-zero value. I've managed to get so far as to get the reportservice.asmx to ac ...Show All
SQL Server xmldp diagnostics?
Is there any way to diagnose what is wrong with an XMLDP query, other than to try different combinations until you get the results you want I'm back to square one with my webservices, trying to formulate a <Query> which works with live data. The report designer was working yesterday with bogus data, but not today. *Sigh* When the query builder connects and parses XML from a web service, is there any way to discover where the parse didn't do what I expect ...Show All
Windows Forms using .net forms in vb6
hi all, i am working on a vb6 application, which my company wants to migrate to vb.net. the problem is that we have new forms to be added and we have no time for full migration and AFTER THAT adding the new forms (due to release request) so, a suggestion was to build those new forms with .net and host it in our vb6 application. IS THIS APPLICABLE ! i have seen some articles talking about COM and .net interoperability, but none of them mentioned using FORMS mixed together in vb6 and .net in one application. is there any suggestion for this is this applicable if yes where can i find articles or resources to guide me in this ...Show All
Windows Forms XML Serialization on Windows Forms
Hi, I would like to serialize Windows Forms code in XML file format instead of generating VB or C# code. Is there any code sample Thanks in advance. You may want to take a look at Xamlon ( http://www.xamlon.com/ ). Cheers, Aaron ...Show All
