Creating A Text Converter?

Nov 24, 2011

I am creating a text converter, that allows the user to input text to a multi-line textbox, called "Input".The text to input in the box is like this: "CreateObject(3524, 213.53, 1748.10, 17.00, 0.00, 0.00, 0.00);".Then I want the application to read all the coordinates insidde the () and output it in another textbox called "output".

The output is supposed to have this format: "CreateDynamicObject(3524, 213.53, 1748.10, 17.00, 0.00, 0.00, 0.00, 0, 0, -1, 200);". Note the coordinates inside the () are the same as in the input format, but "CreateObject" is replaced with "CreateDynamicObject", and ", 0, 0, -1, 200" is added after the coordinates inside the ().I already created all the boxes etc, only thing needed is the coding.

View 8 Replies


ADVERTISEMENT

Creating A Number Base Converter?

Nov 3, 2009

Module Module1
Dim Bf, Bt, Lgt, Total, Pwr, Valu, Val2 As Integer
Dim InNum, Temp, OutNum As String

[code]....

I, will just explain a few areas of this to ease the process of understanding it:

1-The conversion Subs are to be used for values such as A7 in Hexadecimal

2-The Err Boolean will hopefully be used to link back to the top in the event of an error

3-Apollogies for the abreviated variable names, it simplifies things in my mind but winds my fellow students and teacher up no end.

This code is not fully functional yet, however I believe it should give an answer for my test value of 800 Base 10 to Base 8 (1440), however when the program runs in debug mode I can enter the three inputs but then it leaves two lines and gives an unresponsive flashing cursor.

View 3 Replies

Creating Radian-degree Converter?

Aug 29, 2010

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]...

View 11 Replies

Speech To Text Converter

Aug 23, 2009

im currently doing B.E....final year...i wanna do a project on speech to text converter in vb.net.....i request u to plz guide me where should i start first

View 2 Replies

File Converter (text To Rtf & Rtf To Text)?

Jun 9, 2009

i have a form that looks like this:can convert a file at a time, no problem. what i'm having problems with, is converting the entire folder. in a previous sample project, i used a timer to go down one list by adding the files to the textboxes and then saving the files to the other listbox's temp folder.

View 1 Replies

Forms :: Creating Paragraph Styles Of Text In Window Forms Text Controls?

May 8, 2010

I am trying to build a NOTEPAD/WORDPAD like application with vb.net on visual studio 2008.

I need an option to define and choose (MsWord, or CSS like) paragraphs styles, such as: "heading1", "green quotes", etc.

View 1 Replies

Converter C# And VB ?

Aug 9, 2009

I have made simple design for the program

2 texboxes
2 forms

Form1 has:C# to VB converter 2 textbox (where they will put the code from C# or VB ):1 that will put info: other that will apeear the converted text 1 button

I need source how to make when its press button1 to show them in new texbox the souce code that he selected

Form2: VB to C# converter. i need the same and for VB to C# code when its pressed button for Form2

View 3 Replies

Converter VB 6 To .Net ?

Feb 11, 2012

how to convert a project from VB6 to VB.NET using this method below ?

Visual Studio >> File >>Open >>Convert..

Had some plug in or even executable to tell me?

View 7 Replies

Dwg To Xml Converter?

Feb 19, 2010

i am a beginner and trying to write a program that can convert .dwg file into .xml file format.i am familiar with visual studio 2008, vb.net and autocad 2007.

View 6 Replies

VB To C# Converter?

May 23, 2010

Show me a site where there is good conversion available from vb.net to c#?

View 8 Replies

VB6 To .NET Converter?

Jan 20, 2010

My boss has given me a new task of converting his old vb projects to new new .net projects. He wants me to convert both windows as well as web applications to the latest versions. As I am new to programming, I am having difficultly in converting the codes.w if there is any free VB6 to VB.Net Converter which can convert all code. And also let me know if there is any good way to manually convert VB6 code to VB.Net code.

View 6 Replies

Creating A Text File?

Mar 15, 2012

