Write Simple CAD Software?

Dec 17, 2011

I was just wondering if there are any examples around the internet on how to develop a simple CAD program.

Would I be better off drawing on the form directly or use a Panel or a PictureBox for that?

View 2 Replies


ADVERTISEMENT

How To Write Simple Validation Expressions

Jul 25, 2011

How to write a simple validation expression that will accept any whole number greater than zero but less than 1,000.

View 1 Replies

Write A Simple Expression-like Class In .NET 2.0?

Jul 7, 2010

I'm currently working in .NET 2.0 Visual Basic. The current project is an Active Directory Wrapper class library within which I have a Searcher(Of T) generic class that I wish to use to search the underlying directory for objects.

[Code]...

In short, I want to offer some kind of Expression feature to my users, unless it is too much work, as this project is not the most important one and I don't have like 2 years to develop it. I think that the better thing I should do is to write something like CustomExpression that could be passed in parameters to some functions or subs.

View 1 Replies

Write A Simple Sine Graph?

Mar 21, 2011

How to write a simple sin graph for my calculator? I need , when I'll press the button, to show this graphic.

Private Sub btnsin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsin.Click
For i = 0 To 100

[Code]......

View 7 Replies

Write Simple Program To Run In Vdraft Using It's Api?

Jan 20, 2009

First I'd like to say I am not fluent in Visual Basic, I down loaded Express 2008 and have easily completed the first few lessons. I have some programing exerpience. I have written a few simple programs with Autolisp for Autocad.Vdraft will only integrate with full blown VB programs. So, Maybe someone can write a simple program using Vdraft api which can be found at :

View 1 Replies

Write Simple VB Code With *= Operations

Apr 18, 2010

I've designed a Arithmetic Calculator. I can get my additon button to work but not my multiplication button. My result total comes back as 0.

[Code]...

View 2 Replies

How To Write Simple Envelope Printing Application

Feb 16, 2011

VS2010 VB.Net Windows Form (not WPF). Any Hello World level example for printing the text within a multi-line text box they can post? Ditto for a print preview? I need to write a simple envelope printing app and I need a good base to build upon.

View 3 Replies

Read/write A Simple Text File In Net 2008?

May 9, 2010

I am trying to read/write a simple text file in net 2008 but can't, as yet, get it to work. This is how I use to do it in VB6

Code:
MyStr = App.Path & "DataData.txt"
Open MtyStr For Input As #1

[code]....

View 11 Replies

Simple Read/Write App.config Configuration File

Feb 6, 2010

I have a program with various settings, all stored in the app.config file. Often, I have a need to edit the connection string setting. I cannot do so using the My.Settings.myConnectionStringVariable method, as this is read-only. What I would like to do is have a big text box, and simply load the entire app.config file into it. The user could modify whatever they wanted, click save, and the program would save the new edits to the app.config file, and restart the program. I don't have a huge need to only pull out the connection string, as getting the text for the entire config file would suffice. However, if it is easier to pull out just the connection string from the config file, that would work too.

View 1 Replies

Write A Simple Game On Which The Player Has To Pursuit Some Figures On The Screen?

Oct 16, 2009

I'm currently trying to write a really simple game on which the player has to pursuit some figures on the screen. Since i'm just writing the prototype version i'm using a Panel wich i redraw 1000 times per second. Now, i want that every level is similar but not the same as past level, so i created a Level Class that contains the game objetcs of Player Class and the Figure Class, wich are the ones that have all the movement subrutines. So, with a Timer, 1000 times per second, i get the input from a joystick, pass it to the player objetc and update the position of the figure object. All this stuff is reported to an internal Panel that every level object has, wich i refresh and then pass it ByVal to the panel that the player actually sees. The problem i have is that after the first level ends, when the second level starts running, i can see the last frame of the fisrt level flashing behind the figures and it makes the game run a bit slower after every level. I tried keeping a copy of the inicial state of exterior panel and use it to clean the one i'm using on the levels but it didn't work...

View 11 Replies

Write A Simple Program Which Will Simply Have Buttons To Open Spreadsheets?

Jan 12, 2009

I am trying to write a simple program which will simply have buttons to open spreadsheets, and a search facilities to look for spreadsheets with a title which is an invoice number. I have my basic forms layed out, all a need now is help with the code.

I am using Visual Basic 2008 Express, and just need a line of code for a button to open an application/spreadsheet. Also, is it possible to have a search box open a file automatically?

View 9 Replies

Write A Simple Windows Form That Will Make It Easy To Record A Voice Message Before Uploading It To A Remote Web Server?

Oct 2, 2011

I'd like to write a simple Windows form that will make it easy to record a voice message before uploading it to a remote web server and sending the URL to the recipient(s):

[URL]

Currently, the user has to use Sound Record to record the message, use an FTP client to upload it to a web server, and finally, use an e-mail client to send the URL. I'd like to combine those three features into one.

View 14 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

Directory Listing - Write A Simple Program That Will Let Me Choose A Directory And Get A Listing Of All Files?

May 8, 2010

All I am trying to do is write a simple program that will let me choose a directory and get a listing of all files in that directory and its sub-directories and show it in a RichTextBox. I got as far as being able to select the directory but when I click "OK" I get "access to c:documents and settingsstevedesktopmp3 is denied".The code I am using is listed below.

Imports
System
Imports[code].....

View 10 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

Mystream.write(t) Doesnt Work - Doesent Write Anything To My H.txt Text File

Dec 27, 2011

