Im coding webapp where user has ability to enter web-addr and script will enter desired webpage. When coding in WinForms, OK no problem Problem starts with ASPX/asp.net. Google showed some stupid webtutorial made by so called dev +/-10 yo. (based on voice). Complete crap. Whats an equivalent of WebBrowser in ASPX/asp.net?

Member Avatar
Member Avatar
+0 forum 1

Hey guys, this seems to be a thorn in my side. I've been working on scraping a website which uses aspx and has eventvalidation/viewstate inputs. Every other scraping experiment I've made was not this difficult. Maybe one of you geniuses here at Daniweb has an idea of how to solve this? I've managed to get Selenium/PHPUnit to automate the process of opening the browser, typing in the URL, filling out the required fields (todays date), and then landing on the page I need to scrape and can get the viewstate and eventvalidation values from any of those pages. I've been …

Member Avatar
Member Avatar
+0 forum 2

As searching has returned very little, my question is simple yet seems to have a complicated explaination. How does one go about processing and sending aspx pages that don't have a physical location (i.e. the apsx page is built in a string or is an embedded resource) to the client? I've had a look at the [SimpleWorkerRequest](https://msdn.microsoft.com/en-us/library/system.web.hosting.simpleworkerrequest%28v=vs.110%29.aspx) but the only thing I could find was that it needed a physical file to play with. I've also looked at [HttpWorkerRequest](https://msdn.microsoft.com/en-us/library/system.web.httpworkerrequest_methods(v=vs.110).aspx) which was suggested on a page I cant find that it doesnt need physical pages. Also browsed across [AspNetServer by lcomplete](https://github.com/lcomplete/AspNetServer) …

Member Avatar
Member Avatar
+0 forum 13

Dajia hao, daniwebians! Just a quick question, is it possible to focus on a textbox on an externally loaded website? My goal is to load an external website, focus on a textfield, auto fill it with the current date, then submit it to then run my newly created scraper tool on the resulting page. Any ideas? I've done a bit of research and will continue to do so...

Member Avatar
Member Avatar
+0 forum 9

Guys, I have just finished building a web application but am stumped on one bit of code. Bascially I need to modify the <authorization> section of the web.config file via my .aspx page. My current C# code is below and does work in adding a user, however it adds it below the <deny users="*"> line which therefore still blocks the user from logging on. Question 1: When I add a new user via my C# code how can I make sure it is placed above <deny users="*"> line? Question 2: I have also placed a remove button on my page …

Member Avatar
Member Avatar
+0 forum 4

I'm trying to write a search enigne. Nothing fancy like google or so, just a simple one for educational purposes. I have done a little research and I know that Google uses Python, Java and C++. I on the other hand know C++, PHP, some Java and C# and even less Python. I see that Ruby on Rails have a lot of heat for some reason. I am willing to know a new language and framework as long as it isn't to difficult. I want something fast, rather portable, easy to maintain and update. I have made a few web …

Member Avatar
Member Avatar
+0 forum 1

Hey guys, quick question on the best way to implement ASP into HTML. Right now i have a finished web form in a default.aspx file and a Default.aspx.vb file. So two files: Default.aspx Default.aspx.vb My question is how would I nest or call this on an html page? through an iframe? a div? I've been looking for tutorials but maybe i'm not searching the right terms. if you have any links to youtube tutorials or if there's another thread that already handles this, please link me. Thanks ps. Mods, if this is the wrong place to post this, please tell …

Member Avatar
Member Avatar
+0 forum 4

I'm trying to display a Report with Crystal Report Viewer, in the Design looks fine, but it doesn't seem to load when I enter the website... <form id="form1" runat="server"> <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" GroupTreeImagesFolderUrl="" Height="1202px" ReportSourceID="CrystalReportSource1" ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Width="1104px" /> <CR:CrystalReportSource ID="CrystalReportSource1" runat="server"> <Report FileName="ReporteReciboFecha.rpt"> </Report> </CR:CrystalReportSource> </form>

Member Avatar
+0 forum 0

My vb6 to vb.net converted application performs about twice as slow as the classic ASP version. Here is the setup: I have an old ASP application that uses for most of its function calls a vb6 dll of 30000 + lines of code. I managed to convert the dll into a vb.net dll, built in caching for dataset retrieval, got rid of all interop calls (no more ODBC, but using datasets). The application is a Content Management system, an oldie, but very complete Still, the application, running the same web site on the same server, is twice as slow (6 …

Member Avatar
Member Avatar
+0 forum 5

Good Morning, I am this --- close to turning in a final project and my instruction states that for my asp.net vb application that we will need to turn in an executable or runtime. Since my project is .aspx I realize that an executable is not required but that I should turn in a runtime. My question? I am confused by the "turn in a runtime"? What files am I to include. I have attempted to reach my instructor but he is out of the office due to his wife's maternity leave. Guidance would be greatly appreciated. Thank you, Danielle

Member Avatar
+0 forum 0

I am trying to figure out some web development using ms vwd in C#. I want to link a couple of textual titles to hyperlinks. However, those hyperlinks are stored in a database object's column using ms sql server and so I need to use the oledb commands and iterate through that. But I want to be able to iterate through those links using a wild card so that I don't have to manually input all the links. So I made an aspx page that goes like: <asp:Hyperlink id = "temp"...navigateurl = './filename.aspx?=num=%'. Then I made another aspx page that …

Member Avatar
+0 forum 0

Hi there, I've never done any work with ASP .NET files before so I apologise for a probably basic question. I have a HTML file and a ASPX file. I need the HTML file to run the ASPX file and display it's contents. The idea is that the ASPX file will connect to a DB and insert something into a table (already working) and display an image. The rest of the html file should display below the image. At this stage the HTML file displays with the image from the ASPX file not showing. Not sure about how to solve …

Member Avatar
Member Avatar
+0 forum 2

When I try to navigate to the service it shows me the methods like normal but when I try to see the wsdl I get a file not found error. I have created both the wsdl.aspx and the disco.aspx. They have been deployed into _vti_bin folder. I was able to find that an exception was thrown inside of wswsdl.aspx from: [CODE] try { Server.Execute(newUrl); } catch (HttpException) { throw new System.IO.FileNotFoundException(OriginalBaseUrl); } [/CODE] If you need any more information please let me know.

Member Avatar
Member Avatar
+0 forum 2

Hello all. I was just designing a web application form that is meant to accept a user's request to use a particular room in a specified period of time. After the user enters his specifications, the application now responds, telling the user if the location specified is available at the specified time. I have been thinking about this issue for a while now, but I don't even know how to start. Thanks in advance!

Member Avatar
Member Avatar
+0 forum 1

[CODE]<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript" type="text/javascript"> function run(){ if (document.txtbox.value.length==0){ alert("BLANK"); } } </script> <form name="test" action="javascript<b></b>:void()" method="get"> <input type ="text" name="txtbox" value="" /> <input type ="button" name="btn" value="CLICK" onclick="run()" /> </form> </asp:Content>[/CODE] I'm using masterpage and the above code is on dafault.aspx, I wanted to place some JS on aspx page. However i encounter error state that [QUOTE]Message: 'document.txtbox.value' is null or not an object[/QUOTE] Why is tat so?

Member Avatar
+0 forum 0

[CODE]<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript" type="text/javascript"> function run(){ if (document.txtbox.value.length==0){ alert("BLANK"); } } </script> <form name="test" action="javascript:void()" method="get"> <input type ="text" name="txtbox" value="" /> <input type ="button" name="btn" value="CLICK" onclick="run()" /> </form> </asp:Content>[/CODE] I'm using masterpage and the above code is on dafault.aspx, I wanted to place some JS on aspx page. However i encounter error state that [QUOTE]Message: 'document.txtbox.value' is null or not an object[/QUOTE] Why is tat so?

Member Avatar
+0 forum 0

Hello my friends. I've been dealing with a problem in an asp.net page that im developing. Generally I don't develop in ASP.NET i prefer desktop applications. But here is my problem, I have to create a kind of image wall (4 Faces in a 2x2 row), i'm almost done with that part, but i need that when the user clicks one of the faces a counter will appear above the face and start counting the clicks that have been made to that face. I've been googling a lot, i have found some examples but most of them are for ASP …

Member Avatar
Member Avatar
+0 forum 1

Hello there, Is there any way of disabling caching of asp.net pages in folder or application level.... meant to say, is there any option available in the web.config file for disabling caching...i have done by using page wise...but need to disable caching for all pages in my application... plz help me on how to disable caching for all asp.net pages at a time... thanks for any help provided. regards shouvik

Member Avatar
Member Avatar
+0 forum 5

HI, I would like to load a aspx page based on a session parameter. I have a "login name" in the session parameter and i want to show this aspx page if the "login name" session parameter matches a particular "login name" How can i do this? Thanks in advance.

Member Avatar
Member Avatar
+1 forum 3

hi, I'm doing a Real Estate Website where I have an upload image web form which saves the image paths of the images into my database. I am trying to view details of the property in another web form, but I can't retrieve the images, only the data is being retrieved. The following is the code I used to save the details of the property: [code] protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(connString); con.Open(); SqlCommand storeimage = new SqlCommand("INSERT INTO Properties " + "(RefNo, Price, Location, Type, NoOfBedrooms, Description, Basis, Image_Path1, Image_Path2, Image_Path3, Image_Path4, Image_Path5, …

Member Avatar
Member Avatar
+0 forum 9

I have an ASP.NET app that uses code-behind modules that I need to publish on an internal company web server. I have access to the server, but my problem is that I can only access it through Windows Explorer, so I can't create a virtual directory on it or change any IIS settings (to my knowledge). Can anyone give me any advice on what I can do?

Member Avatar
Member Avatar
+0 forum 1

The End.