Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7669785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:40:26+00:00 2026-05-31T15:40:26+00:00

How can i export or compile a form that i make with code within

  • 0

How can i export or compile a form that i make with code within a running application in VB.NET?

I’m making a simple form making application, i’ve got almost everything covered, with creating the new form and adding controls and stuff.

Example: create a new form with clicking a button:

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
                Dim NewForm As New Form
                NewForm.Name = "Form1"
                NewForm.Text = "Form1"
                NewForm.Width = 300
                NewForm.Height = 300
                NewForm.Show()
        End Sub

How do i export or compile the new form to a standalone exe?

Any help is greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:40:27+00:00Added an answer on May 31, 2026 at 3:40 pm

    Create your own file format (XML?) that describes the contents of the form.
    Then, create a separate application that reads these files and display a form based on the file that it read.

    If you want to ship single EXEs, you could embed the file as a resource in the launcher application and modify that resource to save custom EXEs.


    Alternatively, you could use Roslyn or Mono Cecil or Expression trees to actually compile that code at runtime into a new EXE; that may be harder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that can load in third party code. One of the
With cvs one can export the files that have a specific tag and get
Are there any rich editors for WinForms that support right-to-left and can export to
I'm writing an application in C that can be extended at runtime by means
After installing export plugin i can not run grails application and get this java.lang.LinkageError:
I'm trying to compile a simple 32-bit Hello World application written in C using
I'm trying to compile an Android application that depends on OrmLite and whatever I
Is there any way by which we can export the result of a select
Any idea how to go about formatting the data so I can export from
I have an object config which has some properties. I can export this ok,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.