Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Visual Basic/Work in Progress

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

This is a work area. Short pieces of text, reminders and links that don't warrant a page to themselves but need a temporary home lest they be forgotten start life here. Miscellaneous http://www.elitevb.com/content/01,0057,01/01.aspx Split Effective Programming into separate pages as it is now over 36K Explain file format of VBP, frm, cls, bas, etc. Registry entries that refer to VB components, how they are structured, what you can do with them. Side by side installation. Windows standard dialogs http://builder.com.com/5100-6371_14-5800282.html, http://www.vbaccelerator.com/home/VB/Code/Libraries/Common_Dialogs/Folder_Browser/article.asp, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnima01/html/ima0201.asp, http://www.devx.com/vb2themax/Tip/19255, Graphics http://www.a1vbcode.com/app-2571.asp Unicode Support Unicode Issues with VB , Add Unicode Support, Unicode Custom Controls, Networks inet control winsock control comm control Winsock Control Visual Basic allows data to be sent via a Point-To-Point (PTP) Connection via Winsock. Once the control is inserted, only a few commands are required to send data between two networked computers. A LAN cable must be connected between the computers. To allow Winsock to connect to any available computers, the listen command is needed, as shown below Winsock.Port = 1234 Winsock.Listen Once this has been done, the other computer's Local IP is required. Your IP can be viewed with the command Debug.Print Winsock.LocalIP Connecting merely requires one line of code, as shown below Winsock.Connect RemoteHost, Port Port can be any number up to 50,000. The example as shown above is 1234. To accept a connection you need to create a new sub Private Sub Winsock_ConnectionRequest(ByVal requestID As Long) Winsock.Accept requestid End Sub Sending data is also pretty simple. Winsock.SendData Data To receive any sent data another new sub is needed Private Sub Winsock_DataArrival(ByVal bytestotal As Long) Dim nData as String Winsock.GetData nData End Sub Using the above code it is relatively simple to create a working data exchange between two computers. More information on this topic can be found in the Snippets Section. Shell Integration Shell Context Menu Add examples for VBZip etc. Command Line Console Programs See: http://www.nirsoft.net/vb/console_application_visual_basic.html http://www.flexbeta.net/forums/lofiversion/index.php/t3090.html A very simple way of creating console programs: http://www.kellyethridge.com/vbcorlib/doc/Console.html CGI See: http://www.vbcity.com/forums/faq.asp?fid=10&cat=Web+Development& Windows management Interface http://archive.is/20130628221511/http://techrepublic.com.com/5208-11196-0.html?forumID=44&threadID=121079 Sound http://www.unh.edu/music/Visual_Basic_Programs/Visual_Basic.htm http://www.devx.com/vb2themax/Tip/18323 http://www.ostrosoft.com/vb/projects/mci_play/index.asp http://vbcity.com/forums/topic.asp?tid=103678 http://www.xtremevbtalk.com/archive/index.php/t-237143.html http://www.vbforums.com/showthread.php?t=359612 http://www.vbaccelerator.com/home/VB/Code/vbMedia/Audio/Lossless_WAV_Compression/article.asp Glossary