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
U

User 878129

@User 878129
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • One form MDI only admitted
    U User 878129

    Hy All. I have following problem. "Run time error 426. One form MDI only admitted" The code allows to print from one form which shows a print preview and, after that, it's possible to click on print commandbutton: Private sub cmdPrint_click() gprint = True Call frmMain.ActiveForm.printText Unload me End Sub Main form is frmMain (MDIForm1). I don't understand why there are two MDI form loaded, as seems to say message error. Elsewhere, in another similar step, I got same message (in this step I load an image into the document. The code is following: Private InsertImage_click() Clipboard.clear clipboard.setdata Picture1.Picture SendMessage frmMain.ActiveForm.Text1.hwnd WM_Paste, 0, 0 Unload Me End Sub I suspect it's wrong "frmMain". Who can help me? Thanks in advance. Ric

    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