How am i import news reader xml file to HTML tab ? I got that news.xml file from BBC Regards Kusal
Kusal
Posts
-
Work with RSS -
Convert coding VB 5.0 to VB.Net 2003Dear Kevin, I covert it. but there was many errors. Pls, Give any help to solve it. Regards Kusal '/////////////////////////////////////////////////////////////////////// Option Strict Off Option Explicit On Friend Class MainForm Inherits System.Windows.Forms.Form #Region "Windows Form Designer generated code " Public Sub New() MyBase.New() If m_vb6FormDefInstance Is Nothing Then If m_InitializingDefInstance Then m_vb6FormDefInstance = Me Else Try 'For the start-up form, the first instance created is the default instance. If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then m_vb6FormDefInstance = Me End If Catch End Try End If End If 'This call is required by the Windows Form Designer. InitializeComponent() End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean) If Disposing Then If Not components Is Nothing Then components.Dispose() End If End If MyBase.Dispose(Disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer Public ToolTip1 As System.Windows.Forms.ToolTip Public WithEvents Command1 As System.Windows.Forms.Button 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Private Sub InitializeComponent() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(MainForm)) Me.components = New System.ComponentModel.Container() Me.ToolTip1 = New System.Windows.Forms.ToolTip(components) Me.ToolTip1.Active = True Me.Command1 = New System.Windows.Forms.Button Me.Text = "Sample Program" Me.ClientSize = New System.Drawing.Size(218, 115) Me.Location = New System.Drawing.Point(4, 30) Me.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultLocation Me.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.BackColor = System.Drawing.SystemColors.Control Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable Me.ControlBox = True Me.Enabled = True Me.KeyPreview = False Me.MaximizeBox = True Me.MinimizeBox = True Me.
-
Convert coding VB 5.0 to VB.Net 2003Tannks Regards Kusal
-
Can someone help me to convert the below vb5 code to vb.net code.'////////////////////////////////////////////////////////////////// Private Sub Command1_Click() For Each prnPrinter In Printers If prnPrinter.DeviceName = "BIXOLON SAMSUNG SRP-275" Then Set Printer = prnPrinter Exit For End If Next If Printer.DeviceName = "BIXOLON SAMSUNG SRP-275" Then Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "x" Printer.Font.Size = 9 Printer.FontName = "FontA2x1" Printer.Font.Bold = True Printer.Print "* Joshua Cafe *" + vbCrLf Printer.Font.Bold = False Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "w" Printer.Font.Size = 9 Printer.FontName = "FontA1x1" Printer.Print " 3000 Spring Street, Rancho," Printer.Print " California 10093," Printer.Print " Tel) 858-519-3698 Fax) 3852" Printer.Print vbCrLf + "---------------------------------" 'LF Printer.Print "Orange Juice 5.00" Printer.Print "6 Bufalo Wing 24.00" Printer.Print "Potato Skin 12.00" Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Subtotal 41.00" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Print "Tax 6% 2.46" Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Member Discount 2.30" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Font.Bold = True Printer.Print "Cash 100.00" Printer.Print "Amt. Paid 41.16" Printer.Font.Bold = False Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Change Due 58.84" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Print "---------------------------------" Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "x" Printer.Font.Size = 9 Printer.FontName = "FontA1x1" Printer.Print "Member Number : 452331949" + vbCrLf Printer.Font.Size = 9 Printer.FontName = "FontA1x1" Printer.Font.Bold = True Printer.Print "Have a nice day !" + vbCrLf Printer.Font.Bold = False Printer.Print "Sale Date: 07/01/03" Printer.Print "Time: 12:30:45" Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "w" Dim pic As Picture Set pic = LoadPicture(App.Path & "\free5_100.bmp") Printer.CurrentX = 60 Printer.CurrentY = 5000 Printer.PaintPicture pic, Printer.CurrentX, Printer.CurrentY Printer.CurrentY = Printer.CurrentY + pic.Height Set pic = LoadPicture(App.Path & "\cafeblue208.bmp") Printer.PaintPicture pic, Printer.CurrentX, Printer.CurrentY Printer.CurrentX = 0 Printer.CurrentY = 9000 Printer.Font.Size = 9 Printer.
-
Convert coding VB 5.0 to VB.NET 2003Hi, I need to convert this coding VB 5.0 to VB.Net 2003. This print button coding in billing system. I use BIXOLON SAMSUNG SRP-275 mini printer. There was sample coding but it's in VB 5.0. But I write my program in VB.Net 2003. This is the coding...... '////////////////////////////////////////////////////////////////// Private Sub Command1_Click() For Each prnPrinter In Printers If prnPrinter.DeviceName = "BIXOLON SAMSUNG SRP-275" Then Set Printer = prnPrinter Exit For End If Next If Printer.DeviceName = "BIXOLON SAMSUNG SRP-275" Then Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "x" Printer.Font.Size = 9 Printer.FontName = "FontA2x1" Printer.Font.Bold = True Printer.Print "* Joshua Cafe *" + vbCrLf Printer.Font.Bold = False Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "w" Printer.Font.Size = 9 Printer.FontName = "FontA1x1" Printer.Print " 3000 Spring Street, Rancho," Printer.Print " California 10093," Printer.Print " Tel) 858-519-3698 Fax) 3852" Printer.Print vbCrLf + "---------------------------------" 'LF Printer.Print "Orange Juice 5.00" Printer.Print "6 Bufalo Wing 24.00" Printer.Print "Potato Skin 12.00" Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Subtotal 41.00" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Print "Tax 6% 2.46" Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Member Discount 2.30" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Font.Bold = True Printer.Print "Cash 100.00" Printer.Print "Amt. Paid 41.16" Printer.Font.Bold = False Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Change Due 58.84" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Print "---------------------------------" Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "x" Printer.Font.Size = 9 Printer.FontName = "FontA1x1" Printer.Print "Member Number : 452331949" + vbCrLf Printer.Font.Size = 9 Printer.FontName = "FontA1x1" Printer.Font.Bold = True Printer.Print "Have a nice day !" + vbCrLf Printer.Font.Bold = False Printer.Print "Sale Date: 07/01/03" Printer.Print "Time: 12:30:45" Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "w" Dim pic As Picture Set pic = LoadPicture(App.Path & "\free5_100.bmp") Printer.CurrentX = 60 Printer.CurrentY = 5000 Printer.PaintPicture pic, Printer.CurrentX, Print
-
Convert coding VB 5.0 to VB.Net 2003Hi, I need to convert this coding VB 5.0 to VB.Net 2003. This print button coding in billing system. I use BIXOLON SAMSUNG SRP-275 mini printer. There was sample coding but it's in VB 5.0. But I write my program in VB.Net 2003. This is the coding...... '////////////////////////////////////////////////////////////////// Private Sub Command1_Click() For Each prnPrinter In Printers If prnPrinter.DeviceName = "BIXOLON SAMSUNG SRP-275" Then Set Printer = prnPrinter Exit For End If Next If Printer.DeviceName = "BIXOLON SAMSUNG SRP-275" Then Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "x" Printer.Font.Size = 9 Printer.FontName = "FontA2x1" Printer.Font.Bold = True Printer.Print "* Joshua Cafe *" + vbCrLf Printer.Font.Bold = False Printer.Font.Size = 9 Printer.FontName = "FontControl" Printer.Print "w" Printer.Font.Size = 9 Printer.FontName = "FontA1x1" Printer.Print " 3000 Spring Street, Rancho," Printer.Print " California 10093," Printer.Print " Tel) 858-519-3698 Fax) 3852" Printer.Print vbCrLf + "---------------------------------" 'LF Printer.Print "Orange Juice 5.00" Printer.Print "6 Bufalo Wing 24.00" Printer.Print "Potato Skin 12.00" Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Subtotal 41.00" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Print "Tax 6% 2.46" Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Member Discount 2.30" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Font.Bold = True Printer.Print "Cash 100.00" Printer.Print "Amt. Paid 41.16" Printer.Font.Bold = False Printer.Font.Bold = True Printer.ForeColor = RGB(255, 0, 0) Printer.Print "Change Due 58.84" Printer.ForeColor = RGB(0, 0, 0) Printer.Font.Bold = False Printer.Print "---------------------------------" Printer.Font.Size = 9 Pri
-
Crystal Reports in VB.Net 2003Dear Tirtha Many Thanks Regards Kusal
-
Crystal Reports in VB.Net 2003Hi, I need to print Receipt(Bill) in VB.Net application. I created that Receipt using crystal report wizard and I put report name as myBill.rpt. My application has "Print" button. I need to print that receipt directly after clicking that "Print" button without using Crystal Report Viewer tool. Is it possible? What are the coding I'll add to that "Print" button. Any one can help me, pls send me some sample code ? Regards Kusal
-
Two colomn data bind to one combo box.Dear Christian , Many Thanks Best Regards Kusal
-
Two colomn data bind to one combo box.Dear All, I have Table(MS SQL Sever 2000) name "Item" It has two colomn "ItemNo, IName") and it has relevant sample data also. Actually I can bind one colomn data to combo box(Using data set). But I need bind this two colomn("ItemNo", "IName") data in one combo box. Pls, tell me or send sample code for that. I'll think after binding two colomn like this. 00001 - Mother Board 00002 - Mouse 00003 - Key Board. Thanks & Regrds Kusal
-
Who's the expert in ASP.NETDear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal
-
Web.config, Global.asaxHi Ben, Meny thanks Regards Kusal
-
Web.config, Global.asaxHi, Meny thanks Regards Kusal
-
Web.config, Global.asaxDear All, Pls send article about Web.config, Global.asax files in ASP.Net Project Regards Kusal
-
Web.config, Global.asaxDear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal
-
Web.config, Global.asaxDear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal
-
Web.config, Global.asaxDear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal
-
ASP.Net - Web.config, Global.asaxDear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal
-
VB/ASP.Net 2005Dear Sathesh Thanks for reply Regards Kusal
-
VB/ASP.Net 2005Dear Mark, Thanks for reply Regards Kusal