20,278 Topics

Member Avatar for
Member Avatar for fawadkhalil

Hi all i have checkboxlist populated from a table in database.now how can i store only checked items to database.

Member Avatar for fawadkhalil
0
241
Member Avatar for babbu

Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select ID from Customer where Company = ?" oledbcom.Connection = oledbcon Dim oledbparam As OleDb.OleDbParameter = _ oledbcom.Parameters.Add("@Company", OleDb.OleDbType.VarChar, 50) oledbparam.Value = frmNewCompany.txtCompName.Text.Trim Dim oledbreader As OleDb.OleDbDataReader = oledbcom.ExecuteReader Dim id As Integer While oledbreader.Read id = oledbreader.GetInt32(0) End While 'end of fetch …

Member Avatar for kvprajapati
0
520
Member Avatar for Ricky80

hi, i'm creating application using visual basic 2008 express. It's great acctually, but I'm having problem creating report with it. Can anyone suggest reporting tools that can be used with VB 2008 express? I tried microsoft report viewer 2008, and it seems that vb 2008 express doesn't support report design …

Member Avatar for mahr
0
321
Member Avatar for firoz.raj

When i insert jpg picture on the Form.two instance insert in the form Using Background image.Kindly help me .any help would be Greatly appreciated. Kindly find the attachment also.

Member Avatar for kvprajapati
0
69
Member Avatar for flinto

Hi there I have the the following database structure: [B]Table Product[/B] Product_ID - Product_name - Product_issue_date [B]Table Sale[/B] Product_ID - amount - date Now i want to report the total of each product. The result should look like this: Product 1 - 5,000 Product 2 - 3,500 Product 3 - …

Member Avatar for HERTBERTS
0
91
Member Avatar for smileyc

Hi. using the following code I am trying to read an xml stream [code] [code=vb.net] Do While (reader.Read()) Select Case reader.NodeType Case XmlNodeType.Element 'Display beginning of element. MsgBox("<" + reader.Name) Case XmlNodeType.Text 'Display the text in each element. MsgBox(reader.Value) Case XmlNodeType.EndElement 'Display end of element. MsgBox("</" + reader.Name + ">") …

0
91
Member Avatar for sweetsasthi

hai friends, I dont know how to create database dynamically in vb.net.(if a button is clicked 4 databases in access or sql has to be created).similarly by clicking the delete button the specified database should be deleted.can you help me out with the coding.

Member Avatar for Piya27
0
323
Member Avatar for Ammar N

Hello all, :) directly here is the issue: i want to choose the path to my database file for my DBdataset in a VB .net project during the runtime in the first form, and then i want to use that file in some other forms. the file could be on …

Member Avatar for kvprajapati
0
81
Member Avatar for babbu

hello every1. i want the text box of form1 to be accessible in form 2 without declaring it as public. ive declared it as protected. but how do i inherit it in form 2.

Member Avatar for kvprajapati
0
34
Member Avatar for olly333

Hi all, I am fairly new to programming, and I have two related Problems, 1, i need to capture keypresses globally eg. no matter what is selected if i press 'z' the program will end. the only way that i could do this so far is to have a handle …

Member Avatar for kvprajapati
0
86
Member Avatar for sonia sardana

Can somebody tell me the sites related to latest VB.net Interview Questions..Cz ui have interview on coming wednesday!!! I will be very helpfull.

Member Avatar for Salem
0
221
Member Avatar for camykamani

Hi 1]Am new to VB.NET and m required to design the form for log in id and password connected to MS ACCESS 2003 containing the fields 1)user no 2)user id 3)type 4)password. Can you please provide me with the code for the same. 2]Secondly am required to make a splash …

Member Avatar for lagspike
0
140
Member Avatar for ritu verma

ListView Properties- I set MultiSelect to False, LabelEdit to true,FullRowSelect to True. I have Listview with two columns. [B]1) [/B]When I select onw row in listview,On button click i want to get the index of selected row. I m getting it but using for loop,I want to know is there …

Member Avatar for babbu
0
103
Member Avatar for babbu

here is my code Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = ("INSERT INTO Customer Company, Address, Telephone values ?,?,?") oledbcom.Connection = oledbcon Dim oledbparam As OleDb.OleDbParameter = _ oledbcom.Parameters.Add("@Company", OleDb.OleDbType.VarChar, 30) oledbparam.Value = txtCompName.Text.Trim() oledbparam = oledbcom.Parameters.Add("@Address", OleDb.OleDbType.VarChar, 80) oledbparam.Value = txtAddress.Text.Trim oledbparam = oledbcom.Parameters.Add("@Telephone", OleDb.OleDbType.VarChar, 15) oledbparam.Value = txtContact.Text.Trim …

