19,729 Topics

Member Avatar for
Member Avatar for GBignell

Hi, can anyone advise how to make a button run code only while it is pressed? Basically I have found this code on the Net for changing the system volume, but you have to keep clicking on the buttons to change the volume. I want to be able to hold …

Member Avatar for GBignell
0
180
Member Avatar for vasim jada

dear frnds, i got vs 2008 proffessional edition i want to instal but unable and shows error report for temp file in local settings folder n

Member Avatar for vasim jada
-1
111
Member Avatar for discovery-power

Hi All, I need some help in understanding something. I have an existing database and I make some changes in Sql Server Management Studio, how can I adapt those changes in the Visual Basic project. As an example if I change a table name in Sql Server Management Studio how …

Member Avatar for discovery-power
0
93
Member Avatar for discovery-power

Hi All, My wife is into the slimming world diet and has magazines with her favorite diets marked, so I decided to write her a desktop application so she can save all her recepies and tidy all those magazines. So please see my code for my breakfast form below [CODE] …

Member Avatar for Reverend Jim
0
122
Member Avatar for PdotWang

I want to create 100 buttons in a Form. This is what I just tested. When you finish the following steps, you will see it is very nice. Enjoy. Step 1, Create a Form called Form1. Step 2, Add a TableLayoutPanel called TableLayoutPanel1. Step 3, Make it 10 X 10 …

Member Avatar for jaimin4829
2
896
Member Avatar for Hawk123

Hello, I'm a newbie in vb :D however with all the information and help this forum had provided i reach this far with my code BUT i can't proceed anymore. I'm trying to make a small software which will help me in my work. I can't get it to work …

Member Avatar for poojavb
0
236
Member Avatar for raygunpunx

I am having trouble setting up these classes. I need to set up a customer collection class that has one function GetCustomer(ByVal customerNumber As Integer) As Customer The customer class reads a file and returns 5 fields and x number of records. My question is do I set up the …

Member Avatar for raygunpunx
0
125
Member Avatar for roottybrian

Am trying to restore a MySQL database using the 'mysql -u root db < my_db' command. In vb's process.start. it gives me the default output you get when you type MySQL - help. Can someone tell me what's up. I guess it cannot see the < symbol. Regards.

Member Avatar for roottybrian
0
112
Member Avatar for devilking

i use vb.net i trying to do a file upload, i want to image to save to image folder, however, the image don't know appear in the directory that i indicate if i click on "show all file", the image appear, but the image icon is blank or white like …

Member Avatar for devilking
0
312
Member Avatar for awmantonio

HI guys! I have a listview that shows all the installment amount of an item. I have a button that calculates each amount when the amount paid is entered in a textbox. With this, how can I code it deduct to the next amount if the paid amount is greater …

0
51
Member Avatar for abhit_kumar

Dear All, following is the code at button event which copy data from one DGV (dgvAccesList) to another DGV (dgvProbReport) and its working properly. Its paste data to 3rd and 4th column of destination DGV. But the problem is that, if at source DGV first column and second column have …

Member Avatar for abhit_kumar
0
80
Member Avatar for bilal_fazlani

I saw the adobe pdf viewer control in vs2010 toolbox somewhere. and I thought it can be very useful. So I tried to add it. [url]http://img155.imageshack.us/img155/3349/choosetoolboxitems.jpg[/url] as I expected things are never simple for me, when I try to drag it to the form. there'a an error. [url]http://img214.imageshack.us/img214/8042/errorrp.jpg[/url] any idea …

Member Avatar for bilal_fazlani
0
2K
Member Avatar for ng5

I'm writing a program in visual basic 2010 express and i have a combo box. in that combo box there are 3 selections 20 25 and 30. at first i had a percent sign in front of each but i wanted to take it out... so i took out the …

Member Avatar for ng5
0
344
Member Avatar for khizer03

in a form i have a listbox which has many items and one button,when we execute the project and while execution when i click a items from the listbox it will display the clicked item on the button but the problem i have is how to display the same clicked …

Member Avatar for codeorder
2
259
Member Avatar for tashee2007

Hi ALL, Can anyone tell me how to validate the text box value? I have one class with function for validating the duplicate value of sql table. Function: [code] Imports System.Data Imports System.Data.OleDb Imports System.Windows.Forms Public Class vDesignationSetup Dim oFunc As New hrSQLConn.SQLConnection Dim strINIPath As String = Application.StartupPath + …

