Creating Win App To Communicate Between Users On LAN
Jun 4, 2012
My project is to create a windows application for communicating between users on our LAN, to both send and receive short text messages. I am attaching a rough draft of my Form in Basic, with notes about what I want in the different parts. I am only trying to find out if my goals are possible in VB-2010, before I invest a lot of time searching for and experimenting with the code... so here are my initial questions:
1) Is it possible to build such an application in Visual Basic 2010, and would I be able to use the free "Express" version I have downloaded, or would I need to purchase the full version?
2) Basically, each user would run the EXE program which is the main window (like the attached), and would see all users connected to the LAN (and listening on the specified port) in the ListBox... would receive incoming messages in the top window (output from a console module I have already got working), and be able to send to anyone on the LAN using the bottom window... Is all of this possible in VB-2010?
3) Is there any complications making this application work well on both Windows XP and Windows 7 (64bit) user machines?
I don't expect this to be easy by any means, I just want to know if I'm embarking on something that is possible or not.
Attached image(s)
View 10 Replies
ADVERTISEMENT
Apr 25, 2010
I am not capable of creating different users that have different authorization using vb.net.
View 5 Replies
Jan 26, 2011
I am having trouble creating inactive users in VB. I watched the tutorial [URL]but it is for C# and the code behind won't work in VB. I need the users to be inactive when they register and send the administrator an email saying someone has registered to be approved.
View 3 Replies
Jul 17, 2009
So I had a report I needed to create and needed to get the total users per job for a system that I was not (and still am not) very familiar with. I asked the developer for that system for the code and was told it was no easy task. He sent me a query that didn't look anything like a user count. I told him I needed something to get all the users for each and every job in order to put it in the report I was building for one of the clients. I was told that wouldn't really work. I looked at his code as it worked on a per job basis.
The following is an example of the "logic" used to get the user count per job in asp.net:
TRUNCATE TABLE1
INSERT username INTO TABLE1 FROM QUERY1 WHERE CRITERIA MET AND job = *passedinjob
INSERT username INTO TABLE1 FROM QUERY2 WHERE CRITERIA MET AND job = *passedinjob AND username NOT IN TABLE1
SELECT username FROM TABLE1 and put in a dataset
[Code] .....
There were no UNION statements in the query1 or query2, there was no select count(*) from table, there was no recordset.count..
View 1 Replies
Jun 28, 2011
I have a form which has a textbox named "textbox1", and a button named "Button 1". Button 1 is meant to be a submission for textbox1 (i.e. when button1 is pressed, the value of textbox1 is saved and remembered). I want the value of textbox1 to be remembered on any computer, but I need it to be update-able too. I tried using settings to do this like so:
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextBox1.Text = My.Settings.TextBox1
[Code]....
but the problem in doing this is it only works for the current user. When the application is then put on another computer the value is blank.
View 4 Replies
Aug 29, 2009
I have created a multiuser application and at different user login i want to create different instances of the application.How to do this? Can somebody give the concept of how to approach this?
View 14 Replies
Jan 14, 2009
I haven't been doing a programming for awhile now. But, I was a VB programmer before. I will be creating a tool to log issues encountered by the users of our system. It will be a web based. I'm planning to create it in VB.Net. Any resources that you could share is greatly appreciated. I'm looking for a ready program that I could start with to speed up my programming.
View 1 Replies
Jun 28, 2011
I have a form which has a textbox named "textbox1", and a button named "Button 1". Button 1 is meant to be a submission for textbox1 (i.e. when button1 is pressed, the value of textbox1 is saved and remembered). I want the value of textbox1 to be remembered on any computer, but I need it to be update-able too.I tried using settings to do this like so:
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextBox1.Text = My.Settings.TextBox1
End Sub
[code]....
but the problem in doing this is it only works for the current user. When the application is then put on another computer the value is blank.
View 1 Replies
Mar 8, 2012
What i am trying to is create a function were by a user when he logs in, based on the rights given to them they can either use certain buttons . I no i have to use the enable and disable function.[code]if username is true and user_name is Sales then enable x y z buttons. i been trying looking around and reading and found the following which i cannot get to work with my system but they follow a similiar patten to what i want to achieve.[code]
View 1 Replies
Jun 21, 2010
I am currently creating an application to track timekeeping (a clock in/out system) and I am trying to work out the best way to do this.
I have a Main Form which contains buttons to ;
- Log in
- Out for Break
- In from Break
- Log out
When a user presses the "log in" button the logon form appears, the user then enters their username and password. What happens next is where I would like the help.
Process is as follows:Click Logon Enter Username/Password Check Logon Form for errors (eg no password etc) Check User is in Database (using SQL query) If user is in DB and username and pass are ok then refer back to the main form to perform Stored Procedure for what the user wants to do (eg logon or or out for break etc). Set label on main form to show user as logged on My question is should I be using a public variable and calling the main form again or in the user logon form having 4 options and using an IF ELSE to select the appropriate Stored Procedure?
View 3 Replies
Dec 29, 2010
I am creating a form that creates new users and then updates them to a dataset, I have done this ok, but I am getting a runtime error when I delete a record. Please see below the exception being thrown
"Update requires a valid DeleteCommand when passed DataRow collection with deleted rows"
My code below
CODE:
So I know I need to add a delete command, but how do I write this in code and do I write it in the saveitem click event? I guess I would because the app crashes when I click save to update the dataset.
View 5 Replies
May 31, 2009
I created an application that when a user logs onto their Windows account, a Form is displayed outlining the current Computer Usage policy set by the insitution and gives the user two options either Agree or Dis-Agree. The two options are in the form of buttons, with events that depending on what the user clicked, will create a log text file at a specified location, with enteries of Date,Time,CurrentUser, and if they agreed or disagreed. If they agreed the application after creating/amending the file will then terminate, otherwise it will update the file and then force Windows to logoff the current user.
Now I made a shortcut of the .exe of the application and placed it in the startup for all users, and yes the application loads at startup for all the users following the procedures mentioned above. The problem I am facing is, that if the current user logs off, or is forced to log off, and another user logs onto Windows, goes through the whole ordeal mentioned above, the application is denied access to the logfile that was created under the previous user, and thus crashes.
So my question is, how can I created a text file using vb 2008 application, that is accessible by multiple Windows users. I have even tried changing the location of the created file to the shared folder, but the end result is the same.
View 1 Replies
Feb 9, 2010
I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.Here is the membership provider definition from web.config:
<membership defaultProvider="MyProvider">
<providers>
<add name="MyProvider"
[code].....
View 3 Replies
Dec 29, 2010
I've got a code using SQLClient that loops though all users in a Users table inside each loop i want to preform another search in the UserOrders table, thus doing a count of all orders.
I get this error
HTML
There is already an open DataReader associated with this Command which must be closed first.
Here is my code
vb.net UserLists.Items.Clear()
Dim connection As New SqlClient.SqlConnection(My.Settings.ConnectString)
Dim command As New SqlClient.SqlCommand("SELECT * FROM Users ORDER BY PersonName",
[CODE]...
View 3 Replies
Apr 3, 2012
1.I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back.
2.Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only.
View 2 Replies
Apr 4, 2012
1. I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back. 2. Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only. Any alternative way to achive the target is just fine.
View 1 Replies
Jun 10, 2008
I cannot figure out how to get this call to work.I have searched EVERYWHERE.MSDN is no help at all and the only thing I can find is this vb6 code that doesn't work in .net.I tried to convert it over but I've had no luck.Specifically I'm trying to get the path of the "All Users" Desktop and the "All Users" Start Menu.It would rock if anyone could help me out with this one.
View 5 Replies
May 31, 2012
I wish to communicate over usb in vb.net i realize i might need to use openfile windows api or createfile windows api but im doing a generic mouse driver which should be miles simpler to do since microsoft and usb.org already have the report descriptors available so all i want to do is just send data to the device directly using my program.
[Code]...
View 7 Replies
Mar 15, 2010
I'm working on a little app which needs to recieve information from a script on a web server. I tried to have the vb.net app pole a php web page for a command every half of a second. This worked but, the app is streaming video and every time the app needs to pole the webpage the video stutter stops. I tried setting the pole timer to 5 seconds and still every 5 seconds the video stutters. I thought that maybe sockets would be the answer, so I looked for examples of vb.net socket servers and php socket clients. I tried implementing a solution but the php cannot seem to connect to the vb.net server. I googled around and saw that maybe php cannot communicate with a vb.net application.
View 1 Replies
Apr 10, 2010
If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
View 4 Replies
Jan 14, 2010
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
View 1 Replies
Jul 9, 2010
I am a novice with programming and really need to get a device communicate with PC through COM3.
how to send and receive data via COM3 in VB.
View 2 Replies
May 12, 2011
I have a Digi Modem connect to a device. How could I sent the code through the IP address what the Modem create to get communicate with my device? how to defined the IP, 2) make the communication 3) sent the code?
View 4 Replies
Mar 4, 2009
I am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil
View 1 Replies
Feb 22, 2009
I am looking to send and receive packets from the LAN port using some kind of WIndows Native object so that the user of my Windows Forms control does not have to install any third party software.[For example, for Serial port I use MSComm, i want to know what I can use for LAN port?]
View 1 Replies
Apr 29, 2010
I`m working on a project where i have connected a FPGA chip to the PCI bus but now i am trying to figure out how to communicate in VB to that device? Normally the device has memory assigned to it in XP (address h00000200 to h0000037F) but i don`t know how to read/Write to that memory directly in VB...
View 2 Replies
May 8, 2009
I have a library that interacts with our phone system, ie, Hey phone, call this number for me. This library is used in one of our in house products. I would like to put this instead in a service, so that any of our in house products can send the service a message to place a phone call. So basically I want to communicate from a program built in .Net 3.5 with a service running on the same machine also built in the 3.5 framework. I have done some work with WCF and was considering using this but thought I would ask what others have done or would do.
View 4 Replies
May 26, 2012
Recently, I Developed an Experiment Application with VB.net(in Windows platform), When the application collected the data,I want to use R to Analysis the data, But I don't know how to Communicate with R (In other word, I want to send R script to R in my own application).
View 1 Replies
Jan 14, 2009
I have a program that opens the command prompt and sends commands. I need to leave the first CMD open, open ANOTHER cmd and send more commands to the second one.
Then I do some processing and can close them both. How can I open more than one, and how do I refer to the first or second one?
View 3 Replies
Jan 26, 2011
I'm coding a restaurant program where every table, server and guest is a different object - Is there a right way of getting objects to communicate with each other?For example, one server might have 5 table objects, each table might have 2 guest objects. Is there a way to neatly tie all this information together. If a guest moves to a different table I have to change a large number of variables (number of guests served by server, table set to empty, new table sat...etc etc.)?
View 2 Replies