I've successfully figured out how to create a web server in VB .NET.
If anyone stumbles across this post and would like some additional information on how it works, just let me know.
Do you have a 'user information' table that contains the SQL Server username and full name?
You will need such a table to store additional user information.
Then all you need to do is:
SELECT FullName FROM UserInformation WHERE Username LIKE 'me'
I have a windows application that is acting as an XML web service.
I would like this application to act like a web server on a specific port to give users the ability to access some internal administration pages by simply entering the URL into their browser. (Ex: 'http://127.0.0.1:29450')
I...
When I said "Everything would be slow and unresponsive using a queue solution," I meant that my user interface might become slow and unresponsive if I was dumping requests into a database or message queue.
I say this because my service would be checking those queued requests on a timer, and...
Generally, it's a lot of additional work, and I dislike using timers for that sort of syncronizing. It will be difficult at best to make things as responsive as they are now. Especially with the refreshing of the event log (instead of just appending to it). I will need to try and predict how...
Yeah, but when you press a button, it should do an instant check for messages, with an immediate response in the console about the event. (Much like an email client) Everything would be slow and unresponsive using a queue solution.
As far as scalability is concerned, There is really only once...
Well actually, they CAN have user interfaces, but ONLY if running under "Local System" with the "Allow Desktop Interaction" box checked. Before logging in, any screen elements of the service are hidden. (similar to the effect achieved when 'locking' your system)
I just set it up my application...
Yeah, I would like to avoid a complete redesign. It's hardly worth it just so I can have it run as a real service.
I would need to create some sort of a communication interface between the service and the GUI so that I could send and possibly receive commands and events from it in realtime...
This application often times will require some user configuration and manual actions. Especially during initial setup. This is all integrated into the main screen right now.
http://orbitsoftware.net/images/screenshot123.PNG
I would rather not store all events and monitor them with a seperate application or viewer. It is much easier right now to simply scroll them into a listview.
I recently created a typical windows application project in VB .NET. It has a main form and a tray icon. I would like to give some end users the ability to install this application as a windows service.
The application's main purpose is to monitor XML messages and make changes to a SQL server...
Thanks, I didn't know that would work.
I actually ended up doing this (But the timer way also works):
---------------
Dim iStart As Long = Now.Ticks
'Stuff
Dim iEnd As Long = Now.Ticks
Milliseconds = Math.Round(((iEnd - iStart) / 10000), 0)
----------------
In VB6 you had the ability to time how long something took to execute:
Dim dStart As Double
dStart = Timer
Dim c As String
Dim i As Long
For i = 0 To 1000000
c = "hi"
Next i
Dim dEnd As Double
dEnd = Timer
MsgBox "Process took...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.