When Close Application To Remove Name From List While Keeping Everyone Elses Updated

Jan 5, 2009

I use to do programming in VB3.0 years ago and decided to try it out again with VB2005. Basically I made a chat application for my coworkers so they can chat at their desk. It's a shared network and the program is pretty simple. Basically the chat gets stored in a .ini file and that part works fine, but I want to be able to show the users who are currently in the chat and I am not sure how to go about doing this, when you login to the chat it takes your name which I would like displayed and when you close the application to remove the name from the list while keeping everyone elses updated.

View 2 Replies


ADVERTISEMENT

Installation - VB - Keeping A Program That Is Running On A Network Updated

Feb 5, 2010

I'm looking for suggestions on keeping a program that is running on a network updated. Installation consists of 15 users, each have the program on their local pc, but they all access same date from sql server. I am looking for a clean method that would allow me to update one folder on the network and for each computer to get updated when they run the program and the programs sees a later ver on that folder on the network. (Obviously I can do this inside the program itself since it won't allow being overwritten while opened.)

View 3 Replies

Save A List In A Listbox And It Keep Saved When Close The Application?

Jun 11, 2011

My application is suppose to save the information that I put in the application that is in a listbox in form2. All the information is in form1, but I got it to save it in the listbox in form2 and I can see it when I load up the form2. Im suppose to make 10 different list for it, (it says it should be in arrays, but I dont know how to do it) and I should be able to save them everytime I put a new one in, but when I put a new list in the listbox and close the application and then reopen it, its erased, how do I save it and keep it in the lstbox so it doesnt get erased?

View 13 Replies

Simultaneous List Updating - Prevent The List From Being Updated From Different Locations

Nov 26, 2008

I use a List(Of T) (where each T is a custom type with a few members) to keep track of about 500 items that change all the time. The list can be changed from different locations within the program (uses background workers that monitor the list).

Question: Is there some built-in way to prevent the List from being updated from different locations or from different threads at the same time? For example, one thread may remove an item from the list while another location changes one of the members of an item, causing conflict, wrong data and errors. Perhaps there is a standard way in VB.Net (framework) to solve this type of problem?

I use VB2008 (VS2008 Pro) and WinXP SP2.

View 2 Replies

Keeping An Application In Background

Jul 7, 2011

I have developed a very simple application that disables system keyboard commands (ctrl+alt+del, alt+tab, etc), hides the taskbar, hides the desktop, etc.Upon entering a password the user can 'unlock' these options.This is being used with a restaurant POS system so no accidents can happen. However there seems to be one minor issue:In a separate software package (the POS software), at specific times, any application that is running (my locking application) will get focus and end up on top of the POS software.I want my locking software to remain underneath all running applications. Anyway to keep my locking application from gaining focus? I was thinking of maybe adding some line of code to send my locking application into the background whenever it gets focus..

View 4 Replies

Click My Close Button The Application Will Close But The Debugger Is Still In Active?

Nov 29, 2009

It seems like whenever i click my close button the application will close but the debugger is still in active.How to exit this debugger? :)

View 2 Replies

VB - Batch Inserted Into My Project - Run With The Program In Someone Elses Computer After Publish

Nov 15, 2011

I'm using Visual Studio 2010 and I have a Batch inserted into my project and cannot for the life of me get it to run with the program in someone elses computer after publish?

View 7 Replies

.NET End Vs Form.Close() Vs Application.Exit Cleaner Way To Close One's App?

Feb 12, 2011

sometimes, when I use Form.close() when debugging my program, although the form is closed, the application is still running. I noticed this behaviour when using the msgbox function.

View 3 Replies

Close Windows Calculator In .net 2008 When Application Close?

Aug 30, 2009

how to use windows calculator in vb.net 2008?

use System.Diagnostic.Process.Start(calc)

its working but i want when application close it also close this calculator how?

View 3 Replies

VS 2005 : Keeping A Console Application Open?

Dec 16, 2010

I am trying to remember how to stop a console application from closing after it has run. I want the window to remain on the screen until I am ready to close it.

View 2 Replies

Remove Close Button (x)?

Oct 1, 2011

How am I going to remove the close button? No, the whole title bar. I can get rid of minimize and maximize button in the properties but not the close button.

I know about this one but I am not planning to use this. It's just disabling the close button not getting rid of it:|

Private Sub frmOpt_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
e.Cancel = True
End Sub

View 3 Replies

Add, Edit, Remove, Clear And Close?

Jan 13, 2010

Here's the link I'm currently using for reference: mages for error list:

Public Class FrontPage
Dim cnn As New OleDb.OleDbConnection
Private Sub btnclose_

[code].....

View 8 Replies

Deployed MSAccess Database Not Updated Through Application?

May 26, 2009

I've created a VB.NET Windows Form application which pulls info from an MSAccess database via datasets and tableadapter. When the user makes a change to the data, I use the Update method of the tableadapter to send the changes back to the database. This all works fine in the Visual Studio 2008 IDE, but once the build is done and the application is installed, I run into problems. The application keeps the original data and will not read or write to the database, although any changes I make through the application are mysteriously saved somewhere. If I make changes directly to the database using MS Access - which I need to be able to do - those changes don't show up in the data pulled into the application.

View 13 Replies

Forms :: How To Remove Close Button On The Form

Aug 1, 2011

ust want to know a better way to remove the close "x" button of the form, or atleast every time i close it end up openning again.

