19,728 Topics

Member Avatar for
Member Avatar for abhay1234

Hello I tried a lot however I have not been able to update data entered in the datagridview into the database table Any suggestions [code] Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim icount As Integer Dim datagrid1 As New DataGrid Dim da As OleDbDataAdapter Dim ds As …

0
54
Member Avatar for linezero

I am trying to move a match from a match collection to another listbox as string. here is my regex code [CODE]Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://localhost/pos/leftpanel.html") Dim response As System.Net.HttpWebResponse = request.GetResponse Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim rssourcecode As String = sr.ReadToEnd Dim r As New …

Member Avatar for codeorder
1
296
Member Avatar for Shantanu88d

Hi all, I have added a template field in a gridview. In that i have added a radio button. I have written a code which will get row Id of GridView of a row which is having a radiobutton on it checked. Through code i am getting even name of …

Member Avatar for Shantanu88d
0
93
Member Avatar for jamshed ahmed

hellow and and hi iam developing billing system in which i have used gridview control with three columns named Description,qty,price and total code given below it works fine but problem is when i edit any cell of datagrid a new row inserted automatically is there any property or way by …

0
45
Member Avatar for MaddTechwf

I want to load a Menu based on an XML document. I'm including an example from BartPE that does the same thing. I'm hoping that someone will have some experience with this before. [CODE] <?xml version="1.0"?> <NU2MENU> <MENU ID="Startmenu"> <!--==--> <MITEM TYPE="POPUP" DISABLED="@SetMenuPos( 'L','B' )0" MENUID="Programs">Programs</MITEM> <MITEM TYPE="SEPARATOR"></MITEM> <MITEM TYPE="POPUP" …

0
101
Member Avatar for YodaMerlin

I am trying to make a program where there are several pictureboxes with different pictures. When i click on one, a new one forms at some location on the form. When i utilize the given code, t gives a system null reference, saying I need to add a "new" statement …

0
84
Member Avatar for mrbungle

I have an app that writes to XML. If a text box is filled, then I write that value to the XML doc. [CODE] writer.WriteStartElement("VEHICLE_LICENSE_NUMBER") '10-28 writer.WriteString(frmCitation.txtPlate.Text.ToString) writer.WriteEndElement()[/CODE] If TEST123 is the value in the text box, this is the result. [CODE]<VEHICLE_LICENSE_NUMBER>TEST123</VEHICLE_LICENSE_NUMBER>[/CODE] Question is, if that value in the textbox …

Member Avatar for mrbungle
0
128
Member Avatar for kitjo

I dont know how to link my table to the database yet i already finished connecting to the application itself. i have four fields on the form as well in the database table. that is 1.word 2.lug_trans 3.Eng_trans 4.meaning the same fields appear in the database tables. i have to …

Member Avatar for kitjo
0
89
Member Avatar for miss_indie

i'm working on a system that include an audio annotation for every word. I have no problem when it comes to English Pronunciation of words. I'm using this Sapi code [CODE] Dim Sapi Sapi= createobject("sapi.spvoice") sapi.speak("label1.text") [/CODE] But is there a way i can also use this code when it …

Member Avatar for miss_indie
0
82
Member Avatar for vedel
Member Avatar for vn412

I've written a code where depending on some condition i have add item in list as [CODE] With lview .Items.Add(mydr(0)) With .Items(.Items.Count - 1).SubItems if some condition then .Add(mydr(9)) end if end with end with [/CODE] But when i call listview click event for the if condition failure cases it …

Member Avatar for codeorder
0
676
Member Avatar for more mayo

I’m a newbie and this is a simple problem I’ve been stuck on. How do I add numbers from an array in VB 2008? I’ve filled the array with 10 test scores. I’ve sorted the array in descending order (from highest to lowest). Now I need to figure out how …

Member Avatar for tomato.pgn
0
2K
Member Avatar for huBelial

I'm trying to create a program that will connect to my access database and perform a simple query. Then I want to put the data (image and other info) into active directory. But I keep getting this "Declaration expected" error when I'm setting up my connection. Can someone please take …

Member Avatar for fariid
0
192
Member Avatar for zubaira

how to setle this problem....ihave code below...but i cannot run because this error..."Conversion from type 'DBNull' to type 'Boolean' is not valid." CheckBox1.Checked = DataGridView2.CurrentRow.Cells(10).Value CheckBox2.Checked = DataGridView2.CurrentRow.Cells(11).Value CheckBox3.Checked = DataGridView2.CurrentRow.Cells(12).Value CheckBox4.Checked = DataGridView2.CurrentRow.Cells(13).Value CheckBox5.Checked = DataGridView2.CurrentRow.Cells(14).Value how i have to set in my table to insert input 1 or …

Member Avatar for codeorder
0
126
Member Avatar for vikram jagtap

On my page i have taken grid . On that grid i have taken Itemno,on that item selected change index item desc and rates appears. I want the event fire without refreshing the page

0
43
Member Avatar for MaddTechwf

