VS 2008 Missing Numbers In A Binary Code
Jul 20, 2009
I'm reading three bytes from a byte array. They are supposed to be the "Binary code of the e-card no". (e-card is a electronic card used for storing different information). Well, it works fine sometimes, and sometimes not.
[Code]...
View 3 Replies
ADVERTISEMENT
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
Oct 2, 2009
I'm just curious to know if there's any way to build my app. from its binary code. I just saw the thread of creating a program builder and got curious.
View 1 Replies
Jan 29, 2010
I have created a form in Visual Basic with two buttons, a PictureBox and a TextBox. I made the first button to load an image from my hard disk and show it in the PictureBox.What i want to do now is to make the second button to convert this image to binary and show the string in the TextBoxHere's the code for the first button:
View 27 Replies
Dec 8, 2010
I'm looking to design a calculator that adds and subtracts binary numbers. I'm new to this program and stumbling on where to start?
View 6 Replies
Nov 5, 2010
I have some questions regarding vb.net bit shifting. I understand the << >> operators are bit shift operators in vb.net. I have a two byte hex value 0x3ACC, each bit in this two byte represents either a day, month or year. The bit structure of this hex value is yyyy yyym mmmd dddd. I am confused as to how I should bit shift these values so that year, month and day are in their own UINT16 values. Just want to know about shifting numbers and if I need to add any padding to the shift?
View 1 Replies
Jun 13, 2012
I've used .NET for a long time now but I have come across something I haven't had to do before and I'm struggling to work it out. What I need to do is work with binary numbers and convert them to decimals and vice versa but not necessarily using even numbers e.g. I would like to represent a number between 0 and 2047 which can be represented with 11 binary digits. Plus I want to represent a second number between 0 and 500000 which can be represented with 19 binary digits, and a third number, fourth etc. Then I want to string the whole binary results together and split it in to sections of lets say 5 bits each and convert those back to decimal.
[Code]...
View 6 Replies
Apr 28, 2011
I have a hw assignment and it asks this: program Description: Write a program that has four sub procedures that will calculate and print out a table of numbers 0 to 17 in decimal, hex, octal, and binary notation. Statements Required: output, loop control, subprogram
Sample Output: (you will design your own output but 4 adjacent label boxes would be suitable) [Code] What I want to know is how do I display my numbers from 1 to 17 as either Hex, Decimal, Octal or Binary. Also how would I display that on my form?
View 9 Replies
Jan 4, 2010
I need to document binary files containing integer and real numbers. I use BinaryReader, and BinaryWriter classes, with functions like ReadInt16, ReadSingle, or ReadByte. The files should be readable by any other hardware architecture/OS besides x86/Windows.
I need to document the type of default binary encoding, and can't find the MS documentation.The best I found says that it uses UTF8, but as I understand, UTF8 is for text formats, not for binary numbers.
I suposse that the answer I are looking for, is something like "little endian" or "big endian" format.
View 2 Replies
Jan 8, 2012
i want to know the code for an average of numbers from 1 to a number entered?
View 31 Replies
Jun 13, 2011
i m trying to write a program that displays in a textbox a table of the binary, octal, and hexadecimal equivalents of the decimal numbers in range 1-222.
View 3 Replies
Mar 12, 2010
I am developing an application that automatically checks player numbers in the Irish Lottery.
The code below checks each players 3 numbers against the six drawn numbers and reports on matching numbers and winnings. Each players information is stored in a specialised.string.collection in my.settings as shown below
Susan,3,18,26,2
Colin,4,16,28,1
The following checks the numbers but only the first item in the collection is being displayed in the multiine textbox.
Me.txtDrawInformation.Text = "Player results for " & drdate & vbCrLf & vbCrLf
Dim player As New ArrayList
For Each item In My.Settings.Wednesday
[CODE]..................
View 8 Replies
Jan 7, 2010
I'm currently working on a project I've just received that is asp.net + vb.I have to add a gridview in one part of the page, but it simply won't let me set the datasource
<%@ Page Language="VB" MasterPageFile="~/Common/Common.master" title=whatever" %>
<%@ Register TagPrefix="uct" TagName="SubmenuControl" Src="whatever.ascx" %>
[code].....
View 2 Replies
Oct 15, 2011
Dim N As String
N = InputBox(Combo1 & " search")
adodc1.recordset.find Combo1.List(Combo1.ListIndex " ' = ' " & N & " ' ")
[code].....
View 7 Replies
May 21, 2012
I have a problem with my vb.net program. Some parts of the code dissapeard but i still can run the program normaly. Even if i add a new button it doesnt appear.I have a button that uploads some files to mysql database but then i double click that button a new sub appears with nothing in it..
View 5 Replies
May 12, 2010
I come from ROBLOX. Anyway, whats wrong with with code, it's in a button.
ProgressBar1.Value = "100"
if ProgressBar1.Value = "100" then
Me.Close()
I do realize it's missing all of the Private Sub, and end class stuff... This is just the main body of code.
View 8 Replies
Dec 27, 2009
You have a form with 5 Textboxes and 1 button.
Write the code missing in Form1.Load so when the button is clicked, Textbox5 takes the value Done
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, _
[CODE]...
View 16 Replies
Sep 30, 2009
I am trying to use the xml comments suggested (with VB in a ASP.net project in Visual Studio 2008).I want to give examples of how to use a class, for example, so I write [code]This is readable in the code itself, but the resulting help information in the Object Browser is unusable.The summary, parameters and returns stuff is OK,but the example code is all as one block, with a single space instead of the line endings.I know that most XML treats all whitespaces the same (space, line ending, etc.) but since <code> is described as being for multi-line code blocks, I expected it to respect line endings and indentation.Ideally it would colour-code the code as visual studio does, but the least it should do is respect space (similar to the HTML <pre> tag).Otherwise how is it useful for multi-line code blocks?
View 1 Replies
Jun 29, 2010
I've tried to incorporate this code in my app and can't figure out what the missing link is? Lotsa experimenting and head scratching later, I'm coming here to the forum for help. The dialog opens and allows me to select the file saved earlier,except the file doesn't open. I can't figure out the missing code which goes at the comment "insert code to read stream here." The code:
[code]...
does it have something to do with StreamReader.IO ?
View 16 Replies
May 27, 2012
Decimal to binary code for program?[code]...
View 3 Replies
Mar 28, 2010
how can i add two excel sheets with numbers and the equal (similar)numbers to save once
View 1 Replies
Mar 13, 2010
Anyone knows where I can download binary search tree for VB.Net ? I'm working on a small project for my company and I'm thinking of using BST as a sorting tool.I used to do BST using C++ and I was using linked list. I'm not sure if that can be done in VB.Net but is there any other ways? any input and comments are welcome.
View 1 Replies
Jul 31, 2010
im interested on electronic and i working on my final project i not to experienced at VB so can anyone figuring this out i really need this , if there was any advance from this forum.
View 2 Replies
May 22, 2010
I need to know how to crypt that:
Const FileSplit = "@vorfin@"
Cause its appearing on HEX Source.
View 6 Replies
Oct 13, 2011
well in a database is saved a binary code (this is a *.jar) i need to download this code (with a select query) and Rebuild this file
What are the setps for convert since a String to a File?
someone told me i need convert it to array byte, but i dont know how to convert a String to a array byte... what are the best steps?
this code return me a table
Public Function ConseguirCatalogo() As DataTable
Return conn.RegresarTabla("select archivo from catalogo where id= (select id from periodos where actual=1)")
End Function
[Code]....
now what are the next setp for convert it finally to a file? ( it is a *.jar)
View 1 Replies
Feb 27, 2011
I was thinking of an efficient way to add quarantining abilities to my antivirus application. I was thinking, which way is better: to copy the file into a specified directory and change its extension to none ("*. "). Either that or maybe I can save the file's binary code in an XML database. Which way s better?However, I have no idea how I will recompile the binary code once the user wants restore the file.
View 2 Replies
Dec 25, 2009
Couldn't think of a better title.(Background on the problem/me)Okay, so, first question/post here, so hi. Now that that's done with, the information pertinent to my problem. I'm fairly new to VB (and programming as well, aside from screwing around with C++ and learning assembler(well, attempting is the better word) god knows how many years ago), and have only seriously been programming for about under half a year, and my skill level is about at that stage. Only been using VB.Net, nothing older. Depending on the time of day and if I'm home or at school, I fluxuate between VB express and Vis Studio 08. Umm, this program I'm having trouble with was on a test that I took yesterday (took the problem home with me cause I really wanted to figure out what was wrong with it).
The stipulations of the test were:
No For->Each Loops
No using Built-In Sorting or Searching Functions
[code].....
View 4 Replies
May 31, 2011
I'm running Visual Studio 2010 on a terminal server, and have been, with relatively few problems, for some time. This morning I fired up my PC and over the UK's long weekend, the following issue seems to have developed.I've got a bunch of projects (but not all of my projects, and not all of the projects in a given solution) complaining that a particular file (which does not exist on the computer) cannot be opened, and so those projects will not compile anymore. Here's the error:
Error 31 Unable to open module file'C:Users[username]AppDataLocalTemp2.NETFramework,Version=v4.0.AssemblyAttributes.vb':
System Error &H80070003&
I could simply copy the file into that directory and be done with it, I'm pretty sure that will work,EDIT: Okay, now things have gotten to a whole new level of weird. I've rebooted the server, I get the same error message, only now the file it is asking for exists and can be opened in Visual Studio with no problems. another part of the IDE still insists that it's unable to open the module file.
EDIT 2: Can't delete the file because it claims to be open in another program, but I've logged off and logged on again, and there shouldn't be anything accessing it.
EDIT 3: Because there's a wall of comments below his answer, I'll mention here that Jared's suggestion to delete the SUO file for the solutions having the problem (not files specifically to do with any of the problem projects, strangely) was what solved this, eventually.
View 2 Replies
Jul 2, 2010
after that, I try to add crystal report 2008 component to VB.net .By right click on toolbox choose items and checked crystal report viewerIt doesn't seem works, there is no crystal report 2008 component on toolbox
View 17 Replies
Jan 20, 2011
I am getting the missing operator error with this, could you help.
Dim s As String
If ListBox1.SelectedIndex >= 0 Then
s = " WHERE SalesRep = '" & ListBox1.SelectedItem.ToString & "'"
End If
If ListBox2.SelectedIndex >= 0 Then
[Code]...
View 5 Replies