View 5 Replies

Remove Close Button (X) Of The Form From The Tool Box?

Oct 19, 2011

how can i remove the Close button (X) of the form at the top right corner.I could able to manage not to close the window even if close (X) button is pressed by using the below code in FormClosing event. But i wan to remove or disable it completly.

Private Sub Form2_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
e.Cancel = True
End Sub

View 5 Replies

Data Source Updated As Well When The Variable Is Updated?

Jul 1, 2009

part of my code is in below

[Code]...

I would expect to see the path.Path include the new record, however, I also notice that tempnextgen also include the new record. Can anyone help me out on this issue? Why the tempnextgen got updated as well, how to prevent this unexpected operation?

View 3 Replies

Folder To Store Application's Temporary Updated Files?

Aug 18, 2009

I have created an updater for our clients application. The way the updater works is to download all the updated files and store them in a temporary folder then check the file hashes. If everything is ok it will copy the files to the applications installation folder. Once this is been completed it will delete all the updated files in the temporary directory.

My problem: I am looking for a directory that will be available for XP, Vista, and Win7. I was thinking about the 'temp' directory.

View 2 Replies

Visually Remove/disable Close Button From Title Bar .NET

Nov 16, 2009

I have been asked to remove or disable the close button from our VB .NET 2005 MDI application. There are no native properties on a form that allow you to grey out the close button so the user cannot close it, and I do not remember seeing anything in the form class that will allow me to do this.

Is there perhaps an API call or some magical property to set or function to call in .NET 2005 or later to do this?

More information:

I need to maintain the minimize/maximize functionality

I need to maintain the original title bar because the form's drawing methods are already very complex.

View 4 Replies

Design A Control Database That Allow Me To Add, Insert, Remove, Clear And Close?

Feb 9, 2012

I'm having trouble with visual basic 2010 since this is my first project, I'm assigned to design a control database that allow me to add, insert, remove, clear and close I designed a software but there are quite a lot of problems in it so I need fixing these problems.

View 5 Replies

Remove Items In One List From Another List?

May 2, 2012

i am writing a program that reads a excel report from accounting software with our weeks orders on... so basically the program reads a list of around 100 items which all works fine.I also have a database that holds info on each item, when the excel sheet is parsed the software checks to see if any new items have been added to the list that are not on the softwares database. this is where i am having the issue.I have two lists: ItemsOrdered & ExistsingItems.

All the items ordered this week are in ItemsOrdered and all the items not in the items in the database are in the ExistsingItems list. using these two lists how can i find items that are in ItemsOrdered but not in ExistsingItems.

View 2 Replies

Make A Hidden Application - Close Unwanted Application?

Dec 5, 2009

I want to make a Hidden Application,my application Block Unwanted software or Application

View 13 Replies

VS 2008 Cant See Anything Close On List Of Today

Jun 2, 2010

Am converting 2003 program to 2008 and after convertion I get warning about this line Today.Now.ToString("dd/MM/yyyy HH:mm:ss")It doesnt have the .now in 2008? Any idea what i should be using.... as I cant see anything close on list of Today. options.

View 3 Replies

RTF Close - Add A Close Button To Menu Strip That Will Just Close The Currently Opened File

Jan 16, 2009

I'm currently in the process of building a text editor type program, and have run into a brick wall. I haven't done VB in years, so I may just need a little reminder on some things. I have coded everything so far as far as opening files, saving them, changing fonts, colors, etc. However, I'm looking to add a Close button to my menu strip that will just close the currently opened file, and not the entire program, while also ask the user if he/she would like to save before closing the file, and then if they select yes, it will show the save dialog, and if not, it will go ahead and close the currently opened item.

View 2 Replies

How To Remove From List

May 13, 2011

I have a List which gets a Check Class like below:

[Code]...

View 4 Replies

Vb2010 Close Of The First Form Close The Application Even If A Second Form?

Feb 14, 2011

I try to transfer a vb6 application to vb2010. In the vb6 I start with a login panel that the user enter uid and password autenticate with the DBServer if ok show application main menu and close the login form. the order of the me.close() after the mainform.show() does not change, The application ends.

View 5 Replies

Find & Remove From List??

Nov 4, 2009

I have a simple class called Player. I can add players to it, but haven't figured out how to remove them. I've tried various ways, some compile some don't none work

Public Class Player
Public Name As String
Public Sub New(ByVal name As String)

[code].....

View 8 Replies

List Box Items Remove All?

Jun 9, 2011

I have a listbox in my program and I want the user to be able to remove all Listbox Items with the click of a button.

I Figured this would work, Listbox1.Text = ""

View 3 Replies

Remove An Item From List?

Aug 16, 2009

I have a BindingList (of Class) list that is the source for a datagridview and I'm trying to figure out how to remove a selected line from the list.[code]...

View 2 Replies

Remove Duplicates From A List(Of T)?

Feb 23, 2010

I fail to remove duplicates from my List. What am I doing wrong?

Dim Contacts As New List(Of Person)
...
' remove duplicates '

[code].....

View 2 Replies

Remove Elements From A List?

Feb 6, 2010

I have a List of a custom class (barData) that I need to remove elements form based on a date.

The bardata class holds data of stock price information.[cod]e...

Is there a way to do it without looping through each bar as I may have 2000 plus bars for each stock and may have 2000+ plus stocks to look at. It can be done by looping but it is slow.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved