Powerbuilder11 converts a C/S program to B/S ASP. NET

Source: Internet
Author: User



-- Author: susue
-- Release Date: 16:02:00
-- [Original] converting C/S to B/S for pb11 success

Let's take a look at the new technology pb11!

 

-- 1 Development Environment Installation
-- 11 install Windows iis5.0 or above first
-- 12 install Asp.net Framework 2.0 again
-- 13 download (http://www.asp.net/iewebcontrols/download.aspx), install ie web control,
Decompress the package and run C: // program files // ie Web controls // build. bat
Create C: // program files // ie Web controls // build
Copy all files in C: // program files // ie Web controls // build // runtime // *. * to the IIS working directory.
The default value is C: // inetpub // wwwroot.
The copied doscommand is as follows:
Xcopy/S/I. // build // runtime C: // inetpub // wwwroot // webctrl_client // defaults 0/y
(Note: You can also manually create a copy in the webctrl_client // defaults 0 directory)

-- 14 download pb11(powerbuilder110.zip,commoninstaller.zip) and install pb11

-- 2 The pb program for converting C/S to B/S
-- 21 first port your program to pb11 and use pb11 to open the workspace and target. pb11 is automatically transplanted and debugging can run normally under C/SX.
-- 22: conversion started. Choose File> new in the menu operation. Open [new] and select [target]-. NET web forms application.
Follow the wizard,
Step 1 Introduction to the wizard
Step 2 select use an existing library and Application Object
Step 3. Find your application object
Step 4 Add the PBL file you are using
Step 5 name the PBT file name. You can also go directly to the next step [next>].
Step 6 name the project object, or directly go to [next>]
Step 7 enter your virtual directory in IIS, or directly go to [next>]
Step 8 Add the resource file you are using
Step 9 if you use a third-party dynamic library DLL, add it here. If not, [next>]
Step 10 if you want to use JavaScript, add it here. I don't have it.
Step 11: The Web server you want to publish
Step 12 summarize your selection, [finish>]. The Great. NET web forms is created.

Release Step 13, deploy project. You just need to click a button. You just need to smoke, pour tea, and wait.
The release process is as follows:
Check whether your IIS service is available.
Generate the. NET Assembly File
Generate a PBD File
Copy files to the IIS server
Release completed

Step 14 it's time to use IE to open your program (depending on your specific IP address and virtual directory) http: // GST-susue/oands
After a long wait, Asp.net needs to compile the program for the first time, and it will be faster next time.

Step 15: "I have switched, and I have switched !" You can see each other.

------------------------------------------------------------------------------
Haha! Heheh! Oh, sorry! Roar! Too many errors! Click it! It's a big bang! Hey!

Exhausted Java and JSP; angry vs.net; PHP go to hell.

 

-- Author: susue
-- Release Date: 16:03:00
--

Come

The image of this topic is as follows:

-- Author: susue
-- Release Date: 16:03:00
--
Another
The image of this topic is as follows:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.