20,285 Topics

Member Avatar for
Member Avatar for Yamazaki

I have a datagridview thats bounded to a db and bindingNavigator that has Add/Delete/Save buttons. When I select a row and delete it, the row gets deleted from the datagridview, but when I restart the application, it doesn't get physically deleted from the database. Search suggests putting this code inside …

Member Avatar for Yamazaki
0
1K
Member Avatar for InS@NiTy

I'm trying to a open a connection to a local database and no matter what I try it just won't work (I'm pretty new to SQL Server and VB for that matter) I tried using 'sqlconnection' with different connection strings but none of them worked or gave me any useful …

Member Avatar for InS@NiTy
0
825
Member Avatar for ritika_khanna

hi, i am doing on online railway reservation projet in vb.net. I have taken train scheduling in which i have to specify routes of all the stations which are coming in between source and destination.routes are specified in rows and columns.But i do not understand how i specified routes in …

Member Avatar for peter_budo
-2
965
Member Avatar for Peric

I don't have any experiance in this part so I really need someone's help to get start. I have setup for my application in VB.NET...what i need to do (want to do) is next... -create/restore a database that I use for that application (I have database in MSSQL). Maybe I …

Member Avatar for Peric
0
764
Member Avatar for jallan2010

Sir, Please anybody help me while I am inserting the data through textbox of the selected item of the list box I want the when the user will input the data into textbox and then pressing the insert button the the selected item of list box (selected item only color …

Member Avatar for jallan2010
0
143
Member Avatar for jallan2010

Sir, I am using 6 textboxes and three button one for insert data second for update and third for delete the data while inserting and updating the record it generate an error i.e. "Data type mismatch in criteria expression" in the backend i.e in MS Access I am using this …

Member Avatar for jallan2010
0
70
Member Avatar for cricket2030

Hello, I am taking a VB.net class and am having trouble seeing the difference between event driven and object oriented programming. This will not help on any assignments, I have already turned it in, but I do not understand why VB6 is considered event driven and .NET is object oriented. …

Member Avatar for cricket2030
0
126
Member Avatar for jamesphi

When you are using the tab to enter a textbox, How do you select all the text so when you begin typing it eliminates the old text?

Member Avatar for apegram
0
82
Member Avatar for dagelmyster

I am having no trouble playing a swf file in VB but how can a play a second SWF file AFTER the first has finished? How do I know when the first file is done playing? Tried 'isplaying' method in a while loop but can't get it to work. Thanks …

Member Avatar for dagelmyster
0
82
Member Avatar for NAGASAKI

When I look at a statement, how can i tell whether it's an accumulator or a counter?

Member Avatar for J-eezy
0
94
Member Avatar for icejack

Greeting, am currently using vb.net 2008, ive started a project and i need to import HTML line to a another HTML file that is being read in a web browser control, i've try something like : [code] Private Sub Line(ByVal Textmsg As String, ByVal type As String) WebBrowser1.Document.Body.InnerHtml = WebBrowser1.Document.Body.InnerHtml …

Member Avatar for kvprajapati
0
142
Member Avatar for wasyazwan

[CODE] RichTextBox1.SelectionStart = RichTextBox1.Find("Not Found") RichTextBox1.SelectionColor = Color.Red[/CODE] that is my code.. my problem is in my richtextbox1, there are many line that contain "Not Found". So how can i change colour for all of that text to red colour? my code only work only with a single line that …

Member Avatar for wasyazwan
0
2K
Member Avatar for london-G

Hello I would like to read a file and display certain lines ( like from line 5 to 10) in a label. i know how to read the file line by line but not the specified line i want. Thanks in advance

Member Avatar for wasyazwan
0
1K
Member Avatar for comsci2

Please help me. I know this kind a simple problem. My problem is when i select the end day of the month it gives me a negative days in txtdays. This is my code to txtdays [CODE] txtDays.Text = dtpEnd.Value.Day - dtpStart.Value.Day [/CODE] This is my code to add date …

Member Avatar for comsci2
0
100
Member Avatar for mrclark

i am trying to make a program that in the even that a message is received when the program does not have focus a message box will be displayed, however, using: [code]if me.focused = false then TrayIcon.BalloonTipTitle = "New Message From " & array(0) TrayIcon.BalloonTipText = array(1) TrayIcon.ShowBalloonTip(5000) end if[/code] …

Member Avatar for mrclark
0
101
Member Avatar for avirooge

Hi, i would like to connect a webcam to vb6.0 or to vb.net and wolud like to take a photograph which is then to be stored in access / sql database. plz. help me Avinash Rooge

Member Avatar for kvprajapati
0
602
Member Avatar for alphaman1101

Maby ive been going about this the wrong way. Im attempting to change the system volume using VB.net. I dont want to use the mediaplayer stuff because i dont want that to be open the whole time. if someone could point me to a working API or something for changing …

Member Avatar for kvprajapati
0
92
Member Avatar for G_Waddell

Hi All, I've published a app using Clickonce Deployment for use on our LAN (so I've set it to online only for ease of updates etc) When I run the setup on my own machine, the app installs and runs with no issue however when I run the setup on …

Member Avatar for G_Waddell
0
162
Member Avatar for Albert88

I have a problem with "left"syntax when i operate it in console application, it works but when i operate it in windows application, the left syntax is error... this is my code, can someone check my code please ' get and validate order no Dim strOrderNo As String = _ …

Member Avatar for kvprajapati
0
271
Member Avatar for tusharvichare

Any one have idea about how to convert Visual C++ application to VB.net Or how to include VC++ application into the vb.net application so that function of VC++ application can use in to the VB.Net application. Thank you.

Member Avatar for kvprajapati
1
283
Member Avatar for mrnobody

Hi, I'm currently doing a program to search for text in powerpoint files using interop in vb.net 2005. When a user does a search, it will open the powerpoint (.ppt) file and do the search. This is working fine. What I want to achieve next is if the powerpoint file …

Member Avatar for mrnobody
0
103
Member Avatar for mtsaad

i can't save my data into access using vb.net [code] Dim SQL As String DB.Open() Dim Ad As New OleDbDataAdapter("Select * From candidate", DB) Dim Check_dataset As DataSet Check_dataset = New DataSet("check") Ad.Fill(Check_dataset, "check") If Check_dataset.Tables("Check").Rows.Count <> 0 Then MsgBox("Certificate already exist.!!", MsgBoxStyle.Information, "") DB.Close() Exit Sub End If SQL …

Member Avatar for kvprajapati
-1
126
Member Avatar for mrclark

I am trying to make a TCP chat program, but instead of having people enter in the ip of the computer they wish to talk to everytime, i would like the program to be able to listen on all ip addresses, so that it will provide for a better user …

Member Avatar for kvprajapati
0
247
Member Avatar for JAM1011

Hi, I was wondering if any knows how to specify the patch for the database when making a vb.net program executable. The data base which is access is in the debug folder of the program. Any Ideas Thanks James

Member Avatar for kvprajapati
0
135
Member Avatar for tanvirahmad

Hi Experts i m using these code for selecting data grid row [CODE] While i <= DataGridView1.Rows.Count - 1 If Trim(DataGridView1.Rows(i).Cells(0).Value) = Trim(TextBox1.Text) Then DataGridView1.Rows(i).Selected = True Exit While End If i = i + 1 End While [/CODE] it's working nice. but , when no of row more then …

Member Avatar for ukshir
0
4K
Member Avatar for ukshir

Hi, I have a project developed in VB.NET 1.1 (using VS 2003). The project has forms developed using the DataForm wizard (Connecting to Access Database, having a dataset and couple of adapter as automatically generated through the wizard - See attached screenprint "Original Form In VS 2003.PNG"). I converted the …

Member Avatar for ukshir
0
345
Member Avatar for renyges

hi guys i have develope a database based system recently but its shows a error as in title do anyone can help me???? its realy urgent guys here is my code : [code] Imports System.Data Public Class Form2 Dim inc As Integer Dim maxrows As Integer Dim con As New …

Member Avatar for renyges
0
85
Member Avatar for tanvirahmad

Hi Experts My problem is how to search any text in data grid view ? please help me soooon........

Member Avatar for TomW
0
107
Member Avatar for noname1015

Hi, i am doing with deleting row permenately from database currently,but the problem i face right is that i can delete row from datagridview only, but the data inside database remains unchange.I want to delete a row which i selected permenately when i click a delete button . Here is …

Member Avatar for noname1015
0
4K
Member Avatar for sonia sardana

Below code is opening Folder Browser dialog on button click, I want that if mine PC is in network..In Folder Browser Dialog even the network drives are coming,I want that Network Places do not come in treeview.Is it possible?? [code] Option Strict On Option Explicit On Option Compare Text Public …

Member Avatar for ghimangi
0
198
Member Avatar for shanakaprabath

Can some one give me a sample code or project on how to load a data of a particular table in access databse in to a data grid view

Member Avatar for shanakaprabath
0
130
Member Avatar for RAjushendre

hi, i am retrieving the names from database by using combobox by a character by character search method as they do in search engines like google when u want to search anything in it by entering 2 to 4 characters u can get full related topics of same characters .. …

Member Avatar for kvprajapati
0
70
Member Avatar for bumassjp

I am using an INSERT INTO statement and one of my database variables is a varchar(51). Can a string be directly stored as a varchar or do I need to convert this to something else beforehand?

Member Avatar for kvprajapati
0
89
Member Avatar for nickelmann

Hi, I want to extract certain words from a sentence input by the user. For e.g., the user enters "Jones born in 1967" and the program will extract the words 'Jones, born and 1967' but will not extract the word 'in' and will print the extracted words out. Is there …

Member Avatar for nickelmann
0
2K
Member Avatar for scias23

i have many textboxes in my form, now i want to validate the data inside it. how can i achieve this other than the try catch? i want the validation to be usable in all my forms so i'll write it as a sub/function. any suggestions?

Member Avatar for apegram
-1
104
Member Avatar for riju tp
Member Avatar for zenbakir

I have a report named crystalreport1 added to my web application in visual studio 2005 when i try to create the instance of the report like dim rpt as new crystalreport1() it shows an error crystalreport1() not defined What is the problem and what namespaces need to be included.

Member Avatar for kodema
0
94
Member Avatar for commingtovb

Hello, i just decided to join, i am a high school senior and am in the club BPA (Business Proffesionals of America). I have not practiced vb in a while but scored at state events and i am going to nationals. Nationals this year is held at Anahiem, CA so …

Member Avatar for kvprajapati
0
76
Member Avatar for renyges

hi guys i need some idea on how to do a login form which check the information in database and if the imformation is true then login to system i got textbox1 and textbox2 my database name is mpp eelection1 and table name is maklumatpel textbox1 need to be check …

Member Avatar for kvprajapati
0
78
Member Avatar for kohkohkoh

Hi guys, as per title above, im at my wits end after a week of thoughts.... i want to download a file from a SSL web to my local(C:\) e.g [url]https://www.abc.com/File/myfile.txt[/url] Scenario: from the web browser(Internet Explorer), i required to login to the site in order to download the file. …

Member Avatar for kohkohkoh
0
1K
Member Avatar for VIPER5646

[QUOTE]Hi all I have two forms which are being displayed from the MDI Parent form. In the following code I would like to send data from form 1 to form 2. [/QUOTE] [CODE] DsgnForm.InsertOE = txtOrderEntry.Text DsgnForm.InsertFN = txtFirstName.Text DsgnForm.InsertLN = txtLastName.Text DsgnForm.InsertAD = TxtAddress.Text [/CODE] [QUOTE] My problem is …

Member Avatar for VIPER5646
-1
182
Member Avatar for aakasha
Member Avatar for automata

I want to append string in front. [CODE] 'For example Dim value As String = "a" 'I want to append the 'value' string so that it prints the below: ' gfedcba [/CODE] I found the below thread which tells the solution for my problem: [url]http://www.daniweb.com/forums/thread139781.html[/url] But I was wondering if …

Member Avatar for k1robert
0
164
Member Avatar for k1robert

My problem is I want to be able to read through this xml document and populate a winform before validating it and then storing it into a table. This is a snippet of the xml document, it's way too big to put it all here. [code=xml] - <Applicant> + <common:PersonName> …

Member Avatar for k1robert
0
964
Member Avatar for Nexx

I didn't know where to put this, this was the closest to VB 2008. I have a code, that when you click a button it takes you to a login webpage, puts in the information that you typed. Then presses submit. kind of like a quick login. But for some …

0
54
Member Avatar for AirGear

i'm new in using VB, so i'm not quite familiar with it.. if any of you use cpp, i'm sure that you know STL in cpp, like vector and stack.. does VB has that kind of STL too? i really need good data structure using VB now, and it will …

Member Avatar for AirGear
0
193
Member Avatar for php99

Hi, I have made a working program that collects data from a server then puts it into an array. I decided its time to move away from text files and on to XML. [CODE] Dim sr As StreamReader = File.OpenText(frm_Loader.jokes_dic) Dim input As String input = sr.ReadLine() frm_Loader.counter = 0 …

Member Avatar for kvprajapati
0
86
Member Avatar for BigGar

Hello. I've programmed in VB for ages, but just started dealing with databases and VB.net. The problem I am having is related to a menustrip item. I used the data source wizard to add a database to my application, and did the drag-and-drop thing to put the details on my …

Member Avatar for kvprajapati
0
135
Member Avatar for aigoo_myself

hi I'm really new to c# but i really don't know how to do this! well I have a table customer with a customer_no as a primary key. I have a second table named order and it customer_no is one of its primary key. What I want to do is …

Member Avatar for kvprajapati
0
147
Member Avatar for automata

First I am sorry if I am creating a thread in the wrong category as I am not sure which is the best suitable place for this question: Please provide me suggestions or any pointers. I want to create a user defined data structure, which will be a 2 dimensional …

Member Avatar for automata
0
611

The End.