Simple Log In Program In Netbeans Using Database?
Jun 11, 2011How to do a simple log in program in netbeans using java database ?
View 1 RepliesHow to do a simple log in program in netbeans using java database ?
View 1 RepliesRecently, someone asked me to code a program for them in Visual Stuido. What they need is a program that allows them to enter names, and each name has to pick a option (i was thinking that the user would select a radio button) and each option could only be selected a limited number of times.
View 8 RepliesI am trying to make a very simple program that connects to a MySQL database using VB.NET. My program only has one form and one label. I setup my MySQL database to have a table and one field (a VARCHAR)called "Tab1". I manually inserted the value "CLOSED" into the Tab1 field using PHPMyAdmin. I want my program to change the value of the field to OPEN/CLOSED and I also want the label text on my form to change too when it's clicked.
[Code]...
I'm trying to run a simple database and im getting a "System.NullReferenceException" error ) & "Additional Information:Object reference not set to an instance of a object" .
txtItemName.Text = rowCurrent.Item("ItemName") <-- highlighted in yellow
Code is as follows:
vb.net
Imports System.Data.OleDB
----------------------------------------------------
Public Class Form1
[code]....
I want to create program in vb2008 express with ms access database. Can somebody help me so i can learn how to program using classes hard coded. I have learned vb6 before but it has a big difference on vb2008.
I have a database named "DATABASE" in ms access 2003 and the details are: Table :
EMPLOYEE(EmpNo, EmpName), DEPARTMENT(DeptID, DeptName), CATEGORY(CategoryID, CategoryName), SUPPLIER(SupplierID, SupplierName), ITEM(ItemID, Itemname), ITEMLIST(ItemListID, ItemID, ItemDescription), INVENTORY
[CODE]...
All the CAPITALIZED name are Table and all items inside the parenthesis are fieldnames. I don't know where to start on working on this RECORDS. I was able to understand visual basic 6 a bit, and i am trying to apply the coding to VB 2008 but all i get is errors. I am hopeless now and i need help to be able to start my programs. If someone can give me a sample code, i think i would be able to trace the line of code to be able to understand it. I am currently an inventory manager on the small company i was working with and i like to organize my record by using database.
I think its better if i attach my files for you understand what i wanted to happen in my program.
We are now in our finals and for our project we need to make a program that shows connection of database(sql or access) and vb.net so dont mind if it has a problem in design or anything bcoz the objective of this project is to show what we've learn in our subject IT Programming 1 (vb.net)
I dont know what to do in this part of my program. what to do first? why is it attaching zip files is not allowed?
how to create a program that can access information held in an excel database and show it in a simple form.
View 2 RepliesMy work dropped a vb.net program in my lap that I need to modify. Die vb. Anyway, I work in Netbeans and can't find a module that will allow for syntax highlighting of vb. Is there a creative solution out there for this that doesn't involve using a different IDE?
View 1 RepliesI need to write a paper on the comparison between (Microsoft Visual studio 2005 to develop web applications using asp.net) and (visual basic and Netbeans to develop j2ee applications using java).I need suggestions for good webpages,journals or documents which can help me out here. I have to write at least 1500 words so any suggestions are welcome.
View 1 RepliesIm trying to create a program with a simple gui that enables me to search for and select parent folders containing child folders containing multiple files and then validate those files based off of constants i set per child folder and file.
Example
User selects Parent FolderX
Parent FolderX > (ChildFolder1 ( Constant for ChildFolder1 says open file 4 ) > File 4
Compare multiple strings of text in a specific order based off of file name to constants i have set for that named file Then continue to ChildFolder2 ( Constant for ChildFolder2 says open file 16 ) > File 16 Compare multiple strings of text in a specific order based off of file name to constants i have set for that named file If there is any constants not read in one of the files after all have been checked, return msgbox with a notification and write .txt log with child folder and file names to specified directory?
i want to make a simple program that can be used of add,delete,edit,save,, thats all, so that i will understand the basic of programing.so that in that program i will developed it and also connection of vb2005 to sql server 2005.. i am amateur here using this vb2005 and sql server 2005.
View 4 RepliesI want to distribute a fairly simple program developed on Visual Studio 2008. I have tried to use the publish features in the IDE. It creates a folder with various information and stores it on my fileserver.When I try to install the program on another computer I get a lengthy message about the need to install Powerpack 9. 0.0.0 So I go back to my dev computer and edit the publish information. On prerequisites I do not find Powerpack 9 but Powerpack 3. I put that in and redo the publishing. The installation now install that package but then it says it requires powerpack 9.0.0.0 and ends?
View 5 RepliesI'm just starting to learn vb.. trying to figure out why this is not working.
Public Class Form1
Dim final As Double
Dim grade1 As Double
Dim grade2 As Double
[code].....
i am had lots of trouble in finishing a simple program.well my program had one listbox one command button the list box is loaded with proxies.when i input the query url in textbox it and pressed command button it will query search engines and retain rank.it also click our url to verify drilldown it
1.load the proxies
2.input the URL
3.click command button
4.perform querying and clicking task on search engines
my pc was crashed recently so i am unable to upload the program here.can someone kindly me(newbie)to finish this simple task?
I said in a thread this week that I would set out to construct a program using the WMP component and this time, unlike in my last one, it is set up to allow any folder to be chosen. It's safe, even if the user chooses a folder with no .mp3 files in it, but it's goal is to look through all folders/subfolders, find the .mp3 files, get the path and the meta information about it, then show it in a listview.
The user has a few options such as playing the first song when a list is loaded, setting it to shuffle, etc., and all settings are saved automatically. Also, when they choose a folder to use to get their music, the next time around it remembers this also (although this latter one is done by saving the path to a text file so that you can, optionally, edit that before you send it out -- without having to change the code to do it).
I have it looking at events so that no matter what they change (click for the next song, change the volume, change one of the checkboxes, etc.), it will re-focus the listview so that the song presently playing is highlighted.[code]...
I am trying to build a simple app that will start another program.The command line that works in a dos batch file is c:program filespixellWall Controlwallctl.exe -layout=c:1.lay with my code below this works, c:program filespixellWall Controlwallctl.exe but the switch info above doesnt get passed, I get a run time error.
Public Class Form1
Dim layout1 As String
Dim layout2 As String
[code]....
I am trying to create a simple DVD Player with Visual Basic 2008 (Express). But I am trying to find this item for the Toolbox-"MSWebDVD".
Does anybody have, like a download link to get it for VB 2008? If you do provide me with a download link, then I would kindly ask to tell me on how to apply it.
I would like to create a simply shortcut to a specified program. All of the codes I've tried use the WshRunTime library and it seem to throw an exception every time.
View 3 RepliesI 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 RepliesI 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]....
I'm trying to develop a simple program which will show a form with a listbox and a button. The buttom will allow a listbox entry to be selected and close the form. The entry will them be sent to the previous open application.
For example, I could select my postcode from the listbox and have it sent to the currently selected field in my internet browser. Or the current date to my text editor.[code]...
I'm a unviversity student and for an assignment we have to make a simple project where the user specifies a shape and a color, and then the shape is drawn in some kind of space. So like they choose circle, green, and in this blank space on the form a green circle appears, pretty simple. Anyways we have some kind of msdn alliance thing where we can download Visual Studio for academic purposes, so I downloaded Visual Studio 2008. I spent about an hour going through the tool box trying to figure out what could possibly allow me to draw stuff in it, and I'm really not sure what it could be. On some online tutorials it said something about a function on picture boxes like picturebox.Circle(100,100), 100, vbgreen or something similar, and when I tried making a picturebox and writing this code nothing worked. My friend told me to use a 'canvas' but neither of use know how to actually find such a control (its not in the toolbox).[urls]....
View 14 RepliesI'd like to implement some very simple validation into a program I'm writing, but I have no experience in this area, so I'm not sure how to implement it.I'd like one to have one make sure that text entered in to a text box has only regular characters (A-Z, a-z), but I'm not sure how to go about it!
View 3 RepliesI'm trying to make a per-user shell for a Vista box to simplify use of a particular system for my users. I have no problem making a program that I want to use and I am familiar with the process of editin the registry to make my program the users shell but I've run into a snag.
Whenever a user with the custom shell logs on, there is a delay just after they enter their password where the system will sit at "Preparing Desktop" for about 30 seconds. I know for a fact that the user desktop is already made and this shouldn't be taking that long.
I've poked around on the web and see various places saying that winlogon is waiting for the shell to flag a "shell ready" flag of some sort but I am unfamiliar with any such flag.
Anyone know of such a fix for the long login time or anything about a shell ready flag?
I would like to develop a very simple question-answer program whereby there is a user form with a label which contains the question, a text box where the user enters the answer and a button that the user clicks to change to the next question. This should be rather simple but I would like to have about 500 questions in the end (will be slowly adding more questions).
View 19 RepliesFirst I'd like to say I am not fluent in Visual Basic, I down loaded Express 2008 and have easily completed the first few lessons. I have some programing exerpience. I have written a few simple programs with Autolisp for Autocad.Vdraft will only integrate with full blown VB programs. So, Maybe someone can write a simple program using Vdraft api which can be found at :
View 1 RepliesI have loaded my database with one table under "Data Connections" in the "Server Explorer" pane.What is the standard / best-practices way to handle a simple query in a VB ASPX page?
My left <div> would be a set of form elements to filter rows, and when the button is clicked, the main <div> would show the columns I want for the rows returned.
Note: Answers in C# are okay too, I'll just translate.
I just want to be able to click on a commandbutton, menu_item, or maybe even a wizard at program install time, to make the database from scratch.
1) I do not care what type of database it is it is as long as it will run on any pc machine without having other programs installed except the one im creating.
2) I do not want to use access or the designers to create the database either
[code]...
How To Manage A Simple Database
View 1 RepliesI try to keep it short - so far I got an app. which receive, compare and send STRINGs back and forth. Due to the fact that I am not too fit in VB, I realized it via a SELECT/CASE method. But now, I would like to allow user to add new STRINGs from the user plane as well (before it was done by myself). I can imagine, I need a database for it. Which one would do the job best? I need only two columns, where my app. can send a coulmn B string back, after it recognized a column A.
View 7 Replies