Solved

Need to write entries to database/xml file on remote web server from vb.net app

Posted on 2008-10-28
3
189 Views
Last Modified: 2013-12-25
I'm working on an auto-updating application which we're going to deploy to about 150 remote field laptops. I'm hung up trying to find the best way to track user stats for each laptop after they have updated. So far my app grabs the laptop name, user name and a few other variables from the laptop after updating, but I want to then write this information back to a database or log file on my web server. I'm looking for the simplest way to implement this be it writing to an xml file on my server or even writing to a log file I can parse later.  I'll be using ClickOnce for the automatic updates and this code will be triggered by that event. Any ideas or examples of what others have been doing?
0
Comment
Question by:CalgOGP
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
SStory earned 500 total points
Comment Utility
Well... If you write to an XML or simple text file, then you could have a webservice on your website that the application consumes to send the XML file.  The service could then react to that in whatever way you like.

If  you want to put it in a database...if it is SQL server, you can contact SQL Server via TCP/IP address if you have the username/password and access to the table and TCP/IP is turned on for that server.  This is true of other db servers also.

You can do it anyway  you choose.  The database option seems simpler, if you can afford to pay the host providers db fee for it.  Of course the webservice wouldn't be that hard either.
0
 

Author Comment

by:CalgOGP
Comment Utility
Since I already have a mySQL server included with my hosting package I think that's my easiest way to go about this. Thanks for you help.
0
 
LVL 25

Expert Comment

by:SStory
Comment Utility
I think you are correct.  As long as you have access to it.  You could have a webservice that gets the data and then makes the db entry in MySQL.  There are, as they say here, "many ways to skin a cat..." (sorry to all of you cat lovers...it's just an expression)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now