Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8593831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:04:47+00:00 2026-06-12T00:04:47+00:00

I have developed a windows forms application in vb.NET that handles Barcode scans (Barcode

  • 0

I have developed a windows forms application in vb.NET that handles Barcode scans (Barcode readers are set-up on a comm port – the application passes the codes scanned to an asp.net asmx web service that processes the scan and returns the result to the application).

The application is working great but I have been tasked with allowing the Barcode scanners to be used whilst the PC is logged off.

I have developed a prototype windows service in vb.net (.net framework 4.5) that will accept the barcode scans – currently this is writing the scan to the windows event log but this would connect to the web-service to process the scans.

This service is working with the PC logged off.

What I now need is an application that displays a user interface – i.e. I need to pop-up a window when a Barcode is scanned. I also want to be able to ‘read’ the collection of ‘Barcode Scanner’ objects that the service is handling so that they can be displayed to the user. I also need to be able to configure the windows service (set web service URL etc.).

Can anyone give me any advice on the best way of achieving this? Can the windows service ‘push’ information to a ‘client’? if so what is the mechanism for achieving this?

Can a windows service expose methods (e.g ‘GetScanners’ or ‘GetLastScan’)? How would you set this up?

Thanks for any ideas / suggestions!

Chris

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:04:47+00:00Added an answer on June 12, 2026 at 12:04 am

    I would recommend either of the following two options:

    1. Host a WCF service from within your window’s service and then have the client app reference that WCF service. The client could then call the appropriate WCF methods to query the current status of the service or set it’s properties.
    2. The service could read/write all it’s status and settings to and from a commonly accessible database. The client could then read and write directly to/from that same database.

    The first option is arguably the better one. It’s more flexible for future needs, providing a real-time method of communication with the service. However, WCF can require a significant learning curve, so if you aren’t already comfortable with WCF and option 2 meets your current needs, it’s not a bad solution.

    WCF works essentially like web services, but it’s more powerful and far more configurable. It is the solution to use if you need to expose methods like ‘GetScanners’ from a windows service, as you suggested.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On Windows 7, VB.NET Express, I have developed a simple Forms application. I don't
I am working on windows forms application using c#.net. i have developed an application
I have developed a .Net 3.5 windows forms application. I also want to design
I am working on windows forms application using c#.net. i have developed an application(3-tier)
I have a Windows Forms application developed using C# in .NET framework 3.5, Service
I have to port a smaller windows forms application (product configurator) to an asp.net
I have developed a C# Windows Forms application that runs in the background as
I have developed a windows forms c# application, i just want update items in
I have an application developed in C++ in Visual Studio 2003 (Windows Forms application).
I have developed a Windows application in .NET which uses a SQL Server database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.