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

VB Scripting CreateObject Client Side Object

P: n/a
This may be a dumb question, but I'm not finding anything specifically what
I'm looking for. Still kind of new to .NET as well.

What I'm trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I'm not finding the "similar"
functionality. I'm sure I'm probably just missing it, but any help would be
greately appreciated.

Nov 19 '05 #1
Share this Question
Share on Google+
12 Replies


P: n/a
An HTML document is an HTML document, regardless of what server-side
technology had anything to do with creating it. An ActiveX Control in an
ASPX page is therefore the same as an ActiveX Control in an ASP page, which
is the same as an ActiveX Control in an HTML page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
This may be a dumb question, but I'm not finding anything specifically
what
I'm looking for. Still kind of new to .NET as well.

What I'm trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I'm not finding the "similar"
functionality. I'm sure I'm probably just missing it, but any help would
be
greately appreciated.

Nov 19 '05 #2

P: n/a
Yeah, but I don't have the ActiveX control. I'm in a shop completly .NET and
I need to create the client side "control".

Stepping back, basically what I'm trying to do is to launch an application
from a browser with some command line parameters. I need to be able to
provide my customers with some script(java/vbscript) to be able to set some
properties and/or pass some command line parameters to an application on the
clients machine. My initial thought was to be able to create and object that
would set some properites and launch via shell my application with the
properties. Maybe I'm just looking at it from the wrong perspective. But
haven't found anything different than what I descrbed before. Hope this
makes sense.
"Kevin Spencer" wrote:
An HTML document is an HTML document, regardless of what server-side
technology had anything to do with creating it. An ActiveX Control in an
ASPX page is therefore the same as an ActiveX Control in an ASP page, which
is the same as an ActiveX Control in an HTML page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
This may be a dumb question, but I'm not finding anything specifically
what
I'm looking for. Still kind of new to .NET as well.

What I'm trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I'm not finding the "similar"
functionality. I'm sure I'm probably just missing it, but any help would
be
greately appreciated.


Nov 19 '05 #3

P: n/a
Well then, your best bet is do develop a custom winform user control and
embed it within your html. This is similar to active x but you will have to
write all of your client code (including the database stuff) within the
custom winform control. Beware of security issues

"ShepardBerry" wrote:
Yeah, but I don't have the ActiveX control. I'm in a shop completly .NET and
I need to create the client side "control".

Stepping back, basically what I'm trying to do is to launch an application
from a browser with some command line parameters. I need to be able to
provide my customers with some script(java/vbscript) to be able to set some
properties and/or pass some command line parameters to an application on the
clients machine. My initial thought was to be able to create and object that
would set some properites and launch via shell my application with the
properties. Maybe I'm just looking at it from the wrong perspective. But
haven't found anything different than what I descrbed before. Hope this
makes sense.
"Kevin Spencer" wrote:
An HTML document is an HTML document, regardless of what server-side
technology had anything to do with creating it. An ActiveX Control in an
ASPX page is therefore the same as an ActiveX Control in an ASP page, which
is the same as an ActiveX Control in an HTML page.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
This may be a dumb question, but I'm not finding anything specifically
what
I'm looking for. Still kind of new to .NET as well.

What I'm trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I'm not finding the "similar"
functionality. I'm sure I'm probably just missing it, but any help would
be
greately appreciated.


Nov 19 '05 #4

P: n/a
Yes but wouldn't that run at the server? I already have a "Thick" or "Smart"
client application that I'm trying to run from a browser button. The custom
control would run everything at the server wouldn't it?
"ShepardBerry" wrote:
This may be a dumb question, but I'm not finding anything specifically what
I'm looking for. Still kind of new to .NET as well.

What I'm trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I'm not finding the "similar"
functionality. I'm sure I'm probably just missing it, but any help would be
greately appreciated.

Nov 19 '05 #5

P: n/a
> Yes but wouldn't that run at the server? I already have a "Thick" or
"Smart"
client application that I'm trying to run from a browser button. The
custom
control would run everything at the server wouldn't it?
Not necessarily. We have to assume that there was some reason for using an
ActiveX Control on the client originally. Usually, this is because of some
requirement that necessitates execution on the client instead of the server.

