Reputation: 0 Apprentice
- Active Posts:
- 36 (0.05 per day)
- 18-January 12
- Profile Views:
- Last Active:
- Jan 14 2013 09:26 PM
- Dream Kudos:
Posts I've Made
Posted 22 Nov 2012Thank you my friend.Probably I will start with ASP.NET on your suggestion of my previously expirience in VB.NET.If my web development skills going up I will start with learning of PHP.
Posted 22 Nov 2012Which is a difference between server-side languages and client side languages?
Posted 12 Nov 2012
I resolve problem.
'Checking a selection If ListBox1.SelectedIndex = -1 Then Return End If 'Get the text of the selected item Dim selectedtext As String = ListBox1.Items(ListBox1.SelectedIndex).ToString() 'Split the items one by one Dim parts As String() = selectedtext.Split("="c, " "c, "="c, " "c, "="c, " "c) If parts.Length > 2 Then 'Define a variable for each part Dim part1 As String = parts(0).Trim() Dim part2 As String = parts(1).Trim() Dim part3 As String = parts(2).Trim() Dim part4 As String = parts(3).Trim() Dim part5 As String = parts(4).Trim() Dim part6 As String = parts(5).Trim() TextBox1.Text = part2 TextBox2.Text = part4 TextBox3.Text = part6 End If
Posted 11 Nov 2012First of all you need to download "iTextSharp" from: iTextSharp
After that,extract iTextSharp and you need to add reference to file itextsharp.dll Chose right click on project-->add reference-->browse and browse to the extracted folder.
Now,you need to create pdf file on c:\ drive using this code:
Using fs As New IO.FileStream("c:\file.pdf", IO.FileMode.Create) Using doc As New Document Dim pdfWriter As pdf.PdfWriter = iTextSharp.text.pdf.PdfWriter.GetInstance(doc, fs) doc.Open() doc.Add(New Paragraph("Now pdf file is created and you can input what you need!")) doc.Close() End Using End Using
Don't forget to import: Imports iTextSharp.text above Public Class Form1.
Posted 8 Nov 2012RESOLVED!
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
- Click here to e-mail me
topsykretts hasn't added any friends yet.