20,285 Topics

Member Avatar for
Member Avatar for OMER AHMED

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 …

Member Avatar for OMER AHMED
0
183
Member Avatar for sumas

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 …

Member Avatar for djjeavons
0
2K
Member Avatar for altjen

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 …

Member Avatar for Mr.M
0
301
Member Avatar for PM312

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() …

Member Avatar for PM312
0
1K
Member Avatar for jez9

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 …

Member Avatar for Reverend Jim
0
9K
Member Avatar for jez9

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 …

Member Avatar for jez9
0
1K
Member Avatar for gbhs

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 …

Member Avatar for Reverend Jim
0
236
Member Avatar for Mohammed_17

Frnd i m trying to view path with file name in listview so plz help me plz give me code for vb 2010

Member Avatar for Mr.M
0
99
Member Avatar for OMER AHMED

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 …

Member Avatar for OMER AHMED
0
1K
Member Avatar for Hari om
Member Avatar for Erick_3

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 …

Member Avatar for Reverend Jim
0
231
Member Avatar for Kristiani

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 …

Member Avatar for jez9
0
2K
Member Avatar for Solution Hall

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 …

Member Avatar for Minimalist
0
1K
Member Avatar for waqasmrd

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 …

Member Avatar for waqasmrd
0
142
Member Avatar for jamesrobb

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 …

Member Avatar for jamesrobb
0
128
Member Avatar for jez9

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 …

Member Avatar for jez9
0
336
Member Avatar for SaneleSHaBbA
Member Avatar for Vb.Netter

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 …

Member Avatar for Santanu.Das
0
320
Member Avatar for DHARM_1

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 …

0
266
Member Avatar for OMER AHMED

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 …

Member Avatar for Minimalist
0
272
Member Avatar for sganandhsg

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

Member Avatar for Santanu.Das
0
98
Member Avatar for tucker046

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 …

Member Avatar for tinstaafl
0
162
Member Avatar for OMER AHMED

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& …

Member Avatar for Santanu.Das
0
290
Member Avatar for 12345reasbaby
Member Avatar for Reverend Jim
0
51
Member Avatar for GianiD

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 …

Member Avatar for Santanu.Das
0
147
Member Avatar for tucker046

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 …

Member Avatar for tucker046
0
448
Member Avatar for GianiD

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 …

Member Avatar for GianiD
0
269
Member Avatar for PM312

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

Member Avatar for Minimalist
0
366
Member Avatar for Papa_Don

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 …

Member Avatar for Minimalist
0
704
Member Avatar for jez9

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 …

Member Avatar for Reverend Jim
0
702

The End.