I think you may be a bit mixed up about what ASP.net can do. It can do
precisely what ASP can do, only in a different way. All a Server Control
does is process on the back end, and render HTML on the front end.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com... Yes but wouldn't that run at the server? I already have a "Thick" or
"Smart"
client application that I'm trying to run from a browser button. The
custom
control would run everything at the server wouldn't it?
"ShepardBerry" wrote:
This may be a dumb question, but I'm not finding anything specifically
what
I'm looking for. Still kind of new to .NET as well.

What I'm trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I'm not finding the
"similar"
functionality. I'm sure I'm probably just missing it, but any help would
be
greately appreciated.

Nov 19 '05 #6

P: n/a
You're right I'm confused. Maybe just with some .NET stuff. OK, so since I
don't have the ActiveX control built but I need something to run something on
the client and be launched by a button on the Web Browser what do I use? I
guess maybe it's just concept I'm not getting here?

What I need to do is launch my application which resides on the client, from
a web browser(HTML page) and pass it some variable information. Can I do
that?

Shepard

"Kevin Spencer" wrote:
Yes but wouldn't that run at the server? I already have a "Thick" or
"Smart"
client application that I'm trying to run from a browser button. The
custom
control would run everything at the server wouldn't it?


Not necessarily. We have to assume that there was some reason for using an
ActiveX Control on the client originally. Usually, this is because of some
requirement that necessitates execution on the client instead of the server.

I think you may be a bit mixed up about what ASP.net can do. It can do
precisely what ASP can do, only in a different way. All a Server Control
does is process on the back end, and render HTML on the front end.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
Yes but wouldn't that run at the server? I already have a "Thick" or
"Smart"
client application that I'm trying to run from a browser button. The
custom
control would run everything at the server wouldn't it?
"ShepardBerry" wrote:
This may be a dumb question, but I'm not finding anything specifically
what
I'm looking for. Still kind of new to .NET as well.

What I'm trying to do that I know I could do in VB6.0/ASP is to create a
client side object set some properties and have it run some code. I know
that in VB6/asp it was fairly straight forward by creating an ActiveX
control, register it and then VBScripting the CreateObject("xxx.xxxx")
command and it worked from the client side. I'm not finding the
"similar"
functionality. I'm sure I'm probably just missing it, but any help would
be
greately appreciated.


Nov 19 '05 #7

P: n/a
Well, Shepard, let's have a look at your requirements:
I need something to run something on
the client and be launched by a button on the Web Browser
Based on those requirements, I could build almost anything. Can you be more
specific about your business requirements? What exactly is this thing
supposed to DO?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com... You're right I'm confused. Maybe just with some .NET stuff. OK, so since
I
don't have the ActiveX control built but I need something to run something
on
the client and be launched by a button on the Web Browser what do I use?
I
guess maybe it's just concept I'm not getting here?

What I need to do is launch my application which resides on the client,
from
a web browser(HTML page) and pass it some variable information. Can I do
that?

Shepard

"Kevin Spencer" wrote:
> Yes but wouldn't that run at the server? I already have a "Thick" or
> "Smart"
> client application that I'm trying to run from a browser button. The
> custom
> control would run everything at the server wouldn't it?


Not necessarily. We have to assume that there was some reason for using
an
ActiveX Control on the client originally. Usually, this is because of
some
requirement that necessitates execution on the client instead of the
server.

I think you may be a bit mixed up about what ASP.net can do. It can do
precisely what ASP can do, only in a different way. All a Server Control
does is process on the back end, and render HTML on the front end.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
> Yes but wouldn't that run at the server? I already have a "Thick" or
> "Smart"
> client application that I'm trying to run from a browser button. The
> custom
> control would run everything at the server wouldn't it?
>
>
> "ShepardBerry" wrote:
>
>> This may be a dumb question, but I'm not finding anything specifically
>> what
>> I'm looking for. Still kind of new to .NET as well.
>>
>> What I'm trying to do that I know I could do in VB6.0/ASP is to create
>> a
>> client side object set some properties and have it run some code. I
>> know
>> that in VB6/asp it was fairly straight forward by creating an ActiveX
>> control, register it and then VBScripting the CreateObject("xxx.xxxx")
>> command and it worked from the client side. I'm not finding the
>> "similar"
>> functionality. I'm sure I'm probably just missing it, but any help
>> would
>> be
>> greately appreciated.
>>


