Making A To Do List In Vb 2008

Feb 9, 2011

I want to create an app that is constantly running and as part of my desktop toolbar. When I mouse over the icon, I want the list to show in front of all other windows on the screan. I, also, want it to fade away once the mouse leaves the icon.If the icon is clicked, the window displays.

I want to be able to click-and-hold the title bar to move it around when the window is displayed. I want the full display of the window to be a check box list with each line being ~25 characters long. At the top of the window, there should always be an open line on top of the list where I can enter a new "task," and hitting the "ENTER" key will save the line and move it down one line, as well as the entire list underneath

The action of ENTERing a new "task" should spawn a new open line at the top of the checkbox where the user can enter a new task. When a box (located to the left in front of each line of text) is checked for a line, that line will disappear."Checking" a box should move every line underneath of the Checked (and thus deleted) line up one line. There should be a "close" or "minimize" (depending on how you keep in to the task bar) button the hide the app when I'm through using it.

View 1 Replies


ADVERTISEMENT

VS 2008 Making A List Thread Safe?

Aug 26, 2009

I am using WCF to make a chat application - I dont think the fact I'm using WCF is relevant for this particular question but just thought I would mention it in case there is something special about the way WCF does threading that I dont know about.So I have my WCF service that runs on a server and a WPF app that acts as the WCF client - each time a new client signs in or out it updates the server WCF service to let it know that it has changed status. The server then updates a list to either add or remove the user, so this list basically represents who is online at any one time. The list is declared in the core server class like so:

vb.net
Private Shared List(Of ChatUser)

So, I have a method in my server side that is called whenever a user needs to be added to this list and originally I thought I could have some issues because while the server might be looping through this list to find out who is online, another user might have signed out and the list would therefore be modified while the server was looping through it which would cause an exception. So I added the following to the start of the method that removes a user from the list:

vb.net
SyncLock New Object

and I havent had any problems... but I'm still not totally convinced that this will completely solve the issue. So would creating a Property give me a bit of extra safety? Assuming I always used the property to access the list in my code.
Like this:

vb.net
Private Shared Property CurrentClientList() As List(Of ChatUser)
Get
SyncLock New Object

[code].....

Also, am I actually using SyncLock correctly? I mean should I be referring to a shared object that all of the threads can access rather than just doing New Object each time or does it not make a difference?

View 9 Replies

Making A List Box Hold A Value?

Nov 30, 2011

I am a first year coding student and we are starting out with Visual Basic. Up until now I have been able to figure everything out, but I have run hard into a wall and I don't feel like I've been taught how to get over it. Here's the thing.

First Form

Contains a list box for products selected, and four text boxes for Subtotal, Tax, Shipping and Total.

Second & Third Forms

Each contain a list box of books to select from which will be added to the first form.[code]....

I feel like I am doing it wrong right out of the gate - as you can see I am going by the item that the user chooses, and adding a constant value that I have pre-defined in a module. Then I add the name of the book to the first form - but here's the issue.That text string doesn't hold a value.SO, when I use the remove button on the first form - the text string removes but the subtotal, tax, shipping and total boxes do not change in the least bit because the item that I removed doesn't retain any value.

View 6 Replies

Making File Name Show In List Box?

Feb 19, 2009

Private Sub importdiag_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles importdiag.FileOk
For Each track As String In importdiag.FileNames
playlist.Items.Add(track)
Next
End Sub

[code].....

This is the current code im using. it shows in the listbox i have the file that i select. It also shows how ever where its located. Ex. C:folder\folder\file. I want only the files name to show up in the box but i cannot figure it out.

View 3 Replies

Making A FTP Chat And Online User List(No Database)?

Jan 11, 2012

I'm making an FTP chat for me and my friends just for practice. how to make the following things:

Online user list(No Database)
Banning System

View 3 Replies

Making A Website/project Portable - Check List?

Mar 14, 2009

I have an ASP.net 3.5 website and I am using vb.net in VWD 2008 Express, I am also using MS SQL Server 2008 Express, I used ajax tabs and a textBox characters counter control developed by [URL]..The database is attached with MS SQL Server Management Studio Express and the files are stored in the SQL default "Data" folder.

The whole project's code and forms are stored in a folder in my E drive. I need to hand the whole project to another coworker who have to finish it, please describe in steps how can i make my website portable (like i can put it all in a folder that he can carry around in his flash disk).One more thing, I already finished my side of the project, I need to ship it out to this other programmer.

