20,284 Topics

Member Avatar for
Member Avatar for milhero

Hi Professionals, I am working on a mass emailing program. I can send mass email successfully. My question is how do i add attachments? i have a label(lblAttachment), a textbox(txtAttachment) and a button(btnBrowse) on the attachment row. Here are my codes for the form:- Please advise. Thank you in advance. …

Member Avatar for milhero
0
120
Member Avatar for lolwtf

Hey all, I have a listbox, textbox, and search button on my form. I am populating my listbox with data from a sql database. I need to be able to seach my listbox and filter it. Here is what I have so far: [code] Sub RefreshListBox() Dim DSDept As New …

Member Avatar for lolwtf
0
95
Member Avatar for tedhead2

I have been using VB.NET for a while now, and I can make a ton of things. But for some reason, I can't connect to SQL. I use SQL 2008 express, and Visual Basic 2008 express(will soon get Visual studio :)) So, I go to add a database, I enter …

Member Avatar for tedhead2
0
125
Member Avatar for Merovingian

Does anyone know if you can use HttpWebRequest in a Windows Service? I have a small app that checks an IP, works perfectly as a Forms App but does nothing when I convert it too a service. Heres my code: [CODE]Imports System.Net Imports System.IO Public Class Service1 'declare timer Private …

Member Avatar for Merovingian
0
392
Member Avatar for scooby36

I am studying vb.net and am trying to develop a data access program I am getting the following error when I try to add a new record to the dataset. Any help would be great error " Input string was not in correct format. Could not store<LinenIndex> in LinenItemsID colomn …

Member Avatar for scooby36
0
5K
Member Avatar for laks_samy

hi i am developing a software using vb.net 2005. i have problem calculating steel cut process. one company have 10 quantity of steel in different size, the company going to sale 3 quantity of steel in different size. my question is how to cut 3 quantity of steel from stock(10 …

Member Avatar for Salem
0
182
Member Avatar for BlkR

Hi, Currently having troubles in adding data to the listview i have created. It actually will add the first set of data to both the database and listview, but when i try to add a second lot of data it displays the error message that I have setup. Also how …

Member Avatar for babbu
0
2K
Member Avatar for houlahan

ok so i have a controle that is made when a user clicks on an image: [CODE]Sub newbox(ByVal x As Integer, ByVal y As Integer, ByVal text As String) PictureBox1.SendToBack() Try Dim PB As New PictureBox With PB .Name = text '.BackColor = Color.Red .Image = Image.FromFile("point.jpg") .SizeMode = PictureBoxSizeMode.Zoom …

Member Avatar for GeekByChoiCe
0
88
Member Avatar for mansi sharma

hello frnds,i want to check if the computer is in sleep mode or not...Suppose my project is in normal state..I change the state to sleep mode,I want that now when the computer wakes from sleep mode,I want that my project is in minimized state..How to check dat? I have searched …

Member Avatar for mansi sharma
0
214
Member Avatar for dputman

Can anyone help with this please? I my VB.NET app to list each of the documents that are currently open in Microsoft Word. If any docs are not saved then I need to save them. I have tried using the Word application object but creating a new App object doesn't …

Member Avatar for kvprajapati
0
69
Member Avatar for joe1987

Private Sub InsertDatabase() Dim rowaffected As Integer Dim SqlInsert As String Dim fname As String Dim mname As String Dim lname As String Dim ConnPPC As New System.Data.SqlServerCe.SqlCeConnection("Data Source =" + (System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\test.sdf;")) ConnPPC.Open() fname = Me.txtfname.Text mname = Me.txtmname.Text lname = Me.txtlname.Text Dim cmd As SqlCeCommand = ConnPPC.CreateCommand …

Member Avatar for kvprajapati
0
216
Member Avatar for itshibu

Dear all, I am making a new windows based application for my firm. My appli9cation is developing by vb.net. I accomplished most of the goal except custom links in rich text box. As my plan the link work with either pictorial or text. For example. If I am refering a …

Member Avatar for kardsen
0
3K
Member Avatar for hjdaniel.sun

Hi friends, I want to write a multiform application. if I am running form1, I want to call form2 and end form1. can anyone teach me how to do it? I tried to set form1 as invisible, but I found it funny that if I close form2 by clicking on …

Member Avatar for hjdaniel.sun
0
115
Member Avatar for Victor C.

I have to create a Gradebook program with a Mdb provided by our prof. it is suppose to compose a letter in a listbox to say as so Student Name address Dear student your grade for CMSC 100 are as follow finalexam: semester grade: Best wishes for a good summer, …

Member Avatar for Victor C.
0
213
Member Avatar for milhero

Hi Professionals, I am using Microsoft Visual Studio 2005. I would like to know how to separate content in a richtextbox([B]rtbTo[/B]) in windows form with a comma automatically. For example after copying email addresses from a .txt file and pasting it to the richtextbox([B]rtbTo[/B]), there should be a comma inserted …

Member Avatar for milhero
0
139
Member Avatar for Joy McClure

Hi, I'm having problems with my find button Private Sub Btnfind_Click(ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Btnfind.Click MainFormTableAdapter.FillByLastName(_6776_BDataSet.MainForm, Txtfind.Text) I get the error:Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As _6776_BDataSet.MainFormDataTable) As Integer'. I'm trying to create a find button which allows the user …

Member Avatar for Joy McClure
0
112
Member Avatar for Joy McClure

Hi, I'm having problems with my find button Private Sub Btnfind_Click(ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Btnfind.Click MainFormTableAdapter.FillByLastName(_6776_BDataSet.MainForm, Txtfind.Text) I get the error:Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As _6776_BDataSet.MainFormDataTable) As Integer'. I'm trying to create a find button which allows the user …

Member Avatar for Joy McClure
0
85
Member Avatar for sonia sardana

I m working on project in which i have to add tab & close tab as that of IE. I m able to do dat,but its not very much clean.Check it out.Plz see if somebody can help me to do it more better. [code] Public Class Form5 Public lSelectedTabPageIndex As …

Member Avatar for tedhead2
0
159
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
91
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
250
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
294
Member Avatar for shahul.hameed
Member Avatar for shahul.hameed
0
67
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
51
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
196
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
63
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
166
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
54
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
60
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
103
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
382

The End.