Results for "Category: Internet/ Browsers/ HTML"
Simple and easy way to send smtp mail with attachments ... Updated with authentication....
To ping a remote computer (.NET way)
This is showing some of the webbrowser functions using vb.net, I extended the example put up on PSC by Chet Mancini to include property pages, opening the internet option dialog, selecting all, copying, open file, save as, print preview, page setup, adding browsed sites to a combo instead of a textbox, progressbar, status bar with events. Have not got find or view source to work quite right yet. There is also code to kill the right mouse menu. To disable the right mouse menu uncomment this line of code in the AxWebBrowser1_NavigateComplete2 Event(oDoc = AxWebBrowser1.Document). This seems to mess a bit with the left click, but definately traps the right mouse as you will see. I am working on implementing this better as well as the view source and find on this page dialogs. All in all it's a 1/2 way decent starter to a web browsing app in vb.net and to my knowledge at this point the most featured one on PSC in the vb.net area.
IE Clone – VB.Net I received a few email regarding my past quick example of a browser in VB.Net, This example application takes it to the next level and shows a lot of what can be done using the web browser control in VB.Net. It is a fairly good clone of IE, it shows the following and more: Opening Files | Saving | Print Preview | Page Setup | Print | Import / Export | Page properties | Send to desktop | Copy | Select All | Find | View Source | Privacy Report | Internet Options Dialog | Adding Favorites | Organizing Favorites | Navigation | Stopping Pop-Ups | Trapping New windows (new app not IE) | Auto complete combo box (some code from all over there, not all mine) | Secure Lock Icons | Progress bar in status bar w/o imbedding | Full Screen | Hide / Show Tool, Status Bars | Updating status bar | Opening folders | tree view | Context Menu (Right click on cookies tree view) | Deleting Files | Reading from a file (see favorites code) and more, poke around a bit. If you are needing to write a web browser application in .net, this should be all you need to get you started, if not all the way there. For those who asked about working with the IE DOM, this is not covered in the example and is a completely different subject in many ways, I may post some examples on working directly with the DOM in the future. I hope you find this useful and as always please vote if you do.
ver 1.0 now support resume, sending only parts of a file and pause. file transfer class writtin in C#. all that you need to do is use one dll function from this dll, (1 from server side, 2 from client side) and it'll take care of the rest. now support getting the filename from the client (Zolt request).
This source connects to Microsoft MSN Messenger servers with the latest protocol version (SSL Support). It can get the differents lists (Allow List, Block...), change your status and get the current screenname.
I made this because I couldn't find any VERY simple examples of XML/RSS manipulation in VB.NET (everything was WAY to complex) It has been designed to download and display all the info from 1 feed, although you could add more, just check out the code.
Turns macromedia flash animations off/on in Internet Explorer without renaming the plugin. So, you don't get any errors or popup boxes asking you to install Flash unlike with other Flash togglers. I have a shortcut to it on my IE toolbar so I can turn Flash on/off.
This code is a sample of proxy server purely written in .NET(C#).It's Multi-Threaded and smart enough to accept internet connections from any client in the LAN and the speed is good. So please vote.
This is a Basic Example. P2P communication with 2 WINSOCKS. Here you can learn the differences between Winsock for Vb6 and Vb.Net.
Welcome to CPop3Connection, a freeware MFC class to support the POP3 protocol. POP3 for those not familiar with all the internet protocols is the protocol used to retrieve internet email. For detailed information about the Post Office Protocol Version 3 you should read RFC 1725. You should also refer to RFC 822 which contains details on the layout of messages. You can find numerous Web Servers which carry these documents by going to www.yahoo.com and look for RFC and 1725 or 822.
Welcome to CSMTPConnection, a freeware MFC class to support the SMTP protocol. SMTP for those not familiar with all the internet protocols is the protocol used to send internet email. For detailed information about the Simple Mail Transfer Protocol you should read RFC 821, You can find numerous servers which carry these documents by going to www.yahoo.com and look for RFC and 821 and/or 2045. Features Simple and clean C++ interface. The interface provided is synchronous which provides an easier programming model than using asynchronous sockets. The code does not rely on the MFC socket classes. These classes have a number of shortcomings, one of which causes problems when they are used in NT services. The code can be used in a console application without any problems (Again this is not the case for the MFC socket classes). A configurable timeout for the connection can be set through the class API. The classes are fully Unicode compliant and include Unicode built options in the workspace file. As of v1.1, the classes now fully supports file attachments. Full support is included for CC (Carbon Copy) & BCC (Blind Carbon Copy). PJ Naughter at http://indigo.ie/~pjn/index.html
MFC class to support the PING/ICMP protocol. ICMP for those not familiar with all the internet protocols is the protocol used to retrieve information about how IP packets are routed. Features Simple and clean C++ interface. The interface provided is synchronous which provides an easier programming model than using asynchronous sockets. A configurable timeout for the connection can be set through the class API. The classes are fully Unicode compliant and include Unicode built options in the workspace file. The enclosed zip file contains the CPing source code and a simple test program to exercise all of the functions the classes provide.
CMapi v1.0 an MFC class to encapsulate sending mail using Simple MAPI Welcome to CMapi, 2 simple classes to encapsulate sending mail using Simple MAPI. Simple MAPI is a set of functions exported by MAPI32.dll which allows you to send and receive mail in a transport independent way. It is an optional part of all Win32 operating systems since Windows 95 (excluding Windows CE). MAPI is intended more for the corporate environment when compared with the Internet mail standard SMTP e.g. products such as MS Exchange Server use MAPI extensively. Transport providers are available for a number of messaging transports including Exchange Server, SMTP, Fax, cc:Mail CompuServe etc. To be able to specify different transports, MAPI provides the concept of profiles which are setup using the Mail control panel applet Features Simple and clean C++ interface. All the code is UNICODE compliant and build configurations are provided for this. Even though Simple MAPI only exports an ASCII versions of it's functions, the class internally performs the necessary conversions. The code can be used in a console application or without bringing up any Mapi dialogs if so desired. The code gracefully handles the case where MAPI is not installed on client machines. Internally the class loads the DLL and uses GetProcAddress calls. The enclosed zip file contains the source code and a simple test program to exercise all of the functions the classes provide. PJ Naughter at http://indigo.ie/~pjn/index.html
The goal of the present HTTPFS project is to enable access to remote files, directories, and other containers (e.g., structured text documents, OS tables) through an HTTP pipe. HTTPFS system permits retrieval, creation and modification of these resources as if they were regular files and directories on a local filesystem. The remote host can be any UNIX or Win9x/WinNT box that is capable of running a Perl CGI script, and accessible either directly or via a web proxy or a gateway. HTTPFS runs entirely in user space. The current implementation fully supports reading as well as creating, writing, appending, and truncating of files on a remote HTTP host. HTTPFS provides an isolation level for concurrent file access stronger than the one mandated by POSIX file system semantics, closer to that of AFS. Both a programmatic interface with familiar open(), read(), write(), close(), etc. calls, and an interactive interface, via the popular Midnight Commander file browser, are provided. HTTPFS offers a glimpse of one of Plan9's jewels -- a uniform file-centric naming of disparate resources -- but without Plan9. This file system showcases HTTP, which is capable of far more than merely carrying web pages. HTTP can aspire to be the kingpin protocol that glues computing, storage, etc. resources together to form a distributed system -- the role 9P plays in Plan9. HTTPFS articles argue that unlike a popular catch phrase, it is the OS itself that is the browser. The client framework has been tested on GNU/Linux 2.0.36, HP-UX 10.xx, Sun Ultra-2/Solaris 2.6. An HTTPFS server will run on anything that can execute a Perl CGI script -- and this really means anything. The server has been tested on HP-UX B10.xx with a Netscape Server/1.12, Sun/Solaris 2.6 and Linux with an Apache/1.3.x server, and with Microsoft-IIS on WinNT 4.0.
CHTTPSocket class with full source code, full qualified, one step, HTTP client. Can fetch pages from web, no problems if You try virtual host. If You use proxy server, only set some variables and get it worked also. I also compile sample application which You can download and test.
CHTTPTranscation is an enhancement for CHTTPSocket class, with full source code. Full qualified, multiple redirections support, HTTP client. Supports all previous features: virtual hosts, proxy servers, plus new redirections support for standart HTTP 3xx responses. In sample, CSampleTrans is a sample class derived from CHTTPTransaction, briefly shows You how to derive Your own class. In CHTTPSocket some changes applied, many member functions and variables now private and protected. I compile sample dts.exe to show how it's working, no changes in calling syntax from previous version
Check if connected in Internet... Windows 9X, ME, NT, 2000 and XP compatible...
Send messages to ICQ Pager... Borland C++, C++ Builder and Visual C++ compatible... This is the first ICQ Pager program in the world !
Hangup all internet connections... Very simple function... Visual C++ and Borland C++ compatible. Windows 9x, ME, NT, 2000 and XP full compatible...