visual basic Interview Questions and Answers


 

Interview Question in visual basic

Need some sample code for a voting system in visual basic

If you've seen some of my other questions, you know I'm trying to build a website where users can vote on their favorite toys in our work rooms. My problem is, after looking through the code other poeple in my company have made for websites, nothing is helping me when it comes to figuring out how to create this voting system.

Does anyone have a link to some sample code or a tutorial or something on creating a voting system in visual basic? I'm using VISUAL STUDIO .NET 2003 to develope if that means anything to anyone.

I hope I'm being clear enough.

Thank you,

-Travis

In visual basic what does it mean when something is not declared

i'm using visual studio.net 2003..and am just wondering how to fix that

Where can i download a program called visual studio 2003/ visual basic 2003

i need the actual program not any add ons or packages!

Can visual basic express be installed with visual studio 2003 already installed

I'd rather not delete visual studio 03. i want to have both installed.

I need help finding a good place to find computer programming for idots

i have visual basic 2005 all platforms
dark basic software
xara studio for 3d graphics
and blender 2.24

How to use win32 api in vb.net

Hey everyone, i have a programming class at school and when i have to get up to go ask the teacher something, the guys around me mess up and delete my programs all the time. i'm sick and tired of it, so i wrote a visual basic 2005 express program that locks the computer using

Public Declare Sub LockWorkStation Lib "user32" ()