Nov 19 '05 #8

P: n/a
OK, I have a client application that pulls credit reports. It's distributed
throughout the US and is very basic data entry but resides on the clients
desktops. I also have some business partners that have web sites that want
to use our application to pull their Credit Reports for their consumers.
They would like lauch my application and have it filled with the data from
their web(app) site as to order the reports without any intervention by the
end user. So in essence the end users who has already put in the data for
the customer would push a button on the browser window and that would launch
my application on the client machine and would populate the required data
from the browser into my application. I didn't see a direct method to be
able to do that so I began to think that I could use something like an
ActiveX object that would set properties and launch (w/ command line
parameters) my app. However being that I can't seem to figure out how to
equal this functionality in .NET ie. (ActiveX CreateObject("xxx.xxx") )

I'm am at a loss on how to approach this. I am open to any alternative
route, but the main thing is that the credit reporting app resides on the
client machine and needs to be called from a browser/website.

Hope this makes sense.

Shepard
"Kevin Spencer" wrote:
Well, Shepard, let's have a look at your requirements:
I need something to run something on
the client and be launched by a button on the Web Browser


Based on those requirements, I could build almost anything. Can you be more
specific about your business requirements? What exactly is this thing
supposed to DO?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
You're right I'm confused. Maybe just with some .NET stuff. OK, so since
I
don't have the ActiveX control built but I need something to run something
on
the client and be launched by a button on the Web Browser what do I use?
I
guess maybe it's just concept I'm not getting here?

What I need to do is launch my application which resides on the client,
from
a web browser(HTML page) and pass it some variable information. Can I do
that?

Shepard

"Kevin Spencer" wrote:
> Yes but wouldn't that run at the server? I already have a "Thick" or
> "Smart"
> client application that I'm trying to run from a browser button. The
> custom
> control would run everything at the server wouldn't it?

Not necessarily. We have to assume that there was some reason for using
an
ActiveX Control on the client originally. Usually, this is because of
some
requirement that necessitates execution on the client instead of the
server.

I think you may be a bit mixed up about what ASP.net can do. It can do
precisely what ASP can do, only in a different way. All a Server Control
does is process on the back end, and render HTML on the front end.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
> Yes but wouldn't that run at the server? I already have a "Thick" or
> "Smart"
> client application that I'm trying to run from a browser button. The
> custom
> control would run everything at the server wouldn't it?
>
>
> "ShepardBerry" wrote:
>
>> This may be a dumb question, but I'm not finding anything specifically
>> what
>> I'm looking for. Still kind of new to .NET as well.
>>
>> What I'm trying to do that I know I could do in VB6.0/ASP is to create
>> a
>> client side object set some properties and have it run some code. I
>> know
>> that in VB6/asp it was fairly straight forward by creating an ActiveX
>> control, register it and then VBScripting the CreateObject("xxx.xxxx")
>> command and it worked from the client side. I'm not finding the
>> "similar"
>> functionality. I'm sure I'm probably just missing it, but any help
>> would
>> be
>> greately appreciated.
>>


Nov 19 '05 #9

P: n/a
Hi Shepard,

Yes, that does sound like a job for an ActiveX control. Once you have
written one, it's not difficult to add it to any web page, regardless of
whether it is HTML, ASP, or what-have-you.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:05**********************************@microsof t.com...
OK, I have a client application that pulls credit reports. It's
distributed
throughout the US and is very basic data entry but resides on the clients
desktops. I also have some business partners that have web sites that
want
to use our application to pull their Credit Reports for their consumers.
They would like lauch my application and have it filled with the data from
their web(app) site as to order the reports without any intervention by
the
end user. So in essence the end users who has already put in the data for
the customer would push a button on the browser window and that would
launch
my application on the client machine and would populate the required data
from the browser into my application. I didn't see a direct method to be
able to do that so I began to think that I could use something like an
ActiveX object that would set properties and launch (w/ command line
parameters) my app. However being that I can't seem to figure out how to
equal this functionality in .NET ie. (ActiveX CreateObject("xxx.xxx") )

