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
G

GaryKoh

@GaryKoh
About
Posts
64
Topics
30
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • put Flash into form
    G GaryKoh

    hi i wish to make a form or splash screen that contain Flash can it be done? kindly guide me on this...if possible is there any tutorial? thank you in advance Gary

    Visual Basic tutorial adobe question

  • create new textbox
    G GaryKoh

    thank you carlos this is very clear thank you for your guide and help Gary

    Visual Basic tutorial question

  • create new textbox
    G GaryKoh

    dear carlos, thank you for ur reply but i dont quite understand what you mean can you please explain a little more detail? sorry and thank you Gary

    Visual Basic tutorial question

  • create new textbox
    G GaryKoh

    hello i wish to do a function where with the press of a button new textbox will be created the more the user press the button the more textbox will be created can this function be done? can kindly guide me at this? thank yuo in advance Gary

    Visual Basic tutorial question

  • adding date
    G GaryKoh

    hi robert i dont understand...... DateTime? i try typing it it say here DateTime is a type and cannot be used as an expression so i try this way Dim a As Date a = DateTime.Now + New TimeSpan(4, 0, 0, 0) but ending up it say operator "+" is not define for "Date" and "TimeSpan" can please explain in more detail? im using vb.net thanks Gary

    Visual Basic tutorial help question

  • adding date
    G GaryKoh

    hi i wish to add a value to date example 1/1/2005 add 4 days ahead so the date will be 5/1/2005 may i know how to do this by code? i try this way dim a as date a= today +4 but there is an error here state that + cannot be done by date n integer may i know how to add it to date? thank you in advance Gary

    Visual Basic tutorial help question

  • mdi child problem
    G GaryKoh

    Thanks OIC is working now thank for all the help....both of u thank you Gary

    Visual Basic help question

  • mdi child problem
    G GaryKoh

    tried....but this error show up An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication7.exe Additional information: Object reference not set to an instance of an object. and still unable to show the second child Gary

    Visual Basic help question

  • mdi child problem
    G GaryKoh

    hi.. i have make 3 forms 1 mdi parent and 2 mdi child calling a child to show at parent is easy but hoow to make a child call another child and show it in the parent? this is basically how it look like.. form1(parent) call form2(child)....form2 show in form1 form2(child) call form3(child).....form3 show in form1 i try to code the button in form2 like so Dim frm3 as New Form3 Dim frm1 as New Form1 frm3.mdiparent = frm1 frm3.show which is not working...am i doing it wrong? please help me...thank you in adnvace Gary

    Visual Basic help question

  • oledb error
    G GaryKoh

    hello i have build a database using MS ACCESS and write a coding in VB.NET to connect it as below Imports System.Data.OleDb Public Class addItem Inherits System.Windows.Forms.Form Dim myconnection As New OleDbConnection("provider=microsoft.jet.oledb.4.0; datasource = Application.ExecutablePath + \LibrarySystem.mdb") Private Sub saveB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles saveB.Click myconnection.Open() Dim mycom As New OleDbCommand("INSERT INTO Product(product_code) VALUES ('" & productTb.Text & "')", myconnection) Dim MyReader As OleDbDataReader = mycom.ExecuteReader() mycom.ExecuteNonQuery() myconnection.Close() MyReader.Close() mycom.Dispose() End Sub but when i click on the saveB button, the error below show up An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll which point to myconnection.Open() may i know what i did wrong? thank you in advance Gary

    Visual Basic csharp database help question

  • moving a button
    G GaryKoh

    wow.... thanks ehmed..i will dream hahaha sorry for the late reply.... my motherboard got fried i will try out this code thanks again Gary

    Visual Basic help tutorial question

  • moving a button
    G GaryKoh

    hello i wish program a button that will move another button to a specific location i try to make it more simple there are 2 buttons A & B when button A is pressed, button B will move away from button A so that button A's sub button could be display i can manage the sub button part but was unable to move button B to a specific location because i dont know the coding that will do the task can you please help me? if this type of program or coding is impossible, please tell me, so i can drop my intention to do this function. thank you in advance p.s. below is a visual example of the thing i wish to do "before button A is clicked" Button A Button B "after button A is clicked" Button A Button B Gary

    Visual Basic help tutorial question

  • database help
    G GaryKoh

    hello im a new VB.NET user i know there are a lot of thread bout this but i really need a small example on how to update, delete and add data to database i have only 1 textbox...with 3 button(delete, add n update) with a database name TRY i dont need much..just a small fragment of code... i read similiar thread before..but it is very confusing to me please help me thank you in advance Gary

    Visual Basic tutorial csharp database help

  • extra menu
    G GaryKoh

    hi jim thank you..it do help a bit all i have to do is make it compatible with my program Gary

    Visual Basic tutorial csharp question

  • extra menu
    G GaryKoh

    hi i wish to know how to create a extra menu in vb.net this extra menu is the same as the menu we get when we click the right button on windows i wish to do this menu on datagrid can it be done? if cant kindly tell me if can kindly guide or provide me with any article i can refer thank you in advance Gary

    Visual Basic tutorial csharp question

  • Display computer IP
    G GaryKoh

    hi i want to know how to display a computer IP there is a thread that mention this before and i have try the coding posted im not sure what i did wrong but i cant display anything im using VB6 and VB.net so either code will be fine for me thank you in advance Gary

    Visual Basic csharp tutorial

  • connecting computers
    G GaryKoh

    hi i have a simple client-server chat application which is usable on a single computer but not on two different computer my lecturer says is because of the firewall but im not very sure about it i want to know is there any way to connect it when the firewall is on? currently im using port to connect it which is not working. i want try to connect it with computer name or IP but i dont know any coding about it can you please give a link or a small coding sample that i can refer so that i understand more about the socket.net thank you in advance Gary

    Visual Basic csharp sysadmin question lounge

  • auto generating number
    G GaryKoh

    hello dave so how i know you would answer thank you just want to know does the msdn webpage provide the suitable tutorial or faq i need to get the random number result i wish as the coding i provided? can i have a link to the webpage please thank you

    Visual Basic csharp help question

  • auto generating number
    G GaryKoh

    hello i have this problem with auto generation number via using function the coding below is converted from vb6 and it is working in vb6 Public Function autoorderno() As String

    Dim orderno As String
    Dim ordering As New Class1
    Dim order As New ADODB.Recordset
    order.Open "SELECT * FROM orders", cn, adOpenDynamic, adLockOptimistic, adCmdText
    auto = "000000"
    Do While Not order.EOF
    order.Find "orderno ='Ord" & auto & "'"
    If Not order.EOF Then
    auto = Format(Str(Val(Mid$(auto, 5) + 1)), "000000")
    Else
    autoorderno = "Ord" + auto
    Exit Function
    End If
    Loop
    autoorderno = "Ord" + auto
    Set order = Nothing
    End Function

    but some how in vb.net it say "value cannot be generated" may i know what is wrong with the coding thank you in advance Gary

    Visual Basic csharp help question

  • data type error
    G GaryKoh

    hahaha thanks dave the problem i have is just the Regional and Language Setting in my computer it is set to my country setting but now i have set it to US-English everything is working well and now i understand it perfectly the parse method is always base on each computer regional setting thanks you really help me thank you Gary

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