VS 2005 - Possible To Serve Webpages Across Various Link Styles?
Apr 7, 2009
Is it possible to make a program that serves web pages, along with all of their embedded links and external CSS stylesheets or scripts? It would have to serve it across:
a) a USB cable, attached to the serving and client computer
b) a network, directly to other computers.
I would really like it if option A were possible. B is what everything else uses, and I won't try that. I don't have a network.
I'M trying to filter a certain link from appearing on web pages, so like if you load a certain page and it contains a certain html link code, it won't load it? Would I have to use dll injection into winsock, to filter this? Or is there another way.
I have myself a self-hosted WCF server setup, which serves a clientaccesspolicy.xml and an index.htm which is just points to my xap (accessible via app.xap).
I'm currently serving them via the following code: Public Function GetPolicy() As System.IO.Stream Implements IClientAccessPolicy.GetPolicy WebOperationContext.Current.OutgoingResponse.ContentType = "application/xml" Return New IO.MemoryStream(IO.File.ReadAllBytes("Server Files/ClientAccessPolicy.xml")) End Function Public Function GetIndex() As IO.Stream Implements ISilverlightServer.GetIndex [Code] .....
It works, does the job I'm after. However, I don't think this streams the xap properly, and I know it's a streaming type. If this isn't streaming it properly, how should I stream it? (The endpoint that the XAP and index.htm files are coming through has a webHttpBinding binding). Is it being streamed properly? Or should I make some changes?
I am trying to build an application using vb.net that will serve as a very large checklist of sorts. and i'm not exactly sure of the best way to do this. I considered using a database but i would need it to be self contained without having to rely on a server or internet connection
My problem is I need to develop a sales application to be used on 5 computers. The database needs to stay on a main computer and other computers should connect with that over LAN.I donot want to use SQL Server as it is too complicated to give permissions, setting up firewalls etc. for the end user.Is that any type of database that could serve my purpose, without giving sharing violation error?
I am trying my hands on VB.net and is trying out a small application which includes a survey form. The form contains radio buttons and when the respondent clicks on a radiobutton, digit '1' should be placed into the relevant field of the database.I have established a dataset and tried doing it but not sure how to do it because the book (How to program Visual Basic.Net by Dietel) does not teach us that
My question is how to link database from MySQL2005 with the interface created in Microsoft Visual Studio 2010 Express?Is it possible to link the database into my interface?
I'm using visual basic 2010 express..I'm building my own web browser and want to add a download manager.I have been able to build one that will download a file if I type the file location into a text box.What I'm trying to figure out is how to have the download manager open when I click on a download link on a web page.How to make the download manager know it is a link to a downloadable file as opposed to something like a link to another webpage?
I currently have this code use for printing a table in mysql database , but there's a problem, the print button is also shown when I print the table. Do you know of any alternative or even a vb.net code that will print what is currently on the web browser in vb.net(the one being dragged from the toolbox used to view web pages or php files).
I have done a lot of coding in vb6, in particular with winsock. I have briefly looked at .net and written a few simple programs.I need to write a server application that incorporates some kind of dynamic web pages. I have looked at ActiveX, php and asp. I need to create a website where users will log in and change values in an array. I have not done anything like this before and I am not a professional programmer.
So my question is, what is the best and easiest way to create dynamic web pages?Secondly what should I program in, vb6 or .net. I have done a lot of work in vb6 and know it quite well, however if the host server is NT6.1 I will have to supply the vb dlls. Then there is .net which I have not done much of, however I would not need to supply any extra files and finally I will start to move any from vb6.
However, I would like to be able to call the *javascript:parent.__doPostBack('Close','')* method from the code-behind file rather than the user clicking the link. I.e., when I have completed my tasks in the application code, call parent.doPostBack as my last function call, which closes the window in question.
When a button is clicked i am creating HTML that will be displayed in the WebBrowser1 control. With this HTML are several links to other pages. Is it possible that when one of these links is clicked, that WebBrowser2 navigates to the page instead of WebBrowser1?
I have a project that I would like to add a URL link and an email link to in the Help/About dialog. How can I do this? Is it possible to add HTML code to a VB project? This is not a Web application.
I'm starting to work through Murach's ASP.Net 4 Web programming with vb2010.
Do I leave the 2010 studio default collection of settings from Visual Basic Development to Web Development or Web Development(Code Only) in order to follow the examples and learn to develop web pages? And are there other things I should do to set up the enviornment for persuing this.
I can load web pages into VS 2008 and then examine each component. Is there a way to load a web page in a browser control but not make it "active" - in otherwords, If there is a field for "Search Term" anmd a button for "Search", I want the prog to diosplay the properties of those elements rather than taking action.
Basically all I want to do is to interact with webpages using my programs.. To be more clear, Im trying to make a chat client, but theres one thing that I dont know how to do.. For example, I want to write "hello" and press the "send" button, so it will send "hello" to the chat room... Or better yet, Let me give you a better example.. Lets suppose I wanna log into my space, but I wanna do it trough my application, so when I write the email and the password it will log into my account.
After a lot of research on how to put proper maths symbols i.e. FRACTIONS in VS2008 in a windows form application, I came acroos this LAtex font which is used in webpages, can this be used in my application.
I'm practicing creating a website for a test, although I am having trouble passing varialbes between the webpage with which the user logs in, and the web page in which the user sees/amends their details (it's an online bank).
Basically, I want the user to enter their customer ID and password, then click on the 'Login' button. When the user clicks on this, I want to display their details based upon their login info (ie their own, and nobody else's bank details).[code]...
I found the below sample to retrieve webpages. I need to request a lot of pages from the same website which requires authentication. Because there are a lot of pages to retieve I like to speed up the requests and like to avaoid to send the credentials and also the certificate. Is it somehow possible to stay connected?