how do you code for social security number in visual basic?
359942
If you mean, how do you check to see if the number is valid, here's a simple regular expression:\n\n"^[0-9]{3}&#92;-[0-9]{2}&#92;-[0-9]{4}$"\n\nThe above matches:\n\n000-00-0000\n\nit does NOT match:\n\n0000-00-000\n00-000-000\n000000000\n\nJust use a regular expression validator against that and you should get match / no match results.
900055
http://www.vba-programmer.com/
204091
you can get a free version of visual basic here\n\nhttp://msdn.microsoft.com/vstudio/express/default.aspx
438038
i would have a look at this site\n\nhttp://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=5120&lngWId=2
1184363
Get a For Dummies book or Idiot's Guide To book.\n\nOnce you're ready to program, get Visual Basic from Microsoft.
397387
you can find great visual basic resources at \nhttp://www.vbcode.com/\n\nand \nhttp://www.hotscripts.com/search/9892723.html
253461
®\nuse ascii:\n\n\n<p>& # 1 7 4 ;</p>\nwithout the spaces
497812
Sounds like a custom script you'd have to create in VBScript.
1091921
In visual basic 6.0 IDE you have to add a reference to ADODB(ActiveX Database Ojects) library.You have to declare a public variable to reference a connection in the general declaration section.\nGo to www.planetsourcecode.com and you will find a lot of programming code for that.
171968
Microsoft Access has two built-in security features for protecting your database: \n• User/Group accounts and permissions \n• Database passwords \n\n---------------------------------------------\nBy using code, you can prompt for a password when a user opens a form or a report. If the correct password is entered, the form or the report is opened.\n\nThe following example shows you how you can password protect the Orders form in the sample database Northwind.mdb: \n1. Start Access and then open the sample database Northwind.mdb. \n\n2. Press ALT+F11 to start the Microsoft Visual Basic editor. \n\n3. On the Insert menu, click Module. \n\n4. In the module sheet, type the following procedure:\n\nPublic MyPassword\nPublic Function KeyCode(Password As String) As Long\n   ' This function will produce a unique key for the\n   ' string that is passed in as the Password.\n   Dim I As Integer\n   Dim Hold As Long\n\n   For I = 1 To Len(Password)\n      Select Case (Asc(Left(Password, 1)) * I) Mod 4\n      Case Is = 0\n         Hold = Hold + (Asc(Mid(Password, I, 1)) * I)\n      Case Is = 1\n         Hold = Hold - (Asc(Mid(Password, I, 1)) * I)\n      Case Is = 2\n         Hold = Hold + (Asc(Mid(Password, I, 1)) * _\n            (I - Asc(Mid(Password, I, 1))))\n      Case Is = 3\n         Hold = Hold - (Asc(Mid(Password, I, 1)) * _\n            (I + Len(Password)))\n   End Select\n   Next I\n   KeyCode = Hold\nEnd Function\n\n \n5. Press ALT+F11 to return to Access. \n\n6. In the Database window, under Objects, click Tables, and then click New. \n\n7. In the New Table dialog box, double-click Design View. \n\n8. Create a new table as follows:   \n   \n   Table: tblPassword\n   ---------------------------\n   Field Name: ObjectName\n      Data Type: Text\n      Field Size: 50\n   Field Name: KeyCode\n      Data Type: Text\n      Field Size: 25\n      Input Mask: Password\n\n   Table Properties: tblPassword\n   -----------------------------\n      PrimaryKey: ObjectName\n\n \n9. Open the tblPassword table and then enter the following data:     \n       ObjectName: Orders\n       KeyCode: 2818\n\n10. Create a new form in design view and save the form as frmPassword. \n\n11. Add a single textbox to frmPassword called Text0, and a command button called CheckPassword. \n\n12. Set the Input Mask property of Text0 to "PASSWORD" (minus the quotation marks). \n\n13. Add the following code to the OnClick Event of the CheckPassword button and then save the form:\n\nIf IsNull(Forms!frmPassword!Text0.Value) Then\n   MsgBox "You cannot enter a blank Password. Try again."\n   Me!Text0.SetFocus\nElse\n   MyPassword = Me!Text0.Value\n   DoCmd.Close acForm, "frmPassword"\nEnd If\n\n14. Open the Orders form in Design view. \n\n15. If the property sheet is not visible, click Properties on the View menu. \n\n16. Type the following event procedure in the module for the OnOpen property of the form:\n\nPrivate Sub Form_Open(Cancel as Integer)\n   Dim Hold As Variant\n   Dim tmpKey As Long\n   Dim I As Integer\n   Dim rs As DAO.Recordset\n   Dim db As DAO.Database\n\n   On Error GoTo Error_Handler\n   ' Prompt the user for the Password.\n   DoCmd.OpenForm "frmPassword", acNormal, , , , acDialog\n            Hold = MyPassword\n' Open the table that contains the password.\n   Set db = CurrentDb\n   Set rs = db.OpenRecordset("tblPassword", dbOpenTable)\n   rs.Index = "PrimaryKey"\n   rs.Seek "=", Me.Name\n   If rs.NoMatch Then\n      MsgBox "Sorry cannot find password information. Try Again"\n      Cancel = -1\n   Else\n      ' Test to see if the key generated matches the key in\n      ' the table; if there is not a match, stop the form\n      ' from opening.\n      If Not (rs![keycode] = KeyCode(Cstr(Hold))) Then\n         MsgBox "Sorry you entered the wrong password." & _\n            "Try again.", vbOKOnly, "Incorrect Password&qu
500457
Dim objNet\non error resume next\n\nset objNet = CreateObject("WScript.Network")\n\nDim strInfo\nstrInfo = objNet.UserName &", "&objNet.ComputerName&", "&objNet.DomainName
282906
Try using an includes file. If you have the VB script, then you can either put it into a file called VB.inc and then reference it like this:\n<!--#include virtual="VB.inc"-->\n\nThis should all you to use the code you currently have in your site. If you want to write to the page, try using\n<script language="visualbasic">\n//your script here.\n</script>\n\nFinally you can save it as a vbscript and reference it as shown above. \n\nGood luck!
598973
You need a user name and a password.  Example:  ON LINE BANKING or BILL PAYMENT.  Usually your SS# with an additional number added plus a user name.
751189
If you are under Windows you can turn on NumLock, and use Alt plus codes on the number pad to do some of them (Alt-253 = ², Alt-171 = ½, Alt-251 = √, etc.) \n\nAlternatively, you can use Character Map utility under Start > All Programs > Accessories > System Tools.  Then you can get lots of others:\n°±²³ΦΘΠⁿ⅓⅔⅛⅜⅝⅞∆∏∑√∞∫≈≠≤≥\n\nFeel free to copy these from here too...
670568
Try Planet Source Code:\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3270&lngWId=3\n\nThis one's in C++. You should be able to convert it back to C...
707086
PSC is the best site from where you can get almost every code that you want. Goto this link "http://www.planet-source-code.com/vb/default.asp?lngWId=1" and serach for your code.
406399
If you have not already done so, add the Insert Script command to the Tools menu. \n\n\nOn the Tools menu, click Customize, and then click the Commands tab. \n\nIn the Categories box, click Tools. \nDrag Insert Script from the Commands box over the Tools menu. \n\nWhen the Tools menu displays the menu commands, point to the Macro submenu.\n\nWhen the Macro submenu displays the menu commands, point to the location where you want Insert Script to appear on the menu, and then release the mouse. \n\nIn the Customize dialog box, click Close. \n\nClick in your Web page where you want to add a script. \nOn the Tools menu, point to Macro, and then click Insert Script. \n\nUse the Microsoft Script Editor (Microsoft Script Editor: Used to add text, edit HTML tags, and edit any Microsoft Visual Basic Scripting Edition (VBScript) code in a data access page. You can also view your page in the Script Editor as it would appear in a Web browser.) to write your script. \n\nReturn to the Office program. \n\nTo update your Web page with the changes, click Refresh  on the Refresh toolbar (toolbar: A bar with buttons and options that you use to carry out commands. \n\nTo display a toolbar, click Customize on the Tools menu, and then click the Toolbars tab.).