20,899 Topics

Member Avatar for
Member Avatar for sana.khatib20

hi all, i want the application to show error message if the searched object is not in the database or if the user is trying to insert the same value again plz suggest some code.

Member Avatar for babbu
0
93
Member Avatar for fawadkhalil

Hey all i m trying to send progaramatically an email to user. i receive message "Email sent successfully".but email is not deliveing... i have two problems 1.Email sent to yahoo id is in queue from yesterday as i checked it in Inetpub>mailroot>queue. 2.Email sent to hotmail id is neither in …

Member Avatar for demigod
0
273
Member Avatar for Sharif Lotfi

Hello I need to connection beetween VB.Net 2003 and Excel 2003 and use excel 2003 object I add Excell 11.0 Library to my project and write this code : -------------------------------------------------------- Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet xlApp = CType(CreateObject("Excel.Application"), Excel.Application) xlBook = CType(xlApp.Workbooks.Add, Excel.Workbook) …

Member Avatar for kolstedt
0
297
Member Avatar for shahul.hameed
Member Avatar for shahul.hameed
0
68
Member Avatar for manchi

m developing a desktop apllication. in this application m capturing image from webcam directly and picture is also displaying .now the things is i want to insert the picture available in picturebox to database(sqlserver 2005)in binary type. can anyone pliz provide the code for this.

Member Avatar for kvprajapati
0
54
Member Avatar for totoy13

Hi, I'm new to the forum and I was wondering if anyone would know how to display data from the tables of a MS Access database on labels on a form. The code underneath is my code for saving inputted data from textboxes. [CODE] Private Sub Button2_Click(ByVal sender As System.Object, …

Member Avatar for totoy13
1
201
Member Avatar for kerek2

Hi All my buddy, I'm trying to add my data to datagrid from mdb. I can do that but the problem is , i need to custom the header.....but it just display all selected item field from my database...can anyone show me how to display in datagrid with only selected …

Member Avatar for kerek2
0
65
Member Avatar for ithought

Hi friends, here is my problem. I am using the Crystal Report and everything is fine. Now when i try to run the project, it first open a dialog box named as 'Enter Parameter Values' and i need to enter the date in order to view the report. But what …

Member Avatar for Jemjoo
0
168
Member Avatar for ithought

hi all, kindly help me experts. i am in hurry to finish my report. i am using vb.net 2005 and sql server 2000 1. i have two tables which has no link 2. i try to show fields of both table in single report page 3. so i used two …

0
57
Member Avatar for mania_comp

Hi Guys, I am doing a simple backup of sql server database through VB.NET form. It gets executed well but I want to display details of successful query execution in a label (i.e. time taken, database size etc.) The message which I want to display in label is like [B]"Processed …

0
62
Member Avatar for premsagar1000

how to create set up file in vb.net , after setup has made ,if there are any modifications how to made another set up file

Member Avatar for manu2009
0
105
Member Avatar for markperfinan

I always get an error with Line 39. It always have NullPointerException error. Could you check what is the error? Here's my code Imports System.Runtime.InteropServices Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim filen As String filen = TextBox1.Text test(filen) End Sub …

Member Avatar for markperfinan
0
384
Member Avatar for mania_comp

Hi Guys, I am using Data Grid in Windows Form. I am displaying information in data grid. I have also used Button type column to provide delete facility. I have also applied Alternate Row Style as back color as Light Gray. All works fine.The only problem is at run time …

0
76
Member Avatar for sana.khatib20

HI PPL, i dont knw wats happen to my application it has stopped working. my application is in vb.net.till the day b'fore it was f9 bt next day the application did nt take any changes made and it showed only those results tat wer saved the day earlier n its …

Member Avatar for GeekByChoiCe
0
72
Member Avatar for daveofgv

I have this program that I found on the internet somewhere. I am trying to add to it and need a little help. I am a vb.net man and I am trying to do this in C#. What this little program does it hide the taskbar, star menu, ctrl+esc and …

Member Avatar for daveofgv
0
174
Member Avatar for m_coombes

HI there guys, forgive the basic question but it is late Friday afternoon where I am and my brain is broken. I'm trying to make a very simple expression to control visability of a text box in Visual Studio for a SQL Report. It uses a cut down version of …

0
47
Member Avatar for I.odine

Hey Guys - I am trying to figure this out, but its doing my head in... I basically have followed this: [URL="http://www.w3schools.com/Ajax/ajax_xmlfile.asp"]http://www.w3schools.com/Ajax/ajax_xmlfile.asp[/URL] to get a drop down list to populate from an XMl file, and when an option is selected a run down of all the nodes in that set …

0
71
Member Avatar for sonia sardana

I drag Tabcontrol.& add two tab pages. I have contextmenu Strip, dat i bound to tabcontrol.I select the ContextMenuStrip & set it to ContextMenuStrip1 Now i right click on tab headers.Suppose i right click on tabpage1,contextmenu is displayed.I want that when i right click on tabpage..I want to get the …

