20,284 Topics

Member Avatar for
Member Avatar for Robert Walker

I can loop while the datatable is full, but get an error when it is empty. How do I know it's empty.

Member Avatar for black_sun191
0
7K
Member Avatar for saj_amo

i want to call crystal report from vb.net code when i run it i get the following error "Load report failed" My code is given below. Imports CrystalDecisions.CrystalReports.Engine Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cryRpt As New ReportDocument cryRpt.Load("c:\CrystalReport1.rpt") CrystalReportViewer1.ReportSource …

0
35
Member Avatar for Haxorz

Guys, I really need your help !! I am using VB.Net & I have a Data Grid View in which I have 3 Columns and Dynamic Rows (user can insert rows based on their requirement). My problem is, I want to populate the value's in the rows that are being …

Member Avatar for Haxorz
-1
311
Member Avatar for Caraher

I have a panel with autoscroll = true. Have an inkPicture larger than the panel, hence the need for scroll. When scroll down, change focus to any other control, then go back and have inkPicture regain focus the autoscroll position resets to (0,0). This is unwanted and very annoying. Anyone …

Member Avatar for Caraher
0
62
Member Avatar for 1manik

Hi, I want to move a file, when it is created. I have filewatcher and I know filemove function, but I dont know how I can create condition, that the file will be moved, when it is create. Can you help me please? This is my source code: [CODE] #include …

Member Avatar for 1manik
0
153
Member Avatar for sunilChoudhary

i want to process the credit card in my vb.net application so plz tell me the process

Member Avatar for crazyhorse09
-1
66
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
115
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
892
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
290
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
283
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
593
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
101
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

The End.