![]() ![]() Now let's create an IntraWeb application with a second page. := 2 Īll the programs you have built so far have had a single page. Here is the code for a couple of event handlers: procedure TformTree.ExpandAll1Click(Sender: TObject) īegin for i := 0 to - 1 doĮnd procedure TformTree.EnlargeFont1Click(Sender: TObject) At the same time, the menu items allow the program to operate on the menu by expanding or collapsing nodes and changing the font. This component has a lot of JavaScript code to let you expand and collapse nodes directly in the browser (with no need to call back the server). The example's second component is a tree view with a set of predefined nodes. You can see an example of a menu in a browser in Figure 21.3. ![]() If the menu items handle the OnClick event in the code, they become links at run time. This handy component makes available in a dynamic menu the content of a standard Delphi menu, by referring its AttachedMenu property to a TMenu component: I've built an example (called IWTree) showcasing the menu and tree view components of IntraWeb but also featuring the creation of a component at run time. I won't list each component and describe its use with an example-I'd rather use some of the components in a few demos and underline the architecture of IntraWeb rather than specific details. For example, if you look at the IW Standard page of Delphi's Component Palette, you'll see an impressive list of core components, from the obvious button, check box, radio button, edit box, list box, memo, and so on to the intriguing tree view, menu, timer, grid, and link components. > project with the wizard and readd your files to it.When you build an IntraWeb application, a number of components are available. Look at Guess vs GuessService demos, or create a new > IW10 is different than IW14 for services. > GUI showing up and no service is installed. exe /install I see the regular Stand Alone > privileges (on Win7 64 Prof.) I carefully read: > IW10.0.21 with Delphi 2009 I made sure there are no blanks in the > Unfortunately, to me this solutions still doesn't work. > I have tried it on both Windows 7 and server 2003. I know it runs because in TIWServerController.IWServerControllerBaseCreate I create an INI file the first time it runs, and this is created successfully, before it drops out without installing. > When running APPNAME -INSTALL at the command prompt it instantly returns to ther command prompt without installing as a service. > I have tried building in both the old way (using iwRun) and the new way TIWStart.Execute(False) ![]() > I have an Intraweb application that runs fine as a standalone application but cannot get it to install as a service since moving to Intraweb XI. exe /install I see the regular Stand Alone GUI showing up and no service is installed. I make sure to run /install with admin privileges (on Win7 64 Prof.) I made sure there are no blanks in the ServerController.AppName. Unfortunately, to me this solutions still doesn't work. > "Programming is an art form that fights back" 4:03:58 PM Error: ''ProfitPak WebShop'' is not a valid component name 4:03:58 PM Cache directory created "C:\Users\Murray\AppData\Local\Temp\0195h6spj8\" > 2) Is there a log file in the app dir after you try? See below ![]() > 1) Are you running the console as admin? Yes > the first time it runs, and this is created successfully, before it > TIWServerController.IWServerControllerBaseCreate I create an INI file > prompt it instantly returns to ther command prompt without installing > TIWStart.Execute(False) When running APPNAME -INSTALL at the command > building in both the old way (using iwRun) and the new way > application but cannot get it to install as a service since moving to > I have an Intraweb application that runs fine as a standalone > On 6:17 AM, Rimtech Software Australia Pty Ltd Director wrote: Re: Installing Intraweb Application as a service I have tried it on both Windows 7 and server 2003. When running APPNAME -INSTALL at the command prompt it instantly returns to ther command prompt without installing as a service. I have tried building in both the old way (using iwRun) and the new way TIWStart.Execute(False) I have an Intraweb application that runs fine as a standalone application but cannot get it to install as a service since moving to Intraweb XI. Installing Intraweb Application as a service ![]()
0 Comments
Leave a Reply. |