Code - Make A Simple Area Calcutor

May 22, 2011

I am not a computer programmer and I have never used Visual Basic before but I have to take a class about using it. I am trying to make a simple Area calcutor but what it is telling me in my book to do isn't working.

View 1 Replies


ADVERTISEMENT

VS 2008 - Example Of Source Code To Make A Simple Notepad?

May 12, 2009

The example of source code to make a simple notepad?

View 2 Replies

Make A Simple Program To Convert Ascii In Its Code Format?

Jan 11, 2010

I am trying to make a simple program to convert ascii in its code format

Example: Chr(53) & Chr(53) & Chr(54) & Chr(100) & Chr(52)

to a readable format. I understand that this can be easily accomplished by writing in the ascii code into the code will do it but I am trying to create a more interactive method of doing it so I can copy and paste a long length of code into a textbox and have it update a label with the conversion.

View 6 Replies

Create A Simple Program With 1 Text Field, 1 Button, And An Area To Display What Is Happening And If There Were Any Errors?

Mar 23, 2010

I'm looking to create a simple program with 1 text field, 1 button, and an area to display what is happening and if there were any errors.My goal is to be able to delete user profiles stored on a network drive by simply putting in the users ID and hitting the button.I'll use my own id as an example:If I put mdesieno in the txt box and hit the button, I'll need the button to map to the network drive and delete mdesieno.corp and mdesieno.v2 I would like the bottom half of the window to display text like:

"Deleting User Profile mdesieno.corp" SUCCESSFUL
"Deleting User profile mdesieno.V2" SUCCESSFUL

To me this seems pretty simple, but as I said, I do not know VB yet. Is there code out there that is already written to do something like this?

View 11 Replies

Post A Simple Code Using VB That Start Building Simple Games?

Jun 10, 2011

Is there anyone can post a simple code using vb,that start building a simple games ?

View 2 Replies

Make A Simple Browser With Some Simple Addon's?

Dec 9, 2011

Trying to make a simple browser with some simple addon's. What Ive done is setup a menu(forum) for the user to enter their email providers web address and it will save it in a xml file. When they click on the email link, it should load the email xml iformation and place that info in the tb_html.text and navigate. I keep getting a null exception and im not sure what going on here. Here is the code:

Browsers:
Private Sub btn_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Email.Click
'Load Action
Dim SavedEmailObj As Storage

[code].....

View 2 Replies

Make A Taskbar / Notification Area?

Oct 9, 2009

