How to compile a file into an exe file in pb

Updated on technology 2024-03-23
2 answers
  1. Anonymous users2024-02-07

    Method steps.

    First of all, open PowerBuilder (hereinafter referred to as PB) and select the upper menu file-new, that is, new, or click the first button on the left side of the menu bar is also new, and of course, there is also the shortcut key Ctrl+N, these three methods are the same operation. Open the window as shown in the figure, we first give the program we want to write a space, select workspace, and then give it a name and save it to the location you want to save. (Reminder, if you can't see the tree structure on the left, you can click the new right side of the fifth envy sock button system tree).

    Step 2: Select the type of program to be built, create a new one in the same step, select the second label target, then select the first application, and then name it, here it will be demonstrated with sa.

    Step 3: Create a new program window named W Kaishi and save it.

    Step 4: Lay out the text box controls on the W kaishi window.

    Step 5: Add button controls on the W kaishi window.

    Step 6: Write an event to the button, the effect is: click the button to pop up a message prompt box.

    About the control, the knowledge of the event brother is not much to say here, you can consult the information by yourself, and briefly explain that clicked is a click event) in the clicked event to write **:messagebox("Message","I'm a message box",information!Then save.

    Step 7: A simple window style is good, let's test it first, open the previously built application named sa, write open(w kaishi) in its open event, and then click the run button, and the program will run.

    Step 8: How to compile the written program. exe file; In the same step, select the project tag, click Application, and then specify the storage path for the exe to be generated, and then click Deploy Project to compile the object, and the exe will appear in the location you specified.

    The last step: test if the program can run and if the other functions are working properly.

  2. Anonymous users2024-02-06

    1. First open the PB before typing, then click File (file) in the menu, New (New), and then create a project, create a window, enter the program**, etc.

    2. After completion, select the project tab, click application, then select the exe to save the directory, click deploy project to compile the object, and then you will create the exe to the specified directory Zhizi.

Related questions
9 answers2024-03-23

Steps. 1. Some large files, if they are deleted directly, they will be put into the ** station, or will occupy a lot of memory space, the following will introduce a way to completely delete useless files, create a new document, take this word document as an example. >>>More

7 answers2024-03-23

The rar can be extracted from the command line. There's a file in Winrar's installation directory, which is the command-line program. >>>More

5 answers2024-03-23

In fact, you can go online to find the operating system serial number, find a place to put it yourself, and it's OK!! >>>More

15 answers2024-03-23

Put the desktop file into the USB flash drive, we first copy the files on the desktop, and then open the USB flash drive, open and paste from a file and folder on the USB flash drive, so that the files on the desktop are put into the USB disk.

6 answers2024-03-23

1. First, connect to the corresponding Linux host, enter the Linux command line state, and enter the specified path. >>>More