Use VB Express 9 To Get The Answer But To Show The Work?

Mar 11, 2010

I'm currently in Logic, Design, and Programming at college and we have homework over Arithmetic Operations.For example:100 ^ 2 - (((43 2) + 17) Mod 5 - 7.4) * 3 = 10,013.2

I need to solve it, we can use VB Express 9 to get the answer but we need to show the work. I've done fine up until the question. We have a test tomorrow and we are have 30/100 points just over math equations where we aren't allowed any use of the PC or calculator and I'm stuck on how to break this down.

[Code]...

View 16 Replies


ADVERTISEMENT

When Selecting An Answer, Does Not Show Correct/incorrect?

Oct 29, 2011

'Declaringvariables
Dim sAnswer As String
Dim sCheck As String

[code].....

View 6 Replies

Check Exist Database In SQL And Message Box Show Answer?

Oct 3, 2009

how to Check Exist Database in SQL And Message box Show Answer?

View 4 Replies

MathQuiz - Get A MessageBox To Show Up When The Answer In Form3 Is Correct?

Jan 26, 2011

I started to create the MathQuiz and it is working good as per the provide codes. I was also able to add 'Percentage Correct Answers' and some other details.I have added a new form with some buttons and that is working as well, just simple stuff and all good fun playing with it.

But here is my challenge:When 1 or more answers are incorrect the program is opening a new form (similar to the main form) and it shows the equations again. I did that with "Correcting.lblLADD.Text = addend1", etc. in then main form. In the form 'Correcting' = Form3.Designer.vb I have tried to get the Text into a Number but nothing works for me. Also Tried to make addend1 in Form1 Public but the value does not appear in Form3. Form3 has also a Private addend1 as Integer.Even if I give addend1 in Form3 a value Form3 does not calculate.Maybe it does but I can get it to work. I have tried to get a MessageBox to show up when the answer in Form3 is correct but the MessageBox does not work either.

View 10 Replies

Make Program To Calculate Textbox1.text And Show The Answer In Textbox2

Dec 22, 2011

I am working on bit more advanced calculator, but I cant figure out how I can make my program to calculate textbox1.text and show the answer in textbox2

For example: (textbox1) 5*62+4
(textbox2)314

I'm not sure this question belong in this topic, but I don't know where else it should be?

View 16 Replies

Make Verify Answer Button Click Event Show Incorrect?

Feb 22, 2012

If strChoice = StrCapital, display CORRECT in the lblMsg Else, display INCORRECT

View 8 Replies

DB/Reporting :: Will SQL Statements That Work In Compact SQL Server Also Work In The Express Edition Of SQL Server

Jul 25, 2010

will SQL statements that work in Compact SQL Server also work in the Express Edition of SQL Server?

View 2 Replies

Express DLL Doesn't Work On Other PCs?

May 24, 2012

I have Visual Studio 2010 Express Edition. I'm using it to evaluate functionality before purchasing the real thing, but I'm having trouble. I want to build a DLL that can be used on PCs other than my development PC, that I can call from VBScript.

I follow the hundreds of examples out on the intranet and things still don't work.I have built a simple HelloWorld DLL with a function that returns "Hello World".I've been through all the stuff about making the assembly COM visible, and the threads about Register for COM Interop checkbox missing. One person suggested editing the .vbproj file and adding a tag to turn on Regiser for COM Interop (which was not needed because it was already there).

Anyway, if I build my project and run my VBScript:

Set testdll = CreateObject("HelloWorld.Class1")

wscript.echo testdll.HelloWorld()

Everything works great. But....if I copy the DLL to another PC and register it with RegAsm, the VBScript fails with a "File not found" error on the CreateObject line of the VBScript.

In fact, if I unregister the DLL on my development PC and then register it with RegAsm, the VBScript now fails on my development PC. RegAsm said everything was okay and if I look in the registery using RegEdit, things look good, but it still doesn't work. The only way to get it to work again is to rebuild the DLL (which in turn, registers the DLL).

I'd like to be able to build a DLL which I can be registered and used on other PCs (without requiring those PCs to have Visual Studio 2010 EE and without requiring them to have the source and build the DLL).

View 1 Replies

Can VS2003 Work With SQL 2008 Express

Oct 25, 2011

It says I must use only SQL or Access. That is SQLExpress doesn't work. The test connection does work. Trying to do a quick demo project before I spend big bucks. I cannot get my Access 2003 to register so only have 34 uses left.

View 2 Replies

How To Work With Excel In VB Express 2008

Oct 1, 2009

I have worked with Visual Basic in the past, but never using it with Excel

View 3 Replies

Will VB Express Will Work If I Uninstall Visual C++

Nov 4, 2011

I am working visual basic express, when I installed it came with a bunch of programs which are:

