20,278 Topics

Member Avatar for
Member Avatar for mldardy

I can't get past this error in my loop through the data reader specifically dr(12). I tried adding .To String but that doesn't seem to work either. Can someone help me with what need to do so it can read even if there is a Null value. My code is …

Member Avatar for mldardy
0
384
Member Avatar for swulm

Ok, So I am not sure if this is the best place to post this, so correct me if I am in the wrong place. Let say I have an array of data. In this array, It has 4 Columns, represented as: Column 1 = Customer # Column 2 = …

Member Avatar for kvprajapati
0
86
Member Avatar for celinehgl

Hi guys, The codes below is running perfectly fine. But I have a problem - if there are no records found in the database, my dropdownlist will not display nothing. However, I want it to display something like "no records found" instead of havng it blank Can someone tell me …

Member Avatar for kvprajapati
0
167
Member Avatar for PDB1982

Is there anyway to carry one combo box from one form to another without the use of loops? I'm trying to figure out if it would be easier to represent a comb box in a new form, or if it would be easier to show it in a print preview …

Member Avatar for kvprajapati
0
88
Member Avatar for jackkms

hi,i need some help on vs 2005 form,i have 1button,1textbox,1datagridview.i want to make a search button with it to search for student id..any help pls...i use ms access..example i type 12-200705-0005 on the textbox,then i click search button,then the data with student id will show at datagridview...thanks.. :S

Member Avatar for kvprajapati
0
86
Member Avatar for pritesh2010

can anyone tell me how to convert this code to vb.net it's vb6.0 code and gives error in vb.net [CODE] Dim a As Integer Dim b As Boolean Do While Not b And a < cmbcust.ListCount If UCase(Left(cmbcust.List(a), Len(txtname.Text))) = UCase(txtname.Text) Then cmbcust.ListIndex = a b = True End If …

Member Avatar for kvprajapati
0
113
Member Avatar for big_ch98

I converted a program from vb6 to vb.net, I used a propertybag to clone my recordsets and after I would filter them to navigate threw my data and then show the result in a gridview, but I have a problem in vb.net with my filter. In vb6 the program would …

Member Avatar for big_ch98
0
872
Member Avatar for simon66

sup all. Im having a major problem with vb.net. im making a program that reads the source code from the webbrowser1 and if it contains these words "You Won!" then all my timers stop and a msgbox comes up and says "You Won!" but when the website actually does say …

Member Avatar for crazyhorse09
0
255
Member Avatar for Aigini

By default all the buttons that would show in a Binding Navigator (before any buttons are clicked) are just ADD, EDIT, DELETE and REFRESH buttons. But the Binding Navigator on my form shows the SAVE button also (before any other buttons are clicked). I do not want this and how …

Member Avatar for C Newbie
0
152
Member Avatar for kerek2

Hi everyone, I got prob with my proj that is reading data from Mifare Card using Contactless Card Reader (ACR120U). for the connection its successful but need to press cmdButton to grab a data from Mifare card. So if anyone got idea how to grab data automaticly such as flash/touch …

Member Avatar for lucasmadero
0
281
Member Avatar for BeejCyr

I have been sent an xsd file to use as a model for generating an XML file. I have used the XSD.exe utility to create a typed class. I have populated this class with the data required but now I am looking for a way to turn this data into …

0
71
Member Avatar for vijaycare

Hi, I am having the same problem [I]<<mod edit: [URL="http://www.daniweb.com/forums/post228229.html#post228229"]as this[/URL] >>[/I] when i update my record in Access Database. It is successfully updated the record in the database. but the dataset in my project is still not updated. I am using vb 2005 to develop the application. Any one …

Member Avatar for vijaycare
0
94
Member Avatar for vikasbhadra
Member Avatar for rumpleteaser33

Hi, I am writing a program that has a listbox which is bound to a dataset. When I click a button (e.g. delete) the item is deleted from the database ok using an SQL query but is still shown in the listbox. How do I get the listbox to refresh/update …

Member Avatar for rumpleteaser33
0
1K
Member Avatar for datapham

when i choose a row of dataGridView with the event Selectionchanged , how to display the record in textboxes ? Thanks.

Member Avatar for datapham
-1
133
Member Avatar for DelDemoire

I am using vs.net 2008 vb and mysql I am using datasets alot in this application, however I am having a few small snags I am running into. I created a login system that works quite well, but I need using the db or settings or a variable keep the …