but when i try to execute it at my school (they do whatever they can to stop us from locking it because they're afraid someone will lock and leave) it doesn't work! is there any other way to do this? other than, of course, re-coding the entire darned lockworkstation? much thanks appreciated in advance.

--additon: the only resources i have are microsoft's visual studio express versions

Why so hard for me for find a microsoft visual basic software . Help me please anyone

i already try the microsoft studio 2005 in the msdn but then it seem to be error requesting for me to download the microsoft winndow xp service pack 2. I already try to install it but then i still can't see the result. Help me Please.

Could comeone please help me with this please and yes i spent hours reading and trying it (really need help)

It is a visual basic application , i am unsure how to start it that is my problem i know what has to be done but cant think of a proper way to write the code could some please help me though it.

here it is:
Write a VB.NET console application to calculate the volume (v) of a sphere given its radius (r). Name the solution Volume. Use the following formula: v = 4/3 p r3.
Have the program read in the radius from the user. The output screen should look as follows:

Volume Program
**************
By your name

Please enter the radius: 9.9

For a radius of 9.9, the volume is 99.9

Program Specifications:
• Use s value of PI (create as a constant in your program)
• The radius and volume can have decimal places (use data type double)

note using Microsoft Visual Studio 2005

A question about c++ and opengl

I have learned c++ basics but i think i need to know what is a buffer so:
1.I need someone to explain to me what a buffer is and when we use it.
2.I want to start using opengl but i know nothing about it..... I use visual studio 2005 .... Is there anything i need to download before i start using opengl through visual studio?.... I need to
know how to open a new project and how to add the the libraries i need....
Is it a an advanced level to start making programs that have simple graphics... you know, like using buttons instead of writing commands and so on?
After you help me with the previous things, can you recommend a good tutorial to help me understand opengl... if not, is there a book instead of a tutorial?

NOTE: I use visual studio not visual basic.... Online tutorials helps you create opengl projects in visual basic!!
THANKS IN ADVANCE!!!

Exception when I run a program developed with cSharp .net 2.0

I used visual studio 2005 to developed an application. it was working well. recenty i used "Computerinfo" class of "Microsoft.VisualBasic.Devices" namespace. for which I had to add a visual basic dll as reference. But my problem is when I run the program from Visual Studio 2005 IDE It works fine. but after publishing It throws an exception with 'detail', 'quit' and 'continue' button.

************** Exception Text **************
System.Management.ManagementException: Provider load failure
at System.Management.ManagementException.Th... errorCode)
at System.Management.ManagementObjectCollec...
at System.Management.ManagementObjectCollec...
at Microsoft.VisualBasic.Devices.ComputerIn...
at Microsoft.VisualBasic.Devices.ComputerIn...
at MountUp.MainUI.MainUI_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(.....

How to search data in database

I am using visual studio 2005 and i have a visual basic project that
is connected to database . i am using access2003 .I wanna create a
search button in my form that searches the table according to the
record given by user in a given text box and then shows the other
information(columns)in that form.(e.g. there is an employee table
containing the three fields empid and empname and empphone.we present
the user a form with 3 text boxes for each field and a button
whenever user fill an ID in the text box and click the button other
conserning information of that employee should appiear in other 2 text
boxes)
It may be very simple but i am a begginer help me. Please tell me how
to do that. I know it can be done by some query but please tell me how to execute that query.
THANK YOU IN ADVANCE

Once you finish a program what do you do

hey guys my question is what do i do when i finish with my program hahahahah the teacher only tells us to send us the sorce code.
but i never know how do i send the program to other people so they can see my work.

and if i send them the progam will it conflict on there computer ? becouse they dont have the .NET update ?

how do i make a program in C++ and on visual basic so anyone can see it at the end i mean,
how do i convert it to an .EXE file ?

my main question is... what do i do next when i finish the program ?

Additional Details

1 day ago
oh yea my compiler is visual studio
i got it thanks to my university
they got some sort of contract with windows

and yea i see a .EXE in the foulder but culd a none .NET or a none compiler prepared computer execute the program ?

i got
visual studio 2005

What;s the best free database software

I'm creating an application in visual basic at home where I do not have Access. Therefore, I'm wondering if anyone knows about any free database software where I can create a database and then use it as my data source in visual studio 2005.

Visual basic .net Scroll bar

Hi, for my assignment i have to build a burger bar checkout system in visual basic (visual studio 2005), the sales staff use a vertical scroll bar to incease the amaount of burgers that are going to be sold.

The problem i am now facing is when the user clicks on the arrows to increase or decrease the scroll bar value, visual basic runs the code which calculates the total before increasing the scroll bar value by 1(it changes the vsbburger.value by 1 at end sub).

Is it possible to get it to increase/decrease the vsbburger.value before it runs the code in the scroll bar.

thanks

Using VS 2005, creating win app, I do not have neither SqlConnection nor OleDbConnection in toolbox.Why

Hi,
I use a trial version of Visual Studio 2005 professional and create a visual basic windows application.
I am following an ADO.NET tutorial and I should be able to drag a "SQLConnection" control from the toolbox but in toolbox within "Data" category or even in "All windows forms" controls listed, "SQLConnection" and "OleDbConnection" are not available and I do not know why.

I would appreciate answers for this.
Thanks a lot!

Where can i find an E-Book For Learnin VBA (visual basic for application )

where can i find an E-Book For Learnin VBA ?
i what to learn ...
Visual Vasic 2005 Tools For Application
Or
Visual studio 2005 Tools For Application

Does cSharp programs need special drivers like visual basic programs

I remember when I was taking visual basic 6.0 corses that in order to run visual basic programs you needed to install vbrun500.dll or something like that. But in the new visual studio 2005 does visual basic still need those drivers installed on the users machine and does c# need drivers installed on the users machine?

Is there someplace I can download an earlier version of visual basic

I have Visual Studio 2005, and I hate it. When I learned VB, it was in the late '90s, and VB6 had just come out. I MUCH preferred the way it worked. I would be happy to pay a reduced price for a legal copy of it, but all Microsoft wants to do is push their newest version. Any ideas?

What can visual basic do?, or visual studios 2005

what software is made from visual basic/ or studios because I dont know what USES does visual basic/studio have. All I can think about is using it for database but there are so many data base software that using vb to create a data base is not worth the time. Please someone using visual basic, or studios please offer some suggestions.

Question about visual basic 2005 code

I'm trying to make a game like breakout in visual studio 2005. The code for moving the "ball" in the x direction works fine but when I try to move it in the Y direction it will only move up. Here's the piece of code that's supposed to move it up:

Me.xBallPictureBox.Top = Me.xBallPictureBox.Top + BallVelocityY

Why, when BallVelocityY is negative won't it move down?
123