By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,827 Members | 2,177 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,827 IT Pros & Developers. It's quick & easy.

Deployment - Pre load

P: n/a
Hi

I'm developing a deployment package using Visual Studio.Net. I have a custom
user interface with a text box. How can I load the text box with some data
at run time.

Thanks & Regards,
JIB


Nov 13 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Jibu,

What do you mean load the textbox with data? You can set the Text with
the Text property, and technically, that is considered loading data into it.

Can you be more elaborate about what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"Jibu George" <ji*********@usswi.com> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
Hi

I'm developing a deployment package using Visual Studio.Net. I have a custom user interface with a text box. How can I load the text box with some data at run time.

Thanks & Regards,
JIB

Nov 13 '05 #2

P: n/a
Hi

Here I'm trying to load data in the runtime using some program.

eg: I want to get some value from registry at runtime and show it in the
text box, which is there in the user interface.

--

Thanks & Regards,
JIB

"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote
in message news:ua**************@TK2MSFTNGP11.phx.gbl...
Jibu,

What do you mean load the textbox with data? You can set the Text with the Text property, and technically, that is considered loading data into it.
Can you be more elaborate about what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"Jibu George" <ji*********@usswi.com> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
Hi

I'm developing a deployment package using Visual Studio.Net. I have a

custom
user interface with a text box. How can I load the text box with some

data
at run time.

Thanks & Regards,
JIB


Nov 13 '05 #3

P: n/a
Jibu,

In this case, you will want to use the RegistryKey class that is in the
Microsoft.Win32 namespace and then just set the text property to the value
you read from the key.

Also, if you are doing this for configuration information, you might
want to use XML files instead of the registry. The move in .NET for
configuration information is to move away from the registry as a way of
storing preferences.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Jibu George" <ji*********@usswi.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi

Here I'm trying to load data in the runtime using some program.

eg: I want to get some value from registry at runtime and show it in the
text box, which is there in the user interface.

--

Thanks & Regards,
JIB

"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote in message news:ua**************@TK2MSFTNGP11.phx.gbl...
Jibu,

What do you mean load the textbox with data? You can set the Text

with
the Text property, and technically, that is considered loading data into

it.

Can you be more elaborate about what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"Jibu George" <ji*********@usswi.com> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
Hi

I'm developing a deployment package using Visual Studio.Net. I have a

custom
user interface with a text box. How can I load the text box with some

data
at run time.

Thanks & Regards,
JIB



Nov 13 '05 #4

P: n/a
Hi

How will I refer this text box in run time from a custom action application.
That too when I load the installation application. In the custom action
window there is only option for calling some program when the install event
is fired. I think this only happens after clicking next of the final window.
But I need to populate the text box in the initial screens. Hope you got the
question.

Thanks & Regards,
JIB


"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote
in message news:%2***************@tk2msftngp13.phx.gbl...
Jibu,

In this case, you will want to use the RegistryKey class that is in the Microsoft.Win32 namespace and then just set the text property to the value
you read from the key.

Also, if you are doing this for configuration information, you might
want to use XML files instead of the registry. The move in .NET for
configuration information is to move away from the registry as a way of
storing preferences.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

"Jibu George" <ji*********@usswi.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi

Here I'm trying to load data in the runtime using some program.

eg: I want to get some value from registry at runtime and show it in the
text box, which is there in the user interface.

--

Thanks & Regards,
JIB

"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com>

wrote
in message news:ua**************@TK2MSFTNGP11.phx.gbl...
Jibu,

What do you mean load the textbox with data? You can set the Text

with
the Text property, and technically, that is considered loading data into
it.

Can you be more elaborate about what you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"Jibu George" <ji*********@usswi.com> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl...
> Hi
>
> I'm developing a deployment package using Visual Studio.Net. I have

a custom
> user interface with a text box. How can I load the text box with some data
> at run time.
>
> Thanks & Regards,
> JIB
>
>
>
>



Nov 13 '05 #5

P: n/a
Through the Launch Conditions Editor, you can add a registry search which will
look up a value in the registry, and write that value to a property (for example,
REGISTRYVALUE1). You can then use that property in your custom dialog, for
instance by setting the Edit1Value of TextBoxes(A) to [REGISTRYVALUE1].
--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Jibu George" <ji*********@usswi.com>
Subject: Re: Deployment - Pre load
Date: Mon, 14 Jul 2003 19:18:02 +0530

Hi

Here I'm trying to load data in the runtime using some program.

eg: I want to get some value from registry at runtime and show it in the
text box, which is there in the user interface.

--

Thanks & Regards,
JIB

Nov 13 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.