Hi all
I developed the simple windows control and place it on ASP.net page, it
runs fine.
Now
i developed the win control as follows which uses web services (Combine
logic of two sample applications )
Step 1: Created simple windows application (UserForm) which shows
FolderBrowseDialog box On button click Event of form (set output type to
class library under project configuration settings after build)
Step 2: Create web service which has method to transfer UserForm.dll as
byte stream
Step 3: Developed windows control which call web service to get
UserForm.dll byte stream and create instance of UserForm on fly with
Activator object, and then display UserForm.
step 4: i put this windows control on another TestWindow application and it
all runs fine in following sequence start from left most
i.e. Testwindow <--> WindowControl <--> Webservice <--> UserForm.dll
<--> folderbrowsedialog
step 5: i put this window control on ASP.net and run web application on
development machine.
Again on development machine where web application is
hosted, all things works fine i.e. WindowsControl initialized on ASP.NET
page and UserForm windows application displayed and on button click
FolderBrowseDialoge displayed from ASP.NET page which shows local file
system (Amazing)
but problem when i access same web page from another machine then only
simple windows control displayed (which has tree control in it etc) but
complex windows control (which displayed windows form with
FolderBrowseDialoge) could not initialized.
So All, How FolderBrowseDialoge displayed on ASP.NET page when runs on
Hosted server and why it not works when runs from some other machine with
..net framework installed. ?????????????? As inherently it inherits rights
of ASP.NET account on hosted machine tooooooo
Thanks in advance
Regards
Kashif
--
Message posted via http://www.dotnetmonster.com