20,278 Topics

Member Avatar for
Member Avatar for anonimous

[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 …

Member Avatar for Capritarius21
0
111
Member Avatar for jefroxnergal

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 …

Member Avatar for jefroxnergal
0
237
Member Avatar for Ruchi224

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 …

Member Avatar for Phasma
0
606
Member Avatar for Oneryavuz

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 …

Member Avatar for Oneryavuz
0
80
Member Avatar for juniorsilver

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 …

Member Avatar for juniorsilver
0
205
Member Avatar for Ehtesham Siddiq

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 …

Member Avatar for Ehtesham Siddiq
0
1K
Member Avatar for violette

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 …

Member Avatar for Pgmer
0
99
Member Avatar for jefroxnergal

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 …

Member Avatar for jefroxnergal
0
91
Member Avatar for bunik34

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 …

Member Avatar for bunik34
0
141
Member Avatar for acepeda

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 …

Member Avatar for Mitja Bonca
0
148
Member Avatar for johnny21

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 …

0
102
Member Avatar for justMarshall

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 …

Member Avatar for justMarshall
0
602
Member Avatar for anonimous
Member Avatar for aadi_capri

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

Member Avatar for NetJunkie
0
162
Member Avatar for alinutzu

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.

Member Avatar for riteshbest
0
171
Member Avatar for iefilec

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 …

Member Avatar for Mitja Bonca
0
252
Member Avatar for Winfried

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 …

0
48
Member Avatar for dwinn

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 …

Member Avatar for dwinn
0
138
Member Avatar for casey_sunako

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.

Member Avatar for Teme64
0
505
Member Avatar for Capritarius21

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 …

Member Avatar for Capritarius21
0
194
Member Avatar for bunik34

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 …

Member Avatar for Alexpap
0
194
Member Avatar for sidyusuf

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 …

Member Avatar for Phasma
0
116
Member Avatar for Jollyyy100

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 …

Member Avatar for maccinelyro
0
855
Member Avatar for x38class

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 …

Member Avatar for Teme64
0
496
Member Avatar for x38class

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 …

Member Avatar for x38class
0
227
Member Avatar for casey_sunako

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.

Member Avatar for casey_sunako
0
208
Member Avatar for [Prototype]

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!

Member Avatar for Teme64
0
117
Member Avatar for sidyusuf

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 …

Member Avatar for sidyusuf
0
241
Member Avatar for Smalls

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 …

Member Avatar for Smalls
0
186
Member Avatar for deepanbecse

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...

Member Avatar for Reverend Jim
0
1K

The End.