Thursday, July 29, 2010

How to make VB do not echo in the text box



In the application, and sometimes require the user to input a number of inappropriate content directly on the screen display, such as user passwords or confidential data. We have known that in Foxbase / Foxpro in this function can SETCONSOLEOFF command to turn off the screen echo to achieve. So, VisualBasicforWin-dows in how to do this?

An easy way to think of is to use a text box Key-Press event, but in order to handle user text editor (such as delete, insert), then other variables are also stored the contents of the real input, and must write a large number of complex control program. Practice shows that the method is relatively complicated, inconvenient to use.

I found in programming with VB, Windows text box to respond to many messages, then it possible to use WindowsAPI function sendmessage messaging control features to the text box? If feasible, you can make a password form of the output target messaging to the text box, no can not echo the text create a text box yet?

The answer is yes. I use these ideas to achieve this functionality. The following is the procedure used in some API functions and related information:

getfocus (): get the input focus back to target handle;

getwindowlong (): get the specified goals, the second argument will be returned when the target for the GWL_STYLE "style" attribute;

setwindowlong (): the new property value given the specified target. The function of three parameters were targeted handle, property type, new attribute values;

sendmessage (): send a message to the target. The function of the four parameters are objective handles receiving messages, message, message parameter a, the message parameter b;

GWL_STYLE (program for short STYLE): its value is -16, said the goal of "style";

ES_PASSWORD (abbreviated program PASS) abbreviated as PASS): The value of & H20, that goal has entered the password attribute, that entry without echo;

EM_SETPASSWORDCHAR (program for short PASSCHAR): its value & H41C, that pass the password feature. Transfer to the target with this message sendmessage successful, the target will be its own output to specify the password given in the form.

The following procedures, by sendmessage function to modify the text box Text1 "style" attribute to specify the password to the form of output --- no matter what the content of user input, all with the same number of "*" to display. Users can single "Command1" button to display the actual contents of Text1.Text.

DeclareFunctiongetfocusLib "user" () AsInteger
DeclareFunctiongetwindowlongLib "user" (ByVal handAsInteger, ByVal indexAsInte-ger) AsLong
DeclareFunctionsetwindowlongLib "user" (ByVal handAsInteger, ByVal indexAsInte-ger, ByVal newflagAsLong) AsLong
DeclareFunctionsendmessageLib "user" (ByVal handAsInteger, ByVal msg As Integer, ByVal wparaAsInteger, ByVallparaAsLong) AsLong
ConstSTYLE =- 16
ConstPASS = & H20

ConstPASSCHAR = & H41C

SubCommand1_Click ()
MsgBoxtext1.Text
EndSub
SubCommand2_Click ()
End
EndSub
SubForm_Load ()
Show
text1.SetFocus
hand% = getfocus ()
flag & = getwindowlong (hand%, STYLE) OrPASS
flag & = setwindowlong (hand%, STYLE, flag &)
flag & = sendmessage (hand%, PASS-CHAR, Asc ("*"), 0 &)







Recommended links:



Kaspersky: vigilance good at disguising the "beauty" release device TROJAN



Image Format Introduction - indexed color and jitter



HTML form element style elements COVERING problems and remedy for



Dealer how to identify the manufacturer With the money trap?



SUPERMAP special plan "to return to Wenchuan" Project



Picked Games Card



Picked Games And Entertainment



Wizard Java And JavaScript



Easy To use Astronomy



Blackberry video format



Video file converter



Qualified to teach you to do a trip REPORT



How to convert m4a to m4r



Q QQ coins to pay part of wages law, experts say



Novell to occupy the field of DOMESTIC high-end



Flv To Mpeg Converter Free



Thursday, July 22, 2010

Order doors: the most feared Dell



Recently, Dell's official website a display of ultra-low prices led to panic buying. Because of its original 8,999 yuan wrong standard Dell LCD monitor into 2515 yuan. In response, Dell adopted an evasive attitude first, then decide if the site is under the single-user, Dell shipped the wrong quote, as the actual price, and the error in the system the part of the orders generated during the normal order processing, Dell Therefore, the company will bear the losses caused. This, insiders think that Dell is a good idea, and take the association with previous orders door event was compared; some industry speculation that Dell is a bold move is the self-hype of a successful public relations behavior. In fact, whether intentional or failure of Dell, I believe that, in this order the door incident, Dell's most frightening is the order of the system.

