Make A 1 Lined Binary Converter?
Nov 1, 2011
Basicly I'm trying to make a 1 lined binary converter. Ill send you guys some screenshots If (tb1.Text) * (CInt(tb2.Text) + (tb3.Text)) * (CInt(tb3.Text) + (tb4.Text)) * (CInt(tb4.Text)) Then Label6.Text
Screenshots: What it's going to look like:
View 14 Replies
ADVERTISEMENT
Mar 30, 2010
for homework an optional task was to create a binary to denary and denary to binary converter, using console application in VB.NET .. anyway i gave it my best shot however and it all works except for the denary to binary conversion, can someone please help me out? not been programming for very long so my code might be a bit messy or badly written i dont know,
[Code]...
View 1 Replies
Jan 26, 2011
I was going to try to write a hex/octal/binary/decimal converter in Visual Basic 2010 express and was wondering how I would start to do this.
View 2 Replies
Sep 7, 2008
I have a binary converter I am attempting to build and want to read and convert the InputTextBox(alphabetical characters) letter by letter however all I have so far is one letter at a time
Image here is the code I have so far:
Code:
Public Class ConverterForm
Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
[Code]....
View 5 Replies
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
Apr 18, 2009
I am trying to make a currency converter but i have forgotten how to do it. I am looking to convert at least 10 currencies from combo boxes.
If cboConvertfrom.Text = "British - Pounds" Then
Currency = GBP(0)
End If
[Code].....
I am looking to have a text box were people insert a number then select which currency to convert from and to and display it in another text box or label
View 1 Replies
Nov 12, 2010
How can I make a hex converter to any kind of sort (integer , decimal , etc...).
Download Genius Web Explorer , It's free.
Download Genius Desktop Clock , It's free.
Download Genius Wallpaper Changer , It's free.
View 2 Replies
Jul 3, 2009
I'm trying to make a metric to kilogram converter and I am having trouble starting it out. With my Answer label being txtAnswer and the Inches button being btnInches, I have ran into snags with trying to get it formulate the 37, 370 into 1 Kilometer I believe that it needs to be a sring but I am stuck.
View 3 Replies
Dec 26, 2009
It is possible to make a video converter using VB .Net? If yes with what I should start?
View 2 Replies
Sep 17, 2011
I'm a bit new to these forums but anyways let me get to the point. I'm trying to make a Unit Conversion Program on VB 08 and I am trying to make it so I don't use too many radio buttons, however I may use it if there is no other option. And I also have to make the program do it both ways
For Example I want to convert Fahrenheit to Celsius and Celsius to Fahrenheit in the same textbox or some sort of box.
View 9 Replies
Jun 25, 2010
Well how can I make an Audio Converter?
View 6 Replies
Jul 27, 2009
I'm trying to make a simple character converter i.e. (A converts to O) or (C converts to V) I need to make defined parameters for the entire alphabet.I have two text boxes set up and a command button. I'm trying to make it so the text inputted into the first textbox is converted (using the defined parameters) Into the second textbox with a click of the button.
View 5 Replies
Mar 3, 2009
I am working on a school project to make a temperature converter that when fahrenheit is entered into textbox1 and then tabbed, the conversion to celsius, rankine, and kelvin is displayed in textbox 2,3, and 4.My instructor showed me how to input the code for this, but it isn't working correctly. I know I need more code to get this right but I am a newbie to programming and my instructor doesn't insruct very well. Can someone please tell me what I need to do to finish this coding? This is what I have so far:
Public Class Form1
[Code]...
View 2 Replies
Nov 2, 2009
how to make a message box that has two lines in it but i dont know how to seperate the text.
View 5 Replies
Feb 15, 2012
I decided to make a simple temperature converter (C to F vise versa) for class since I already had made a calculator. But for some reason, it won't work because it can't convert from string to double. How do I fix it?
[Code]...
View 10 Replies
Aug 29, 2011
I have six textboxes that need to have the text saved/loaded. They all have random line amounts under 28 if this info helps at all.
View 7 Replies
Jan 4, 2010
I have a multi-lined string message that needs to be added to the Resources.resx file of the project. Currently I'm achieving this some thing like this MessageBox(My.Resources.MyMsg1 & vbNewLine & My.Resources.MyMsg2 ). This works.However I'd like to have the entire message in one resource string rather than adding two resources strings to the Resources.resx file.I've tried using' but no luck..message displays as "My message.Rest of the message".I've also tried manually adding a new line in the Resources.resx file. ( by doing "My message.<Shift+Enter>Rest of the message" But message is adding an additional space before the message in the second line.
View 8 Replies
Feb 22, 2010
any1 has any ideas on how to code a patch maker, (binary differential update) so when i run my patch maker, it output a program (*.exe) that will update files on another machine or local machine, assuming that old files to be updated to a new file having the same data in result;
and also the output patcher should be smaller in size (compressed)currently wad i could think of is a very very simple one but totally useless and not efficient and result large file size patch
1. where mine is read both file data
2. is both byte the same ?
3. [if not same ----> write down the marker value in outputfile1 and byte value in outputfile2]
3. [if same ----> do nothing]
4. read byte if available
5. (marker + 1)
the marker value is how many byte have been advanced so with resulting patcher will read those marker values to advance to the file address (which is the position number) and update accordingly to its byte value outputfile1 is marker values, outputfile2 is byte values corresponding to outputfile1 marker value to advance to the byte position
View 1 Replies
Nov 11, 2009
I'm wanting to make a program that translates binary code into numbers/letters and numbers/letters into binary code. I know the general system of binary code, but I dont know how to translate anything with VB.net. Is there a general command I need to use or can someone link me to a good tutorial about translating?
View 2 Replies
Feb 9, 2011
I have a windows form which to summarize lets the user open a file containing 32 bit hashes, then search for one of them. The hash is then converted to its string representation. The application is giving the results I would expect but I'd like to make it execute faster than it does now; some files can be pretty big > 100 MB.
I'm doing the file read using a BackgroundWorker object to display progress updates and ensure that the UI is available during the process. But for that i need to add a System.Threading.Sleep(1) instruction in the loop; otherwise the application freezes with big files. And System.Threading.Sleep(1) creates a noticeable lag. Any suggestions on how to make searches fast without freezing the UI? Getting speeds comparable to hex editor programs for example.
View 3 Replies
Feb 23, 2011
I have been googling this and have not come along a working solution for an entire day. I don't know anything about binary data types (as I've never knowingly used them) and I'm trying to write a binary value that I see in the registry, to the registry. Now, all I see is the following [shown below]... and if I try to pass that as a string to the RegSetValueEx in the WinAPI and of course it errors out...
I do not know what 'numbers' I need to pass into the lpData As Any, argument of RegSetValueEx (i tried a bit array) in order for it to come out as the following [shown below] in the regedit. I really have no idea, and my tests to place random numbers in the bit array just produce corresponding random "figures" as visible in regedit that I do not understand how to 'tie' them together logically. here is the culprit!
[Code]...
View 2 Replies
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
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
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
May 23, 2010
Show me a site where there is good conversion available from vb.net to c#?
View 8 Replies
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
Dec 6, 2011
I have an image stored in the database as varbinary(max) When it's read out into a datatable, it's only being displayed as System.Byte[]. I've tried every trick in the book to get the binary in string format so I can write it back to the varbinary column in another database.
View 6 Replies
Dec 27, 2008
existing tool which converts VB.NET Code to Java.
View 1 Replies
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
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