扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
Visual Basic编程语言
创新互联公司"三网合一"的企业建站思路。企业可建设拥有电脑版、微信版、手机版的企业网站。实现跨屏营销,产品发布一步更新,电脑网络+移动网络一网打尽,满足企业的营销需求!创新互联公司具备承接各种类型的网站建设、做网站项目的能力。经过十年的努力的开拓,为不同行业的企事业单位提供了优质的服务,并获得了客户的一致好评。
1991年,美国微软公司推出了Visual Basic(可简称VB),目前的最新版本是VB 2008 Beta2(VB9)中文版。
Visual 意即可视的、可见的,指的是开发像windows操作系统的图形用户界面(Graphic User Interface,GUI)的方法,它不需要编写大量代码去描述界面元素的外观和位置,只要把预先建立好的对象拖放到屏幕上相应的位置即可。
Basic 实际上是一个短语的缩写,这个短语就是 Beginners all_purpose symbolic instruction code ,其中文意思为“初始者通用符号指令代码语言”。
Visual Basic有学习版、专业版和企业版三种版本,以满足不同的开发需要。学习版适用于普通学习者及大多数使用Visual Basic开发一般Windows应用程序的人员,但是;专业版适用于计算机专业开发人员,包括了学习版的全部内容功能以及Internet控件开发工具之类的高级特性;企业版除包含专业版全部的内容外,还有自动化构件管理器等工具,使得专业编程人员能够开发功能强大的组骨子里分布式应用程序。
VB是一种可视化的、面向对象和采用事件驱动方式的结构化高级程序设计语言,可用于开发Windows环境下的各类应用程序。它简单易学、效率高,且功能强大可以与Windowsr专业开发工具SDK相媲美。在Visual Basic环境下,利用事件驱动的编程机制、新颖易用的可视化设计工具,使用Windows内部的广泛应用程序接口(API)函数,以用动态链接库(DLL)、对象的链接与世隔嵌入(OLE)、开放式数据连接(ODBC)等技术,可以高效、快速地开发Windows环境下功能强大、图形界面丰富的应用软件系统。随着版本的提高,Visual Basic的功能也越来越强。5.0版以后,Visual Basic推出了中文版,与前个版本相比,其功能有了很大提升。
但是,功能再强大,Visual Basic仍然有一个缺点:在没有MSVBVM**.DLL的计算机上必须安装所需的DLL文件。用它可设计操作系统,不过,比较困难。
在二十一世纪初,microsoft公司推出Visual Studio 2003与Visual Basic之间有了重大变化,Visual Studio为各种编程工具做了一个平台,Visual Basic.NET可在这种平台上运行。相对于传统VB,有很大的不同。VB.Net,首次使用.Net构架进行可视化编程,并且能很好地与COM构架兼容。2005年Visual Studio 2005则运用了NET 2.0的技术,更加的方便了程序员的工作。可是新的程序对系统配置要求也较高,需要微软.Net Framework 2.0以上的.Net构架支持。
2007年12月,微软(Microsoft)推出了Visual Studio 2008 Beta 2 发生了重大的变化(见附图)在代码输入的时候,可以比VB2005快很多,在非特殊的情况下,VB2008都会自动开启 自动完成关键字 这个命令 而且开始支持最新的.NET Framework 3.5 Beta 2
Visual Basic programming language
1991, the United States launched the Microsoft Visual Basic (may be referred to VB), is the latest version of the current VB 2008 Beta2 (VB9) Chinese version.
Visual meaning the visual, visible, referring to the development of operating systems like windows graphical user interface (Graphic User Interface, GUI) method, it does not need to prepare a large number code to describe the appearance of the interface elements and location, as long as the pre - The establishment of good drag and drop objects on the screen corresponding to the location.
Basic is actually an abbreviation of the phrase, this phrase is Beginners all_purpose symbolic instruction code, the Chinese meaning "to the initial directive GM symbol code language."
Visual Basic learning, Professional Edition and Enterprise Edition versions to meet the different needs of the development. Study and apply to the ordinary version of the majority of learners and the use of Visual Basic development of the general staff of Windows applications, but; professional version for computer professional development of staff, including the study of functional version of the full content control and Internet development tools such as advanced features ; Enterprise contain not only all the professional version of the content, there are automated tools such as Component Manager, professional programmers to make the development of a powerful group essence of distributed applications.
VB is a visual, object-oriented event-driven approach and the use of the structure of high-level programming language, can be used for the development of the Windows environment of various applications. It easy to learn, efficient and powerful with Windowsr professional development tools comparable to SDK. In Visual Basic environment, the use of event-driven programming mechanism, the new easy-to-use visual design tools, within the wider use Windows application program interface (API) function, to use dynamic link library (DLL), the object Links embedded with the World at (OLE), open-end data connectivity (ODBC), and other technology, can be highly efficient and rapid development of the Windows environment powerful, rich graphical interface application software system. With the improved version, Visual Basic functions also growing. After version 5.0, Visual Basic launched a Chinese version, compared with the previous version, its functions have been greatly improve.
However, more powerful functions, Visual Basic still has one drawback: in the absence of MSVBVM **. DLL must be installed on the computer the required DLL file. It can be designed with the operating system, but more difficult.
In the early 21st century, microsoft has introduced Visual Studio 2003 and Visual Basic among the significant changes, Visual Studio for a variety of programming tools to a platform, Visual Basic.NET can run on this platform. Compared with traditional VB, are quite different. VB.Net, used for the first time. Net framework for visual programming, and can a good framework compatible with COM. 2005 Visual Studio 2005则use of the NET 2.0 technology, more convenience to the programmer's work. But the new procedures on the system configuration requirements are also higher, the need for Microsoft. Net Framework 2.0 above. Net framework support.
December 2007, Microsoft (Microsoft) launched the Visual Studio 2008 Beta 2 has undergone major changes (see attached map) enter in the code when the VB2005 can be much faster than in non-exceptional circumstances, VB2008 will automatically open automatically Keyword completion of this order and begun to support the latest. NET Framework 3.5 Beta 2
基于WIN CE的ADSL线路参数研究
ADSL line parameters research based on WIN CE
;id=jDmiKarm_EMCdq=ADSLprintsec=frontcoversource=webots=oJXbatzNWOsig=fyomvlADYeB7NRS2gjTJAfpSapQ
;id=HsXaS5y6SZoCdq=ADSLprintsec=frontcoversource=webots=EdCHuJT2WGsig=QnNSogd7OIvYS7Z6Vr2UYal4iw8
--------------
Windows CE (also known officially as Windows Embedded CE since version 6.0[2][3], and sometimes abbreviated WinCE) is a variation of Microsoft's Windows operating system for minimalistic computers and embedded systems. Windows CE is a distinctly different kernel, rather than a trimmed-down version of desktop Windows. It is not to be confused with Windows XP Embedded which is NT-based. It is supported on Intel x86 and compatibles, MIPS, ARM, and Hitachi SuperH processors.
Features
Windows CE is optimized for devices that have minimal storage—a Windows CE kernel may run in under a megabyte of memory. Devices are often configured without disk storage, and may be configured as a “closed” system that does not allow for end-user extension (for instance, it can be burned into ROM). Windows CE conforms to the definition of a real-time operating system, with a deterministic interrupt latency. It supports 256 priority levels and uses priority inheritance for dealing with priority inversion. The fundamental unit of execution is the thread. This helps to simplify the interface and improve execution time.
Microsoft has stated that the ‘CE’ is not an intentional initialism, but many people believe CE stands for ‘Consumer Electronics’ or ‘Compact Edition’; users often disparagingly called it “Wince”.[4] Microsoft says it implies a number of Windows CE design precepts, including “Compact, Connectable, Compatible, Companion, and Efficient.”[5] The first version, known during development under the codename “Pegasus”, featured a Windows-like GUI and a number of Microsoft's popular applications, all trimmed down for smaller storage, memory, and speed of the palmtops of the day.
Since then, Windows CE has evolved into a component-based, embedded, real-time operating system. It is no longer targeted solely at hand-held computers. Many platforms have been based on the core Windows CE operating system, including Microsoft's AutoPC, Pocket PC 2000, Pocket PC 2002, Windows Mobile 2003, Windows Mobile 2003 SE, Windows Mobile 5.0, Windows Mobile 6, Smartphone 2002, Smartphone 2003 and many industrial devices and embedded systems. Windows CE even powered select games for the Sega Dreamcast, was the operating system of the controversial Gizmondo handheld, and can partially run on modified Microsoft Xbox game consoles.
A distinctive feature of Windows CE compared to other Microsoft operating systems is that large parts of it are offered in source code form. First, source code was offered to several vendors, so they could adjust it to their hardware. Then products like Platform Builder (an integrated environment for Windows CE OS image creation and integration, or customized operating system designs based on CE) offered several components in source code form to the general public. However, a number of core components that do not need adaptation to specific hardware environments (other than the CPU family) are still distributed in binary form only.
Development tools
Visual Studio
Late versions of Microsoft Visual Studio support projects for Windows CE / Windows Mobile, producing executable programs and platform images either as an emulator or attached by cable to an actual mobile device. A mobile device is not necessary to develop a CE program. The .NET Compact Framework supports a subset of the .NET Framework with projects in C# and VB.NET, but not Managed C++.
Platform Builder
This programming tool is used for building the platform (BSP + Kernel), device drivers (shared source or custom made) and also the application. This is a one step environment to get the system up and running. One can also use Platform Builder to export an SDK (standard development kit) for the target microprocessor (SuperH, x86, MIPS, ARM etc.) to be used with another associated tool set named below.
Embedded Visual C++ (eVC)
The Embedded Visual C++ tool is for development of embedded application for Windows CE based devices. This tool can be used standalone using the SDK exported from Platform Builder or using the Platform Builder using the Platform Manager connectivity setup.
Relationship to Windows Mobile, Pocket PC, and SmartPhone
Often Windows CE, Windows Mobile, and Pocket PC are used interchangeably. This practice is not entirely accurate. Windows CE is a modular/componentized operating system that serves as the foundation of several classes of devices. Some of these modules provide subsets of other components' features (e.g. varying levels of windowing support; DCOM vs COM), others which are mutually exclusive (Bitmap or TrueType font support), and others which add additional features to another component. One can buy a kit (the Platform Builder) which contains all these components and the tools with which to develop a custom platform. Applications such as Excel Mobile/Pocket Excel are not part of this kit. The older Handheld PC version of Pocket Word and several other older applications are included as samples, however.
Windows Mobile is best described as a subset of platforms based on a Windows CE underpinning. Currently, Pocket PC (now called Windows Mobile Classic), SmartPhone (Windows Mobile Standard), and PocketPC Phone Edition (Windows Mobile Professional) are the three main platforms under the Windows Mobile umbrella. Each platform utilizes different components of Windows CE, as well as supplemental features and applications suited for their respective devices.
Pocket PC and Windows Mobile is a Microsoft-defined custom platform for general PDA use, and consists of a Microsoft-defined set of minimum profiles (Professional Edition, Premium Edition) of software and hardware that is supported. The rules for manufacturing a Pocket PC device are stricter than those for producing a custom Windows CE-based platform. The defining characteristics of the Pocket PC are the digitizer as the primary Human Interface Device and its extremely portable size.
The SmartPhone platform is a feature rich OS and interface for cellular phone handsets. SmartPhone offers productivity features to business users, such as email, as well as multimedia capabilities for consumers. The SmartPhone interface relies heavily on joystick navigation and PhonePad input. Devices running SmartPhone do not include a touchscreen interface. SmartPhone devices generally resemble other cellular handset form factors, whereas most Phone Edition devices use a PDA form factor with a larger display.
Windows Mobile 5 supports USB 2.0 and new devices running this OS will also conform to the USB Mass Storage Class, meaning the storage on PPC can be accessed from any USB-equipped PC, without requiring any extra software, except requiring a compliant host. In other words, you can use it as a flash drive.
Competing products
Competitors to consumer CE based PDA platforms like Pocket PC – the main application of Windows CE – are Java, Symbian OS, Palm OS, iPhone OS and Linux based packages like Qtopia Embedded Linux environment from Trolltech, Convergent Linux Platform from a La Mobile, and Access Linux Platform from Orange and Access.
The secondary usage of CE is in devices in need of graphical user interfaces, (point of sale terminals, media centers, web tablets, thin clients) as the main selling point CE is the look and feel being similar to desktop Windows. The competition is Windows XP, Linux and graphical packages for simpler embedded operating systems.
Being an RTOS, Windows CE is also theoretically a competitor to any realtime operating system in the embedded space, like VxWorks, ITRON or eCos. The dominating method, however, of mixing Windows look and feel with realtime on the same hardware, is to run double operating systems using some virtualization technology, like TRANGO Hypervisor from TRANGO Virtual Processors or Intime from TenAsys in the case of Windows, and OS Ware from VirtualLogix, Padded Cell from Green Hills Software, OKL4 from Open Kernel Labs, TRANGO Hypervisor from TRANGO Virtual Processors, RTS Hypervisor from Real-Time Systems or PikeOS from Sysgo, in case of the competition.
---------
Asymmetric Digital Subscriber Line (ADSL) is a form of DSL, a data communications technology that enables faster data transmission over copper telephone lines than a conventional voiceband modem can provide. It does this by utilizing frequencies that are not used by a voice telephone call. A splitter - or microfilter - allows a single telephone connection to be used for both ADSL service and voice calls at the same time. Because phone lines vary in quality and were not originally engineered with DSL in mind, it can generally only be used over short distances, typically less than 3mi (5.5 km) [William Stallings' book].
At the telephone exchange the line generally terminates at a DSLAM where another frequency splitter separates the voice band signal for the conventional phone network. Data carried by the ADSL is typically routed over the telephone company's data network and eventually reaches a conventional internet network. In the UK under British Telecom the data network in question is its ATM network which in turn sends it to its IP network IP Colossus.
The distinguishing characteristic of ADSL over other forms of DSL is that the volume of data flow is greater in one direction than the other, i.e. it is asymmetric. Providers usually market ADSL as a service for consumers to connect to the Internet in a relatively passive mode: able to use the higher speed direction for the "download" from the Internet but not needing to run servers that would require high speed in the other direction.
There are both technical and marketing reasons why ADSL is in many places the most common type offered to home users. On the technical side, there is likely to be more crosstalk from other circuits at the DSLAM end (where the wires from many local loops are close to each other) than at the customer premises. Thus the upload signal is weakest at the noisiest part of the local loop, while the download signal is strongest at the noisiest part of the local loop. It therefore makes technical sense to have the DSLAM transmit at a higher bit rate than does the modem on the customer end. Since the typical home user in fact does prefer a higher download speed, the telephone companies chose to make a virtue out of necessity, hence ADSL. On the marketing side, limiting upload speeds limits the attractiveness of this service to business customers, often causing them to purchase higher cost Digital Signal 1 services instead. In this fashion, it segments the digital communications market between business and home users
How ADSL works
On the wire
Currently, most ADSL communication is full duplex. Full duplex ADSL communication is usually achieved on a wire pair by either frequency division duplex (FDD), echo canceling duplex (ECD), or time division duplexing (TDD). FDM uses two separate frequency bands, referred to as the upstream and downstream bands. The upstream band is used for communication from the end user to the telephone central office. The downstream band is used for communicating from the central office to the end user. With standard ADSL (annex A), the band from 25.875 kHz to 138 kHz is used for upstream communication, while 138 kHz – 1104 kHz is used for downstream communication. Each of these is further divided into smaller frequency channels of 4.3125 kHz. During initial training, the ADSL modem tests which of the available channels have an acceptable signal-to-noise ratio. The distance from the telephone exchange, noise on the copper wire, or interference from AM radio stations may introduce errors on some frequencies. By keeping the channels small, a high error rate on one frequency thus need not render the line unusable: the channel will not be used, merely resulting in reduced throughput on an otherwise functional ADSL connection.
Vendors may support usage of higher frequencies as a proprietary extension to the standard. However, this requires matching vendor-supplied equipment on both ends of the line, and will likely result in crosstalk issues that affect other lines in the same bundle.
There is a direct relationship between the number of channels available and the throughput capacity of the ADSL connection. The exact data capacity per channel depends on the modulation method used.
[edit] Modulation
ADSL initially existed in two flavours (similar to VDSL), namely CAP and DMT. CAP was the de facto standard for ADSL deployments up until 1996, deployed in 90 percent of ADSL installs at the time. However, DMT was chosen for the first ITU-T ADSL standards, G.992.1 and G.992.2 (also called G.dmt and G.lite respectively). Therefore all modern installations of ADSL are based on the DMT modulation scheme.
Annexes J and M shift the upstream/downstream frequency split up to 276 kHz (from 138 kHz used in the commonly deployed annex A) in order to boost upstream rates. Additionally, the "all-digital-loop" variants of ADSL2 and ADSL2+ (annexes I and J) support an extra 256 kbit/s of upstream if the bandwidth normally used for POTS voice calls is allocated for ADSL usage.
While the ADSL access utilizes the 1.1 MHz band, ADSL2+ utilizes the 2.2 MHz band.
The downstream and upstream rates displayed are theoretical maxima. Note also that because Digital subscriber line access multiplexers and ADSL modems may have been implemented based on differing or incomplete standards some manufacturers may advertise different speeds. For example, Ericsson has several devices that support non-standard upstream speeds of up to 2 Mbit/s in ADSL2 and ADSL2+.
[edit] Installation issues
Due to the way it uses the frequency spectrum, ADSL deployment presents some issues. It is necessary to install appropriate frequency filters at the customer's premises, to avoid interferences with the voice service, while at the same time taking care to keep a clean signal level for the ADSL connection.
In the early days of DSL, installation required a technician to visit the premises. A splitter was installed near the demarcation point, from which a dedicated data line was installed. This way, the DSL signal is separated earlier and is not attenuated inside the customer premises. However, this procedure is costly, and also caused problems with customers complaining about having to wait for the technician to perform the installation. As a result, many DSL vendors started offering a self-install option, in which they ship equipment and instructions to the customer. Instead of separating the DSL signal at the demarcation point, the opposite is done: the DSL signal is "filtered off" at each phone outlet by use of a low pass filter, also known as microfilter. This method does not require any rewiring inside the customer premises.
A side effect of the move to the self-install model is that the DSL signal can be degraded, especially if more than 5 voiceband devices are connected to the line. The DSL signal is now present on all telephone wiring in the building, causing attenuation and echo. A way to circumvent this is to go back to the original model, and install one filter upstream from all telephone jacks in the building, except for the jack to which the DSL modem will be connected. Since this requires wiring changes by the customer and may not work on some household telephone wiring, it is rarely done. It is usually much easier to install filters at each telephone jack that is in use.
VB.NET在VB的基础上新增了.NET框架,于VB的不同是VB.NET是采用全新的面向对象的编程,而VB则是采用过程式的编程。
.NET Essentials
.NET Framework Essentials.NET
Windows Forms in a Nutshell
Foundations of Object Oriented Programming Using .NET 2.0 Patterns 2005
Pro Scalable .NET 2.0 Application Designs 2006
Professional .NET 2.0 Generics 2005
Programming .NET Components
Ado Activex Data Objects 2001
Professional ADO.NET 2 Programming With SQL Server 2005, Oracle, MySQL
ASP.NET 2.0 Everyday Apps For Dummies 2006
ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter Kit 2006
ASP.NET Bible 2002
ASP.NET Database Programming Weekend Crash Course 2002
Beginning ASP.NET 2.0 with C Sharp 2006
Mastering ASP.NET with C Sharp 2002
Pro ASP.NET in C# 2005
A Programmer钬檚 Guide to ADO.NET in C Sharp 2002
C Sharp .NET Web Developer's Guide 2002
C Sharp Your visual blueprint for building .NET applications 2001
Data Entry and Validation with C Sharp and VB .NET Windows Forms 2003
Developing Microsoft .NET Applications for Windows in Visual C# 2002
MSDN Training - Introduction to C# Programming for the Microsoft .NET Platform 2001
Network programming .NET with C Sharp and VB.NET 2004
OOP with Microsoft Visual Basic .NET and Microsoft Visual C Sharp Step By Step 2002
Pro .NET 2.0 Code And Design Standards In C#, 3rd Ed 2006
Pro C Sharp 2005 and the .NET 2.0 Platform
Visual C Sharp .NET Developer's Handbook 2002
Visual C Sharp .NET Programming 2002
Visual C Sharp ASP .NET Programming 2002
COM and .Net Component Services
A programmers introduction to VB.NET 2001
Mastering Visual Basic .NET 2002
Programming VB .NET 2002
The Book of Visual Basic 2005 - .NET Insight for Classic VB Developers
VB.NET Mastering vb.net database programming 2002
VB.NET Syngress Developers guide 2001
Visual Basic .NET How to Program 2nd Ed
Visual Basic .NET Language in a Nutshell 2st ed 2001
Visual C++ .NET Developer钬檚 Guide 2002
Visual Studio C++ .NET Developer's Guide 2002
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流