Can anyone suggest something like a: Checklist or Must Do list to achieve this?PS: I have had a problem trying to move the project from one server to the other, the project seems to look for the dlls of the AJAX control and the textBox counter where i originally unzipped the folders in which they cam in, which i think was on my desktop, although when i added those controls to the Tools tab, i created a new tab, then i choose the dll from the where i unzipped the controls source code, aint that enough?

View 1 Replies

Making That Loads A List Of Vehicles From A Text File To ListBox1?

May 3, 2010

This switching from VB6 to VB.NET is starting to become a major pain I have a program I am making that loads a list of Vehicles from a text file to ListBox1. When the Selected Item in ListBox1 is clicked, it brings up the Image of that Vehicle, called from an external Image folder, so new Images can be added. I have an 'Add Entry', 'Delete Entry', 'Refresh List', 'Save Changed List', and 'Exit' buttons, all coded and working as I want them to - Everything is working better than I planned, without having to Google my a$$ off finding 'snippets' - I figured most of it out myself - What I am trying to do now is have a ListBox2 populated with a section of the text file:

[Code]...

Part in ListBox2, which when an entry THERE is Selected, it can be edited in TextBox2.Is this as hard as it seems? I want all the Vehicle Stats for that Vehicle to show when the Vehicle is Selected, and have the Stats section editable...

View 21 Replies

Making A Membership List - Load With Just The Names In The Text File That Is In The Debug Bin

Oct 26, 2009

Here is the code for my program. We are making a membership list and it needs to load with just the names in the txt file that is in the debug bin. The txt file is set up in one column and holds the member name and the next line is member number and so on. Information is read into an "array of structures" and the display is supposed to be ONLY the names in the listbox on load. This is my problem. I had it displaying all th txt file info and I just need the names. I tried what you will see in the code but it is not working and my book is less then helpful when it comes to examples and/or knowledge on the subject. Though it could be too many hours spent trying to get it to work.

Imports System.IO
Public Class frmMemberList
Structure Members
Dim member As String
Dim number As Integer
End Structure

[code]...

View 13 Replies

Designing Software - Making A MPC Sampler - Drum Machine - Making A Sound Directory ?

May 16, 2012