I have a trouble making this code work. When executed, it just creates a correct (with the correct name) file with the extension .txt but the the actual text inside .

Imports System.IO
Public Class Form1

Public mytext As String

[code]...

The strange thing is that while debugging, h, t string variables have the correct values, but somehow mystream.write(t) doesnt work (it doesent write anything to my h.txt text file...

View 5 Replies

Write And Saves It And Gets The Xbox 360 Achievement Pop Up Saying "Gotta Write This Down?

Jun 29, 2009

Ok i saw this guy on youtube that made a achievement generator for his computer. For example, he goes to notepad and write something and saves it and gets the xbox 360 achievement pop up saying "Gotta write this down" and all that. Cud this have been coded thru VB.NET or something?

View 1 Replies

Write Some Javascript Code In Response.write When SqlDataSource1_Deleted?

May 23, 2012

i have a notification j-query plugin .. i taste it in my page (working 100%)but when i want to use it in a event SqlDataSource1_Deleted with the response.write method it does not work

Protected Sub SqlDataSource1_Deleted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceStatusEventArgs) Handles SqlDataSource1.Deleted
Response.Write("<script type='text/javascript'> showNotification({message: 'This is a

[code].....

View 1 Replies

Write A Program To Write In A Xml File?

Sep 14, 2010

I want to write a program to write in an xml file in this format:

<?xml version="1.0" encoding="utf-8" ?>
- <Orders>
<Item id="1" SKU="998123" Description="Super Widget" Quantity="100" />

[Code]....

View 2 Replies

Write A Sub That Will Write To A File?

Nov 3, 2010

I'm trying to write a sub that will write to a file. here is what i have:

Public Sub LogMe(ByVal MyType As String, ByVal MyMessage As String)
Dim LogStream As FileStream 'should be at a level with enough scope for your logging

[Code]....

The problem is that this will just overwrite what is already there. I would like to have it append the EHomeLog.log every time it is called.

View 2 Replies

Using Write Start Element And Write End Element In VB For XML Code

Oct 2, 2009

I know I can create XML ouput in Example 1 as follows using the following code in Example 2. How do I create the same output in Example 3?[code...]

View 9 Replies

Add Tax On A Simple Calculator?

Oct 11, 2009

I am doing a tutorial for a simple calculator. My question is how can I add code to make a botton that add my tax % to the total amount I have.

Option Explicit On
Public Class Form1
Dim firstnumber As Single

[Code]......

View 1 Replies

Use A Simple Variable In SQL?

Nov 29, 2010

I've declared the variable (presume this is correct):

Partial
Class
Bield_Projects_Telephone_Default

[Code].....

What am I doing wrong, can't seem to do anything I used to in classic ASP!?

View 4 Replies

Web Application For Simple App?

Dec 5, 2010

i want to desing a simple application which will be developed on a pc but will work on a MAC.Now im guessing that if i make an app in pc vb net it will not work on a mac right? So what if i design a web application. could the mac user then use it as it is web based?

View 4 Replies

.net - Simple Data Binding?

Feb 4, 2011

I have developed a form for Windows VB.Net that uses a number of text boxes that are indidivually bound to separate columns in a database. When one of the textboxes (let's call it XYZ.Text) is bound to the database, it prevents the data from any of the other bound text boxes to enter the database. When the binding for this one text box (XYZ.Text) is removed, then all the other text boxes work fine.

View 1 Replies

.net - Simple Linq To List(of T)

Jun 6, 2012

I trying to do what seems to be a simple thing but I'm having problems. The answers I find aren't working. I'm still getting casting exceptions:

Dim query = (From l In dePhl.cv_phil Where l.batch = strMmddyyyy
Select l.zipfile.Distinct)
Dim objFileList As List(Of String) = query.ToList() 'Error

[Code]....

View 1 Replies

Build A Simple Calculator In VB?

Mar 20, 2006

how to build a simple calculator in VB; i got the interface with buttons and text box alredy and i figured out how to put more then one number using buttons alredy(Disp.Text = Disp.Text & 1) , Looking at the windows calc, how do you store the number u just entered into a text box and alowe user to enter another to performe calculations, what code should i use for equal button and etc.

View 10 Replies

C# - Simple .NET CD/DVD Burning Component?

Jul 9, 2010

There's a number of postings about IMAPI in .NET, including these:

[URL]

But I can't say they're straightforward. First link looks good, though its C# WinForms realization doesn't allow simple re-using in VB.NET project without conversion.I only need to burn a list of files to a CD/DVD and that's it. Any thoughts? Freeware/open-source is preferred.

View 1 Replies

C# - Simple ASP.NET Database Query?

Apr 9, 2010

I have loaded my database with one table under "Data Connections" in the "Server Explorer" pane.What is the standard / best-practices way to handle a simple query in a VB ASPX page?

My left <div> would be a set of form elements to filter rows, and when the button is clicked, the main <div> would show the columns I want for the rows returned.

Note: Answers in C# are okay too, I'll just translate.

View 3 Replies

Cannot Get Even A Simple Query To Work?

Sep 1, 2011

I am trying to get a query to work with Visual Basic 2010 Express addition I have pasted the code below but it just errors out with to many arguments I have taken this sample from a reference book but cannot get the darn thing to work. I have looked all over the net and Microsoft for a solution but still no go if any one can help it would really be great. BEP

Private Sub FillBypeeps1ToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillBypeeps1ToolStripButton.Click

[Code]...

View 8 Replies







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