Member Avatar for tashee2007
0
220
Member Avatar for Mike Bishop

can anyone please help me with my update statement, i am trying to update a row within a access 2007 database here is my code. [CODE] Dim con As New OleDb.OleDbConnection Dim cmd As New OleDb.OleDbCommand Try con.ConnectionString = "Provider=Microsoft.Ace.OLEDB.12.0;Data Source=" & Database & ";Persist Security Info=False" con.Open() cmd.Connection = …

Member Avatar for hericles
0
480
Member Avatar for KillerOfDN

Hey guys/girls... I am looking to constantly check to see if a variables value has changed. An example below might be simular ' If the value of this variable ever changes - perform some action Dim str As String = "" However, using a timer seems inefficient as I have …

Member Avatar for elbakai
0
11K
Member Avatar for bangor_boy

Please help before i go mad, i need to use the update in the main class to access the list in the footballadmin and then display each in a list box but i cant get it to work. [CODE]Imports Football Public Class FootballAdmin Private fTeam As List(Of FootballTeams) Public Sub …

Member Avatar for bangor_boy
0
192
Member Avatar for kothaisaravan

Hi, Can anyone help me about hiding gridlines in excel sheet using VB.NET. I need to hide gridlines while exporting to excel from VB.NET. Thanks.

Member Avatar for adam_k
0
224
Member Avatar for Sophiron

I have a VB.net application that gets data off our server with ODBC and populates and saves a Word Document. When I try to deploy it to another computer it will get the data just fine and populate the first document, but it will crash before saving it. I've installed …

Member Avatar for Sophiron
0
124
Member Avatar for Pittpitu

Hi guys, I am trying to make a small application for the company I work for. The application has to be able to make a floor plan for a casino. The casino has to create the map of where all the slot machines are located and if you double click …

0
86
Member Avatar for Riteman

Am deciding to create a Personal Banking software that manages some 3-4 bank accounts. I know to interlink the Access database. According to Personal Banking, the concept is that one person may have accounts in 2 or 3 banks. So Personal Banking software helps one to manage all 2/3 accounts. …

Member Avatar for Riteman
0
306
Member Avatar for acidburnxxiii
Member Avatar for srm2010

I have an Mdiform which with help of menustrip opens Form1. From this form(Form1) I open another form i.e Form2.which I want also to be a part of my mdiform I created property of mdiform and mapped it in my form2 when it loads.but still it does not become a …

Member Avatar for Pgmer
0
198
Member Avatar for nivarshn

My application is in VB.NET and environment is Window XP. We are using WebBrowser control to display data of Word doc files i.e. we are opening word files always inside the WebBrowser control and then modifying word file using bookmarks by VB code.Our VB code is perfectly working. We are …

0
44
Member Avatar for shann1718

hello guys im a newbie started studying vb.net 2010 on last week of december 2011. in my first form i have a datagrid havng access 2003 as db. on my second form i have textboxes. now what i need to do is when i clicked a specific row of my …

Member Avatar for M.Waqas Aslam
0
122
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 and coded in Vb.net. I have my database in Sql Server 2005.I have a Database table say Table1 in My Database named Test. Now i want to export the data in Table1 to a MS-Excel(.xls) file on the click of a button. An excel …

Member Avatar for Pgmer
0
1K
Member Avatar for dobson1953

I have coded the following which works [CODE]Public Sub bBetStatus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bBetStatus.Click GetBetStatus(104604222) 'Call getMUBets End Sub Public Sub GetBetStatus(ByVal YourMarket As Integer) Dim Req As New BFUK.GetMUBetsReq With Req .header = oHeaderUK() 'The standard header .marketId = 104604222 'The market of interest …

Member Avatar for Reverend Jim
0
101
Member Avatar for sanket044

Private Sub Button_Click() Handles Button1.Click, Button2.Click, Button3.Click MsgBox() End Sub

Member Avatar for Reverend Jim
0
116
Member Avatar for sanket044

Private Sub Button_Click() Handles Button1.Click, Button2.Click, Button3.Click [INDENT]MsgBox()[/INDENT] End Sub Can anyone say me how can we print that which button is clicked?????

Member Avatar for Reverend Jim
0
632

The End.