I've been trying to figure out the easiest way to populate a menu to allow for easy updating in the future. I would like to add anything to a specific folder and when the program runs it would be populated by the contents of the specific folder. Is this possible? …

Member Avatar for MaddTechwf
0
217
Member Avatar for linezero

I have tried many ways to download the files in a listbox. non-seems to work. the listbox has url eg: [ICODE] [url]http://www.hahaww.com/2.pdf[/url] [url]http://www.hahaww.com/f1.pdf[/url] [url]http://www.hahaww.com/24.pdf[/url] [/ICODE] I want to download the files until ListBox.Items.Count = 0 which each file with number ording... for eg: 2.pdf will be 1.pdf f1.pdf will be …

Member Avatar for codeorder
0
726
Member Avatar for burntout

Im working on an app that takes two numbers(lower bound and upperbound)and determines all the prime numbers within the specific bounds, inclusive. [code] Public Class primeNumber Private Sub calculatePrimesButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calculatePrimesButton.Click 'declare variables Dim N As Long Dim LowerBound As Integer Dim UpperBound …

Member Avatar for Jx_Man
0
367
Member Avatar for jamshed ahmed

hellow and hi! i am working on billing system first i want to define purpose of bellow code this code will multiply the qty and price and assign the value to total column and validated on enter key if i press enter key and value is price or qty is …

0
90
Member Avatar for huBelial

Hello, I'm trying to figure out how to put jpeg images from my access database into active directory. Can anyone suggest any helpful tutorials that might get me started because I really don't know where to begin? I'm currently looking at one particular tutorial but its not making any sense. …

Member Avatar for huBelial
0
158
Member Avatar for darkelflemurian

Hello, I have a layout and i have to paste information on that layout, in that lay i have Columns H, P i have a formula in column P like this [CODE] =IF(ISERROR(P3/H3),0,P3/H3) [/CODE] but when i insert the information obtained in VBN to EXCEL worksheet it pastes the information …

Member Avatar for darkelflemurian
0
244
Member Avatar for manutd4life

Hello, I have a program connecting with a database.. so when add record in it, i want to validate for the duplication of ID in database.. here's my code for add button: [code]Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click dSet.Tables(0).PrimaryKey = New DataColumn() {dSet.Tables(0).Columns("WatchID")} 'The …

Member Avatar for Netcode
0
207
Member Avatar for lielee

Hi. I'm working on a project using VB.net. Just wondering, can VB connect with Dreamweaver/Frontpage? Let say an online food ordering, customer fill the form in the website then the VB program receive the request. I know more about VB than HTML so I'm not so sure about it. My …

Member Avatar for ninjaimp
0
151
Member Avatar for Khaldoun Latif

any one here can help me to make access database and connect it to a visual basic 2010 program and update and retrive information from it please help me if you can

Member Avatar for Khaldoun Latif
0
114
Member Avatar for Mike Askew

The code for this is: [CODE=VB.NET]'IMAGE HANDLING Dim bytes() As Byte = DS.Tables("Location").Rows(0).Item(4) Dim ProductImage As Image = Image.FromStream(New System.IO.MemoryStream(bytes)) pic_ProductImageDisplay.Image = ProductImage pic_ProductImageDisplay.Load()[/CODE] The error occurs line 3 stating "ArgumentException was unhandled: Parameter is not valid." Any idea on a solution to this problem?

Member Avatar for Unhnd_Exception
0
210
Member Avatar for PdotWang

This is an answer to a question in C++ area. [url]http://www.daniweb.com/software-development/cpp/threads/355232[/url] It should be ready to be modified to code in C++, C#, or Java, because VB.Net is fully OOP. Even though it can be used for vectors, you may still want to modify it to a Vector Class.

Member Avatar for spixy
0
710
Member Avatar for BeansForChowder

I need help building a program that displays full-time and part-time employees names and salaries when the user uses a radio button to choose either full-time or part-time employees. It's a program from the Getting Started with Visual Basic 2010 but I can't determine which part of the chapter specifies …

Member Avatar for BeansForChowder
0
162
Member Avatar for Mike Bishop

I am writing a database and need to post a value in a lable to a sql field. the sql datatype is set to money. when posting i have CMD.Parameters.addwithValue("@Claim", LBCLAIM.text) when posting i gett an error cannot convert a char vaule to money. the char vaule has incorrect syntax. …

Member Avatar for Unhnd_Exception
0
98
Member Avatar for dragDown

im currently working on a system and it needs a backup and restore function.. can someone help me about this?.. i dont have any ideas yet to do this code and in the first place i don't know how to use it.. its flow and how it will do the …

Member Avatar for debasisdas
0
118
Member Avatar for tahamasoom

Hi there i want to know about grading system in visual stuio i am new in software engr just tell me how we make grading system in windows application in visual studio like when we put 5 in grade section the basic sallary will be 15000 and home allownce will …

Member Avatar for codeorder
0
110

The End.