Member Avatar for sonia sardana
0
3K
Member Avatar for jfranco78

Hello everyone, I'm fairly new at programmig in VB 2008 and I seem to have an issue in a program I'm developing. Basically I need to draw a bar graph with data that changes dynamically (in a real application it may change every 500 ms). The code I wrote works …

Member Avatar for jfranco78
0
154
Member Avatar for xVent

Hi guys , is it possible to save 4 strings from 4 textboxes into 4 variables and give them a name so when i will click the button it will save them as one name in a listbox and when a user clicks the item from listbox it will show …

Member Avatar for xVent
0
45
Member Avatar for zuve_fox
Member Avatar for DangerDev
0
51
Member Avatar for Alphard

Hi guys, Im currently having difficulties connecting 2 comboboxes together. 2 of my combobox are the following, 1 combobox for the country and the other one for the city. So here's the thing, if I'll choose any country from the combobox-country then all of its cities would appear. I am …

Member Avatar for g@sha
0
110
Member Avatar for Stals

Im using [code]For Each foundFile As String In My.Computer.FileSystem.GetFiles( _ My.Computer.FileSystem.SpecialDirectories.MyDocuments, _ FileIO.SearchOption.SearchAllSubDirectories, "*element.txt") ListBox1.Items.Add(foundFile) [/code] to get file paths. There are 3 elements for example. And i need them to become variables. (a,b,c) And show in labels [code] Label1.text= a Label2.Text =b Label3.Text =c [/code] Label1 will show the …

Member Avatar for steve11
0
108
Member Avatar for babbu

i have a datagrid view. i am using data table to display data [code] oledbcon.Open() m_daDataAdapter = New OleDb.OleDbDataAdapter("Select * from Customer", oledbcon) m_daDataAdapter.Fill(m_dtCustomer) m_cbCommandBuilder = New OleDb.OleDbCommandBuilder(m_daDataAdapter) m_rowPosition = m_dtCustomer.Rows.Count dataGridView1.DataSource = m_dtCustomer oledbcon.Close() [/code] this works great. later i want to display only those records tht the user …

Member Avatar for g@sha
0
2K
Member Avatar for Piya27

Hi All, I have recently installed Visual Studio 2005 after system recovery... and now when I start debugging any program, it shows me the following error : [b]"Error while trying to run project : Unable to start debugging. The Binding handle is invalid."[/b] Please Help.

Member Avatar for Piya27
0
52
Member Avatar for StuartMillner

I am writing a program that reads paragraphs from a word document and puts them between XML tags. I have a class which handles the loading and reading of the word document. The document loads fine, and the program can read all the words into the program, but not on …

Member Avatar for StuartMillner
0
972
Member Avatar for sana.khatib20

hi thnx all for the help last time. nw i hav another prob. i am developing an application for the doctors n wanna store all the patients records.i am using an access database.nw my problem is tat the register no. tat is the identity of the patient has to be …

Member Avatar for iCreator
0
287
Member Avatar for squanch

I'm trying to allow a user to find a specific string within a DataGridView column and replace it with another string.....not necessarily requiring them to replace the whole string but to change a word within the string. for example: Find What: GLAND it searchs the column and finds GLAND STEAM …

Member Avatar for kvprajapati
0
166
Member Avatar for iamnoangel26

I am planning on making a biometrics attendance system. I have the hardware and planning on creating a software. My question is Whis VB to use. VB.Net or VB 6.0? Or other language to suggest? I am a Intermediate user when it comes to VB 6.0 and C++. Thanks in …

Member Avatar for iamnoangel26
0
215
Member Avatar for ChrisPaul

Hello, I have a question. How can i determine if an email address is in the correct format. I use the System.Net.Mail.MailMessage to send my messages. I am getting my To email addresses from the database but when the address is not in the correct email format the program stops …

Member Avatar for ChrisPaul
0
333
Member Avatar for liverpoolfc108

Hey! I'm working on this solution that wants me to code an application that displays the highest score earned on the midterm and then the highest score on the final exam. This is waht I have so far but it is not working... Option Explicit On Option Strict On Public …

Member Avatar for Teme64
0
139
Member Avatar for chatee
Member Avatar for kohkohkoh

Hi, i have a problem where i try to dumpbin.exe /exports one of my dll. i could not get the functions that i have built in. i have coded 2 type of languages and compile them into dll. for example: .net Public Class Class1 Public Function apaitu() As String Return …

0
68
Member Avatar for jasondemon

