20,899 Topics

Member Avatar for
Member Avatar for Begginnerdev

Hello my fellow Danniwebbers, I am going crazy here. I have been messing around with the scanning packages(WIA and TWAIN) and have gotten WIA to work, but not as intended. At first I used the common dialog to show a Image Aquisition Wizard, but that did not return desired results. …

Member Avatar for Begginnerdev
0
907
Member Avatar for jhedonghae

![maintenance](/attachments/small/3/maintenance.png "align-left") i have here below codes of my maintenance module..my problem is that when i click the edit button and search for student number it makes error in saving but when i use the listview to edit it saves successfully...please help me i'll be attaching a sample screenshot here's …

0
77
Member Avatar for kampao00

i have codes for adding data to listview from database but there's a problem .. Public Sub showmyrecords() Dim lvi As ListViewItem Dim dt As New DataTable Dim ds As New DataSet ' Dim intCount As Integer ds.Tables.Add(dt) Dim da As New OleDbDataAdapter("Select * from Schedulings where YearLevels = '" …

Member Avatar for kampao00
0
147
Member Avatar for darthswift00

I wana know how can i use a value from a sql table that i added from another form? It basically supposed to validate that whatever was the last recorded added in the other form(eg formA) , i must then use those same values from the sql , into another …

Member Avatar for Reverend Jim
0
3K
Member Avatar for dejanc

Hello daniweb, Need someone to show how to get value from gridview column into textbox. For example if I have EmailGridview with 2 columns ID, and EMAIL. And would like under gridview to show Email value also in textbox. I'm still learning vb.net, and I was trying to do many …

Member Avatar for poojavb
0
3K
Member Avatar for raheel88

Hi all, I'm a VB newbie in this respect so please be patient with me! I have an app that requires the user to input a bunch of values for various things in textboxes, datagridviews and propertygrids. I want this user input to be written to a text file in …

Member Avatar for raheel88
0
186
Member Avatar for darthswift00

Trying to find a way as to how can i display a message box to say stock not available when i link it to my database to show that the quantity_available of the album( typed in and is refered to by the album_id in the textbox) ? here is my …

Member Avatar for poojavb
0
129
Member Avatar for poolet25

Hello again, I am trying to set a filter button into my application and I need a little bit of help.. Acually I want the user enter the city of the customers (etc:Brampton-Ontario ) and the program prints out the customers of the ontario. If there aren't any records to …

Member Avatar for weeraa
0
174
Member Avatar for kampao00

please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for jhedonghae
0
139
Member Avatar for jhedonghae

please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for jhedonghae
0
157
Member Avatar for artemisxx

i created a report which exports to excel. it exports just fine. what i want to do now is merge the consecutive cells in a column which have the same values. how do i do this? please help me. this is code that generates the excel body: Protected Sub generateExcelBody(ByVal …

0
187
Member Avatar for jbutardo

Hi, I have this textbox that has been inputted by date in the format of MMM-yy using a datetimepicker. TEXTBOX Jan-11 Now I need to get the exact date on the textbox to be inserted in a string. string1 = Cdate(txtbox1.text.trim) but in this code, the inputted text on the …

Member Avatar for poojavb
0
198
Member Avatar for Gobble45

hello all, Ive been trying to figure out how to find the next empty row in an excel spreadsheet. My project is a VB project, written in Visual Studio 2010 Express. What i need to do is open the spreadsheet (that is predefined) and find the next available row. (in …

Member Avatar for Reverend Jim
0
967
Member Avatar for tendaimare

I want to put some weather in my system and so far its working great. I've been copying the weather stuff from the yahoo website and this is the code 'Tomorrow Conditions startpoint = 0 : endpoint = 0 _search = String.Empty : _search = "Tomorrow" startpoint = _response.IndexOf(_search) + …

Member Avatar for adam_k
0
163
Member Avatar for kampao00

hi! kindly help meeeee :D Populating the combo box with the list of items from the one of the column in table from database. Based on the selection of item in the combo box, the another combobox should be populated with value corresponding to the selected item in the first …

Member Avatar for kampao00
0
1K
Member Avatar for mitchfizz05

Hi everyone. I am making an application that you need to sign up and login to. I want to use an online SQL database to store the login information. I know how to use a local SQL database, but I want to use an online database. Please help :) BTW, …

Member Avatar for mitchfizz05
0
187
Member Avatar for digitalsindh

How to Retrive/select or Get underlined/Formated Text on Click event from rich text box in vb.net... it should be just like Hyperlink but programmed with click event on it, not for Web page but for local cause. i have the coding but its only for single word, i need for …

0
105
Member Avatar for poojavijay
Member Avatar for cheiL

Hi there I have a few lines of code that I would like to ammend but have been unsuccessful in doing so. I have posted in a few other forums with no luck, hopefully somebody here can help me out. I have a delete statement which I have been asked …

Member Avatar for cheiL
0
137
Member Avatar for reds8

This are my tables: tblData **numIndex** | **num** | **cost** tblPrize **numIndex** | **num** | **Prize** and the result I want is : tblData.num=tblPrize.num then sum the cost in tblData example of the table view i want: **tblData.Num** | **SUM(tblData.cost)** | **tblPrize.prize**

Member Avatar for poojavb
0
158
Member Avatar for ZainabJuma

**I have a problem in the Trainee Id Iwant the ID to be like that 20120001 the year should be change if we are in new year and start with a new count i alrady connect the vb with a database how can i do that? **

Member Avatar for poojavb
0
99
Member Avatar for poojavb

Hello Friends, I need idea for my below process... I have one medical prescription form in my table....which will generate bill...and a receipt number will be generated in crystal reports.... If suppose a bill is generated for a particular transaction and after suppose few days i need a duplicate bill....how …

Member Avatar for poojavb
0
100
Member Avatar for moe0

I have an assignment which is asking me to complate some Mastermind game code I'm gven most of the code and there is one sub that i do not understand what it asking for it says Private Function createColourString(ByVal gb As GroupBox) As String ' ' For the groupbox gb, …

Member Avatar for gusano79
0
195
Member Avatar for tom12

Hey guys i'm new to visual basic and im trying to figure out where im going wrong. if you have any tip or a point in the right direction. i would be gratful thank you Public Class frmMain Public counter As Integer = 0 Public card1 As Integer Public card2 …

Member Avatar for Begginnerdev
0
80
Member Avatar for zo0oda

hello, I'm creating e-menu system for a restuarent... It has 3 users... and in staff user i want , when the staff see orders of the custmer from StoreOrders1 table which will be displayed in DataGrideView ... i want a botton to move the records of StoreOrders1 to ReceiveOrder table.. …

Member Avatar for adam_k
0
1K
Member Avatar for darthswift00

Want to know how to create a exception handler if say you have a form that has a foregin key in it, how does one put an exception handler to prevent the operation of this producing a VB.NET Error when i want to delete a record?

Member Avatar for adam_k
0
89
Member Avatar for Joshua Kidd

Hello, I have a listbox in my program and I want the user to be able to remove all Listbox Items with the click of a button. I Figured this would work, [CODE]Listbox1.Text = ""[/CODE] But I Guess that doesn't work. Any Help would be awesome:)

Member Avatar for mhosny
0
256
Member Avatar for Kappash

Hello, I'm trying to make a sub that will highlight the text of a RTB that is passed. Here is the code: Private Sub SearchAll(ByVal selectedRichTextBox As RichTextBox) Dim startPos As Int16 = 0 Dim matchPos As Integer = selectedRichTextBox.Find(TextBoxSearchFor.Text, startPos, selectedRichTextBox.Text.Length, RichTextBoxFinds.None) selectedRichTextBox.SelectionBackColor = Color.Yellow While matchPos >= 0 …

Member Avatar for Kappash
0
82
Member Avatar for Sevyt

I need this for 2 different changes. ON one form i got a week calendar, the other a month calendar. Was hoping to add 2 buttons previous & next. To scroll back in time x days, or x days forward. And similar for the months, but instead of days months. …

Member Avatar for Sevyt
0
98
Member Avatar for Begginnerdev

Hello my fellow Danniwebbers, I have yet another question for you to ponder. I have two custom action listers. One that handles Mouse.Click and one that handles Mouse.MouseDown. My question to you is, can I delay the mouse down event so that it does not intefere with the code of …

Member Avatar for Begginnerdev
0
5K
Member Avatar for eawedat

hey all, I have this code in VB.NET : Having: 1 TextBox 1 Button with this code: Public Class Form1 Dim m As String() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click m = TextBox1.Text.Split(Environment.NewLine) For Each k As String In m 'MessageBox.Show(k) WebBrowser1.Navigate(k) Next End …

Member Avatar for Oxiegen
0
245
Member Avatar for sam ferns

The company needs a system to calculate the charges for each load that they deliver. The loads consist of up to 10 different types of goods. Each item has an associated delivery charge. The system will allow the user to select up to 10 lines of goods and a quantity …

Member Avatar for Mitja Bonca
0
86
Member Avatar for Eternal Newbie

Could you guys show me how to create a progess bar which discribes the process of a SQL procedure?

Member Avatar for debasisdas
0
86
Member Avatar for bravo659

I been working on this login page for months, and to no avail can have the program working. I am using the MSAccess Database and using VB.Net. This is a windows application creating a login page. The following is the code that I been working on: Dim mypath = Application.StartupPath …

Member Avatar for renzlo
0
1K
Member Avatar for AndyPants

Ever scince I saved my project yesterday, when I try to debug my application I get this: > An error occurred creating the form. See Exception.InnerException for details. The error is: Value '0' is not a valid value for Interval. Interval must be greater than 0. > Parameter name: Interval …

Member Avatar for GeekByChoiCe
0
689
Member Avatar for Eternal Newbie

What I tried was using `My.Computer.Network.DownloadFile()`, and created a shared folder in the other computer to do downloading stuff. But, in fact I didn't know how to fill the path to the other computer, the error was: *"...path not supported..."* How about this: ServerName1 = cmbServerName1.Text.Trim() database = cmbDataBase1.Text If …

Member Avatar for Eternal Newbie
0
315
Member Avatar for guru_iyer

I am new to VB programming. I recently copied a code from internet, which gives me an error of Object Reference Not Set To Instance Of Object, NULL POINTER EXCEPTION. I couldn't understand where the problem lies..!! Help.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click …

Member Avatar for Reverend Jim
0
199
Member Avatar for kindofsudden

Okay, I am 50% toward having this figured out, but there are a couple of concepts that are new to me here and it is throwing me for a loop. I am reading an Excel file into VB.NET. There are 4 columns containing dollar figures of varying amounts. Here is …

Member Avatar for kindofsudden
0
920
Member Avatar for dilse4sk

hi every 1/ . i am having problem in sql query. if i double click on the dataset. i am not sure which statement to write to restrict the user so that he/she cannot enter the date in the past. i have droped the data set on the form and …

Member Avatar for dilse4sk
0
278
Member Avatar for dilse4sk

hi every one . when my form gets load it automatically fills th data using these two line Me.CustomerTableAdapter.Fill(Me.NewBookingDataSet1.Customer) "Customer info is displayed in text boxes on same form" Me.BookingTableAdapter.Fill(Me.NewBookingDataSet1.Booking) "Booking is displayed in data gridview" when i use the the above two lines as comment then i get the …

Member Avatar for dilse4sk
0
187
Member Avatar for Mike Bishop

I am pulling three coloums of data from a SQL view into my data drid Day,TimeIn,Timeout I want to colour my datagrid rows red if timeout is null and green if both the timein, timeout have data in them. here is my code so far, but it aint working Public …

Member Avatar for Mike Bishop
0
120
Member Avatar for bigzos

Hey guys,, i am working on an application titled Asset Management for my b.tech major project.The company under which i am pursuing it only asked me to include sumitting asset information,,retrieving information and generating reports and editing of data with admin login.I made all that but my college faculty is …

Member Avatar for bigzos
0
89
Member Avatar for roshan_shetty

friends............. i am doing my project in vb.net 2008 when i minimise my running windows application its icon must be minimised and fit in system tray......... and when we doing some other works in our system(such as video playing or other working) my windows application must works in background hw …

Member Avatar for anuj6928
0
95
Member Avatar for praveenrko

i want a code for registration form in vb.net and my project name is book bank system can anyone please post the snippet for me am using sqlserver2005 as backend

Member Avatar for Mitja Bonca
0
365
Member Avatar for Farhan_B

In my datagrid my sql statement uses a have clause to get set information and i am having countless errors My code is as shown below, were am i going wrong ` con.Open() cmd.Connection = con Dim da As New SqlDataAdapter("SELECT MONTH(Head.SalesDate) AS Month, Detail.ProductID, Detail.Qty, SUM (Detail.Qty) AS TotalSold, …

Member Avatar for M.Waqas Aslam
0
208
Member Avatar for poojavb

Hello Friends, I need one help I have a datetimepicker control, a combobox with day i.e. Sunday, Monday and so on.... The datetimepicker min date will be todays date and max date will be more 7 days...i.e. a week... so the days dont get repeated..means sunday will come only one …

0
84
Member Avatar for cs_tx_usa

Hi guys, I would appreciate it if you could help me reading a 16bit binary file (tiff image). Since the file is in 16bit, pixels of the file stores values ranging from 1200 to 4500. I want to retrieve those values. I used ReadUInt16 since the file has a 2byte …

Member Avatar for Reverend Jim
0
455
Member Avatar for darthswift00

Hi guys, Having abit of trouble with inserting values that i have in my form into my sql database. Basically it supposed to calculate a customer who borrowed a DVD or CD. I select the date that the customer brings the returned item by selecting a datepicker. The calculation works …

Member Avatar for darthswift00
0
295
Member Avatar for tukky

Hey guys, Im currently doing another small project where i have to create a web broswer. Ive got everything completed except one function that im quite confused. I have a listbox that stores a history of the websites that have been visited. I was wondering how i would, If the …

Member Avatar for Begginnerdev
0
146
Member Avatar for networkmancer

I know how to create textbox dynamically but the problem now is that I want it below my previous created textbox Dim textbox1 As New TextBox textbox1.Name = "Textbox1" textbox1.Bounds = New Rectangle(e.Location, New Size(100, 100)) Me.Controls.Add(textbox1)

Member Avatar for Reverend Jim
0
1K

The End.