473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VB Scripting CreateObject Client Side Object

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
12 2954
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
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
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
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
> 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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Kathryn | last post by:
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve is this - - Page loads up and some server side...
9
by: What-a-Tool | last post by:
Dim MyMsg Set MyMsg = server.createObject("Scripting.Dictionary") MyMsg.Add "KeyVal1", "My Message1" MyMsg.Add "KeyVal2", "My Message2" MyMsg.Add "KeyVal3", "My Message3" for i = 1 To...
9
by: Vijai Kalyan | last post by:
Hello All, I have a few questions which you might seem irrelavant and/or foolish. I am asking anyway so I can find out. 1. Is XSL as powerful as a programming language such as Java in its...
0
by: fiona | last post by:
Catalyst Releases Scripting Editions of SocketTools Client and server-side development for Active Server Pages and PHP. Yucca Valley, CA, May 25, 2005 - Catalyst Development Corp...
2
by: Charlie | last post by:
Hi: I would like to avoid a round trip to server for small things like changing enabled status of a dropdown list ASP.NET control. Can I apply client side scripting to change this property? ...
37
by: John Salerno | last post by:
I contacted my domain host about how Python is implemented on their server, and got this response: ------------------- Hello John, Please be informed that the implementation of python in our...
4
by: Jacob JKW | last post by:
Having read the CLJ FAQ and having done extensive Googling, I do understand that in in general cross-domain iframe scripting is not permitted. One issue I have not seen directly addressed, however,...
6
by: avh | last post by:
Hi, I'have been looking for a simple scripting (interpreted) language to be run within my ASP.NET pages.Syntax is of minor importance. Although I find many options, all of these seem to first...
1
by: Chris | last post by:
Hi, I have jsut started to learn ASP development and have read many articles regarding which is the best to use regarding JavaScript or VBScript. All of the learning that I have done so far has...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...

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.