Microsoft SQL server2005
Microsoft SQL server2008
Microsoft SQL server Compact
Microsoft SQL Server System
Microsoft visual c++ redistributable 2005
Microsoft visual c++ redistributable 2008
Microsoft visual c++ redistributable 2008
Microsoft visual c++ redistributable 2008
visual studio 2010 ADO.net entity framework tools
MSXML 4.0 SP2
MSXML 4.0 SP2

Since then my PC became heavy and slow, I want to some of the programs but I am afraid that vb express won't function properly. Can someone tell me which program can be removed without problems?

View 2 Replies

Sendinput In VB 2008 Express Doesnt Work?

May 9, 2009

I got the code from ALLAPI but it gives me errors of declarations that have changed in this version of VB, i tried to update the code but...

Public Class Form1
Const VK_H = 72
Const VK_E = 69

[code].....

View 5 Replies

VB Express 2010 - Start Debugging Won't Work

May 3, 2010

Sometime when I press the run (F5) Start debugging button it does nothing. Often when I have jsut run it and made a quick correction. If left for a while it will then work! Have tried it with simple and complex projects.

Using W7 x64 - never had this problem with VB 2008 express.

View 5 Replies

VB2010 Express Crashed, And Lost All My Work?

Nov 18, 2010

I use windows Vista.I had been working intensly on a new program all day today and pretty much all day yesterday. I was almost finished.Then my computer crashed. I rebooted.When I came back into Visual Basic 2010 express, I expected that somewhere I would see my files. Besides... I HAD BEEN SAVING THE FILES ALL DAY LONG USING CONTROL+S on my keyboard. The little * symbol at the top of each file would go away. I assumed that meant it was actually saving my work as I went along. I did not, however, actually go to file->SAVE at any point along the way.

After coming back into VB2010 express, no autorecover dialog appeared. I looked for my project in the list, and it wasn't there. I looked at "recent files" and "recent projects" and found nothing. Finally I searched my whole hard drive for my project, and found only one EMPTY directory located at:

C:UsersDellLaptopDocumentsVisual Studio 2010Backup Files, which matched the name of my project I had spent the last two days working on.

View 2 Replies

Created A Custom User Control At Work Using VS Express

Oct 6, 2009

I created a Custom User Control at work using VS Express. It was added to my toolbox and then I added it to my form.When I created another one at my home use VS Pro, I think, it was not added to my toolbox and I'm not sure how to access it.

View 6 Replies

Application Version Code Not Work In VB 2008 Express Edition?

Oct 19, 2009

I create a new Windows Forms application and add an AboutBox form which is built-in into Visual Studio. I add a button to Form1 to show the AboutBox when clicked.The AboutBox form has a label with the text "Version" on it. The following code is supposed to add the application's version to that label at run-time:

Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Info.Version.ToString)When the application version is changed in the Publish tab of the My Project form to 2-0-3-6, the version on the AboutBox at run-time stays at 1.0.0.0 (of course after rebuilding).

Even when the application is published to the desktop, it still does not work. It does, however, reflect the correct version number in the title of a subfolder in the Applications folder that is created when the application is published.

View 1 Replies

Multithreaded .NET (2010 Express Edition) Program Work Properly?

Sep 11, 2011

I'm trying to make a program of mine into a multithreaded application, but I've hit a pair of snags that I documented in the following code. I can expand this stub into a more efficient version of my existing application.

[Code]...

View 3 Replies

Vb 2008 Express - My.resources Won't Work - Error Saying The File Does Not Exist

Jun 19, 2011

I have been able to use my.resources perfectly, no problems at all. all of a sudden, i try to use resource (i have done EVERYTHING EXACTLY the same as the way i have been using for the last 1 and a half years) and i get an error saying the file does not exist. its there, i only need to type my.resources.s and it already selected the resource i want. it says the file doesn't exist. why? also, the resource is called settings.dat. could that be the problem, don't think it is. i even tried a picture, but it still says the file doesn't exist.

It says: Could not find file 'C:Users[username removed]DocumentsVisual Studio 2008ProjectsdiskSaverdiskSaverinDebugSystem.Byte[]'.

I worked out a way around it (i worked out how to use my.settings in stead), but i haven't worked out why my.resources won't work.

View 3 Replies

Will Publish Programs Still Work With Expired Registration (VB2008 Express)

Oct 18, 2010

would like to know if the Publish Programs will still work if the VB2008 Express registration has expired

View 2 Replies

DB/Reporting :: Copy Oracle 11g Which Is Fully Installed - Work With VB Express 2008 ?

Oct 3, 2009

I have a copy Oracle 11g which is now fully installed. Will it work with Visual Basic Express 2008 or just Visual Studio 2008 Professional? I have both Visual Basic Express 2008 and Visual Studio 2008 Professional. I really would like to know if it works with Visual Basic Express 2008.

View 2 Replies

Form.Show() Won't Work After Closed

Oct 29, 2011

Using VB Express 2010 in windows XP Pro 64.