I'm am at a loss on how to approach this. I am open to any alternative
route, but the main thing is that the credit reporting app resides on the
client machine and needs to be called from a browser/website.

Hope this makes sense.

Shepard
"Kevin Spencer" wrote:
Well, Shepard, let's have a look at your requirements:
> I need something to run something on
> the client and be launched by a button on the Web Browser


Based on those requirements, I could build almost anything. Can you be
more
specific about your business requirements? What exactly is this thing
supposed to DO?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
> You're right I'm confused. Maybe just with some .NET stuff. OK, so
> since
> I
> don't have the ActiveX control built but I need something to run
> something
> on
> the client and be launched by a button on the Web Browser what do I
> use?
> I
> guess maybe it's just concept I'm not getting here?
>
> What I need to do is launch my application which resides on the client,
> from
> a web browser(HTML page) and pass it some variable information. Can I
> do
> that?
>
> Shepard
>
> "Kevin Spencer" wrote:
>
>> > Yes but wouldn't that run at the server? I already have a "Thick"
>> > or
>> > "Smart"
>> > client application that I'm trying to run from a browser button.
>> > The
>> > custom
>> > control would run everything at the server wouldn't it?
>>
>> Not necessarily. We have to assume that there was some reason for
>> using
>> an
>> ActiveX Control on the client originally. Usually, this is because of
>> some
>> requirement that necessitates execution on the client instead of the
>> server.
>>
>> I think you may be a bit mixed up about what ASP.net can do. It can do
>> precisely what ASP can do, only in a different way. All a Server
>> Control
>> does is process on the back end, and render HTML on the front end.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> Neither a follower nor a lender be.
>>
>> "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in
>> message
>> news:47**********************************@microsof t.com...
>> > Yes but wouldn't that run at the server? I already have a "Thick"
>> > or
>> > "Smart"
>> > client application that I'm trying to run from a browser button.
>> > The
>> > custom
>> > control would run everything at the server wouldn't it?
>> >
>> >
>> > "ShepardBerry" wrote:
>> >
>> >> This may be a dumb question, but I'm not finding anything
>> >> specifically
>> >> what
>> >> I'm looking for. Still kind of new to .NET as well.
>> >>
>> >> What I'm trying to do that I know I could do in VB6.0/ASP is to
>> >> create
>> >> a
>> >> client side object set some properties and have it run some code.
>> >> I
>> >> know
>> >> that in VB6/asp it was fairly straight forward by creating an
>> >> ActiveX
>> >> control, register it and then VBScripting the
>> >> CreateObject("xxx.xxxx")
>> >> command and it worked from the client side. I'm not finding the
>> >> "similar"
>> >> functionality. I'm sure I'm probably just missing it, but any help
>> >> would
>> >> be
>> >> greately appreciated.
>> >>
>>
>>
>>


Nov 19 '05 #10

P: n/a
OK, So here's the 1Mil question. Is it possible to write one in .NET or do I
have to go back to VB6? I can't seen to find anywhere in .NET where I can do
it but as I said earlier I'm still new to .NET.

Thanks for your help
Shepard

"Kevin Spencer" wrote:
Hi Shepard,