I assume that the order Dell Dell gate events act intentionally, then the key to the success of this public relations Dell's online order system. That Dell's order system to real-time monitoring of orders, particularly those under the single-order quantity. Because the final decision of a single item number of the input costs of this public relations. Here, there are 800 people in the trade orders according to Dell, the calculated loss orders door (or is the public relations of the input), this author believes that this method relatively one-sided because the 800 orders, does not mean Order product quantity is 800 units, because they do not rule out some of the more than under the single-user order a product. In my opinion, if there is no exact statistics of the number of ordered product platform, it is difficult to order out the door incident Dell, Dell how public relations for this loss or how much money invested. I care about here is that if the door incident Dell Dell order intentionally, then Dell would have the world's best on-line orders may be analysis system. The reason why say this is because Dell's first system to define the final products by users Number of units ordered, or to set a final price of the total (that is the ultimate public relations fees), when any one of the set point so, order the system will terminate the tender to develop the wrong order, and return to the right before the quote. In addition, the system also should be able to order real-time analysis of the current stock of this product, and this transfer time and goods produced in the process of component costs arising because of time changes, and many other factors. Here, I believe that if this order is Dell intentionally door event, then the credibility of its indirect association blow its own brand image improvement and may be the market value of publicity (including print media and web media and television media coverage) is still followed, but also fear of association and other competitors should be the order of the system, this may be present in the PC industry, Dell in addition to its efficient supply chain management remains the industry's highest profit of another magic weapon, of course, I guess the only, perhaps no one can really figure out the order of Dell's system where the essence.



Dell's supply chain, the overall model, but the real essence of it where?

Another possibility is, of course, their online order system is found to have problems, which occur frequently quoting errors for the Dell should not be a good sign. This at least shows that Dell's order system and its competitors, the order system no different. From this point of view, I hope that Dell's current order to the door incident was intentional. In this sense, Dell's current order door event we should pay attention to analysis of Dell's online order system, because this is the decision of Dell and its competitors, competitive advantage is one important reason for fear.







Recommended links:



BLUESEA CD-R RA CDA to ID3 Ripper



Brief File Sharing Or Peer to Peer



C # drag and drop source Xiangjie 1



Evaluate Audio PRESENTATION Tools



EMC announced that Miss Yip pure novice to succeed President, Greater CHINA



Convert mkv to avi free



SP selling? Experience!



Communities of practice: learning continuously charge!



converter mp4 to 3gp free DOWNLOAD



Youtube Video to MAC Platinum



vob file CONVERTER



Valentino DVD to PSP Converter



Little village with a computer



what is avchd



Wednesday, July 7, 2010

FlashPoint Standard

FlashPoint Standard is an easy flash authoring tool.It is a powerful PowerPoint plug-in, let you convert PowerPoint to flash. Easy of use, accurate conversion, and small size;Supports Office 2007 now.

Key Features:

1.FlashPoint Standard supports 99% PPT animations, transitions, effects, 14+ shapes, table, chart.
2.Small output file size,ideal for posting output flash movie to websites, intranets or for creating self-running CD-ROMs.

3.Supports wav and mp3 audio type, recording and adding narration for each slide.

4.Ease of Use, it takes only 5 minutes to learn how to make a flash using this tool.

New features: Luxury output layout added, which includes thumbnails to the slides and outline bar for quick and flexible navigation purpose.

Feel free send us your PowerPoint file for free conversion, one file limited.

15 days FREE trail is available.


visual|catalogues Professional

visual | catalogues Professional allows one or several people concurrently to create, maintain, update and publish a searchable, fully documented catalog of records represented as images, movies or multimedia. Record can have textual notes and descriptions and be organised into categories and sub-categories up-to seven levels deep. Both individual records and categories can have linked file(s) of any kind; html essay(s), .zip .pdf, .dwg, ebooks, etc. Price, copyright information, dates and object size can be added to each category (applying to all records in it) or individually to each record. Powerful search engine allows searching on visual properties of records. Keywords are added to a category (applying to all records in it) and/or to individual records. End users search on keywords and on size, date and price if applicable. Drag-drop allows reorganisation of categories and records. Batch-import images function allows three sizes of image (thumbnail large and xlarge) to be generated for each record from an original. Size and compression can be set. V|c Pro includes two viewers; a Windows viewer for Windows networks and a platform independent Java viewer for any Java-enabled web browser installed on any operating system / computer combination. Any V|c Pro catalog can be combined as part of a v|c Enterprise multi-catalog system, allowing large searchable collections to be generated from many sources and shared. Publish, in full or part, at-a-click to a local drive to share over a network, or burn a CD-Rom, DVD, CD business card, or uploaded to a web site (using the built-in FTP function) for www or Intranet access. v|c Pro is suitable for product catalogs, image, photograph and movie collections, archives, inventories, museum and gallery collections, paintings, sculptures and antiques, 2D and 3D CAD, ebook catalogs etc. View examples catalogs at www.visualcatalogues.com. Now imports CSV files from other database formats. Keeping IT simple.



Recommand Link:



iTunes CONVERTER



Convert mp4 to 3gp free



converting AVI to wmv



Apple CDA VQF RA to MP3 Burner



Softstunt Zune Converter



Digital CDA M4A AMR to APE Editing



Lohan RMVB To DVD



Christmas-Idea SVCD VCD DVD To PS2



Remote Computing reviews



Avi



Bliss MP3 APE WMA To VQF Copying



Youtube Download + Player Pro



video file converter



Strategy And War Games Infomation



YOUTUBE Movie to DAT Home



Specialist Puzzle And Word Games