Solved

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

Posted on 2008-10-28
3
209 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
ID: 22830558
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
ID: 22832174
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
ID: 22834083
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

803 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