473,624 Members | 2,186 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP! Need to write a "user license agreement" control

Hi,

I am trying to write a simple installation program that
asks the user a few questions and then installs a
software application and its associate files based on
those answers.

I am new to VB, (usiing VB 6.0) and have figured out how
to do everything except for: I would like to read a
license agreement from a text file, display it in a
scrollable region on the screen, and provide an "Accept"
and a "Decline" button that the user can then click to
either continue with the applicaiton or exit.

Seems like a trivial (and very common) thing to want to
do, so I am hoping that someone can provide me with some
sample code that does this (or something similar to this)

Can anyone help me out?

thanks, bruce
Nov 20 '05 #1
3 3494
Hi,

In the user interface view of the setup project right click on start
and select add dialog. Select license agreement from the available dialogs.

Ken
-------------------
"bruce" <gi*****@cs.col orado.edu> wrote in message
news:0f******** *************** *****@phx.gbl.. .
Hi,

I am trying to write a simple installation program that
asks the user a few questions and then installs a
software application and its associate files based on
those answers.

I am new to VB, (usiing VB 6.0) and have figured out how
to do everything except for: I would like to read a
license agreement from a text file, display it in a
scrollable region on the screen, and provide an "Accept"
and a "Decline" button that the user can then click to
either continue with the applicaiton or exit.

Seems like a trivial (and very common) thing to want to
do, so I am hoping that someone can provide me with some
sample code that does this (or something similar to this)

Can anyone help me out?

thanks, bruce

Nov 20 '05 #2
Hello,

"bruce" <gi*****@cs.col orado.edu> schrieb:
I am new to VB, (usiing VB 6.0) and have figured out how


Please do not crosspost VB Classic questions to a VB.NET
(microsoft.publ ic.dotnet.langu ages.vb) ng. Thanks!

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #3
Have you tried Visual Studio Installer
http://msdn.microsoft.com/vstudio/do.../download.aspx

"bruce" <gi*****@cs.col orado.edu> wrote in message
news:0f******** *************** *****@phx.gbl.. .
Hi,

I am trying to write a simple installation program that
asks the user a few questions and then installs a
software application and its associate files based on
those answers.

I am new to VB, (usiing VB 6.0) and have figured out how
to do everything except for: I would like to read a
license agreement from a text file, display it in a
scrollable region on the screen, and provide an "Accept"
and a "Decline" button that the user can then click to
either continue with the applicaiton or exit.

Seems like a trivial (and very common) thing to want to
do, so I am hoping that someone can provide me with some
sample code that does this (or something similar to this)

Can anyone help me out?

thanks, bruce

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1367
by: Andrew Hoi | last post by:
Hi, I had created a user control that will open a "FileOpenDialog" (let say FileXUpload.dll) to accept user to select file. This control use in a asp/html like below : <OBJECT id="FileXUpload1" name="FileXUpload1" classid="FileXUpload.dll#FileXUploads.UploadPanel" width=500 height=500 VIEWASTEXT></OBJECT> However, after user click ok button to return, and i try to access the
4
1697
by: VB Programmer | last post by:
I changed a usercontrol dim from: Protected WithEvents ddlView As System.Web.UI.WebControls.DropDownList to: Public Shared ddlView As System.Web.UI.WebControls.DropDownList I saved it SEVERAL times. It was working for about a day then, as I'm programming today, I notice that it's changed back to the original. Any ideas? This happened several times and each time I fix it it works fine. Thanks in advace.
0
1027
by: Mike Kingscott | last post by:
Meant to post in here as well... Hi there, I have a user control that brings back some links from a database based on a combination of querystring parms, so I'm using VaryByParm to differentiate between the pages. The code is like so: <%@ OutputCache Duration="3600" VaryByParm="scid;cid" %>
0
1048
by: VB Programmer | last post by:
I have a user control that has a drop down list. Initially it has no items. The items are loaded into the drop down list in the Page_Load event of the user control. Basically if MyDropDownList.Items.Count=0 (first time) I open up a database and populate the drop down list. The user control is on the top of several other pages. I put a break point on the Page Load of the user control and MyDropDownList.Items.Count is ALWAYS 0, even...
1
7562
by: Shourie | last post by:
I've noticed that none of the child controls events are firing for the first time from the dynamic user control. Here is the event cycle. 1) MainPage_load 2) User control1_Load user clicks a dropdown in UC1 _________________________ 1) MainPage_Load 2) User Control_1 Load
7
1936
by: Smithers | last post by:
I have a non trivial ASP.NET Web application that implements its navigation system via a user control (menu.ascx) placed on every page. It is important to note that the user control that hosts the menu is injected into every page at runtime when the page is requested (i.e., it's not declared in any ASPX). The user control contains a menu that is dynamically populated and styled at runtime (fwiw: it's ComponentArt's Menu for ASP.NET -...
3
2227
by: Tim::.. | last post by:
Can someone please help.... I'm having major issues with a user control I'm tring to create! I an trying to execute a sub called UploadData() from a user control which I managed to do but for some reason I keep getting the error: Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
3
1058
by: Nicolaus OC | last post by:
How to create a group of property in a user control. for examples size have two property width and height thanks for helping.. best Regrads NOC
3
1827
by: Goh | last post by:
Dear all, I would like to know how you guy people control your commercial program that is written in .Net Framework. As I know Microsoft implement a lot of security feature that help to secure our program not only for authentication but not mention about license control for what developer has been develop. Do you people know where can I find the source like article and sample source code even Open Source Library that do license...
8
3019
by: fernandezr | last post by:
I would like to use a user control as a template inside a repeater. Some of the fields in the control should be hidden depending on whether or not there is data. I'm still a ASP .Net newbie so the way I'm going about doing this might be a little off. I'd appreciate some help. Below is the code I have thus far but I'm not sure how to reference the user control within the foreach loop. <asp:Panel ID="pnlRosterProfile" runat="Server" />
0
8236
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8173
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8679
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2606
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.