Question about Microsoft Visual Basic 6.0 for PC

1 Answer

Visual basics related

Tell me the coding to be done to check that a number is prime or not

as soon as possible.

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Governor:

    An expert whose answer got voted for 20 times.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 11 Answers

×

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

What is the code for round robin in visual basic 6.0


That's not a question easily answered in the sense of a "language" (like VB, C or otherwise).

Round-Robin is actually a term for sharing a "time-slice"...

Meaning.. lets say there are 3 parties... each want 70% utilization of the processor (or time)... But.. obviously... 100% is all you have.

So.. How do you "fairly" share the time? There's a couple of ways, round-robin (for interrupts for example on x86 based processors) is a method.

What it means is-- regardless of how much time you want, or need.. the kernel (Operating system) will give you so long to get "whatever you are doing"...Done.

If you don't get it done in time... the next guy gets to do his job..for a similar amount of time... and the next guy.. and then..say-- back to you.

Hence..Round-Robin.. we all get a slice, and if we don't get it done in-time... next time around we'll another slice to get more work done... maybe the other 1 or 2 or N guys... are done, and we'll get move time..maybe others have joined in, and we'll get less-- its to-be-determinned at run-time...

That's not a code answer... I know.. but the question was a little abstract, if you can be more specific (code wise), I may be able to give more of an example..but for now, explaining WHAT it is may be more useful.

Oct 19, 2012 | Microsoft Visual Basic 6.0 (361-00686) for...

2 Answers

Authentication by Face capture by webcam


For you to be able to do this you would need a separate standalone program. Your web application would try to detect if that program is running or installed on your client's computer if it is then your webapplication would send a request to the local application to run the face capture, if not then your webapplication would require the download of the software.

With regard to your local standalone software. you could do that in visual basic. make sure that your standalone code would also be a small webserver.

so what your web application actually does is it sends a request to the localhost or client computer, assuming that the local standalone is present then your webapplication would be able to connect to it through the small webserver. Well, the main point is that the local software would be the control for the webcam and also the means fo communication between it and your web application.

Apr 16, 2010 | Microsoft Visual Basic Professional...

1 Answer

How to setup visual basic 6.0


  1. One of the first and best things to do is begin to understand the Visual Basic IDE (Integrated Development Environment). By understanding the IDE you will be able to develop VB programs quickly and effectively. Start by reading the Getting to know the VB6 IDE tutorial
  2. The classic first program in any language is the Hello World tutorial. As a beginner you should make sure you write this program to get your feet wet. Check out the Simple Hello World VB6 tutorial
  3. Good programmers figure out how to use a consistent naming scheme when they develop applications. The quickest way to graduate out of the beginner VB6 level is to check out the Object Types and Naming Scheme VB tutorial
  4. Variables are used in any real development. Make sure you visit the Quick Variable tutorial to see how variables work in Visual Basic 6
  5. (Optional) More In Depth Understanding variables and types in VB6
  6. When you need to make comparisons or have your program choose between options you will need to understand Visual Basic's if statements. Luckily there's a beginners tutorial that explains just that: Understanding the if conditional statement
  7. Once you grasp the basics check out this next beginner VB6 tutorial that goes more in depth into conditional statements: Understanding if statements and conditionals in VB6
  8. Need to do something repeatedly? Need to iterate through a list of things? Need to count from 1 to 1 Billion by 3's? You need to understand loops! Understanding For, Do, and while Loops
  9. Once a beginner understands how to use functions and subroutines he or she is on the road to being a full fledged VB6 guru. A solid grasp on functions and subroutines allows you to reuse code and functionality throughout your program and in future programs.Functions and Subroutines in VB6 tutorial
  10. Last but not least, begin to learn how to use all the great controls Visual Basic offers and create a great User Interface for your clients to use. Basic Graphical User Interfaces in VB6 - Tutorial
Once you have finished these tutorials you should have a very good understanding of the fundamentals of the Visual Basic 6 language and development environment. Feel free to download some more advanced tutorials and continue learning on your own. If you have any questions or comments related to this Visual Basic 6 guide please post them below.

Jan 27, 2010 | Microsoft Visual Basic 6.0 for PC

1 Answer

I want to map ip to hostname in visual basic 6.0 code can anyone know any library class which will resolve the DNS names in VB code pls send me mail as soon as possible


This is handled by the "hosts" file on a machine. That file lives in the folder: C:\Windows\System32\drivers\etc

This file (named "hosts") is there for this purpose. You can modify it as you would any text file using VB6. Just be sure to maintin the file's contents format.

Apr 15, 2009 | Microsoft Mlf Visual Studio Enterprise...

1 Answer

I have a visual basic program in which i have to display the record from access table by using connection of adodc.and then select record from datagrid will display in another form. plz reply as soon as...


hi,  you may visit this site www.kidwaresoftware.com/ and download all free visual basic source codes with tutorials..  One of the source code will solve your problem.    However their paid Visual basic source codes will most powerful.    As I am total deaf and no source to communicate others... I want to share the  payment source codes with tutorials from  www.kidwaresoftware.com/.  Are you ready... If you download the  source codes with tutorials (only Fee for it) I will share with you.    esakkisivaganesh@yahoo.co.in

Apr 08, 2009 | Microsoft Visual Basic Enterprise Edition...

1 Answer

What is visual basic practical 6.0


Read the HOW TO section in the Help File of the program, or search the net for "what is visual basic practical"

Apr 02, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

Can i get source code for calculating arithmetic operations of vb


just take a look to this site:
http://www.codeproject.com/
you'll get all your answers about VB and totally .NET there by a simple search
enjoy it!

Feb 19, 2009 | Microsoft Visual Basic 6.0 (361-00686) for...

1 Answer

I want code for a program in vb6.0


dim text as string
text="AbCd123" 'testing purposes
for i=1 to len(text)
select case asc(mid(text,i,1))
case is < 65:'a number
case 65 to 97: 'upper case
case is >97 : 'lower case
end select
next

Jan 25, 2009 | Microsoft Visual Basic 6.0 for PC

Not finding what you are looking for?
Microsoft Visual Basic 6.0 for PC Logo

Related Topics:

81 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Compilers & Programming Tools Experts

Fred Block
Fred Block

Level 2 Expert

289 Answers

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...