Yes, that does sound like a job for an ActiveX control. Once you have
written one, it's not difficult to add it to any web page, regardless of
whether it is HTML, ASP, or what-have-you.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:05**********************************@microsof t.com...
OK, I have a client application that pulls credit reports. It's
distributed
throughout the US and is very basic data entry but resides on the clients
desktops. I also have some business partners that have web sites that
want
to use our application to pull their Credit Reports for their consumers.
They would like lauch my application and have it filled with the data from
their web(app) site as to order the reports without any intervention by
the
end user. So in essence the end users who has already put in the data for
the customer would push a button on the browser window and that would
launch
my application on the client machine and would populate the required data
from the browser into my application. I didn't see a direct method to be
able to do that so I began to think that I could use something like an
ActiveX object that would set properties and launch (w/ command line
parameters) my app. However being that I can't seem to figure out how to
equal this functionality in .NET ie. (ActiveX CreateObject("xxx.xxx") )

I'm am at a loss on how to approach this. I am open to any alternative
route, but the main thing is that the credit reporting app resides on the
client machine and needs to be called from a browser/website.

Hope this makes sense.

Shepard
"Kevin Spencer" wrote:
Well, Shepard, let's have a look at your requirements:

> I need something to run something on
> the client and be launched by a button on the Web Browser

Based on those requirements, I could build almost anything. Can you be
more
specific about your business requirements? What exactly is this thing
supposed to DO?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
> You're right I'm confused. Maybe just with some .NET stuff. OK, so
> since
> I
> don't have the ActiveX control built but I need something to run
> something
> on
> the client and be launched by a button on the Web Browser what do I
> use?
> I
> guess maybe it's just concept I'm not getting here?
>
> What I need to do is launch my application which resides on the client,
> from
> a web browser(HTML page) and pass it some variable information. Can I
> do
> that?
>
> Shepard
>
> "Kevin Spencer" wrote:
>
>> > Yes but wouldn't that run at the server? I already have a "Thick"
>> > or
>> > "Smart"
>> > client application that I'm trying to run from a browser button.
>> > The
>> > custom
>> > control would run everything at the server wouldn't it?
>>
>> Not necessarily. We have to assume that there was some reason for
>> using
>> an
>> ActiveX Control on the client originally. Usually, this is because of
>> some
>> requirement that necessitates execution on the client instead of the
>> server.
>>
>> I think you may be a bit mixed up about what ASP.net can do. It can do
>> precisely what ASP can do, only in a different way. All a Server
>> Control
>> does is process on the back end, and render HTML on the front end.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> Neither a follower nor a lender be.
>>
>> "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in
>> message
>> news:47**********************************@microsof t.com...
>> > Yes but wouldn't that run at the server? I already have a "Thick"
>> > or
>> > "Smart"
>> > client application that I'm trying to run from a browser button.
>> > The
>> > custom
>> > control would run everything at the server wouldn't it?
>> >
>> >
>> > "ShepardBerry" wrote:
>> >
>> >> This may be a dumb question, but I'm not finding anything
>> >> specifically
>> >> what
>> >> I'm looking for. Still kind of new to .NET as well.
>> >>
>> >> What I'm trying to do that I know I could do in VB6.0/ASP is to
>> >> create
>> >> a
>> >> client side object set some properties and have it run some code.
>> >> I
>> >> know
>> >> that in VB6/asp it was fairly straight forward by creating an
>> >> ActiveX
>> >> control, register it and then VBScripting the
>> >> CreateObject("xxx.xxxx")
>> >> command and it worked from the client side. I'm not finding the
>> >> "similar"
>> >> functionality. I'm sure I'm probably just missing it, but any help
>> >> would
>> >> be
>> >> greately appreciated.
>> >>
>>
>>
>>


Nov 19 '05 #11

P: n/a
Hi Shepard,

In .Net, you would create an embedded Windows Form, but it would require the
..Net platform on the client. If you're more familiar with VB6, by all means,
use that to create the ActiveX control.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:BF**********************************@microsof t.com...
OK, So here's the 1Mil question. Is it possible to write one in .NET or
do I
have to go back to VB6? I can't seen to find anywhere in .NET where I can
do
it but as I said earlier I'm still new to .NET.

Thanks for your help
Shepard

"Kevin Spencer" wrote:
Hi Shepard,

