20,278 Topics
| |
[CODE]If ListView1.SelectedItems.Count = 0 Then MsgBox("Plese Select a Product") Else Dim price As Double Dim quantity As Integer Dim total As Double price = ListView1.FocusedItem.SubItems(3).Text quantity = ListView1.FocusedItem.SubItems(2).Text If txtProductName.Text = "Happy" Then If txtQuantity2.Text > 20 Then total = price * Val(txtQuantity2.Text) * 0.95 total = Format(total, "0.00") execute("insert … | |
First of all I want to thank "codeorder" for sharing me this code.. [CODE]Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click With Form2 .TabControl1.SelectedTab = .TabPage2 .ShowDialog() End With End Sub[/CODE] This code actually works in normal windows form but when I try to implement this code to … | |
Hello.. I am using MS Access 2003 and vb.net to develop a windows application of inventory management. I have used datagridview in the form and using FillBytoolstrip option, can filter data using type. But i have no idea as to how can i update the database to reflect the latest … | |
hi i have a program and i need to take some images and add some points lines or something with layer system and i wanna save my picture and layers couse i can delete my lines or points. so i have some questions for my program thx for read and … | |
I designed an application with vb2010 and i would like it to run on a Windows XP platform without the trouble of installing the .NET framework 4.0 and the VBPowerpacks module. I tried copying the DLL files of what i needed and placing them in the application folder, but it … | |
Hi, I have a datagridview on my form.There is a column of roll no in the datagridview. I want that whenever user presses anyother key than a number key(ex:1,2,3,4....)than immediately i should get a messagebox that only numbers allowed. I have tried the below code on datagridView Cellvalidation event but … | |
Hi, my problem is, I have set the parameter to be 150 in the database. and the alert triggered should refer to the parameter value. if the calculation result exceeds the parameter value, it will turn the box to red colour. however, i notice that it only compares the first … | |
So I have these two forms. On the 1st form, I have a button and on the 2nd form, I put a tabindex and created a two tab pages. If I click the the button, I want to go to the 2nd tabpage. here's my code.. TabPages2.show() It doesn't work … | |
Hello again. On topic, haha, I am using VB 2008, then I noticed that with the Provider.Oledb.12.ACE = database.accdb whatever connection string uses the bin/debug/database.accdb file when I connect my program with a database. Suddenly, a database with the same name appeared on the lets say "WindowsApplication1" folder. Then whenever … | |
Hey Guys, Im a young programmer from Dominican Republic and im wondering how do I add data from my database to my datagridview.I know how to add it when the datagrid is empty but I want to add the data to two existing columns in my grid.When I add it … | |
hi to all.. just a new member here & also a beginner in VB.NET.. we were assigned to make a payroll system and we've done most of its part.. but still there are big problems: computation of tax and print employee information.. well, the employee information is really long so … | |
I have what would seem to be a simple problem, but I can't get it. To save screen space, I'm trying to create a simple autohide window using a panel control, which will slide open and closed on the MouseEnter and MouseLeave events. For example, here's what I have on … | |
how calculate items in different discount plz help | |
hello folks, can any one please tell me what software can me downloaded to make my own .swf files. i.e flash files........ thank you | |
Hi. I have a bounded datagridview and it's work fine. I want to know if I can to add a combobox column to datagridview. Thanks for all. | |
hi. i'm doing a search option in my system where if your searching for a entry even if you didnt typed the whole word, all of the entry that contains the letters that you have typed will appear, well i really cant explain it but it goes like this if … | |
Hello I'm a somewhat VB.2008 (Express) newbie, and would like to write a simple application to let users record a voice file, and send it to a remote web server. In effect, I'd like to combine Windows' Sound Recorder and an FTP client. I'm having two issues: 1. The OvalShape … | |
Hello, I have produced some VBA in Access that creates a spreadsheet. I have also created an SQL query that retrieves records from an Access table. I have 48 tables (each table for a specific institution centre). I have created another bit of VBA code that creates a spreadsheet and … | |
Hi guys. I would just like to know if there is a way to integrate a progressbar that shows the progress of the process? I mean when process.Start is activated, that's when the progressbar starts to load until and stops only when process.HasExited. I hope someone can help. Thanks. | |
When you are generating report in your application then everytime you run it then it will automatically create temp files. To avoid these junk files you have to kill the TEMP files. Code Syntax: KILL "Directory\Temp filename" Sample (delete all temp files): KILL "D:\OMI FILES\Project\*.TMP" Sample (specific temp file): KILL … | |
Hello everyone this will be my first post. I am happy that there is a forum like this with very supportive people.:) So on topic.. I am a student creating an Inventory System software for my school using VB on VS 2008. I am having trouble saving items from a … | |
hi frnds, i have a datagridview with checkbox column including some others columns,my problem is that i want to make the datagrid noneditable except checkbox column..how do accomplish this task?????? my second question is that i have roll no column in datagridview.i m able to generate roll no through looping … | |
Hi i'm doing a project and i need help. I'm designing a system, whereby am unable to use 2 different login authorities, which are Admin and Non-Admin. I am using VB.NET and Ms. Access and need help for the codes. I want something like, if i click on admin/non admin … | |
Is there an element of the treeview object that will hold the original path & can be recalled later without it being shown in the tree. If I only had one treeview I would not have a problem, I have several on the form & all use common sub/functions in … | |
The child nodes are there when first populated but when drives are changed or re loaded a second time, that is when they are missing, so how do I reset the nodes to show child nodes every time This is my code, can anybody see a problem, any help much … | |
Hi. I would just like to know if there is a way to embed a VLC media player inside windows form in visual basic 2010? Thanks. | |
I'm interested in learning about memorystreams, streaming of bytes , byte arrays, buffers, ftp and how network streaming works, where can I learn this? Things like dim buffer as byte(3000) or dim fs as filelstream = file.read if fs > 0 then I think you understand what I mean, thanks! | |
hi...i m again here... i have a datagridview on a form which contains studentname (in alphabetical order) and a blank rollno field according to the particular class.Now what i m suppose to do is to assign roll no on button click, starting from first student to last student. Roll no … | |
I know i'm probably goin about this bassackwards. But, window is loaded, binded textboxes get filled, user edits textboxes and clicks a save button it works, all except crashing with a "vb.net 2010 Concurrency violation: the UpdateCommand affected 0 of the expected 1 records." most of the time but the … | |
Hi friends...can any one suggest me a solution for accessing the Excel work books using the Microsoft Excel API in VB.net?I have to parse through the excel work sheets and find the position of a particular column in the sheet... |
The End.