20,285 Topics
![]() | |
Dim Mail As New MailMessage Mail.Subject = "" Mail.To.Add("") Mail.From = New MailAddress("") Mail.Body = textbox1.text " How i can add 5 textboxes in body " Dim SMTP1 As New SmtpClient("smtp-mail.outlook.com") SMTP1.EnableSsl = True SMTP1.Credentials = New System.Net.NetworkCredential("mail@mail.com", "password") SMTP1.Port = "587" SMTP1.Send(Mail) How i can add 5 textboxes in … | |
Hello , I am new at programming, and I need help with a simple VB.NET application I'm working on. The trouble I'm having is, I need to populate a combobox with all the table names from one specific database, so that the user can select which database table to work … | |
Hey everyone here. I want to start this topic by saying Thanks to Shark 1 who helped me with my previous code. I need some help. Searching on google was not useful. I need to create new Microsoft Access file located at this folder "C:\ProgramData\MyNewSoftwareFile" Is it possible to put … | |
I have below code to print richtextbox text. My textbox contains Regular and bold text but below code print either bold or reguler text. How can i print text as it is in the text box. Private Sub PrintToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintToolStripMenuItem.Click If PrintDialog1.ShowDialog() … | |
Hi again, i want to use on sceen keyboard when i want to click/touch a textbox, i tried to do a keyboard in vb.net but it can only focus on one form only. Can you give any idea how can i use on screen keyboard or how can i focus … | |
Hi again, I'm having a trouble in updating an item from listview to database I try this code , but it says syntax error in Update nod=name of dish , qty = quantity TBLORDERS - nod[text], qty[text], price[text] lvorder - qty , [subitems] - name of dish, price Dim sql … | |
Hi Consider the string "Please, go Mr. Gofer and good bye" I want to split the string at the specific word 'Go' (not Go in 'Gofer' or in 'good') in my case 'Go' could be at begin of sentence or at end or somewhere inside sentence. How can I achieve … | |
Frnd i m trying to view path with file name in listview so plz help me plz give me code for vb 2010 | |
how to print my listview details .. i found open source with class but this is only printing my 1st column also it is printing 1st column details in all column. please tell me how i can edit it . and put my all subitems of list the class is … | |
How do i retrieve an ID with an AUTONUMBER as DATATYPE and has alphanumeric format ex(ER001)? Can some genius programmer out there help? :P? im using Access for backend and VB 2010. My code so far only returning the last number of the ID Column ex(1 instead of ER001) Dim … | |
i have a textbox named AddU.text, i also have a msaccess table field named Quantity, what I want is that when i input a value in AddU.Text and click the add button, the value i entered will be automatically add to the existing value in Quantity. I keep searching for … | |
Hi ! I am working in a project using vb.net 2010 with SAP Crystal Reports. Regarding the Reports everything is fine but i had an unusual problem. Actually i have to make a report using sub report technique but when i call the main report that calls another sub report … | |
hello sir my problem is when i add new buttons or labels any thing on a page it cannot be displayed(and also do not execute new code) .... it display only those things which i put on the interface or page before...did not add new things...kindly help me its my … | |
I have a program (exe) that starts an external .exe program in response to a user request. If the external program is started by me on the desktop it checks for updates to the program prior to opening up. If I do it using the ProcessStartInfo then it doesn't check … | |
Private Sub LVlist_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LVlist.SelectedIndexChanged If LVlist.SelectedItems.Count > 0 Then With LVlist.SelectedItems(0) VarIdentifier = .SubItems(0).Text lblname.Text = .SubItems(0).Text End With pix() End If end sub Sub pix() sql = "select pic from tbldishlist where nod = '" & lblname.Text & "'" Dim acscmd … | |
Hi insert command works update does not do anything any help Please SqlTimes.InsertCommand = "insert into athletedata([Athlete],[Mydate],[session],[mytime]) values ('" & athletename & "','" & storedate & "','" & todaysession1 & "','" & savetim1 & "') " SqlTimes.Insert() SqlTimes.UpdateCommand = "UPDATE Members SET [Agegrade]=('" & savetim1 & "'where [Fullname]='" & athletename … | |
basically i m creating vb.net window application which can show the result in rdlc report... at the back end it is SQL server 2008. Is there any easy way to fill RDLC tablix based on row and column grouping. The situation is as follows. I have a table in SQL … | |
Dear all i need help with listview . i have 5 columns and i have 4 menustrips. i want something like below If ListView1.SelectedItems(0).SubItems(0).Text = "Advance" Then t2.Enabled = False t3.Enabled = False t4.Enabled = False ElseIf ListView1.SelectedItems(0).SubItems(0).Text = "Access" Then t1.Enabled = False t3.Enabled = False t4.Enabled = False … | |
Hi All, I am trying get FROM Email address while uploading email. I have FileUpload control to update the any of documents from drive to application. I need to get FROM Email address when uploading email using FileUpload. Please let me know if have any code like above Scenario | |
I have a set of 2 ComboBoxes i would like to make Combobox 2 not populate from the directory if Combobox1 has a certain character in the file that is highlighted. If at all posible id like to find a way to have it continully search for the specific set … | |
whenever i click form10 then this error come. Warning 1 Value cannot be null. Parameter name: objectType 0 0 Instances of this error (1) 1. Hide Call Stack at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.GetRuntimeType(Type objectType) at System.ComponentModel.TypeDescriptionProvider.GetRuntimeType(Type reflectionType) at Microsoft.VisualStudio.Design.MultiTargetingContextProvider.GetRuntimeType(Type objectType) at Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetFieldType(String fieldName, Type documentBaseType) at Microsoft.VisualStudio.Design.Serialization.CodeDom.HandlesClauseManager.GetReferencedComponentType(String componentName, CodeTypeDeclaration codeTypeDecl, ITypeResolutionService loader, IDictionary& … | |
how to export data in listview to excel without using spire.dataexport | |
Hello I've posted a few days ago how to get my data in a SQL database and show it in a datagridview. I found out how to do this rather quickly however I've been asked if I can add a button to my form and be able to print my … | |
Hi, I am Populating a combobox from a directory but im wanting to filter some file names from showing in a specific Combobox. Im a newb at this VB stuff and could use the help! Here's the code im using to pull the filenames from my C:\ drive but i … | |
Hello I have a project where I have 2 textboxes called "Name program" and "Error" where I have to write data in, Once I have wrote the data I have to import these 2 textboxes into an SQL database so it has to show like this in the database: Name … | |
hi, i am trying to print report by ceating excel file and print. but getting below error when creating sheet2. osheet = obook.Worksheets("Sheet2") Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX) worksheet1 works fine. I have Excel 2013 installed on my system. what could be the problem. Thanks | |
I'm writing a routine where the user can populate up to 8 textboxes with numbers. Since there is potential for these numbers to be unsorted, I want to sort these prior to saving. However it's probable that all of the textboxes will not be used. My challenge then is how … | |
Hi again, i'm trying to put a background image in my button[i declare the button] , My database[ms access] , tbldishlist - name[text , Primary key], pic [ole object] when the form is loading, the button's background is according to the name of the item. here's my example: Dim btn … |
The End.