Vb.net - Accessing A Windows Application From An ASPX Page?
Aug 2, 2010
I have an aspx page and I want to access an application on the client after seeking user permission. Both the windows application and the website are to be made in VB.NET.
EDIT: Here is the problem. From my .aspx webpage in vb.net, a visitor clicks on a link on my site, and if my winform is not already loaded on their desktop, it is then loaded with the users permission. This application should auto-load on the user's site at boot up time and always be in the background running. Make it an extremely thin client, taking the least cpu and bandwidth from the user, and running as a silent background process until needed.
Whenever the user visits one of my many websites, IN ANY BROWSER, somehow - the app running in the background communicates with the .aspx on one of my sites, and exchanges a silent username password identifying client winform app to the online .aspx app on my website.
Then the .aspx on my site PASSES a url such as "www.somewebsite.com" to the app running in the background, the background app then does a http request from the client's computer, not from my .aspx server, so the client's cookies and ip are visible to "www.somewebsite.com" server. The client collects the html for that page, stores it as a string, and also saves the ascii of that webpage as another string.
Both strings then are PASSED BACK to my .aspx website that the client is visiting, and the .aspx app then stores these results in a database.
View 2 Replies
Similar Messages:
Feb 10, 2011
I'm having trouble with accessing my webservice.
I've got a webapplication and inside this webapplication I have a webservice. An external program is going to use this webservice in the future, but for now that is not the problem. this webservice is also called from inside the webapplication. this is where the problem starts.
I keep getting this error:
The remote server returned an error: (401) Unauthorized.
I tried with imporsonate= true, but it didn't work
[Code]....
the webservice is called like this:
[Code]....
I hope some one can point me into the right direction.
I'm using iis 7.5asp.net 3.5
View 1 Replies
Feb 21, 2011
Can anyone explain why the following happens:My ASP.NET application requires access to Application event log.When I access web application initially, it returns "Security" exception (which is expected, as I haven't granted permissions to write to Application event log yet). Then I give read/write permissions to IIS_IUSRS group on the following registry key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetserviceseventlog. As a result of this action my web application starts working.Now I remove those permissions I've granted to IIS_IUSRS group. But my web application keeps working (although I'd expect "Security" exception raised again)So, why web application keeps working, although permissions to write to Application loghave been removed?
View 2 Replies
Apr 2, 2011
I need to access signed in username and pass, which are saved in session variable,
from silverlight page
i remember something of accesing session variables from silverlight but cannot get the code
cannot remember the name of the video, which shows how to interaction between aspx page and silverlight plugin
View 1 Replies
Jan 8, 2011
I am using Master page and Content page combination.But how can i access <body> tag and it's event (onload, onunload) of Master page in .aspx page that is not a content page.
View 12 Replies
Jun 28, 2010
We have some code which is designed to build up a key/value pair of controls on a ASP.NET webforms page and their values. We use the "Controls" collection and recursion to build up this key/value pair.
The only issue is that ascx controls don't appear to come back in the "Controls" collection. Instead we get the controls on the ascx.
Something similar to the following code:
[Code]....
The subCtl is never a ascx control. Is there a way to get a list of the ascx controls on page or better still a different collection that contains both types?
View 2 Replies
Feb 26, 2010
How can we access data posted to aspx page.
[URL]
[URL]
In Yahoo we just insert the link to the aspx page. and then order are posted POST in XML format.
How can I access the XML in the Aspx page?
View 1 Replies
Feb 2, 2011
How can I access a control on page a.aspx from a webusercontrol.ascx
I do not know the technical term used to describe this, if any,the webusercontrol.ascx page contains a button.
onclick of the button, placeholder on main page must display the "required content".
if this were on the same page no problem.
but how to access across pages?
View 1 Replies
Jul 29, 2010
I am new to silverlight and I am wondering if it is possible to access silverlight object data from the aspx page that host it. Or have silverlight write to a hidden field on the page on client side.
What I am trying to do is to use silverlight to upload file via WCF (client to WCF Service directly instead of posting data back to the web server then forwarded to WCF service). When uploading a large file, user can still do some data entry etc. And once the upload is done have it write some data return by the WCF service to the aspx's hidden field and postback to the server on submit.
View 1 Replies
Mar 3, 2010
I am working on a page called Edit.aspx and on that page is a User Control.
Note: I need to access the User Control from a button that is on the Edit Page. Once I get a handle of the User Control then I need to access a DataList on that user control and finally I need to get the ID of a dropDownList
on the User Control
This is all the code I have,Goal: From the Edit page I want to drill backwards to the UserControl/DataList/DropDownList
'Geting the user control
Dim ctrl2 As UC_SiteTemplate2 = CType(Page.LoadControl("~/UC/SiteTemplate2.ascx"), UC_SiteTemplate2)
'accessing drop down list from user control
Dim xListNumber1 As DropDownList = New DropDownList()
xListNumber1 = ctrl2.FindControl("DDLOrderList1")
View 6 Replies
Dec 20, 2010
There is one user control say uControl.ascx. This has a public property Message. There are 2 aspx pages Default.aspx and Home.aspx which has the user control uControl.ascx. When a sumit button from Default.aspx is clicked some action takes place and the value for Message is set and then execution is redirected to Home.aspx. In Home.aspx the value for Message is lost.
Is there anyways that the value of Message is retained for both the aspx pages?
View 11 Replies
Dec 23, 2010
is it possible to hide windows taskbar during page load of an aspx page?
View 3 Replies
Oct 29, 2010
I have a control in a 'window control library' which handles - 'drag and drop' files from computer to a listbox control, I then reference this .dll in .aspx (See code below). Now, when i try to access this through webserver for drag
and drop files i get following errror - The type of the first permission that failed was : System.Security.Permission.FileIOPermission.
How do I handle this, so that drag and drop of files can happen over the webpage residing at webserver.
namespace testWinControl1
View 1 Replies
May 19, 2010
I've recently found out that the MessageBox from Windows.Forms can be used in a web page, but there's a problem when showing it, it's not modal. Is there a way to make it modal?
View 1 Replies
Oct 18, 2010
Accessing 'Window Control Library' .dll from a .aspx page on webserver
View 2 Replies
Dec 19, 2011
Im trying to embed a windows form out of a .dll into an aspx page.
Code:
<object id="mytest" classid="ASPXCLASS.dll#ASPXClASS.FORM1" height="400PX" width="400PX" VIEWASTEXT ></object>
All that I get is a blank area where the form should appear - obviously I missing something completely..
View 7 Replies
Mar 20, 2010
I have an application which is used by others on different server without problems. The app was programmed by a programmer who is not available now. It was developed on .net 2.0. The windows 2003 is a new server, asp.net is enabled. from iis, I can configure it to use asp.net 2.0....,
but, when I load the site, it always show the 404. even after I change the default.aspx to a blank page, it still shows 404. however, if I put a default.htm in the folder, and it can be loaded without problems.
what can cause this? how to fix it? if I installed a vs2005 express on the server, will it fix the problem?
it seems the asp.net 2.0 dll is not recognized on server. never had this problem before.
View 1 Replies
Feb 10, 2010
I am able to access the controls of ".aspx" file in ".aspx.cs" directly without any declaration in ".aspx.cs" or in designer.cs. How is this possible? This is happeing only if I open website as using File System.
Create a new ASP.NET web site application with Visual Studio 2008. So following three files will be created automatically
[code]...
How btnSave is being recognized by .cs file without defining it anywhere as an object of System.Web.UI.WebControls.Button?
View 3 Replies
Mar 1, 2010
Got a windows forms user control dll embedded in an asp page using the html form control object tag as it needs to run client side. The windows form control does something and then needs to redirect to a another aspx page passing a parameter obtained from a calculation in the windows form contro dll. Is the redirect possible from the windows form control (same session id needs to be used) since obviously you can't call response.redirect since its not part of the server side wep page.
View 3 Replies
Jun 10, 2010
I have the windows form user control with the name usercontrol.cs .. I want to display this usercontrol.cs in aspx page..I tried the below code..but it produced error.. how to resolve my proplem...thx
Control MyUserControl;
MyUserControl = LoadControl("usercontrol.cs");
MyPlaceHolder.Controls.Add(MyUserControl);
View 3 Replies
Aug 17, 2010
I've a problem with my Visual Studio.On the 13th of August 2010 i installed a Windows update on my vista sp2 pc. For this date my Visual Studio 2008 sp 1 always has closed itself by opening an aspx-page in designer view. There is no error message just closing the window. I restored a backup of my windows from the time before updating it and it helped, i could open aspx pages in the design view till the update has been installed again automatically after rebooting the pc. I can't disable windows updates, cause it's my pc at work and safety is very important.
View 8 Replies
Mar 23, 2011
How to integrate Windows Application into Web Page? i want to embed SAP Application screen (EXTRA! X-treme) into Web Page to easily enter values from SAP screen into web page.
View 1 Replies
Sep 20, 2010
I have aspx page and in that page i registerd ascx page. i want to access the aspx page <div id = "idofdiv"> from ascx page jquery function. i have jquery function in ascx page. i want to access idofdiv in that function.
View 2 Replies
Aug 9, 2010
I am trying to run an aspx file on my server windows 2003 with IIS 6.0. I get the following error. Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local
server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
[Code]....
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
[Code]....
View 2 Replies
Jan 17, 2011
Does code in an .aspx page (in between <% %> tags) get compiled in a web application or is it treated like markup where you can just change it without recompiling the solution? Does compiling only compile the code behind code in the .cs and designer.cs files ?
View 2 Replies