Member Avatar for Oxiegen
0
152
Member Avatar for ecrockers

Hi.I am very new to the vb.net programming. Now I am trying to connect the database that is sql server 2005 to the vb.net code so that I can add the data to my database, which is already in the sql server and retrieve the required data from the database. …

Member Avatar for ecrockers
0
592
Member Avatar for mjltech

[CODE]Private Sub btnBill_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBill.Click item = txtItem.Text duration = txtduration.Text Dim fmtstr As String = "{0, -15} {1, 17:c2}" '----------------------------------------------------------------------------------------------- lstResult2.Items.Add(" Receipt from Eddie's Equipment Rental") Select Case item.ToUpper & duration.ToUpper Case "1", "h" lstResult2.Items.Add(String.Format(fmtstr, "Rug cleaner", 16)) Case "2", "h" lstResult2.Items.Add(String.Format(fmtstr, …

Member Avatar for jeffreyk16
0
100
Member Avatar for anansiva

HI, Please can anyone know the advantage and disadvantage of Dot net?.if anyone know,please post the reply immediately.....thanks in advance

Member Avatar for rdhansrihoney
0
164
Member Avatar for Benniit

Am using vb.net 08 and i have a datagridview with 3 columns. The first column has a button as the columntype with the name "UserName". Now, i want if the user clicks only on the UserName which is the first column, but not the entire row, it should display the …

Member Avatar for kvprajapati
0
93
Member Avatar for raja0412
Member Avatar for kvprajapati
0
35
Member Avatar for SCass2010

hi, I was wondering if anyone could point me in the right direction here!! I have a program that reads in lottery results from the past 6 months (from the national lottery site) from a text file 31-Mar-2010,29,18,38,44,14,43,13,3,GUINEVERE 27-Mar-2010,32,38,11,15,42,6,24,2,GUINEVERE 24-Mar-2010,3,49,28,5,23,42,41,4,GUINEVERE and stores it in an array (n-1,6) where n is …

Member Avatar for kvprajapati
0
119
Member Avatar for semor7

i want to know how to save the check box if its set on true to a data base can some one plz help me?

Member Avatar for shanab
0
110
Member Avatar for JCDenton

Okay, guys, I've been at this for hours and what is surely a simply answer has eluded me! :P Here's my situation: It's a list of computer systems, basically, that the user can purchase. I need to read this file, line-by-line, into an array. Let's call this array csvline(). The …

Member Avatar for Chris147
0
2K
Member Avatar for dudedatroz

hello everybody.. im creating an antivirus software with vb.net 2008 and there im scanning for viruses and put them in a listbox so we can delete them after scanning. the problem is im searching the viruses from the name and the extensions which are already exists till now. so if …

Member Avatar for dudedatroz
0
82
Member Avatar for puppykillaz

I have written the code and I am new to working with classes. If someone could point me in the right direction I think I can figure it out. I looked at MSDN and learned this much, so maybe I didn't get the right understanding but I thought I would …

Member Avatar for Oxiegen
0
140
Member Avatar for kinyuadave

hi all! am havin a problem in loading sorting items in a listbox. what i want is after i load a text file into a listbox the items are compared by the last number and sorted in descending order. any help will be appreciated. thanx in advance

Member Avatar for kvprajapati
0
77
Member Avatar for ushahdad

Just had a quick question about this problem I am experiencing I am getting this error saying "the call to the server.CreateObject falied while cheking permissions. Access is denied to this object".I get this error every time I create a new DLL after compiling my VB6 code and drop it …

Member Avatar for kvprajapati
0
68
Member Avatar for salman1986

Actually these are Some of Interviews Questions that i have to answer in an interview. I have got Some Confusion :-/ in My answers that why posting here .. So that Any Genius Can Answer these Question Correctly 1) Which of the following are true about Extension methods? 1) They …

Member Avatar for kvprajapati
0
180
Member Avatar for abhay1234

I have this code [code] Public Class Form1 Private connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=c:/testn.mdb" Dim conn As New System.Data.OleDb.OleDbConnection(connectionstring) Dim cmd As New System.Data.OleDb.OleDbCommand Private ssql As String Dim dr As System.Data.OleDb.OleDbDataAdapter Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;data source=c:\nikhil\testn.mdb") …

Member Avatar for kvprajapati
0
105

The End.