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)
| 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.
|
| | > 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.
| >>
message
| >> | >> > 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.
| >> >>
| >> >> message
| >> >> | >> >> > 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.
| >> >> >>
| >> >> >> message
| >> >> >> | >> >> >> > 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.
| >> >> >> >>
| >> >> >>
| >> >> >>
| >> >> >>
| >> >>
| >> >>
| >> >>
| >>
| >>
| >>
|
|