Creating A Simple Leaderboard Type Application?
Apr 14, 2011
I have moderate experience with VB, and am using 4.0 framework with VS 2010 pro.get a specific way i should accomplish a leader board system where it can manually assign points to players and sort them accordingly.
View 1 Replies
ADVERTISEMENT
May 31, 2010
I am here to write a small database application that will be running in desktop (offline mode).I am using MSAccess 2007 as my database file and trying to write code in vb.net.I used to write the code vb6 an usually had global variables for storing database connection and executing every query from that.I am trying to upgrade myself from vb6 to vb.net.do i need to read some more simple starter books also?
View 3 Replies
Mar 12, 2010
So i'm creating a simple application as an example that is to link to a Access 2007 database.
On my main form i have four listboxes that are correctly attached to the table, I have one for First Name, Last Name, Phone, and School. I added 3 records to the database in Access to see if I could display the records in the listboxes on the form. I found that it was very easy by setting the properties and I have no problem there. I also have a command button that loads a new form for the purpose of adding a record to the database.
Here is my main form (frmMain.vb)...
CODE:
And Here is the code for the form...
CODE:
What i'm looking for is when the user presses the Add button on the frmAddNew form then it needs to close and the new record is listed in the textboxes and saved to the database. Id also like to know all kinds of things i might be able to do with textboxes and databases because i'm trying to learn for a larger project where i'll need to keep track of hundreds of records.
I understand that this is a simple procedure, but i've been spending all night scouring tutorials and getting lost in the msdn library online, so maybe some human input will be better.
View 1 Replies
Oct 21, 2010
I'm attempting to do a school project dealing with a simple web crawler. I have a form with a web browser control embedded that loads a web page will all the available courses. I have a text box and a button design for a user to search for a specific course by using the four letter department abbreviation. The page that I have loaded has all the department abbreviations as hyperlinks.is it possible to search the page using the four letter abbreviation specified by the user and if the search finds a corresponding hyperlink open it. Then I would use a loop to repeat the process of opening each class offered by that department and obtaining information such as course name, section number and so forth.
View 2 Replies
Apr 25, 2009
I would like to click next to go to another image in a picturebox but I only have one picture box setup to have the new letter displayed in it. I have 26 images to display and need to know how to setup a loop to go through each image? It seems simple but I cannot figure out how to get to the third image, it only goes to the second image and stops. I also need to know how to setup the back button to display the prior image in a picture box.
View 8 Replies
Dec 8, 2010
i am going creating a simple function calculator, but I had to first do a design documentation proposal. I now have to update the project proposal with a storyboard or list of menu and screen items to delineate my proposed user screen and menus.aside from the calculator itself there will not be any menus.I also have to list any user data inputs and outputs my application will require and produce, which i assume i can put any numbers that the user inputs into the calculator and their results.
View 5 Replies
Jun 21, 2010
i want to create a simple POS system, can you tell me how can i hide group of buttons/ controls on the first load of a form and then group of controls will just show after a button is clicked or selected. Also i want to have a display (on same form) of what is selected by the user.
View 3 Replies
Mar 24, 2010
I am a total bginner to vb.net programming. I am trying to make a simple program that allows the user to
1.change desktop background
2.Allows the user to select a boot image listed in the form
3.alows the user to enable disable the task manager,registry editor and control pannel.Replace Windows Boot image (Picture source is a picture box in form)
4.Change XP Start Button Text
5.Disable/Enable Windows Keys
so this is how far I got;
Imports Microsoft.Win32
Public Class Form1
Implements IDisposable
[code]....
View 3 Replies
Feb 21, 2012
I'm suspicious my spouse is cheating. In the past few months he has systematically locked me out of all of his social media accounts shortly after getting a job with a group of female secretaries that travels for a week at a time. He has been dodging or non-communicative when confronted about this.url...
The only way to avoid interaction with antispyware is to create it myself.I understand that copying text or something into an open notepad session or the clipboard is out of the question; however I'm pretty sure that I could create a (fairly) simple script that does the following:[code]I know this is extremely inneficient but this is the most covert way i can think of, a simple wscript that runs on startup and creates these .txt files in an important looking place (windows/config/system/logs/win32 - example)
View 1 Replies
Oct 13, 2011
I am trying to create a simple browser that will be mainly for personal use. I followed a tutorial to create the actual browser; the address bar and the Go button and now I need to create the Home button, Back and Forward button.If I can find the source code for it, I am going to implement it into my sample browser and perhaps?
View 20 Replies
Dec 17, 2008
I dont know wether this is the right place but would i be able to use somthing like streamreader to change a .txt on another computer? If so, how?
View 3 Replies
Nov 10, 2009
I am just new in visual basic and I was given a task to do a basketball playbook application using visual basic. I am trying to do a simple editor that would allow you to design the plays. How do I implement a picturebox (picturebox1) with an image in it (lets say image1) then when I drag it image1 will appear in another picturebox (picturebox2)with a basketball court background. Then after dragging image1, picturebox1 will now display another image (image2) ready to be dragged also.
View 3 Replies
Oct 19, 2009
I'm sorry if this is in the wrong forum or has already been asked, but I'm having a problem creating what should be a relatively simple code for an Excel Project. Essentially, the code is supposed to check if a certain column has Y in it and then copy that entire row onto another sheet and then move on to check the rest of the original sheet. This version of the code seems to do everything but actually populate the cells with the information. Every other attempt I've made has ended with "Application-Based or Object Based Errors". I've worked on this code for a few days now and I just can't seem to get it right. What am I doing wrong?
Here's the code:
Sub PopulateNewSheet()
i = 2
Do While Worksheets("Main List").Cells(i, 2).Value <> 0
[CODE].................
View 1 Replies
Aug 1, 2011
What is the simplest and most straightforward way to: Create a local dB with a table with 2 fields (a string, a number) Determine is string s is present in the dB Add a record into the table consisting of a string and number Delete a record based on the string Get the record for a particular string Get the record with the highest number
View 3 Replies
Mar 20, 2012
I am trying my hand at making a simple poker hand analyzer in VB 2010 for a distance education intro to VB course at my school.My goal is to represent the cards in a table array. Rows are suits Clubs/Diamonds/Hearts/Spades and columns are values (A, 1, 2... K). However I have no clue how to design a Sub procedure that will recognize the hand the user inputs and add any possible results to a listbox (fourkind/threekind/pair/flush/straight/ace high straight). I don't understand how exactly I'm supposed to do this. My criteria isn't very strict. I can have a hand with more than one description, like a fullhouse + threekind + pair can all be used to describe one hand.
What I think I need to do is split the entered string to get 5 strings (each is a card). Then somehow find these in the table? I have no idea how to do this and I'm stumped... The instructions loosely call to look for a boolean value where cards(i,j) is set to 1 of the player is dealt card j in suit i. But I do not know how to achieve this.
As you can see my understanding on VB is extremely... basic (no pun intended). It's my first time ever learning a computer language, and I really regret taking this course via distance ed because the instructor and the TA absolutely refuse to communicate with the students. I am trying my best to practically self-teach with the thick text book.
View 9 Replies
Apr 23, 2012
What is the quickest way to convert a string value of a URL to type URI? VB.NET please..
View 2 Replies
Apr 30, 2009
I have the following Enum:
Public Enum myEnum As Integer
first = &H1
second = &H2
[Code].....
Obviously I can code around this issue, but I can see a scenario where that workaround could be easily missed in maintenance programming, and I'm hoping someone can recommend a simple solution that won't break if, for example, the values in the enum have to change at a later date.
View 5 Replies
Aug 9, 2012
I know vb.net does not include pointers like C language. but I am trying do populate an simple integer array with variable of the same type for example :
dim variable1 as integer = -1
dim variable2 as integer = -1
dim intArray() as integer = {variable1,variable2}
[code]....
it is a very simplyfied verson of what I want to do.I want to change the value of ma variables with my array referencing them with an index as if my variables were pointers of integer in c++ for example so that normally after the example, both variable should hold the number 3 instead of the number -1?
View 3 Replies
Aug 20, 2009
Ok, I'm half convinced that this is such a simple question that no one has ever needed to ask it in the history of google.I have a double datatype, which contains a currency value. This is returned by an API, so I can't just change it to decimal.The variable gets populated with this: 5.37979542325911E-315, which I took to mean that the current balance was $5.3797. This is incorrect!
So my question to you guys is: How do I convert a double to a data type I can use for currency?
Note: Cdec() and other casting to decimals hasn't workd. It's set the decimal to 0D.
View 9 Replies
Jun 1, 2009
I'm having a problem with converting from one source type to a destination type. I have a form with 2 buttons (button 2 uses the OpenFileDialog to have the user open an excel file set to NewFile),(button 1 takes the contents from specific cells in NewFile and arranges them how I need into oXLApp1).
The error I get is "Unable to cast object of type 'System.IO.FileStream' to type 'Excel.Application'." in line 14 of the code below.
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
[Code]....
View 4 Replies
Dec 5, 2010
i want to desing a simple application which will be developed on a pc but will work on a MAC.Now im guessing that if i make an app in pc vb net it will not work on a mac right? So what if i design a web application. could the mac user then use it as it is web based?
View 4 Replies
Jun 24, 2009
i want to make a simple application [URL]
View 8 Replies
Feb 19, 2011
I want to write a very simple application, containing a pop-up menu when user click on it, that will appear in windows task bar, exactly like language bar, this is the only need. it does not contain any more functionality at the time being. Does anybody know where to start or do you have any sample code for it.
View 5 Replies
Dec 18, 2010
today I attempted to create a simple application using codedom.Basically I want to be able to compile a messagebox with the custom text entered in the builder.
This is what I have so far.
ICompiler.vb Class "Codedom" Class and in my main form "the builder I have this
[Code]...
If no one could help me perhaps does anyone have a simple source example?
View 1 Replies
Apr 20, 2010
I wanted to create a simple application which has 2 forms.the first one contains a combobox which has the list of names of reports.now i select this report and click on next which takes me to the 2nd form.there i have to enter 4 values(or parameters)like the date from and date to and other 2 values...using these 5 values i want to retrieve the respective reports from the archive folder based on these parameters...i just know how to select and move to the second form from the first..how do i achieve my goal of retrieving the pdf files.i want the result in a table form which will have column names of the parameters i pass and the last column with the report pdfs.
View 6 Replies
May 7, 2009
i just want to know what functions that prove to be useful when creating such, thx
View 1 Replies
Apr 11, 2009
I need to make a very simple browser. The problem is that it has to be a WPF application because I'm using a SDK that does not support windows form applications. My question: is this possible and how? Is there some xaml to achieve this?
View 2 Replies
Jan 22, 2011
I am using Visual Basic 2008 Express Edition. This is what I want to do:
1) Copy all files and folders from A to B example: Copy From C:Source to \Server1Dest
2) I also am trying to use a progress bar to show the actual progress. Which hasn't worked. I can't time it because the number of files varies from day to day.
3) I would also like to pull variables from a text file or config file for example what the source path is and what the destination path is. I want this to be predetermined so the whole process is automated.
View 2 Replies
Mar 23, 2009
I have a simple RSS reader in a Web Browser application I am making. But whenever I click "Show RSS feeds" which makes my RSS reader window show, my application goes non-responsive! VB 2008 isn't registering any errors or warnings!
View 5 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies