Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Visual Logic Help

Visual Logic

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 2 posts

Hi all. First post - hoping someone here has already run into this issue.


I am a pretty decent coder with Excel. I am taking a programming class and it requires us to use the Visual Logic programs to create flowcharts of code. I am running into a snag. I have built the flowchart program to use the console to accept user input to fill in the data of an array. However, the thing crashes if the user just hits "enter" twice, essentially skipping entry.



In Excel, I would do something like


If Answer(5) = "" then Answer(5) = 0



What's the equivalent of "" in Visual Basic? It isn't 0, it isn't "", it isn't null...


This is me tearing my hair out.


Please help!


  • 0




    Trusted Helper

  • Malware Removal
  • 2,148 posts

You have to test for the proper Ascii code.  If the entry box is coded to accept any characters then you would be best to test for Ascii Strings.  See here for more info and sample code.

  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP