20,285 Topics

Member Avatar for
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
195
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
242
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
129
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
90
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
309
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
203
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
47
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
124
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
106
Member Avatar for sanket044

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

Member Avatar for Reverend Jim
0
122
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
754
Member Avatar for Rox Vi

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

Member Avatar for Reverend Jim
0
454
Member Avatar for anilgupte

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 …

0
80
Member Avatar for Dwayne1976

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

-1
40
Member Avatar for leutrim

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

Member Avatar for adam_k
0
334
Member Avatar for Ruchi224

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 …

Member Avatar for Pgmer
0
1K
Member Avatar for prathapsv3

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]

Member Avatar for Pgmer
0
2K
Member Avatar for geoamins2

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 …

Member Avatar for pritesh2010
0
5K
Member Avatar for jugnu

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 …

Member Avatar for jugnu
0
145
Member Avatar for Ehtesham Siddiq

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?

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for NewUserVB.Net

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

Member Avatar for NewUserVB.Net
0
164
Member Avatar for thing2

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 …

Member Avatar for codeorder
0
571
Member Avatar for daveydrake

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 …

Member Avatar for daveydrake
0
245
Member Avatar for NetJunkie

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 …

Member Avatar for M.Waqas Aslam
0
211
Member Avatar for vijaycare

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 …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for skp03

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 …

Member Avatar for M.Waqas Aslam
1
138
Member Avatar for Unhnd_Exception

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") …

Member Avatar for Unhnd_Exception
0
2K
Member Avatar for lxXTaCoXxl

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 …

Member Avatar for lxXTaCoXxl
0
193
Member Avatar for GTTravis

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 …

Member Avatar for thines01
0
98
Member Avatar for markdean.expres

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 …

0
73
Member Avatar for archelle

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

Member Avatar for archelle
0
135
Member Avatar for Karpati

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

Member Avatar for Reverend Jim
0
301
Member Avatar for aquamarine_kath

I am writing a program that manipulates text file using console application. What I want to do is to delete 1 specific line based on the ID entered by the user. For example: DR-01|Coke|25.80 DR-02|Sprite|25.80 DR-03|Sarsi|25.80 DR-04|Coke|25.80 When the user entered DR-02, the result would be like this: DR-01|Coke|25.80 DR-03|Sarsi|25.80 …

Member Avatar for aquamarine_kath
0
691
Member Avatar for Hiddenshadows57

First, I did search the forum and I found a few topics about this but none of the information seemed to be applicable to what I'm doing. Anyways. What I'm working on now is a basic telephone directory. a Directory text file contains the names of all of the subdirectories. …

Member Avatar for thines01
0
147
Member Avatar for lbgladson

How do I get the console from closing immediatley upon opening in a Console Application program? I have all of the code written but when I run the program it pops up the console window and then immediatley exits so I am unable to read what is in the window …

Member Avatar for Begginnerdev
0
252
Member Avatar for VIPER5646

Hi all In the following Sub I'm sending an Attachment when the email has been sent I would like to delete the attachment but I get an system.IO.IOException Error. the file I'm trying to delete is being used by another process. How can I detect if the process has finished. …

Member Avatar for VIPER5646
0
655
Member Avatar for Jimboo

Hi, I have a problem creating correct extra methods for a piece of fixed code. I should write 3 methods I assume for this code. Fixed code: [CODE]Module NumberArrays Sub Main() Dim count As Integer = 0 Dim values(1) As Integer Do PrintValues(values, count) ' Console.Write("Value ? : ") Dim …

0
45
Member Avatar for slowly_but_sure

[B]I was trying to create an application implementing the Douglas Peucker algorithm in VB.NET. I already finished coding the program and tried to compile it but when I try to draw on the form, it is not working. My source code is below, I just want to ask if there …

Member Avatar for slowly_but_sure
0
702
Member Avatar for AquaNut

Hi Y'all, I have a RTB which I import with a set of 7 or 9 didit numbers, 7 for Staff and 9 for Students. e.g. Staff numbers 0628189 0628191 0629991 0629850 0804930 and depending on what is selected in a list box ('Student' or 'Staff') will generate a string …

Member Avatar for AquaNut
0
483
Member Avatar for sidyusuf

hi frnds , i have a combobox containing countries name and their codes like INDIA:CNT001 then i have a textbox that store the code of country i.e CNT001(fetching from database) Now i want to match that code with the combobox code so that the combobox is set to that item …

Member Avatar for NewUserVB.Net
0
603
Member Avatar for NewUserVB.Net

Goodmorning everybody, here i am wanting to make a Login System that uses Usercontrol. I have a label left and right i have a panel. in this panel i want to add usercontrol for all users that has one account in the application. this are some examples (Windos XP Login) …

Member Avatar for codeorder
0
175
Member Avatar for NewUserVB.Net

Good Day everybody, I am wanting to make a program in VB.NET that has many files.doc in a specific folder. This program has on top a textbox(txtSearch) with a button(btnSearch) under that this has two listbox(lstOption, lstResult), that are floating a left, one richtextbox(rtbDoc) that is floating a right. I …

Member Avatar for codeorder
0
685
Member Avatar for Jake.20

We're having a problem on computing the grade average [CODE]Dim hwTotal, swTotal, quizzes, project, midTerm, totalAverage, Finals, Attendance As Double[/CODE] [CODE]hwTotal = Val(hw1.Text) + Val(hw2.Text) + Val(hw3.Text) + Val(hw4.Text) + Val(hw5.Text) / 50 * 100 * 0.1 swTotal = Val(sw1.Text) + Val(sw2.Text) + Val(sw3.Text) + Val(hw4.Text) + Val(hw5.Text) / 50 …

Member Avatar for codeorder
0
155
Member Avatar for deeptiarora

Hi can we create an exe file in vb.net and used it anywhere we want without using any .net framework. deepti

Member Avatar for studsSW
0
453
Member Avatar for AquaNut

Hi Coders, I have a minor problem that I would like to try and resolve. I am pasting data from an Excel spreadsheet and and adding a 0 to the start of each 9 digit string it's it's missing (thanks to the help of Rev Jim. This works great if …

Member Avatar for AquaNut
0
208
Member Avatar for Jack Eagles1

Hey Guys, I've been working on some autocomplete abilities for a webbrowser I'm building, rather like in IE or Firefox. This is what I mean: [url]http://content.screencast.com/users/JackEagles1/folders/Snagit/media/509d42db-a0bd-4077-81c2-2783d0466e04/12.25.2011-21.18.04.png[/url] I have absolutely everything working - adding search providers from webpages, getting the search suggestions as an XML file from whatever provider may be …

Member Avatar for NewUserVB.Net
0
180
Member Avatar for gtsrit

data not save on the strGno, is there is another way to do this? Dim connetionString As String Dim strSQL As String Dim conn As SqlConnection Dim ds As New DataSet Dim strGNo As New TextBox strSQL = " Select * From DocNos Where DocId='" & Trim(Doctype) & "' " …

0
48

The End.