20,899 Topics
![]() | |
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. | |
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 … | |
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) … | |
while i run report login window comes , how to i remove this one | |
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. | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
Hi.. I created dll file using vb.net 2005. can I call that dll using javascript ? thanx | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
an algorithm for make school time tables. | |
![]() | 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 … |
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, … | |
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... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 . | |
how to store image capturing form webcam in database? pliz tell me all the steps . | |
I have this error pliz help me out. "The ConnectionString property has not been initialized." | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 = … |
The End.