Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-28
3
Medium Priority
?
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
SStory earned 1500 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

Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

715 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