Yes, that does sound like a job for an ActiveX control. Once you have
written one, it's not difficult to add it to any web page, regardless of
whether it is HTML, ASP, or what-have-you.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
news:05**********************************@microsof t.com...
> OK, I have a client application that pulls credit reports. It's
> distributed
> throughout the US and is very basic data entry but resides on the
> clients
> desktops. I also have some business partners that have web sites that
> want
> to use our application to pull their Credit Reports for their
> consumers.
> They would like lauch my application and have it filled with the data
> from
> their web(app) site as to order the reports without any intervention by
> the
> end user. So in essence the end users who has already put in the data
> for
> the customer would push a button on the browser window and that would
> launch
> my application on the client machine and would populate the required
> data
> from the browser into my application. I didn't see a direct method to
> be
> able to do that so I began to think that I could use something like an
> ActiveX object that would set properties and launch (w/ command line
> parameters) my app. However being that I can't seem to figure out how
> to
> equal this functionality in .NET ie. (ActiveX
> CreateObject("xxx.xxx") )
>
> I'm am at a loss on how to approach this. I am open to any alternative
> route, but the main thing is that the credit reporting app resides on
> the
> client machine and needs to be called from a browser/website.
>
> Hope this makes sense.
>
> Shepard
>
>
> "Kevin Spencer" wrote:
>
>> Well, Shepard, let's have a look at your requirements:
>>
>> > I need something to run something on
>> > the client and be launched by a button on the Web Browser
>>
>> Based on those requirements, I could build almost anything. Can you be
>> more
>> specific about your business requirements? What exactly is this thing
>> supposed to DO?
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> Neither a follower nor a lender be.
>>
>> "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in
>> message
>> news:73**********************************@microsof t.com...
>> > You're right I'm confused. Maybe just with some .NET stuff. OK, so
>> > since
>> > I
>> > don't have the ActiveX control built but I need something to run
>> > something
>> > on
>> > the client and be launched by a button on the Web Browser what do I
>> > use?
>> > I
>> > guess maybe it's just concept I'm not getting here?
>> >
>> > What I need to do is launch my application which resides on the
>> > client,
>> > from
>> > a web browser(HTML page) and pass it some variable information. Can
>> > I
>> > do
>> > that?
>> >
>> > Shepard
>> >
>> > "Kevin Spencer" wrote:
>> >
>> >> > Yes but wouldn't that run at the server? I already have a
>> >> > "Thick"
>> >> > or
>> >> > "Smart"
>> >> > client application that I'm trying to run from a browser button.
>> >> > The
>> >> > custom
>> >> > control would run everything at the server wouldn't it?
>> >>
>> >> Not necessarily. We have to assume that there was some reason for
>> >> using
>> >> an
>> >> ActiveX Control on the client originally. Usually, this is because
>> >> of
>> >> some
>> >> requirement that necessitates execution on the client instead of
>> >> the
>> >> server.
>> >>
>> >> I think you may be a bit mixed up about what ASP.net can do. It can
>> >> do
>> >> precisely what ASP can do, only in a different way. All a Server
>> >> Control
>> >> does is process on the back end, and render HTML on the front end.
>> >>
>> >> --
>> >> HTH,
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> ..Net Developer
>> >> Neither a follower nor a lender be.
>> >>
>> >> "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in
>> >> message
>> >> news:47**********************************@microsof t.com...
>> >> > Yes but wouldn't that run at the server? I already have a
>> >> > "Thick"
>> >> > or
>> >> > "Smart"
>> >> > client application that I'm trying to run from a browser button.
>> >> > The
>> >> > custom
>> >> > control would run everything at the server wouldn't it?
>> >> >
>> >> >
>> >> > "ShepardBerry" wrote:
>> >> >
>> >> >> This may be a dumb question, but I'm not finding anything
>> >> >> specifically
>> >> >> what
>> >> >> I'm looking for. Still kind of new to .NET as well.
>> >> >>
>> >> >> What I'm trying to do that I know I could do in VB6.0/ASP is to
>> >> >> create
>> >> >> a
>> >> >> client side object set some properties and have it run some
>> >> >> code.
>> >> >> I
>> >> >> know
>> >> >> that in VB6/asp it was fairly straight forward by creating an
>> >> >> ActiveX
>> >> >> control, register it and then VBScripting the
>> >> >> CreateObject("xxx.xxxx")
>> >> >> command and it worked from the client side. I'm not finding the
>> >> >> "similar"
>> >> >> functionality. I'm sure I'm probably just missing it, but any
>> >> >> help
>> >> >> would
>> >> >> be
>> >> >> greately appreciated.
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #12