I have a project for school where I am to create some form of security for an application, our brief was to basically to create and hide a text file in the applications program files (not all that secure really, but heh I don't write the briefs) So I have created the code and form to check that a users security key is valid it all works perfectly in the debugger, it writes the file to the specified directory, however when I run the application on a computer (after deploying it with the correct directories being set up, it never creates the .txt file to write the information created during "Authentication" - I am really confused and I am not sure if this is part of the "problem" I am supposed to be solving for school, or whether this is just some crazy exception that has been thrown up

View 2 Replies

Creating Text Files Containing Chr(13) And Chr(10)?

Jul 15, 2010

I am a beginner in vb 10 (vb.net). I am trying to create a text file "something.txt" and write a long string to the file. My string contains formatting chars newline and carriage return, which I want to keep.

I tried:
FileToSave.Write("test" & Chr(10) & Chr(13) & "test2", RichTextBoxStreamType.RichText)

using the System.IO.StreamWriter method but the line feeds and carriage returns are lost and all the text is just streamed together with no formatting.

Where 'FileToSave' is the path and name of the file. Note: I know I can use the vbnewline instead of chr(x) but this is not the issue.

View 1 Replies

.NET To Java Converter?

Dec 27, 2008

existing tool which converts VB.NET Code to Java.

View 1 Replies

C# - WPF Databinding Converter .NET?

Aug 9, 2011

I have a button that i basically want to either show or hide it based on if a certain string has a value or not. I create the buttons in code so i was trying to used databindings with a converter but i can't seem to get the converter on the binding after the value changes. I'm not sure if I'm going after this correctly or not... Here is what i have for creating the button and the binding and the converter. "sFileLocation" is a string inside my class "QuestionsFile". This works for initialization but its just when the value of the string changes, this binding doesn't see the change and doesn't run the converter and all that for me...

Dim btn2 As New Button
Dim b2 As New Binding("sFileLocation")
b2.Mode = BindingMode.TwoWay

[code]....

The thing I don't understand too is that the binding works fine if i just binding the property to the Button.Content. So the property is updating correctly when it gets changed, and the buttons content changes accordingly.

View 3 Replies

C# :: Delphi To .NET Converter?

Sep 4, 2010

.NET converter (either C# or VB.NET)? I've inherited a bunch of Delphi code, never seen Pascal before and rather than learn it, I'd rather just try to use an automated converter, if available, and clean up the code after that. Can't seem to find this kind of tool anyway I search

View 3 Replies

Code Converter To .net?

Jan 30, 2012

i wanted to know if there is any code converter around that can translate from the ruby language to vb.net.

View 14 Replies

How To Make Converter

Dec 13, 2010

i'm trying to make a converter, i have 4 textboxes, 2 of them are encode, the other 2 are decoders.
on the encode process i use:
[code...]

I want it to be decoded when a button is pressed, because I cant use the KeyPress or KeyDown function because it will most likely be copy-pasted.

how would i do that, for instant the char A Will be converted from "W11" to "A".
Now i know there is a function called Convert, but i have no idea on how it works or if it even is proper for this task.

View 13 Replies

Html To Pdf Converter?

Oct 21, 2010

Converting an html template to PDF document using vb.net code.I've a very complex html with lot of tables etc.

Are there some free tools to be used to convert html to pdf using code ?

View 4 Replies

Using The WFC Language Converter?

Dec 7, 2010

can i know how to work with Visual Basic in Visual Studio?

View 2 Replies

Wpf - Can't Get Converter To Work?

Nov 4, 2011

Ive tried to make my converter to work but the XAML doesn't know where it is.. but its there in a folder called Converters. Here how my XAML are setup..Fill="{Binding RequestStatus, Converter={StaticResource converters:StatusToColorConverter}}">

[Code]...

View 1 Replies

Creating A Function That Adds Text Box?

Aug 9, 2011

How can I create a separate class that has the function that adds dynamic text box, so that I will just call that function to my main form. I have the code below that does add dynamic text box but it is already inside the button of my main

[Code]...

View 10 Replies

Creating A Series Of Text Files?

Jun 27, 2011

I am trying to write a program that writes information from texts boxes to a text file on the users hard drive. I would like to create a new text file if one already exists, for example if text1.text exists, it creates a new text file called text2.text, then if text2.text exists it creates text3.text and so on. Here is what I have so far:

[Code]...

I've tried fooling around with if statements to create a new file but it doesn't seem to be working. Additionally, How can I write to a new line in a text file. For example there are 4 text boxes and each string from each text box gets its own line.

View 1 Replies

Creating A Text File In Location Of Exe

Mar 25, 2011

i have created a program , that uses a few text files.i am currently using the file paths of these text files which will obviously error when i move the text files..is there a way to create a text file where the exe is located , this could be anywhere?

View 7 Replies

Creating A Text File In VB2008Express?

Sep 22, 2009

im trying to get my streamwriter to create a new file with its name derived from textbox1 but i also need to add loads of other text from buttons and textboxs in my form. At present the code sometimes says part of file path not recognised, think it looks like the textbox1 text. but when i get to this point where it works it wont create a new file.

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Using SW As New System.IO.StreamWriter("C:documentsandsettingsliamDesktop" & TextBox1.Text & ".txt")
SW.WriteLine(TextBox1.Text)

[code]....

View 3 Replies

Creating A Text File With More Line

Jan 6, 2009

I am trying to create a text file with more than line, but its not quite working. I am new to programming, so I dont know what everything is yet (but I am learning).

[Code]...

View 5 Replies

Creating An Export To Text File?

Jan 15, 2012

How can I create a dialogbox, I think that will allow user to open or to save as a textfile?

View 1 Replies

Creating Text Boxes With A Button

Mar 2, 2012

Im trying to make when you click a button to make a drag-able text box. But i cant seem to find anything on creation one with a button.

View 9 Replies

Creating Text File If Not Created?

Jun 11, 2009

send the values of my form to a text file upon submission? I need to create the file if it has not been created and append the file if the form has been created. I will then need to display the text file on the second tab of my form.Firstly, I need to know how to send the values of the form to the text file.

View 4 Replies

Creating The Empty File But Not The Text?

Jan 24, 2009

I am using save file dialogue box and i am saving the contents of richtextbox which is in the form. So i used the coding below. It only creating the empty file but not the text which i typed in the richtextbox.

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]...

View 2 Replies







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