On ZDNet: A micro nuclear reactor in your garden?
1 Resources for

elseif isnumeric

  • Subscribe to this listing via:
  • RSS
  • Email

TechRepublic Resources

Prevent bugs by filtering input in VB6
Slight improvementIn the first couple of conditional statements, you wisely used ASC(".") and ASC("-") instead of hard coding the numerics to check for valid characters. This same method should be done on the last conditional to maintain the flexibility and readability of the code.That is, the lineElseIf key...
Tags: Asc, ElseIf IsNumeric, Function NumericCharsOnly, InStr, jruby, Microsoft Visual Basic 6.0, NumericCharsOnly, programming, tb.Text
Discussion threads 2005-06-17

Additional Resources

Excel VBA to hide a column & unhide it
I have the following code to enable a hidden columnG to be unhidden, should a certain subcategory in a previous columnE be chosen. I took that from an online example. However what I am trying to achieve without success is the following: I would like columnG automatically to be...
Tags: Column, ElseIf Target.Column, False ElseIf Target.Column, fhu@..., G, Hidden, Microsoft Excel, software, Target.Value
Q&A 2005-07-01
Iterating through all controls on the form with VB.NET
VB.Net Version?I have little experience in the .Net languages, but I believe I've heard that the .Controls collection of a Container (Form, in this case) only lists the Controls directly contained by the Container. So, if one of those TextBoxes were under a Frame (I think they're called Panels in...
Tags: treymacksc@..., C.Font, ElseIf TypeOf C, windows, programming, Microsoft Visual Basic.Net
Discussion threads 2007-02-09
VB File Copy script failing
Can anyone otut there tell me why this ain't working? The echo's are so I could see how far it was getting. I have a 'Expected If' error but have had all sorts. Need to be able to pass it the filename from the command line. ...
Tags: fsoCopy.CopyFile strFilename, Option Explicit Dim strFilename Dim fsoCopy Dim strDestination, Set strFilename, Matt H, programming, InStr, Microsoft Visual Basic, ElseIf inStr
Q&A 2006-06-28
Can you have more than 3 conditional formats in Excel?
Excel allows for only 3 conditional formats - that I can see. I have a client who wants to know if you can have more than 3 conditional formats to a worksheet. Anyone have any ideas?With VBA, conditional formats are unlimitedI have researched this issue at great length....
Tags: Cell, conditional format, conditional formatting, CurrentCol, excel, Integer Dim CurrentCol, Integer Dim CurrentRow, kz2000@..., Microsoft Excel, programming
Discussion threads 2005-11-21
Validator Form Works in Firefox but doesn't in IExplorer
I have a PHP form callinf a Validator Java Script. It works ok in Mozilla Firefox 1.5.0.9, but does in Internet Explorer 6.0.29It doesn't recognize any value on the form, then is complaining on the mandatory fields: so looks like Frm.elements[j].value is not valid in Intener Explorer, how I can...
Tags: alfonsoarias@..., windows, security, programming, Mozilla Firefox
Discussion threads 2007-02-05
thinBasic (zip)
thinBasic is a Basic like language interpreter. Its target is to have a scripts text file to be interpreted and executed immediately by a simple double click or by an automated scheduled tasks. More than 500 predefined keywords. All main program flow: If/Then/Else/ElseIf/End If, For/Next, Do [While/Until]/Loop [While/Until], While/Wend, Select/End...
Tags: Module, thinBasic, LANs, Network Technology, Networking
Software downloads 2008-01-04
Exploring the various uses of CASE
While you've probably used the CASE keyword to create a column, it has many more uses. This week's SQL Server newsletter offers a variety of uses for CASE. Can you think of any other uses for the CASE keyword than the ones outlined in the tip? If you aren't subscribed...
Tags: Databases, Programming languages, CASE, Overloaded CASE
Discussion threads 2004-11-29
Excel combo box
I need urgent help in excel using vba. I was not satisfied with the data validation so i made my own. I made a combbox that is visible in a specific column only.Unfortunately, the user can double click the cell and type in values that are not in the combobox....
Tags: Activate ElseIf KeyCode, ActiveCell.Offset, ActiveCell.Value, admin@..., cell, combo box, comboBox, ComboBox1.Visible, data validation, excel, Microsoft Excel, programming
Discussion threads 2005-09-08
Modify .ini files to reflect system-side updates with this admin script
Admin scriptsWhat do you think of Kurt's script? Do you have a script that we'd be willing to pay you $100 for?Very NiceA documented admin script!!! BooYah!!An immediate use comes to mind.Thanks(I mistakenly panned it initially, after trying to cut'n'paste from the AcroReade download.)Is there a downloads section where we...
Tags: database, earn 100, Mark W. Kaelin, members, network administration, networking, scripting, strLine
Discussion threads 2005-10-13
Router 1700 configuration
Hi AllI am in search for a long standing problem at my workplace. We are a small setup. anybody can access any network resource... internet etc. i want to make it more controllable. here my problemwe are in a Class C network our network protected by Pix firewallNAT. and our...
Tags: cisco, Internet, jeromemathew@..., network, networking, router
Discussion threads 2006-10-25
String versus Decimal. Strong datatyped properties of a business class
Let's say we need to collect details on a car and its value in particular. Therefore we have a UI element txtCarValue Textbox, a business object -class Vehicle with a property Vehicle.CarValue and table Vehicle with column CarValue DECIMAL would need to do some calculation with it later. To avoid...
Tags: Vehicle.CarValue
Discussion threads 2004-11-23
VB Login Script Help needed
Please forgive me, but i'm extremely new to VBScript. I need to write a login script to map drives based on group membership in a windows 2003 AD Domain. I've found numerous examples all over the net, but none of them has seemed to work properly for me.Here...
Tags: accounting, CreateObject, Microsoft Visual Basic, objNetwork.MapNetworkDrive, programming, RhythmMethod, windows, wshNetwork.MapNetworkDrive, \\SERVER\SHARE
Discussion threads 2006-10-18
Visual Basic TargetPath
I have a Visual Basic script setup to create a Shortcut but there is a need for an additional variable to show at the end of the target path after the quote.I.E. "D:Program FilesTestTesting.exe" CLIENTI need to know how to get the word CLIENT to appear after the " in...
Tags: Client, Files\Test\Testing.exe, Microsoft Visual Basic, programming, TESTFolder, twhite@...
Q&A 2005-04-20
Why you should be careful combining VB6 comparison operators
And don't forget Operator PriorityAn excellent tip. I fell foul of this one about 6 months ago but it didn't take long to sort it out. It's also worthwhile to remember that AND takes priority ove OR. In any case it makes sense and aids readablilty to put conditional expressions...
Tags: expression, foggitt@..., Microsoft Visual Basic, Microsoft Visual Basic 6.0, operator priority, performance, programming
Discussion threads 2005-12-09
VBScript/HTA problem
Due to space limitations I can't include the full HTA, but it only copies the user folder to c:doc and settings, no notes or fav's or desktop. Everything appears to work fine, I call the setup sub on a click event. All checkboxes are checked. It gives...
Tags: ElseIf fromname.Value, JRod86, msgBox, Please Enter, programming, toFolder, toFolder2, true end, userName.Value
Q&A 2005-08-10
VB code office 97
I am new to a company and they have a program written in office 97 and we want to change the code so it is written in office 2003. It crashes if the end user does not have office 97. I am networking guy so I am not sure how...
Tags: Fax, Microsoft Visual Basic, bsl@..., F24, F23, F17, File1.path, F18, F19, StatusList.AddItem InputFile, FileFromCommerce.Text, StatusList.AddItem, F22, Input #1
Discussion threads 2007-07-25
Learn how to create a multipage form
By David Sklar and Adam TrachtenbergOf course, there's really no such thing as "all there is." After all, if you can have forms on one page, why can't you have forms that span multiple pages?Unfortunately, HTTP doesn't make it easy for us to transfer data from one page to another....
Tags: Scripting languages, cheese, PHP, INPUT TYPE=CHECKBOX NAME
Technical articles 2003-09-29
Subscript out of range: '[number: 83]'
I am getting the following error on one of my asp pages..Error Type:Microsoft VBScript runtime (0x800A0009)Subscript out of range: '[number: 83]'/agreement_print22.asp, line 96Note: I have bolded line 96.Thanks in advance for the advice!' *** Insert Record: construct a sql insert statement and execute itDim MM_tableValuesDim MM_dbValuesIf (CStr(Request("MM_insert")) "") Then...
Tags: Dim MM_tableValues Dim MM_dbValues, jason@..., MM_delim, MM_fields, MM_i, MM_i+1, MM_tableValues, programming, Step 2 MM_formVal
Q&A 2004-10-01
PHP syntax
By David Sklar and Adam TrachtenbergPHP's basic syntax is familiar.<?phpecho "Hello, World!";?>producesHello, World!Variables are marked with a preceding $. You could write "Hello, World!" like this:<?php$message = "Hello, World!";echo $message;?> String concatenation is done with . a period; other arithmetic operators are what you would expect:<?php$greeting = "Hello ";$num =...
Tags: Scripting languages, PHP, Hello, Hello World
Technical articles 2003-09-29
  • << Previous
  • page 1 of 1
  • Next >>


TechRepublic's Peer To Peer Policy
Peer-to-peer networks--such as BearShare, Kazaa, LimeWire, Morpheus, and others--present numerous significant security threats to organizations. Permi ...
Buy Now
IT Hardware and Software Purchasing Policy
Your IT Budget is tight. You want to get the most bang for your IT buck. That's where the IT Hardware and Software Purchasing Policy can help.

Thi ...

Buy Now

IP Networking