P: n/a
also if written in .net, it would not be able to start the client app,
unless the user changed the .net security setting. a .net hosted control (or
smart app) run in a sandbox simular to java applets.

also for this active/x control to be safe, you must check that the page its
running on is hosted from your site, and that it only does what it is
supposed to.

if you can get your client s to trust your site, you can just use client
script to start the app using the wsh object.
-- bruce (sqlwork.com)
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
| Hi Shepard,
|
| In .Net, you would create an embedded Windows Form, but it would require
the
| .Net platform on the client. If you're more familiar with VB6, by all
means,
| use that to create the ActiveX control.
|
| --
| HTH,
|
| Kevin Spencer
| Microsoft MVP
| .Net Developer
| Neither a follower nor a lender be.
|
| "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in message
| news:BF**********************************@microsof t.com...
| > OK, So here's the 1Mil question. Is it possible to write one in .NET or
| > do I
| > have to go back to VB6? I can't seen to find anywhere in .NET where I
can
| > do
| > it but as I said earlier I'm still new to .NET.
| >
| > Thanks for your help
| > Shepard
| >
| > "Kevin Spencer" wrote:
| >
| >> Hi Shepard,
| >>
| >> Yes, that does sound like a job for an ActiveX control. Once you have
| >> written one, it's not difficult to add it to any web page, regardless
of
| >> whether it is HTML, ASP, or what-have-you.
| >>
| >> --
| >> HTH,
| >>
| >> Kevin Spencer
| >> Microsoft MVP
| >> ..Net Developer
| >> Neither a follower nor a lender be.
| >>
| >> "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in
message
| >> news:05**********************************@microsof t.com...
| >> > OK, I have a client application that pulls credit reports. It's
| >> > distributed
| >> > throughout the US and is very basic data entry but resides on the
| >> > clients
| >> > desktops. I also have some business partners that have web sites
that
| >> > want
| >> > to use our application to pull their Credit Reports for their
| >> > consumers.
| >> > They would like lauch my application and have it filled with the data
| >> > from
| >> > their web(app) site as to order the reports without any intervention
by
| >> > the
| >> > end user. So in essence the end users who has already put in the
data
| >> > for
| >> > the customer would push a button on the browser window and that would
| >> > launch
| >> > my application on the client machine and would populate the required
| >> > data
| >> > from the browser into my application. I didn't see a direct method
to
| >> > be
| >> > able to do that so I began to think that I could use something like
an
| >> > ActiveX object that would set properties and launch (w/ command line
| >> > parameters) my app. However being that I can't seem to figure out
how
| >> > to
| >> > equal this functionality in .NET ie. (ActiveX
| >> > CreateObject("xxx.xxx") )
| >> >
| >> > I'm am at a loss on how to approach this. I am open to any
alternative
| >> > route, but the main thing is that the credit reporting app resides on
| >> > the
| >> > client machine and needs to be called from a browser/website.
| >> >
| >> > Hope this makes sense.
| >> >
| >> > Shepard
| >> >
| >> >
| >> > "Kevin Spencer" wrote:
| >> >
| >> >> Well, Shepard, let's have a look at your requirements:
| >> >>
| >> >> > I need something to run something on
| >> >> > the client and be launched by a button on the Web Browser
| >> >>
| >> >> Based on those requirements, I could build almost anything. Can you
be
| >> >> more
| >> >> specific about your business requirements? What exactly is this
thing
| >> >> supposed to DO?
| >> >>
| >> >> --
| >> >> HTH,
| >> >>
| >> >> Kevin Spencer
| >> >> Microsoft MVP
| >> >> ..Net Developer
| >> >> Neither a follower nor a lender be.
| >> >>
| >> >> "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in
| >> >> message
| >> >> news:73**********************************@microsof t.com...
| >> >> > You're right I'm confused. Maybe just with some .NET stuff. OK,
so
| >> >> > since
| >> >> > I
| >> >> > don't have the ActiveX control built but I need something to run
| >> >> > something
| >> >> > on
| >> >> > the client and be launched by a button on the Web Browser what do
I
| >> >> > use?
| >> >> > I
| >> >> > guess maybe it's just concept I'm not getting here?
| >> >> >
| >> >> > What I need to do is launch my application which resides on the
| >> >> > client,
| >> >> > from
| >> >> > a web browser(HTML page) and pass it some variable information.
Can
| >> >> > I
| >> >> > do
| >> >> > that?
| >> >> >
| >> >> > Shepard
| >> >> >
| >> >> > "Kevin Spencer" wrote:
| >> >> >
| >> >> >> > Yes but wouldn't that run at the server? I already have a
| >> >> >> > "Thick"
| >> >> >> > or
| >> >> >> > "Smart"
| >> >> >> > client application that I'm trying to run from a browser
button.
| >> >> >> > The
| >> >> >> > custom
| >> >> >> > control would run everything at the server wouldn't it?
| >> >> >>
| >> >> >> Not necessarily. We have to assume that there was some reason for
| >> >> >> using
| >> >> >> an
| >> >> >> ActiveX Control on the client originally. Usually, this is
because
| >> >> >> of
| >> >> >> some
| >> >> >> requirement that necessitates execution on the client instead of
| >> >> >> the
| >> >> >> server.
| >> >> >>
| >> >> >> I think you may be a bit mixed up about what ASP.net can do. It
can
| >> >> >> do
| >> >> >> precisely what ASP can do, only in a different way. All a Server
| >> >> >> Control
| >> >> >> does is process on the back end, and render HTML on the front
end.
| >> >> >>
| >> >> >> --
| >> >> >> HTH,
| >> >> >>
| >> >> >> Kevin Spencer
| >> >> >> Microsoft MVP
| >> >> >> ..Net Developer
| >> >> >> Neither a follower nor a lender be.
| >> >> >>
| >> >> >> "ShepardBerry" <Sh**********@discussions.microsoft.com> wrote in
| >> >> >> message
| >> >> >> news:47**********************************@microsof t.com...
| >> >> >> > Yes but wouldn't that run at the server? I already have a
| >> >> >> > "Thick"
| >> >> >> > or
| >> >> >> > "Smart"
| >> >> >> > client application that I'm trying to run from a browser
button.
| >> >> >> > The
| >> >> >> > custom
| >> >> >> > control would run everything at the server wouldn't it?
| >> >> >> >
| >> >> >> >
| >> >> >> > "ShepardBerry" wrote:
| >> >> >> >
| >> >> >> >> This may be a dumb question, but I'm not finding anything
| >> >> >> >> specifically
| >> >> >> >> what
| >> >> >> >> I'm looking for. Still kind of new to .NET as well.
| >> >> >> >>
| >> >> >> >> What I'm trying to do that I know I could do in VB6.0/ASP is
to
| >> >> >> >> create
| >> >> >> >> a
| >> >> >> >> client side object set some properties and have it run some
| >> >> >> >> code.
| >> >> >> >> I
| >> >> >> >> know
| >> >> >> >> that in VB6/asp it was fairly straight forward by creating an
| >> >> >> >> ActiveX
| >> >> >> >> control, register it and then VBScripting the
| >> >> >> >> CreateObject("xxx.xxxx")
| >> >> >> >> command and it worked from the client side. I'm not finding
the
| >> >> >> >> "similar"
| >> >> >> >> functionality. I'm sure I'm probably just missing it, but any
| >> >> >> >> help
| >> >> >> >> would
| >> >> >> >> be
| >> >> >> >> greately appreciated.
| >> >> >> >>
| >> >> >>
| >> >> >>
| >> >> >>
| >> >>
| >> >>
| >> >>
| >>
| >>
| >>
|
|
Nov 19 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.