Member Avatar for Teme64
0
96
Member Avatar for sweetsasthi

Hai, We are working in a project which handles lots of data. How many tables can we have in sql server 2000 so that it can be managed efficiently.Is there any rule for separating the tables. We store information like candidate details,interview process.... Thanking in advance

Member Avatar for Teme64
0
105
Member Avatar for arunasingh

i have a problem in dropdown :suppose i select id from dropdown then i want name of the employee is displayed matched with that id is displayed in textbox : i have use the following code con = New SqlConnection(constr) adpt = New SqlDataAdapter("select * from reg where f_name='" + …

Member Avatar for babbu
0
109
Member Avatar for GeekByChoiCe

Hello I am coding an FTP program, the downloading/uploading happens in a seperate thread. The problem is now how to pause/resume the download (even on servers that don't support file resume), an easy/working way is to pause/resume the working thread with thread.suspend but it tells me that this function is …

Member Avatar for GeekByChoiCe
0
836
Member Avatar for sweetsasthi

hai, In my project, i have a task of uploading a photo attached to the application form to the form designed in vb.net.Can you suggest some ideas of how to work on this.Is web camera preferable. thanking you in advance.

Member Avatar for kvprajapati
0
77
Member Avatar for mansi sharma

I want to get image from the file..I m able to do it....But mine code do not close the file,after getting the image,I want to close the file.Cz after getting the image,I want to delete that file.....on Deleteing error is dere file is user by another process... Public Sub GetImagesContent(ByVal …

Member Avatar for mansi sharma
0
829
Member Avatar for witecloner

Sorry if my thread is place in incorrect forum. Hai All ... Could anybody help me? i'm praticing how to build the n'tier application. I have read some book tell about this, like "Building Client/Server Applications With VB.NET" by Jeff Levinson, beth massi video tutorial "building simple n-tier applications", and …

Member Avatar for witecloner
1
299
Member Avatar for scsachira

I'm designing chat application these days.. I tried several samples which i found from the web.. I designed Server and Client.. When i run client in my machine, server get it nicely.. but when server in my machine and client in other machine, server doesn't detect client.. I tried 5+ …

Member Avatar for scsachira
0
125
Member Avatar for kimbula...

Hi all, I need a favor on SQL this time There are 4 tables as follows Employee(EmpID,EmpName,...........) Designation(Des_ID,Designation....) EmpProfInfo(EmpID,Des_ID,..........) Training(TrainingTypeID,EmpID,TrainingType,.......) When an employee allocated to a training their details will be inserted in to the Training Table I want to write a sql query so that I can select EmpID,EmpName,Designation …

Member Avatar for samir_ibrahim
0
120
Member Avatar for Piya27

Hi All, I am working on a windows application in vb.net. (School Management Project). My problem is that, when I am adding the Personal Details of a student,(which include enrolmentno(primary key in the database),name,class,section,etc), when I click the save button what I want is that the enrolmentno should appear on …

Member Avatar for Teme64
0
162
Member Avatar for flavioweb1

Well, can someone help me with regular expressions?? It's look, I need RE that block textBox empty. I tried everything, but I failed. So I did code something like this: This code below work very well. '''---------------------------------------------- Protected Sub editarNodeButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles editarNodeButton.Click Try …

Member Avatar for GeekByChoiCe
0
135
Member Avatar for sum_chat

Hi all, I want to run a dot net web application developed in C# (2003 ) in Apache. I have installed Apache 2.2.10.0 and also loaded the module mod_aspdotnet.so. But my problem is the ASP text box controls are not being displayed although the scripts within the <% %> tags …

0
60
Member Avatar for Manikyr

I need help with my visual basic assignment! The program has to include an array with at least two strings. In the layout there should be one label which explains what the user has to do, for example "Write two strings" (or x strings) and one label that shows the …

Member Avatar for scsachira
0
158
Member Avatar for zuve_fox

Hi.. Could Everybody help me how to display preview image from scan image and set area size to scan and also convert to pdf when Acquire Image from scanner device I use vb.net to build this application thanx

0
49
Member Avatar for plusplus
Member Avatar for laks_samy

hi i am working in vb.net 2005 and sql 2005. i have developed backup and restore forms. in the backup form if i backup database, i need to list server dir and folders but i am working in client system. how to list server dir list? in my system connected …

Member Avatar for kvprajapati
0
76
Member Avatar for murid

if I want to send an animated GIF format picture, how do I save the picture in destination folder? I already using "System.Drawing.Imaging.ImageFormat.gif", but the GIF picture no longer animated, it become like JPEG format. another help please...

Member Avatar for Teme64
0
184

The End.