How do I make a Taskbar / Notification Area like the Windows Vista TaskBar/Notification Area?What objects would i need to use, what codes would i need to use?(I'm making a application that looks like your desktop but its not a real desktop, but it edits REAL stuff in the openfiledialog & save)

View 6 Replies

.net 08 Local Area Network (LAN) Source Code?

Mar 4, 2010

find a source code of using a local area network(LAN) in visual basic.net 2008?

View 1 Replies

Cannot Change The Value Of Text Area Using Code Behind File?

Feb 16, 2011

I want a multi line textarea using VB.net.I have used textarea in html before but I have never used it in VB.net I tried:

<text area id="TA" cols="100" rows="20"></textarea>

I introduced space between text area only coz I cud not write it other wise in this forum.. in my code there is no space. But I cannot change the value of textare using my code behind file.

View 1 Replies

Form Shows Code Not Design Area?

Jul 31, 2009

Something happened to my project and it got all messed up. I am not sure what happened, but the form I was working on only shows the code and not the project itself(where you design it). I am working in VB2008 Express Edition and do not wish to start over. What happened to my form?

View 6 Replies

Make A Transparent/colourless Clickable Area?

Oct 10, 2009

I've search for hours on Google but could find a solution.want a clickable area (that can handle MouseClickEvent, DoubleClickEvent, etc...) that is transparent, hence you can look through it.For example:I have Form1 with a bunch of buttons, text fields, etc. I want a clickable area that is over the whole Form1 (thus over all the buttons, etc).If you click this area, the clickEvent for this area should be could and not the eg: button underneath this area.Most importantly of all the area must be transparent, thus all the buttons, textfields, etc underneath the clickable area should be visible. Something like a panel or pictureBox that you could put over the buttons would be ne, but a if you drag a panel/pictureBox over a button, the button is invisible, and if you say send to back, the event of the button will be called and not that of the clickable area.

View 14 Replies

Algo / Code To Cover A Rectangular Area Using Circles?

Jun 13, 2012

This is a problem like the puzzle - "find minimum number of coins to completely cover a piece of paper".

The difference is:

in my case RADIUS of the coins is variable (but all coins should have same radius).

Real scenario:

1. I need to draw circular shapes on a rectangular image.

2. Number of circles (N) is CONSTANT/ User input

3. Size of image (S) is CONSTANT/ User input

4. The program should find the MINIMUM RADIUS (R) that is needed to draw N number of circles on an image of size S, so that, the image is completely hidden behind the circles.

This is NOT a puzzle/assignment that I'm trying to solve.This is part of a larger project that I'm working on.

I don't need any drawing code. I just need the code/algo to find the radius.

View 22 Replies

Make Customized Borderstyles, Create 'raised Area' Looks?

Jul 12, 2010

I've been working with System.Drawing for awhile and like to think I have a good handle on it; I've created classes that draw grids, write text in gridboxes and rectangles, convert rectangles to circles, fill areas with color, etc. What I don't have is any sense of artistry at all, and I don't have the slightest clue how one would use System.Drawing to draw a rectangle and then color/slope the edges so that it looks like a System.Windows.Forms.Button would, or how to make it look like it's inset deeper than the surrounding Form, like setting a Panel's BorderStyle to Fixed3D.

View 3 Replies

Make Image Area's And List The Images In The Folders

Aug 3, 2011

i have a program with the ability to save view and scan images. i am currently working on making work area's. so i have two list box's. listbox one is for the image area name. listbox2 is to list the pages in selected image area (mouse click). i have created the form to show you and i will post a link below. i have started trying to do it but have got stuck. i use an input box to give the image area's names. but thats as far as i have got at the min.

i need to be able to make image area's and list/view the images in my picturebox. plus i would like to create a folder or how ever many the user makes behind the scene thats called whatever the image area is called and in that folder is the images the user has saved in that folder. sorry if this is hard to understand. i have asked on another forum but i didnt get what i wanted it to do.

[URL]

i have gave you a link so you can see what my form looks like so you have a slight understanding on what i want it to do. its work in progress so sorry if it looks rubbish.

by the way i can save an image but it only saves it one certaint place and i cant save more thasn one as it replaces the image. and as for the scanned image thats the same.

View 4 Replies

Make The Program Appear In Notification Area And Run As Soon As Windows Startup?

Dec 21, 2009

how to make my application run in notification area and run in windows start up

View 1 Replies

Cannot Apply Simple VB Code As Service Code

Mar 6, 2011

I am currently writing a program in Visual Basic 2008 express edition to read and write to tags on an Omron PLC. I am using the DeviceXPlorer OPC Server V4.1.1.1 program to connect to the Omron PLC. I have made two programs, one is a form program which works fine, two is a windows service program where it does not let me connect to the OPC Server. The connection code is identical, the only difference is the windows service code is called by a timer. The timer works fines and jumps into the connection code, but stops at the line

[Code]...

View 3 Replies

Make Highlight Area In Picturebox By Getting Coordinate And Size From Textbox?

Nov 8, 2011

I have 4 textbox for X, Y, height and width.. and 1 picturebox where the image load in..

how can i make highlight area in picturebox by getting coordinate and size from textbox?

View 3 Replies

Make The Form Size Exceed The Screen Working Area?

Dec 13, 2009

make the form size exceed the screen working area? like setting the size to (1600,1600) doesn't work if the screen is not as big as it is.

View 4 Replies

Interface And Graphics :: Make Image Grey And Rectangle Area Colour

Jan 26, 2011

I am using the following code to place a rectangle around a form / form control, however what I want to do is make my screen grey and only the form / form control area be displayed in colour.

Code:

I have googled for ages trying to find something on this, but with no luck.

To illistrate this better they are using the same functionality in snagit 10, please see below link to a page that has a video link showing this (23 sec into video)[url]

View 4 Replies

Set The Viewable Area To A Smaller Screen Area?

Jun 11, 2012

Trying to set the viewable area to a smaller screen area and have it cycle through as the person moves using collision detection to move the backgroudn image. Here is the start but its off to a bad start so far.

Public Class Form1
Dim Mapx As Integer = 600
Dim Mapy As Integer = 2000

[code]....

Basically the forum size is set to 600x2000 but the client should only allow you to view 600x600. I want it to add +1 once you "collide with a invisable box I'll add and this will redraw the screen.

View 4 Replies

Specify Actual Usable Form Area Instead Of Outside Area?

May 12, 2010

I designed a form and managed to fit graphics inside it. Picture box is 465 pixels high. Form1 is 500 pixels high. SnapShot of the screen verifies that the 500 pixel height is the overal height. It includes the upper Bar and lower frame. Is there an instruction to set the From's inner pixel size and not overal?

View 2 Replies

Make A Program That Will Calculate The Area Of A Rectangle Based On The Length And Width Given By The User

Nov 20, 2009

im trying to make a a rogram that will calculate the area of a rectangle based on the lenght and

width given by the user

[code...]

View 4 Replies

Cannot Use Simple Code As Service Code?

Mar 6, 2011

I'm a rookie in Visual Basics 2008 and i am trying to make a program to communicate and read tags from an Omron PLC. I am trying to connect to the PLC via devicexplorer opc server, because it can let me read DInts and Reals from the PLC tags. I have referenced Microsoft ActiveX Datas Objects 2.5 Library and OPC DA Automation Wrapper 2.02. I have made some code which connects to the PLC "in a form", but I cannot use the same code and connect through as a Windows Service program.Here is my code,

Public Sub OpcConnect(ByRef Items() As String, ByVal PLCType As Integer)
Dim j As Integer
Dim TempSvrHandles As Array[code].....

Note: this code is run in a timer on the windows service, it connects properly to the "RSLinx OPC Server", but "Takebishi. Dxp.1" (devicexplorer shortcut) exits the sub routine at MyServer.Connect(PLCServer) ' connect to the opc server.

View 6 Replies

Code For Simple Calculator?

Jul 12, 2009

code for calculator using vb.net

View 2 Replies

How To Make A Simple Messenger

Feb 6, 2011

Is there a way to accomplish a messenger of that style:The application has a listbox, a textbox, and a button Every user with the program on his pc can type something in the textbox, press the button and this appears on his listbox but also on every other listbox of people that have opened the program.Is there also a way to get another listbox with the nicknames of the people that are in the program?

View 11 Replies

How To Make Simple Program

Jul 2, 2009

i want to make a simple program that can be used of add,delete,edit,save,, thats all, so that i will understand the basic of programing.so that in that program i will developed it and also connection of vb2005 to sql server 2005.. i am amateur here using this vb2005 and sql server 2005.

View 4 Replies

Make A Simple Application?

Jun 24, 2009

i want to make a simple application [URL]

View 8 Replies

Get A Simple Code To Connect .net And MSAccess?

Aug 14, 2009

provide me a simple code to connect .net and MSAccess? also provide me the details of where to find ADODB control.

View 6 Replies

Inserting Simple Button Code?

Jun 9, 2010

I'm trying to do the very basic add "hello" to a button. The instructions tell you to click on the button the tutorials say the code that is supposed to show starts with "public class form1" but when I double click the button it seems to open the whole code of the template, not the button. (and no where in the code shows the "private sub button1_click")

View 17 Replies

Simple Code Lookup To Get Description

Jun 11, 2011

Simple Code lookup to get Description I have a static list of Street Type Abbreviations and their associated Street Type Descriptions: RD to Road. I have the complete list needed. There are 37 elements in the list - 37 Street Type Abbreviations with their associated Descriptions. The lookup will only happen once. The input lookup field is in a single field: stType. Not trying to get fancy. but what is the best approach? Dictionary, List, two dimensional array, etc. Started with Dictionary but the .Add was getting redundant. Two dimensional array let me initialize the values, but searching an old school loop.

View 1 Replies







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