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
I

ivo75

@ivo75
About
Posts
130
Topics
59
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Register Wiaaut.dll
    I ivo75

    Yes Smart Install Maker register Wiaaut.dll and it work perfect :). THANKS

    Visual Basic question

  • Register Wiaaut.dll
    I ivo75

    I use Smart Install Maker, are this installer make this? Are this dll is ActiveX, because in this installer have a ActiveX section

    Visual Basic question

  • Register Wiaaut.dll
    I ivo75

    Hi I use wiaaut.dll to scan, but in some PC it's not work because it not register in PC. How I register this dll programatically and only one time?

    Visual Basic question

  • OLEDB Provider
    I ivo75

    give me some example how to do this

    Visual Basic tutorial

  • OLEDB Provider
    I ivo75

    what You mean? This

    Public Sub ConnectToAccess()
    Dim conn As New System.Data.OleDb.OleDbConnection()
    conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & databasePath.dbPath & ";Persist Security Info=False;"

        Try
       conn.Open()
       .......
    Catch ex As Exception
       conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & databasePath.dbPath & ";User ID=Admin;Password="
    conn.Open()
    

    ........
    Finally
    conn.Close()
    End Try
    End Sub

    Visual Basic tutorial

  • OLEDB Provider
    I ivo75

    how to detect installed oledb provider in my PC. Jet 4.0 or ACE 12

    Visual Basic tutorial

  • DB connection string
    I ivo75

    I want to connect without install Microsoft Office 12.0 Access Database Engine in the client mashine, because my program is 2MB, but Microsoft Office 12.0 Access Database Engine is 26MB.

    Visual Basic database security question

  • DB connection string
    I ivo75

    Can I use same DB connection string to connect to MS Access 2003 and MS Access 2007? I use this "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & databasePath.dbPath & ";Persist Security Info=False;"

    Visual Basic database security question

  • Convert MS Word doc to PDF
    I ivo75

    How to Convert MS Word 2003 doc to PDF

    Visual Basic tutorial

  • Add 3 columns from database to ComboBox
    I ivo75

    How to Add 3 columns from database to ComboBox, I want to visible 2 of them I use this

    reader = OleDbCommand1.ExecuteReader()
    Dim dt = New System.Data.DataTable()
    dt.Load(reader)
    ComboBox2.DataSource = dt
    ComboBox2.DisplayMember = "column1"
    ComboBox2.ValueMember = "column3"
    ComboBox2.SelectedIndex = -1
    reader.Close()

    this work but can I use this

    ComboBox2.DisplayMember = "column1" + "column2"

    Visual Basic database tutorial

  • ADF Scanning
    I ivo75

    I want to scan with all scanners not only in my scanner.

    Visual Basic tutorial question

  • ADF Scanning
    I ivo75

    Hi I want to scan from ADF (Feeder) in my scanner. How to make this?

    Visual Basic tutorial question

  • Alter Query
    I ivo75

    for example I have 1 query in who participate 3 columns in 2 table and I want to add 1 column in first table and column in query will be 4. I want do this with code.

    Database database tutorial question

  • Alter Query
    I ivo75

    Hi I use this

    ALTER TABLE table_name
    ADD column_name datatype

    to add column in table. How to use Alter Query to add column in query? I use MS Access 2003.

    Database database tutorial question

  • ComboBox DisplayMember and ValueMember without database
    I ivo75

    This work for me thanks

    Public Class WatermarColors
    Private mWatermarkColor As iTextSharp.text.BaseColor
    Private mWatermarkBGName As String

    Public Sub New(ByVal name As String, ByVal code As iTextSharp.text.BaseColor)
    
        mWatermarkBGName = name
        mWatermarkColor = code
    End Sub
    
    Public Property WatermarkBGNames() As String
        Get
            Return mWatermarkBGName
        End Get
        Set(ByVal value As String)
            mWatermarkBGName = value
        End Set
    End Property
    
    Public Property WatermarkColors() As iTextSharp.text.BaseColor
        Get
            Return mWatermarkColor
        End Get
        Set(ByVal value As iTextSharp.text.BaseColor)
            mWatermarkColor = value
        End Set
    End Property
    
    Public Overrides Function ToString() As String
    
        Return mWatermarkBGName
    End Function
    

    End Class

    color1 = New BaseColor() {iTextSharp.text.BaseColor.BLACK, iTextSharp.text.BaseColor.BLUE, iTextSharp.text.BaseColor.CYAN, iTextSharp.text.BaseColor.DARK_GRAY, iTextSharp.text.BaseColor.GRAY, iTextSharp.text.BaseColor.GREEN, iTextSharp.text.BaseColor.LIGHT_GRAY, iTextSharp.text.BaseColor.MAGENTA, iTextSharp.text.BaseColor.ORANGE, iTextSharp.text.BaseColor.PINK, iTextSharp.text.BaseColor.RED, iTextSharp.text.BaseColor.WHITE, iTextSharp.text.BaseColor.YELLOW}
    color2 = New String() {"Черен", "Син", "Циан", "Тъмно сиво", "Сиво", "Зелено", "Светло сиво", "Магента", "Оранжево", "Розово", "Червено", "Бяло", "Жълто"}
    For i = 0 To color1.Length - 1
    CboWatermarkColor.Items.Add(New WatermarColors(color2(i), color1(i)))
    Next

    Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click
    If File.Exists(TextBox1.Text) Then
    File.Delete(TextBox1.Text)
    Dim bf As BaseFont = BaseFont.CreateFont(k & "\\arial.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED)
    Dim bc As BaseColor
    Dim WatermarkSelectColor As WatermarColors

            WatermarkSelectColor = CType(CboWatermarkColor.SelectedItem, WatermarColors)
    
            bc = WatermarkSelectColor.WatermarkColors
            
            AddWatermarkText(TextBox3.Text, TextBox1.Text, TextBox2.Text, bf, NumericUpDown1.Value, bc, 50.0F, NumericUpDown2.Value)
        Else
            Dim bf As BaseFont = BaseFont.CreateFont(k & "\\\\arial.ttf", BaseFont.IDENTITY\_H, BaseFont.EMBEDDED)
            Dim bc As Base
    
    Visual Basic database tutorial question

  • ComboBox DisplayMember and ValueMember without database
    I ivo75

    I use this

    color1 = New BaseColor() {iTextSharp.text.BaseColor.BLACK, iTextSharp.text.BaseColor.BLUE, iTextSharp.text.BaseColor.CYAN, iTextSharp.text.BaseColor.DARK_GRAY, iTextSharp.text.BaseColor.GRAY, iTextSharp.text.BaseColor.GREEN, iTextSharp.text.BaseColor.LIGHT_GRAY, iTextSharp.text.BaseColor.MAGENTA, iTextSharp.text.BaseColor.ORANGE, iTextSharp.text.BaseColor.PINK, iTextSharp.text.BaseColor.RED, iTextSharp.text.BaseColor.WHITE, iTextSharp.text.BaseColor.YELLOW}
    color2 = New String() {"Черен", "Син", "Циан", "Тъмно сиво", "Сиво", "Зелено", "Светло сиво", "Магента", "Оранжево", "Розово", "Червено", "Бяло", "Жълто"}
    For i = 0 To color1.Length - 1
    ComboBox2.Items.Add(color2(i))
    Next

    If File.Exists(TextBox1.Text) Then
    File.Delete(TextBox1.Text)
    Dim bf As BaseFont = BaseFont.CreateFont(k & "\\arial.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED)
    Dim bc As BaseColor
    bc = color1(ComboBox2.SelectedIndex)
    ' bc = CType(iTextSharp.text.BaseColor.BLACK, "BaseColor" & "." & color1(ComboBox2.SelectedIndex))

            AddWatermarkText(TextBox3.Text, TextBox1.Text, TextBox2.Text, bf, NumericUpDown1.Value, bc, 50.0F, NumericUpDown2.Value)
        Else
            Dim bf As BaseFont = BaseFont.CreateFont(k & "\\\\arial.ttf", BaseFont.IDENTITY\_H, BaseFont.EMBEDDED)
            Dim bc As BaseColor
            bc = color1(ComboBox2.SelectedIndex)
            ' bc = CType(iTextSharp.text.BaseColor.BLACK, "BaseColor" & "." & color1(ComboBox2.SelectedIndex))
    
            AddWatermarkText(TextBox3.Text, TextBox1.Text, TextBox2.Text, bf, NumericUpDown1.Value, bc, 50.0F, NumericUpDown2.Value)
    
        End If
    
    Visual Basic database tutorial question

  • ComboBox DisplayMember and ValueMember without database
    I ivo75

    How to use ComboBox DisplayMember and ValueMember without database?

    Visual Basic database tutorial question

  • Use MS Windows Theme
    I ivo75

    Can I use MS Windows theme as GUI in my project?

    Visual Basic question

  • Change Form Title Bar Color [modified]
    I ivo75

    Can I use skins and how

    Visual Basic question

  • Change Form Title Bar Color [modified]
    I ivo75

    Hello. I am using VB 2010 under Windows XP to create a MDI Windows Form application. Question : is it possible to change the color or the title bar and of the border of the children forms, form by form ?

    modified on Monday, July 18, 2011 7:27 AM

    Visual Basic 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