20,897 Topics
![]() | |
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 | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 + … | |
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 = … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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. … | |
im new in vb.net please help me to enable and disable form using MDI thank you | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Private Sub Button_Click() Handles Button1.Click, Button2.Click, Button3.Click MsgBox() End Sub | |
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????? | |
Hi, I am having problem with my coding below when I would like to export the data from GridView to Excel Spreadsheet. Appreciate if you could share your valuable comment. Thanks [B]Error Message =[/B] Class 'System.Web.UI.WebControls.GridView' cannot be indexed becasue it has no default property. [B]Error Line[/B] = xlWorkSheet.Cells(i + … | |
I have a problem with MDI forms and their location. I have a container form within which I open several child forms. Also note that in the container form I have a ToolStrip at the top and it is also docked to the top. In each of the child forms … | |
Hey guys. I'ma self learner here. What I'm trying to go is (1.) Check if there is a open web browser (2.) Get the NAME and the full link of the website in the open web browser (and the active tab). Thanks | |
please tell me how to creta a countdown timer in visual basic button1 (buton for start timer) labelsec(Sec lab) labelmin(min lab) labelhr(hours lab) txtsec(textbox for write sec) txtmin(textbox for write min) txthr(textbox for write hour) please tell me how to programming | |
Hello !! Being a newbie for vb.net, I seek your advice in a windows application I am developing. I have a form consisting of datagridview with as checkbox column. Now, when the user selects a row using checkbox, I want a new form to pop-up and the selected rows be … | |
Here is my code to save image in a folder,but i am getting this error(a generic error occurred in gdi+). Could someone please help me? [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click If (Not System.IO.Directory.Exists("d:/posimage")) Then System.IO.Directory.CreateDirectory("d:/posimage") End If PictureBox1.Image.Save("d:/posimage") End sub [/CODE] | |
Could you please tell me how to clear the old data from the datagridview in vb.net.. the below code is retrieving the data from table and display in a gridview for particular person. but when i wanna check the next person record if he dosen't have record so the previous … | |
I have a query regarding On Demand Report in Crystal Report Visual Studio 2008 I have seen queries on this topic but didn't find any solution or i didn't understand the solution. I m asking again pls help me I have a main report having a subreport as a On … | |
Hi, I have a DateTimePicker,whose dateTimePicker1.Format = Time dateTimePicker1.ShowUpDown = True But now i want only the hour part from the Date Time Picker as i have to compare the hours with some logic in my Database. Please Guide how cn i do this? | |
Goodmorning everybody, I want to make a application that read vCard and display all informations in different textbox Thanks in advance, have a nice day... | |
Hello, I am building a web browser with tab control using VB 2010. I have everything working good so now I want to have it save the browser tabs when I shut down the browser and have them re-opened when I run the browser again like Chrome or Firefox would … | |
Hey. I am working on some sort of client + project management system. Each client can have many projects, many projects can have many staff. The Link (Junction) table allows for many staff members to be linked to the projects. I have attached the relationships which have been put together … | |
I have about 30 PictureBox controls on my form and I was wondering how would I be able to calculate the load time for a certain amount of those PictureBox controls. For example, I have 15 on one tab and 15 on the other. How would I create a ProgressBar … | |
Hi, I am a new one to vb 2005. I dont know how to filter the datagridview with the 2 datetimepicker control one for start date and another one for end date. I want to search the dates based on the datevalue of the data in one coloumn. Any one … | |
i have login form which is form2 i have another form which is form1 the form1 should come only once that to when i install this application in the new machine after that it should not come again only thing is when we click on the linkedlabel which is in … | |
![]() | Went to sort a dictionary today and found that MyDictionary.Sort wasn't there. Heres a method to sort a dictionary by value. [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Non sorted Dictionary Dim Dictionary As New Dictionary(Of Integer, String) Dictionary.Add(1, "Greg") Dictionary.Add(2, "Marsha") Dictionary.Add(3, "Peter") … ![]() |
I'm trying to learn how to create plugins, the only problem is my friend only knows .NET, I know C# and can partially read .NET. Is there anyone in this section that can convert this all over to C# for me so I can truly study it? [code]Public Interface IPlugin … | |
hi guys, upon form load my datagridview is populated with data from an sql table. The datagridview has 3 columns Name, Amount and Cost. The Cost and Amount fields are have Zero as their default values. Whenever the user enters new values in those 2 fields i am using the … | |
Guys, there is this program of mine which I downloaded from the Internet and modified thereafter. It runs smoothly in my Visual Studio 2008 IDE, but when I deploy it, it does not save the video. When I ran it back using my IDE, it saves the video that it … | |
Anyone here who knows how to convert system month,Day,Hour,Minutes,Seconds each into number format like month=12 (If December) Day=30 Hour=12 (In 24 hour format) Minutes=55 Seconds=45 Thanks for help in advance... | |
Hy Guys! PLease Help Me on the following problem. How can i do the next thing? I want to know what's the data in a textfile's line. If i'v got the line number. For example: [COLOR="Green"]variable line_number = 5 In the c:\test.txt on the 5th line the data is "Washington" … |
The End.