Here is my code: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load InitializeComponent() Dim str As New StreamReader("C:\projects\servers.txt") Dim server As String = str.ReadToEnd().ToString() str.Close() Dim thisconnection As New SqlConnection("server=" & server & ";integrated security=True;database=Deduping") Dim thisAdapter As New SqlDataAdapter() Dim cmdthisAdapter As New SqlCommand("SELECT ProjectNumber, …

Member Avatar for babbu
0
126
Member Avatar for LeonKamei

hi, i'm trying to make a photobox application in which it can capture a photo and decorate it like putting a frame and stamps in the photo. how do i make the application so it can put photo frames and stamps in the captured photo? thx in advance...

0
44
Member Avatar for bryan69

hi,im doin a mobile banking system and rite now, i have 2 forms in d 1st form.. ive created fields for name,account number and amount while d other form is where it is supposed to display the transaction number. my question is, i only can make this program work successfully …

Member Avatar for Piya27
0
107
Member Avatar for ctyokley

Ok. so i'm not quite sure how to do this. I have searched many of website but cant really find too much. I have a database in MS ACCESS that holds user information. I have the insert function working on this. I have used VB.NET CODE. What i want to …

Member Avatar for ctyokley
0
434
Member Avatar for Dizzzy

Ok i have this code to retreive data from a Table "Calendar" and the feild within the table are Id,Day ,Month and Year. When i press the button to run this code and i get the error message "The parameterized query '(@Day varchar(8000),@Month varchar(8000),@Year varchar(8000))Sel' expects the parameter '@Day', which …

Member Avatar for jbisono
0
219
Member Avatar for laghaterohan

I have a form admission and a another form attendance. When i click on save button of the admission form the id which is contained in that form should be added to the combo box on the attendance form. eg. say if i am saving the details of ID 4..When …

Member Avatar for jasondemon
0
150
Member Avatar for xVent

Hi guys , i want to fill a textbox with a data from my mysql database and i dont know how to do it , i already searched without a result , if someone can help me i would appreciate it .

Member Avatar for xVent
0
541
Member Avatar for manchi

how to store image capturing form webcam in database? pliz tell me all the steps .

Member Avatar for kvprajapati
0
61
Member Avatar for khuks

I have this error pliz help me out. "The ConnectionString property has not been initialized."

Member Avatar for kvprajapati
0
73
Member Avatar for nolesce

I am working on a vb app and am getting this error when calling a form (frmCaseList) from another form(LoginForm). the frmCaseList wasat one time in a different solution where it worked fine (it was the startup form). frmCaseList is also inside a namespace. If I commentout the [icode].show()[/icode] line …

Member Avatar for nolesce
0
385
Member Avatar for rinkuchoudhury

hi I have to add nodes and subnodes to a tree view from sql database in asp.net(VB.Net) 2.0 How to do this i have 3 tables i want to add nodes from first table and respective childnodes from the 2nd table subsiquent child nodes from the 3rd table how to …

Member Avatar for bassam572009
0
315
Member Avatar for sandli28

Hi, In vb.net2008 if we want to disable/enable the groupbox as per condition.Then how its possible when we used save button.how its insert into database.following is the code: [code=vb.net] Imports System.Data.OleDb Public Class addcust Dim da As OleDbDataAdapter Dim ds As DataSet Dim cmd As OleDbCommand Dim cmd1 As OleDbCommand …

Member Avatar for Piya27
0
1K
Member Avatar for danielagaba

hi, i'm using VS2008 and used the database wizard to make sure my database table and dataset datatable match. I used following code to transfer data from my windows form to my dataset then database. I keep getting an error saying "Invalid Object name 'Housing'" and I cant find the …

0
64
Member Avatar for babbu

the code doesnt retrieve any data from the database datagridview1 always remains blank [code] Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select * from customer where company like '*?*'" oledbcom.Connection = oledbcon oledbcom.Parameters.Add("?", OleDb.OleDbType.VarChar) Dim company As String = txtSearch.Text.Trim oledbcom.Parameters(0).Value = company.ToString Dim da As New OleDb.OleDbDataAdapter(oledbcom) Dim dt …

Member Avatar for babbu
0
99
Member Avatar for kerek2

Hi, I',\m already success to display value from mdb database into crystal report.....i got some problem that is ... how to display item with own format into crystal report..The situation is..in my database the field is like this = EPS0000000 with autonumber function. But when display in crsytal report it …

Member Avatar for kerek2
0
90
Member Avatar for danielagaba

hi i'm tryin to get data from my windows form that is 1st stored in a dataset then stored later in a local database(.sdf). this is the code i'm trying to use on the save button clock event. [code] Dim houseType As String = me.housingType.selectedValue Dim desc As String = …

Member Avatar for danielagaba
0
95
Member Avatar for Faiz Azani

Greetings all, I am a beginner for VB.net. Thus, I have a problem regarding the code below; Private Sub btnSaveUpdates_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSaveUpdates.Click Dim changes As Integer Dim strYear As String Dim dataAdapter As New OleDb.OleDbDataAdapter(sqlStr, connStr) Dim commandBuilder As New OleDb.OleDbCommandBuilder(dataAdapter) strYear = …

Member Avatar for kvprajapati
0
92

The End.