I'm a huge music person (got my own lil record thing going) but I'm wanting to design a program that would make music in my way. I have a decent amount of background knowlege of Visual Basic and Java I'm just wondering how could I execute this whole project. The Project is making a MPC Sampler. MPC is a drum machine; a machine with buttons that once you press it that it will play a sound from a drum (ex: snare, kick, tom, ect.) . So I would want to make some pads on my program that each have their own sound. Total of 16 pads. Which the design wouldn't be hard to make nor would the functionality of it having the play back sound (in my opinoin it wouldn't be hard atleast). But the thing is I wanna map out these pads to number keys on the number pad or keyboard. I'm not so sure how to do that. But that's all the easy stuff...

Also finding information is making a sound directory. What I mean by this is that I want to make a User Interface that will open up a file directory of sounds and the user can select what "kick" or "snare" sound he may want for the kick or snare pad. I don't know how to do that or even know what to search; neverless I don't know if this whole project idea is a good idea for Visual Basic or another programing language.

Also LATER ON I am wanting to add a record and export function that alows users to..well...record and export their beat or instrumental ha. That doesn't seem too too complex (mainly due to the fact that all it needs to do is record the users key strokes and then show them and play the sounds, but obviously it would get more complex than that.)

Here is an image of one of many MPCs but one with a directory - [URL]

View 5 Replies

VS 2008 Student List Views - List Boxes And Data Fro Access DB Tables

Dec 30, 2010

This is what I'm sure will be the first of many noob-ish questions from yours truly... I'm studying as a mature student for a Computing Degree (encompassing web design, hardware, programming and systems analysis). The programming seems to be my weak spot this year. I enjoyed C++ last year, doing basic console applications, but progamming visually with VB in Visual Studio 2008 I'm struggling!

[Code].....

View 12 Replies

VS 2008 Will Not Need To Update Each Component Variable Of Products List When Components List Changes

Sep 21, 2010

I think (?) this is about object design, and perhaps about structural and/or creational patterns. But a bit hard to say when I only know a couple of patterns yet.[code]But... what if we INSTEAD want each Product instance only to (in some way) refer to one instance of a specific list of Components. So we wan't to save the products list to one file, and the components list to another file. Then would I build the objects the same way, or different? So let's then say we have now Class B as below. [code]

1. Will not need to update each component variable of the products list when the components list changes.

2. If the Product object shall be shown in a DataGridView, for editing properties, it seems easier to implement the selection of the component property.

Is this wrong approach? Is it suitable in some cases, and if so, when? Are there other solutions I perhaps am not aware of that would be appropriate? Is this about structural design patterns? and if so, can the alternatives above be catagorized to some pattern type? I don't really know exactly what I'm looking for.. But I think probably I'm looking to understand whether the object design will be determined by the way the objects are saved.. And if i shall save the objects by serializing to file, vs saving to a database, would I create the business objects differently?

View 4 Replies

VS 2008 - Fetch List Of Directoies From 1 Special Ftp Server Wich Does Not Support LIST Command

Jan 27, 2011

I have a small problem i'm trying to fetch list of directoies from 1 special ftp server wich does not support LIST command i was try this code and it works for all ftp server i have try exept this special one :

'' Get the object used to communicate with the server.
'Dim request As FtpWebRequest = DirectCast(WebRequest.Create("ftp://" & txtFTPhost.Text), FtpWebRequest)

[code]...

I'm getting error 502 which means command is not supported and app crashed. I would just simple said leave it but i have try normal ftp clients like FlashFXp and it works just fine (i can see error in the log but it just pass it and show direcoties)

View 4 Replies

VS 2008 Declare A List(of T) (or List(of <anonymous Type>))?

Jan 7, 2010

Ok i'm trying to declare a global list of type T (or is it <anonymous type>) i declare it in a module with something like Friend query As New List(of {whatever type i try}) the app takes some xml and parses it into a list but i need this list available to other classes and methods within the app, everything i have tried fails resulting in an error like Value of type 'System.Collections.Generic.List(Of <anonymous type>)' cannot be converted to 'System.Collections.Generic.List(Of {whatever type i try})'.

What would be the correct way to declare a list of this type? is there another way i could do this?

View 8 Replies

VS 2008 Search Item A (from A List Of X Items) In List B?

May 5, 2010

i want to search item A (from a list of X items) in list B but i want to get the item not found example Search ITEM A in LIST B if not found then return a print....if found continue with ITEM B..and so on.

View 5 Replies

Making A Calculator In VB 2008?

Jan 20, 2010

I have to write a program that allows users to specify two numbers and then adds, subtracts or multiplies them when the user clicks on the appropriate button. The out put should give the aritmatic performed and the result. I inserted an attachment on what it should look like also Public Sub btnCompute_Click() Handles btnCompute.Click " here at this one I am getting an error message Error 1 Statement is not valid in a namespace. C:\Users\Tiffney\Desktop\School projects\WindowsApplication1\Form1.vb 1 1 WindowsApplication1"

[Code]...

View 14 Replies

Making A Patcher Using VB 2008

Jan 1, 2011

I am having some trouble with patching a file in Visual Basic 2008. The idea is like that.

1- Store File In The Program Using "Resources".

2- If The Program Is Runned. My Program Should Show This Message "Please Close The Program" Or Making My Program Close The Program That I want To Patch.

3- If The Program That I want to patch is closed. Then When you click the button. the file dialogue opened and give to user the ability to choose the file that i want to modify "Replace or patched" after that the file will copied from resource and replaced the old file "Patched" after when this operation finished.

4- show this message "Your Program Is Patched. Enjoy", and the resources file should be crypted Waiting The Solution.

View 6 Replies

VS 2008 Making A Button Pad

May 17, 2009

Im making a Program in VB 2008 for Tablet PC's in which you Log in Using a Virtual Keypad. i need to know how to insert a number, like in MS Calculator. (to press a button, and for a number to be added to the text box)

View 1 Replies

VS 2008 Making A Calculator?

Mar 18, 2012

I have a small project from my university they have asked us to make a calculator , well everything is easy so far except the 3 last functions that I need help with.

as we all know vb has already some math functions implemented in its libraries the problem here those functions giving me wrong results I am trying to get math.tan(lblnum.text) math.sin(lblnum.text) and math.cos(lblnum.text)

they don't output the correct numbers any idea why?

View 4 Replies

VS 2008 Making A Line In A DLL?

Aug 22, 2009

VS 2008 Making a line in a DLL?

View 9 Replies

VS 2008 Displaying A List Within A List In A DataRepeater?

Feb 2, 2010

Firstly i apologise for another topic on a subject i have created already but this is a slightly different question and not related to LINQ at all despite the fact the code uses LINQ (the linq works fine and creates a List(Of Test) where each 'Test' contains a List(Of TestList) This data could be anything i guess and could come from an array or a database rather than xml literals.Ok, essentially i have a list which contains a list and i wish to display all the properties (List and list within this List) onto a DataRepeater Control. I have developed a testbed to get this working so i can implement it into my main application. Firstly I'll show the current code and how to construct the form and after that i will explain what i have tried and what i have had happen from these trials over the last week.

Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

[code].....

View 1 Replies

Making Bar-code System In 2008?

Dec 3, 2010

I have made some real time systems (softwares). Now I want to make an system (software) in vb.net 2008 which reads an bar-code saves the data in the database (SQL Server database). I am very new in making these types of system, thus i would like your help of making an system using bar-code scanner through vb.net 2008. Specific to my question I will require all the steps for creating an bar-code system through vb.net 2008. I am waiting for your reply.

View 1 Replies

Tutorial For Making Reports With VS 2008

Jun 25, 2009

I am looking for a tutorial for making reports with Visual Studio 2008. I have a VB.Net app using hard coded MySQL statements and variables from different parts of the program, mostly the server as I have the same app with options to connect to different servers with the same back end structure (different data unique). As far as i know I can not use data sets (I think thats the name for them) as that would mean one program for one location.

View 4 Replies

VS 2008 - Making A Tool For The Game?

Aug 23, 2009

Well the thing is im making a tool for a game(No hack)the display is like this Name : [here a text box] Time : [Here can be laber or textbox] [start] [stop] [reset] in the first textbox the user who is using the program have to put a player name and in time when they click start in the second textbox or labe it should start countingdown from 1 hour 1:00:00.Stop only stop the time but let the time where it was and reset to reset the time.so when the time get to 0 something should pop up with the name of the player that the user put in the text box like MsgBox Frolox's time has finish or something like that but it have to appear in top of everything.

View 16 Replies

VS 2008 : Making A Anti-Virus In .net?

Sep 24, 2010

I'm try to make a simple small Anti-Virus application. This is not for commercial use. Just to test it, and maybe learn something that will help me in the long run.First, please don't reply by saying "C#" or "C++" is suggested for such as task.This is just a test application. Lets start with simple stuff such as "virus signature"I found this example: Which i believe reads the file, and checks for the sample signature.

VB.net
Function detect() As Boolean
Dim file() As Byte = {1, 2, 3, 4, 5, 6, 7, 8, 9} 'sample file
Dim virus() As Byte = {4, 5, 6} 'sample signature

[code]....

Third, then what i read was that i have to get arbitrary string of bytes as the signature.Which i needed to use hexadecimal editor to view such data.how can i detect virus file, from normal file.

View 10 Replies

VS 2008 : Making A Countdown Timer?

Aug 2, 2010

I am making a countdown timer, however, it is not perfected yet.

View 6 Replies

VS 2008 : Making A Video Playlist?

Nov 3, 2009

I plan on making a Visual Basic Project that involves playing a series of videos. I wanted to have six videos in my project. The videos would be selected through checkboxes. Once the videos are selected, I wanted them to play automatically one after the other from one video player either in the same form or in another form.Is this possible to do? If so, how would the coding work? I am using Visual Basic 2008 Express Edition.

View 2 Replies

VS 2008 : Making An Application To Run On Windows 7?

Jan 9, 2010

I have an existing apllication that run on XP. What do I need to do to make my application to run on Windows 7.

View 10 Replies

VS 2008 Making A Code Editor?

Aug 9, 2009

I am using a rich text box and I know a simple way to change the color of a selected word...but I can't make it do it for all the words.Do I need a custom control for this sort of thing...?Also, example: word "If" becomes blue, and all If's in the RTB would be blue.

View 9 Replies

VS 2008 Making A Color Transperent

Apr 23, 2012

I have a set of pictures that will be on my form that Have a white background..what I want is making this white backgrounds transperent , Is there a way to do it ? (if able also remove the white background from the picture widht )

View 4 Replies

VS 2008 Making A Picture Box Have A Transparency?

Oct 26, 2009

Is there a way of making a Picture Box have a transparency so that any objects (e.g buttons) that are layered underneath the picture box will be shown through?

Or if there is any other way of getting the mouse coordinates only on the form. So when the mouse cursor is placed at 20,20 on the form it will give back the coordinates 20,20 no matter where the form is placed on the screen

View 5 Replies







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