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
  1. Home
  2. General Programming
  3. Visual Basic
  4. Richtextbox withh form

Richtextbox withh form

Scheduled Pinned Locked Moved Visual Basic
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zabsmarty
    wrote on last edited by
    #1

    i am using two FORMs. Form1 and Form2 Form1 have dialogbox, menu button etc and Form2 contain Richtextbox1.. from Form1 menu i open opendialog box i want the file open and display it in form2 richtextbox. please help me and reply me soon.... zabsmarty

    C 1 Reply Last reply
    0
    • Z zabsmarty

      i am using two FORMs. Form1 and Form2 Form1 have dialogbox, menu button etc and Form2 contain Richtextbox1.. from Form1 menu i open opendialog box i want the file open and display it in form2 richtextbox. please help me and reply me soon.... zabsmarty

      C Offline
      C Offline
      Chatura Dilan
      wrote on last edited by
      #2

      you can use this in both VB.Net 2003 & 2005 If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then Dim newForm2 as New Form2 newForm2.RichTextBox1.LoadFile(OpenFileDialog1.FileName) newForm2.Show() End If chatura

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

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