VB & Database Advanced ?
Mar 23, 2012
I have a university assignment, The problem, well.. in the short anyway; i have this form which is for placing orders. There is an "add product" command and next to it a list box. what I would LIKE to achieve is being able to click on add and then a query would come up asking for the user to input a product ID then check either yes or cancel. once that is done, I would like the database to search products by ID (obviously) and then display the product in the list box. the list box may contain up to 5 products and no more. there is also functions to remove individual products from the list box as well as clear the list box all together. in addition to this mammoth task, I also have a label which requires a total price. this would be the price of all the items in the list box, not in the database.
View 3 Replies
ADVERTISEMENT
Apr 7, 2010
i am trying to build a Visual Basic program with an Access 2007 database in the back. I have another Access 2007 database with two tables stored in there. Each table has two columns, a UserID and Password column. This database will be used with a LoginForm so that if the user enters a normal login and password they will be taken to a specific form whereas if they enter an AdminID and password they will be taken to another form with different features. I managed to connect to the database and it works fine but i tried making the passwords and user names case sensitive for better security. I don't have a problem with this when i try only one of the tables, but when i try to implement the second table (to check if the login is an admin or a normal user)
View 9 Replies
Oct 19, 2011
Im looking to make an advanced drawing program in vb.net as a bit of a project to occupy my time.im looking to make one pretty much like Paint but with gradients and other features, but im at a loss as to where to find such a tutorial.
View 3 Replies
Mar 12, 2009
here is a code i made for a tabbed web browser but i have a probem i want the tabs to write the name of the site that you visit?
Public Class Form1
Dim i As Integer = 1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim browse As New WebBrowser
[code]....
View 6 Replies
Oct 21, 2010
I have two tables:Orders OrderProducts - An order can have 1 to many orderProducts records associated with it.What I am trying to do (unsuccessfully) is to implement a GridView search using a LinqDataSource wherein the search returns Order results where any of the OrderProduct.Manufacturer columns contain a search query.
I was hoping the following would work, however it seems lambda expressions do not work within a Where clause of a LinqDataSource (in VB):
[Code]...
how to get this working within the LinqDataSource definition, or will I have to handle and set up a custom OnSelecting event?
View 1 Replies
Aug 16, 2009
Put some advanced Games on Form?
View 3 Replies
Jul 14, 2009
I'm working on a project that users can add new tabs, buttons, textboxes, Excel forms(existing or new) or sth. else to the application. How could it be possible to save these changes?
P.S. : I started to learn SQL usage, and planning to use SQL in my project to save additional inforamtion that users have added.(for example informations about team members)
View 2 Replies
Dec 7, 2011
I've got this control: [URL].. and I'd like to use the advanced autocomplete feature in VB.
View 6 Replies
Dec 20, 2009
i have an advanced web browser and i would like some codes.It has unlimited tabs but i have a few problems.when i click a link that open in a new window,it open it with internet explorer.When i add a tab and i go to msn.com and other sites,the document title is very long and one tab is the 50% of the webbrowsers tabcontrol tab page text.it's too long!I got an error while i was trying to set the selected tabs text length with a message telling:property length is readonly.If ComboBox1.Text.EndsWith(".swf") Then i want the selected tab to get filled by an axschockwaveflashobject at dock style.A code that makes an .mp3 link to open with an axwindowsmediaplayer on a new tab or at the current tab and a code for bookmark menu that keeps them after program close for the next use.I saw a video about the bookmarks,but i didn't understand lots from it.url...
View 2 Replies
May 11, 2011
at the beginning sorry for my english (=. Ok, I have two questions:
View 2 Replies
Oct 14, 2010
what I've been reading the past 2 weeks and I want to make a Multi File Downloader.y goal is to have a TabControl, inside each Tab I'll have about 3 to 5 (maybe 7) CheckBoxes, each CheckBox is tied to a TextBox where the url goes (I attached the GUI I have so far so you can see better how I want it to be).Now so far the downloader is working fine, I can download whatever I have in those TextBoxes and it is downloading it only when CheckBox is checked.Here's my problem I want it to be a MULTIdownloader lol not a single file downloader like it is acting right now.
So my question is how can I do so when I check 2 or more CheckBoxes it starts downloading the files (it doesn't have to be simultaneity, it can start downloading the first one then the 2nd one etc).Also how can I identify which CheckBoxes are checked and which ones not?
Right now I am using If/ElseIf to control the CheckBoxes but I wonder if there is a better way to do it, because I only have 2 CheckBoxes so far, to test and if I do it like I am now it's gonna be a loooong code.Here's what I have.
Private Sub btn_download_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_download.Click If CheckBox1.Checked = False AndAlso[code]....
If is too complicated how could I do so everything saves in the same location as the downloader is?I've been reading around the forum also the microsoft documentation about VS 2010 (I'm not gonna lie, I haven't read the whole thing,
View 3 Replies
Dec 8, 2010
i created a simple advanced search page for web application, i thought sharing it with you might help beginners the following is an example of an advanced search page for an employee database using VB.Net [code]
View 1 Replies
Aug 10, 2010
I made a change to my program this morning which worked properly before. The Targetframework was set to 3.5 and I thought let's set it to 3.0 that threw in some errors so I changed it back to 3.5.. however that's giving me an error as well now :S This is the error:
module 'Resources' and module 'Resources', declared in'C:mijnmapmijnmap2Resources. Designer .vb', conflict in namespace 'Resources'. and it's pointing to the dovents line
View 2 Replies
Oct 18, 2011
I need to run a small piece of java code (java is the only option in this case) I have the jar file in the VB.net resources as JSSMCL(the extension is not required to run it, of this I am sure :P) I know I use Path.GetFullPath(My.Resources.ResourceManager.BaseName) but no mater how i do it it fails, i have tried so many ways i have lost count! this is the command that i need to run:
java -cp "JSSMCL.jar" net.minecraft.MinecraftLauncher username false
View 2 Replies
Nov 27, 2011
I want to create an Advanced Media Player.How Can I to create an Windows Media Player without Controls ? I wan't to create my own controls ....
View 2 Replies
Apr 10, 2010
I have a server program. It logs all of the lines on the console textbox in their proper folder, named by their type: Logs\Year\Month\Day\Errors.txt There are about 7 types that it logs. All of these show up in the console window. However, I have check boxes that I want to toggle the types that show up in the console window on and off. For example if I want to hide the Error and System types, I want the rest of the types to show. I know I can do this simply, but if I re-check the boxes to show the System types as well with the others, I want it to show the logs in their proper place in the console window, and that I cannot figure out how to do.I am stuck on this problem and cannot figure it out. I know it involves much more than an If statement to display the types correctly in the right place on the console. Please help me out with some idea of what I need to do.
View 14 Replies
May 10, 2011
I'm trying to write code to download from an FTP site. I got it to work in some cases - mostly text files, but when the reader reads a value greater than 256 it seems to have difficulty. Right now I'm trying with a ZIP file, and the file downloads, but always says, 'File is Corrupted' when I try to open it.
[Code]...
View 1 Replies
Oct 6, 2009
I posted this thread a few days ago:[URL]..And you all just really helped finishing this class! Shaggy_Hiker advice was really Been working on this class for a time now I decided to finally publish it This class allows you to create your own TicTacToe game easily with this class. I know it's not so useful for your projects but hey, I had my time!
[Code]...
View 5 Replies
Mar 20, 2009
Say I create a new button on a form through
Dim Button2 As New Button()
Button2.Text = "My new button"
Button2.Size = New Size(100, 100)
[code].....
View 8 Replies
Nov 1, 2011
I have textbox1.text ( multiline) that is filled with data from a external .txt file. On each line of textbox1.text i have the folowing data:50ABCDEFGHIhsfgsdf60JKLMNOJ55JK4
I need a way to display in my second textbox ( textbox2.text - multiline also) on each line the fallowing data: "NUMBER1" & ABCDEFGHI & "NUMBER2" & JKLMNO So basically i need to find the "50" string,remove it, read "9" characters after it, same goes with 60 and JKLMNO I have a undefined non-fix numbers of lines in textbox.text1
View 3 Replies
Feb 18, 2010
I'm coding an advanced web browser. The bad thing is, is that whenever you move your cursor over the window, a wait cursor is displayed. I tried to deselect the wait cursor but it doesn't work! I'm using Visual Basic 2010 Beta 2...
View 1 Replies
Apr 5, 2011
so instead of when i build my project running the advanced installer t make it a exe i just went to my visual basic projects folder and ran it from there and it worked good, so i though if i make a zip file the files in it password protect, and just leave out the startup icon then my users can just click that to use my program while not being aloud into the source code, but after i zipped the folder the program doesnt work anymore, any way to do this?
View 22 Replies
Jul 21, 2011
I have added a Microsoft RDP Client Control to a form in my Visual Basic project and I have called it rdpClient.
Under the form load event is:
rdpClient.server = "My_Server"
rdpClient.AdvancedSettings6.ConnectToAdministerServer = False
rdpClient.Connect()
When I run the application, the RDP session is connected but it always connects as a console session (admin). It doesn't matter what I set AdvancedSettings6.ConnectToAdministerServer to. It always connects the same way.
I need to be able to get a remote desktop session to a Windows 2008 R2 server without kicking out a user who is working on the console.
View 9 Replies
May 17, 2012
I am currently working on a project in VB.net that requires the advanced power settings of the client's system to be set to allow wake up timers for when the system sleeps. Please I have been looking around for the solution. I desperately need it.
View 1 Replies
Dec 23, 2010
I have a school project due in January to make a program in vb. The problem i'm encountering is making the actual login system. I only started using vb last year and that was purely console applications. So I am completely new to forms and I don't know ANYTHING...
The login system should be complex to an extent that it shouldn't just be a simple if statement. I have to make it so that users can create an account and that username and login will save somewhere where no one can access but vb can read from and to that directory.[code]...
View 10 Replies
Jan 26, 2011
I Want to make an advanced downlaod manager with progress bar , Resume capability in vb.net 2008.I have seen manay tutorials . 3 on Codeproject which use httpwebrequest,httpwebresponse classes and rest on youtube which use httpwebclient class
I want to know the easiest way to make an advanced download manager with vb.net and most importantly it should have the resume capability
View 1 Replies
Apr 18, 2011
Rather complicated question here. I am improving the text coloring in my custom RTB ontrol, and it is pretty simple:Quote:1. Disable drawing (SetDrawing(False))2. Get current selection
3. Select lines to colorize4. Process selection RTa Font object.
View 2 Replies
Mar 30, 2011
I had recently(2 months before ) found some code for locking the screen. Here's the link to that code submission in our CodeBank : [URL]
I wish to get a clear idea of what it actually does. As it is a bit advanced code for me.
Here's the main part of the
CODE:
View 6 Replies
Aug 4, 2011
i am using FolderBrowserDialog to open a folder in my project.Every time user has to traverse through many subfolders, so is there any advanced folderbrowserdialog control to paste the folder path directly?
i have seen this API,but its not much good look in vs 2010 project.
View 3 Replies
Sep 19, 2009
I have an advanced word processor and I need to add a ruler. I have searched the web and cant seem to find just the ruler control in inches.
View 4 Replies