A ListBox shows the project forms names.
On ListBox_DoubleClick
For Each F As Form In xFormCollection

[Code]....

Works fine the first time but after closing the form opened by the DC, if I try to open it again, throws an exception "Cannot access a disposed object".

Since I can still access any other form not previously showed I guess that the closing changes a status that allowed the form to be .Show, there is no F.Load , F.Activate after the exception doesn't seem to do anything. What should I do?

View 7 Replies

Messagebox.show Command It Does Not Work?

May 1, 2011

i have visual studio ultimate 2010 and i was using visual basic and when i tried the messagebox.show command it does not work , am i missing any libraries that need to be installed or did they change this command , if i am missing some libraries , is there a patch or something that needs to be setup.

View 6 Replies

MS DataGridView.show Fails To Work?

Jun 23, 2010

I used to have a single DataGridView (DGV) on a form. I formatted and populated this, then used DGV.Show to make it appear on my form. This worked fine.I upgraded my form, to included 2 DGVs. Within a sub I dim a new DGV, populate and format it as before then set this equal to whichever DGV on the form it's meant to be. For example:

Dim pDGV as new DataGridView
with pDGV
.ColumnHeadersVisible = True

[code].....

View 1 Replies

Show Picture Does Not Work Without MsgBox

Nov 2, 2009

I am making a picture viewer in vb.net. When I click a button to show images from a listview it does not work without the msgbox! I included code
Sub shows()
Dim k, s As String
Dim i, j, m As Integer
''' When I use this, it doesnt work!!!
'Dim cbz As New Thread(AddressOf shows)
'cbz.Start()
[Code] .....

View 1 Replies

Visual Basic 2008 Express Edition Application Does Not Work On Windows XP Machines

Jun 23, 2010

I have a Visual Basic 2008 Express Edition application that operates as a front end for iSeries V6r1. The application was developed on a windows 7 machine. Users load the application from a shared folder on a server. Currently, there are 2 Vista, 3 windows 7 and 4 XP users. All had no problem in loading application, all users except 3 of 4 XP users can run the application with no problems. However, 3 of the XP users receive the following error message when they perform any action that tries to connect to the iSeries:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

All 4 XP users are on same service pack

View 8 Replies

Form.Show() Wont Work After Closed?

Nov 15, 2011

Using VB Express 2010 in windows XP Pro 64.

A ListBox shows the project forms names.
On ListBox_DoubleClick
For Each F As Form In xFormCollection

[code].....

View 5 Replies

VS 2010 Wouldn't Error Messagebox.show Not Work?

Mar 9, 2012

I can't figure out why my messageboxs won't work when they encounter errors.Here is my

[Code]...

View 6 Replies

Windows.Forms.Cursor.Show() Doesn't Work?

Sep 8, 2010

I have a test app driven by bluetooth serial events In my form load code I hide the cursor so it doesn't get in the way of pictures (fullscreen) When one event is called by bluetooth, it brings up a msgbox and the user has to click OK. I tried Windows.Forms.Cursor.Show() but it doesn't work.

I'm guessing it's something to do with delegates and events and the form, but the debugger doesn't complain at any point. It just refuses to show the cursor. How can I get my serialport event to show the cursor? And then hide it after?

View 6 Replies

Datagridview Does Not Show Data At Runtime In VB Express 2008 In Windows 7

Dec 11, 2009

I'm using Visual Basic Express 2008 in Windows 7(64-Bit). I've added a datasource to my project and dragged a table from Data Sources onto my form. It automatically created a DataViewGrid and placed this statement in my form load event:

Me.BillsTableAdapter.Fill(Me.DoBills_2009DataSet.Bills)

The DataGridView shows all the correct fields/columns. The .DataSource property for the DataGridView is set to the automatically created BillsBindingSource. When I preview the BillsTableAdapter, the data appears. But data does not appear when I run the app. The datagridview is empty. When I build the app and run the executable, I get a Microsoft .NET Framework error message that says: "Unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. If you click Quit, the applicaiton will close immediately. The 'Microsoft .ACE.OELDB.12.0' provider is not registered on the local machine." If I click "Continue" I get my form with an empty DataGridView. What am I missing to get the data to display in the grid at run time? Oh, and I've also tried using the DataGridView in C# and I get the same problem.

View 7 Replies

Forms :: Vb 2008 Express Form Wont Show Correctly

Aug 24, 2009

I have been working on a quite complex multiform solution.All of a sudden the start up form (in fact any form I designate to start up) loads, displays and operates fine.

But when I try and show a form using showdialog the form displays behind the original form and I can�t set focus to the ide to close it down. I have to use task manager or alt f4 while the form has the focus.

Calling different forms from this one gives the same result but other forms work fine. I don�t want to redo this form as Ive done a lot of work onit.The only thing I can think of that whist I was changing the startup form in the project propertied page (file>project>properties) I unchecked the �Enable applications framework checkbox.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved