20,284 Topics
| |
I can loop while the datatable is full, but get an error when it is empty. How do I know it's empty. | |
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 … | |
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 … | |
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 … | |
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 … | |
i want to process the credit card in my vb.net application so plz tell me the process | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 | |
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 … | |
| 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
[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, … | |
HI, Please can anyone know the advantage and disadvantage of Dot net?.if anyone know,please post the reply immediately.....thanks in advance | |
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 … | |
how to replace file when file is open in vb.net using c#.net anybody knows please tellme | |
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 … | |
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? | |
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 … |
The End.