Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

Kusal

@Kusal
About
Posts
22
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Work with RSS
    K Kusal

    How am i import news reader xml file to HTML tab ? I got that news.xml file from BBC Regards Kusal

    ASP.NET html xml question announcement

  • Convert coding VB 5.0 to VB.Net 2003
    K Kusal

    Dear 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.

    Visual Basic csharp java

  • Convert coding VB 5.0 to VB.Net 2003
    K Kusal

    Tannks Regards Kusal

    Visual Basic csharp java

  • Can someone help me to convert the below vb5 code to vb.net code.
    K Kusal

    '////////////////////////////////////////////////////////////////// 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.

    Visual Basic csharp java help

  • Convert coding VB 5.0 to VB.NET 2003
    K Kusal

    Hi, 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

    Visual Basic csharp java

  • Convert coding VB 5.0 to VB.Net 2003
    K Kusal

    Hi, 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

    Visual Basic csharp java

  • Crystal Reports in VB.Net 2003
    K Kusal

    Dear Tirtha Many Thanks Regards Kusal

    Visual Basic csharp help question

  • Crystal Reports in VB.Net 2003
    K Kusal

    Hi, 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

    Visual Basic csharp help question

  • Two colomn data bind to one combo box.
    K Kusal

    Dear Christian , Many Thanks Best Regards Kusal

    Visual Basic database wpf wcf

  • Two colomn data bind to one combo box.
    K Kusal

    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

    Visual Basic database wpf wcf

  • Who's the expert in ASP.NET
    K Kusal

    Dear 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 csharp asp-net security question

  • Web.config, Global.asax
    K Kusal

    Hi Ben, Meny thanks Regards Kusal

    Web Development security question

  • Web.config, Global.asax
    K Kusal

    Hi, Meny thanks Regards Kusal

    Web Development security question

  • Web.config, Global.asax
    K Kusal

    Dear All, Pls send article about Web.config, Global.asax files in ASP.Net Project Regards Kusal

    Article Writing csharp asp-net

  • Web.config, Global.asax
    K Kusal

    Dear 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

    IT & Infrastructure security question

  • Web.config, Global.asax
    K Kusal

    Dear 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 Development security question

  • Web.config, Global.asax
    K Kusal

    Dear 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

    .NET (Core and Framework) security question

  • ASP.Net - Web.config, Global.asax
    K Kusal

    Dear 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 csharp asp-net security question

  • VB/ASP.Net 2005
    K Kusal

    Dear Sathesh Thanks for reply Regards Kusal

    ASP.NET csharp asp-net visual-studio sysadmin question

  • VB/ASP.Net 2005
    K Kusal

    Dear Mark, Thanks for reply Regards Kusal

    ASP.NET csharp asp-net visual-studio sysadmin question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups