19,729 Topics

Member Avatar for
Member Avatar for chandiusjp

hi all, i am trying to add check box to my datagrid view and update checked rows to sql server. please help me. i am using vs 2005 and sql 2000 thanks in advance.

Member Avatar for kvprajapati
0
73
Member Avatar for bist

i want 2 develop some application in vb.net as my final year project m a student of btech final year cud u pls help me in dis

Member Avatar for Stevoni
0
77
Member Avatar for Merovingian

Hi all, I've got my restore database code working good but was wondering if there is anyway to get some feedback from the SQL server during the restore? [CODE] Dim sqlstr As String sqlstr = "restore database " + dbNameFinal + " from disk ='" + tbBAKpath.Text + "' with …

Member Avatar for Merovingian
0
154
Member Avatar for ggl0rd

i got problem to save the record after edit the record.. this the error [B]Operator '&' is not defined for string "UPDATE RekodAnggaran SET Nama='A" and type 'DataRowView'.[/B] code save [CODE]Private Sub btnsimpan_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsimpan.Click con.Open() [B]sql = ("UPDATE RekodAnggaran SET Nama='" & …

Member Avatar for sknake
0
129
Member Avatar for ggl0rd

i got 2 form... 1 form for add, delete, find record in database(access) 2 form show record in database(same database) use datagridview. but the problem now, when i delete or add new record in database at form 1. then i go to 2 form, try to see record show in …

Member Avatar for sknake
0
118
Member Avatar for lil_Is

Hi all, I am doing a project on creating send and receive sms application just like a software named Mozat M2U. I just want to know what are the different ways of sending and receiving sms. When I am doing my research, some of it uses sms gateway which is …

Member Avatar for lil_Is
0
155
Member Avatar for Harssh

Hi I am using ms access 2003 with VB.NET .I want a textbox or similar to take user query and to show respective results in datagridview queries : select with where clause field name with yes/no in form of check box Thanks in advance!

Member Avatar for kvprajapati
0
43
Member Avatar for sandipdandel

hello for database in my vb.net application i want 2 create backup file in another location of or drive of user comp.. by clicking "backup" button

Member Avatar for sknake
0
42
Member Avatar for sandipdandel
Member Avatar for sknake
0
41
Member Avatar for diya26

Hi I'm new to developping applications in VB.net I need help with a simple select statement. SQL statement: Select "LYC Code" from [General ledger Setup] I don't how to write that particular select statement in vb.net when there are spaces in the names of the table and field . Can …

Member Avatar for sknake
0
66
Member Avatar for mania_comp

I am installing sql server 2005 express as a pre-requisite along with my VB.net application setup. When I run-setup, set-up starts and after 2 or 3 minutes it gives error as follows : [COLOR="Red"]Component SQL Server 2005 Express Edition SP2 (x86) has failed to install with the following error message: …

Member Avatar for sknake
0
191
Member Avatar for yorro

I am trying to read a specific line from .txt file. The problem is the the whole application hangs. It does not display any error, just hangs [CODE=vb] Imports System Imports System.IO Dim Username As String = "" Private Sub Form1_Load() Try Dim Filereader As New IO.StreamReader("Test.txt") Dim CurrentLine As …

Member Avatar for yorro
0
149
Member Avatar for hery

Hello all, How i can delete value variable using vb.net.. I try this one.. strTBL_T5_Lookup = "" or strTBL_T5_Lookup = nothing But value is still in there. Why my code is not working. Please tell me??? Thank's

Member Avatar for kvprajapati
0
102
Member Avatar for doomfrawen

Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my …

Member Avatar for doomfrawen
0
205
Member Avatar for Sylenas

Hey, i am working on a project that saves and load text files just so i can get the coding down for later projects. I am able to specify the location of the file to load eg. the Load File Dialog and the user specifies the location of the text …

Member Avatar for kvprajapati
0
135
Member Avatar for ramabala

how to check if a directory contains any files or not?if files exist how to delete them in vb?

Member Avatar for sknake
0
1K
Member Avatar for yorro

This is my code: [code=VB] Private Sub NextForm() Form2.Show() Me.hide() End Sub [/code] [B]Problem: [/B]The first form fades out and the second form fades in. Between the transition of [B]Show()[/B] and[B] Hide(),[/B] the actual desktop is seen. The only solutions that I could think of is; 1. Not to hide …

Member Avatar for yorro
0
397
Member Avatar for chandiusjp

Hi All, i worked hard with following error from two weeks. when i am connecting to my sql database from client machine using vb.net following error occured. its worked for local machine. "an error has occured while connecting to the server. when connecting to sql server 2005 ,this failure may …

Member Avatar for samir_ibrahim
0
252
Member Avatar for tomtetlaw

I am new to vb.NET and I have decided to make an image viewer, and what I want to do is resize the image it loads to fit the picture box, how do I do this? My image is a System.Drawing.Image object.

Member Avatar for tomtetlaw
0
81
Member Avatar for danielagaba

hi i designed an application in Visual Studio 2008 that uses crystal reports. When i run the application in Visual Studio, the application generates the reports with no problem. After packaging and installation though, a Just In Time Exception is called when a user tries to generate a report.

Member Avatar for danielagaba
0
123
Member Avatar for ggl0rd

this is a error when i click the button add Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound. [CODE] DataGridView1.Rows.Add((txtPelan.Text), (txt36P.Text))[/CODE] \ anyone can help me?

Member Avatar for GeekByChoiCe
0
117
Member Avatar for awestove

I am writing a very basic memory match card game, and am trying to get the program to flip over the selected cards, wait 2 seconds so the user can see the values, then flip back over. The code I have to do this is: [CODE]Private Sub Label_Click(ByVal sender As …

Member Avatar for awestove
0
138
Member Avatar for ggl0rd

anyone can help me fix this coding.. this coding output is string output.. but i want output in double.. [CODE]Private Sub OutputPremium() With ds.Tables("KadarPremium").Rows(cmbPremium.SelectedIndex) Select Case cmbPelan.Text Case (1) lblPremium.Text = .Item("20TP1") Case (2) lblPremium.Text = .Item("20TP2") Case (3) lblPremium.Text = .Item("20TP3") Case (4) lblPremium.Text = .Item("20TP4") Case (5) lblPremium.Text …

Member Avatar for ggl0rd
0
109
Member Avatar for vaq

Would I be able to make 2 of my forms share properties? Like, uh, I want form1 to be my main program, but I want form2 to have my programs 'options'. Then when the 'save' button on form1 is pressed, it will save the information on form1 and the options …

Member Avatar for vaq
0
95
Member Avatar for mania_comp

HI experts..I need ur help.. VB.NET category I need script that can be used to do settings for allowing SQL SERVER 2005 Express to allow remote connections. The settings that we do manually after installation [COLOR="Green"][B]i.e to enable TCP/IP in remote connection in Configration Manager , start Browser service, set …

Member Avatar for sknake
0
472
Member Avatar for rizillion

I want to select multiple records from sql table and insert it to a dataset when the selected index is changed from a combo box. for example if i select "1" from the combo box then, only values with "1" in the sql table's mentioned column should be inserted into …

Member Avatar for rizillion
0
895
Member Avatar for dre-logics

[TEXT] I have in Visual Basic 8.0 a MaskedTextBox1 with the mask "00/00/0000" (short date) I have in my MYSQL table a fields : "name" datetype CHAR(15) [COLOR="Red"]"birth-date" datetype DATE[/COLOR] "birth-place" datetype CHAR(15) I have one record: Name birth-date birth-place Andre [COLOR="red"]01-01-1974 [/COLOR]Amsterdam [/TEXT] [CODE] Me.TextBox1.DataBindings.Add("text", myData1, "name") Me.MaskedTextBox1.DataBindings.Add("Text", myData1, …

Member Avatar for dre-logics
0
74
Member Avatar for Nada_ward

error when get the checked value of checked listbox array "Object reference not set to an instance of an object." what is the problem in my code [code=vb.net] Public Class Form1 Dim c1b1 As CheckedListBox() Private Sub btnAddItems_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim l As …

Member Avatar for Nada_ward
0
84
Member Avatar for realone

cmd = New SqlCommand(sql, myConnection) reader = cmd.ExecuteReader() While reader.Read() For Columns = 0 To reader.FieldCount - 1 Category = reader.Item(Columns) 'READ COLUMN FROM DATABASE cmbfld.Items.Add(Category) ComboRow += 1 Next End While this code is populating the records instead of the field name.what can i do pls?

Member Avatar for kvprajapati
-1
111
Member Avatar for manish_rms

I have made one crystal report.In which i hv used sql server 2005 db and ms access db .It works properly but it doesn't work with vb.net. I want to know how to make connection string for both db for a single report in vb.net.

Member Avatar for kvprajapati
0
194

The End.