Decoding File To Graphical Representation?
Aug 2, 2011I have a file from the client which is a text file. I have to decode the file to a graphical representation. Is there any way I can do it?
View 16 RepliesI have a file from the client which is a text file. I have to decode the file to a graphical representation. Is there any way I can do it?
View 16 RepliesI am totally new to the graphical representation of the data. I want to make a progress report of students, based on marks achieved each year.For example, in year 2005 marks were 750. in 2006 780 in 2007 800
View 15 RepliesI want program to do Graphical Representation of array Sorting in vb.net with bars/shapes.
View 1 RepliesI'm having problems decoding a file with "ISO-8859-1" encoding.For example, I can't decode "%E7" to "รง".
View 1 RepliesI'm getting the following error when decoding a creation date:A first chance exception of type 'System.ArgumentOutOfRangeException'occurred in mscorlib.dll Hour, Minute, and Second parameters describe an un-representable DateTime.
I'm doing pdfdate.decode(xdoc.info("creationdate"))
Here's the info from the PDF file:
/CreationDate (D:191010319150120)
/Producer (Acrobat Distiller Daemon 3.01 for Solaris 2.3 and later
(SPARC))
/Creator (tif_convert_2_ps())
/Title (/tardir/tiffs/a386689.tiff)
/ModDate (D:20010320070957)
The Modification date seems to be a valid date, but, the creation date looks kinda weird to me. More intriguing is that when I get the properties of this file using ADOBE Reader it shows a valid date for the creation date field.
I have a pretty stupid problem I've done a simple string encoding function but I'm having some trouble to decode it again
Encoding Function
Private Sub Encrypt(ByVal EncString As String, ByVal blnStatus As Boolean)
If blnStatus = True Then
[code]......
I'm having difficulty decoding text in a VB GridView. Currently I have the following code:[code]But the text in "view" mode is still HTML encoded while in "edit" mode they are decoded.How do I get it so it is decoded in both modes?
View 1 Repliessymbol is put into my code, it is meant to be decoded as a /And when I put a % symbol into my code, it is meant to be decoded as a :I am using regex to do thisHere is my code to decode the coded adress (no pun intended):
Dim info As IO.FileInfo
Try
Dim SelectedLstItem As String
[code].....
Is there an easy way to encode and decode xml file so that it can only be read with a program that knows how to decrypt it.Basically i want to encode xml file and have a program that reads it.here is the code that is reading it now. thnx to .paul i learned how to read xml the link to that topic is How to read and sort xml
Quote:
vb
Public Class Form1
Dim ds As New DataSet
[code]....
I am writing some rest calls to the LinkedIn API using web request and have hit an encoding issue.The LinkedIn API takes requires an encoded URI as one of the parameters on the lookup i am trying to run.
We are calling the api through .Net's WebRequest.Create; and when we pass in the URI it decodes it and as a result we can't get the data from the call. Im trying to open a URI like this[URL]..Is there a mechanism in the webrequest class to stop it decoding the passed in URI; or a work around for this?
I am using the method described in the following LINK and I am using the following code to encrypt:
'Page1.aspx
Protected Sub butEncrypt_Click(sender As Object, e As EventArgs) Handles butEncrypt.Click
Dim QueryString As String = "type=Int&pk=" & _primaryKey
QueryString = Tools.encryptQueryString(QueryString)
Response.Redirect(/SearchResults.aspx?Val=" & QueryString)
End Sub
and then finally de-encrypt:
[Code]...
I'm using some functions which can be compared to encoding/decoding, but it's a really simple and basic application, not really an encoding function.The problem is, the decoding function doesn't seem to work. For some reason, it doesn't work correctly, and I'm a bit stressed, so even after searching for a while, I can't seem to find it.[code]
View 2 RepliesI need to work with Decoding so that I can Increase/Modify a String Value from 32 entries to 75 entries, and to include the corresponding checkboxes also.
View 14 Repliesimplement the huffman decoding algorithm
View 1 Replies1.Converting a wav file to mp3
2.Create a mp3 player by use of a decoder for playing this mp3 file.
I want some help from the best audio programmer who can explain me the decoding logic used to play the mp3 file(Programatically) I am aware of the bit patterns and the data chunks of mp3.I have the knowledge of the data chunks used in mp3 and wav files .I have also used winmm.dll file earlier to ascend into and descend out of the data chunks of wave files.But don't know how the bits are played in a player.Now I need to convert the wav file into mp3 format by use of some encoder program.I came to know about some lame encoder program but am unable to get how to start understanding it's code.
is there an object representation of System that i can Extend upon such that the extended method becomes global.
<Runtime.CompilerServices.Extension()> Public sub globalprocedure(ByVal asystem As ?)
[URL]notice that the tag topic count for C# is in excess of 8900 while the vb.net tag topic count is sitting at 1019. Does this mean that there is a shift towards c# as a .net language of choice. the only reason I decided to build some applications for work using c# was that I like curly braces - after all vb has the same language support as c#, doesn't it so there should be no advantage to choosing one over the other; other than curly braces;)
View 7 RepliesIs it guaranteed that the numeric values for an Enum with only uninitialized values start at zero and increment by one in the order defined?
View 2 Replieswant to make my program look nicer , but i dont exactly know how should i make it's visual for example making a menu or else
View 2 RepliesI am trying to convert a string to a single. Ive tried csng() directcast() and single.parse. The first two methods crash. Single.parse says input string was in incorrect format. The number is 777.7932 so should convert fine. Ive tried it this way:
'x = single.parse(pts(0), globalization.NumberStyles.AllowDecimalPoint)
how can i convert a string representation of a single data type that is read from a text file into its single data type. I checked control panel and globalization settings are set to english.
What is the best way to write a GUI for C++?
View 1 Repliesi want the user interface to be kinda similar to the jQuery UI. This means themed buttons and windows(preferabely the ones form jQuery UI) Also, i'm looking for nice sliding and morphing windows.
View 3 RepliesHow do I access SqlCommand object graphically. I couldn't find SqlCommand tool in the ToolBox under Data group to drag it into my form
View 2 RepliesI am writing a app and I have a treeview. This treeview gets populated with parent and children. I also have a panel and a picturebox with a image in the picturebox. On top of the picturebox I and writing some Graphical objects.
See code
Dim theG As Graphics = Graphics.FromImage(PictureBox1.Image)
Dim ComputerName As String = ""
Dim UserName As String = ""
Dim NodeIP As String = ""
[Code] .....
When Afterselect on the treeview item this code runs. However when I select another child/node the code runs again whcih is great it write over the top on the previous text. What is the command or how do I clear/delete/remove the theG.drawStrings from the first AfterSelect from the treeview so the new drwstrings are clear.
Is there a fast way in VB.NET to take a 32-bit int and cast to a 32-bit float while preserving the underlying bit structure? BitConverter will do this, but I'd like to cast it directly without involving byte arrays.
View 1 RepliesI need some guidance on the codes on how to :
1) convert voltage level into graphical display,and
2) Voltage indication with moving needle .
[ Info : I've already input the codes to display the voltage in numeric, but not in graphical display ] =)
I want to get the date value for
Nov 1, 2010 00:00:00 GMT
expressed in my local time.What is the best way? Currently, I am doing this:
Dim NovGmt As Date = New Date(2010, 11, 1, 0, 0, 0)
Dim Nov1AsLocal As Date = GetGmtExpressedAsLocal(NovGmt)
Private Function GetGmtExpressedAsLocal(ByVal gmtDate As Date) As Date
[code].....
tell me difference between the Date and DateTime datatypes? Is DateTime newer than Date or is it just a synonym for Date? If the latter, why have both?
While testing some code i found something strange how vb.net (2005) is handling integer representation of true and false (or yes and no). Or at least i dont understand the reason for this.Im used to C or Java where 0 is false and everything else is true. To get to the point, here is the code: [code] And the out put is:X: 1 Y: 2x is truey is truex and y is false.If x and y or both individually true, why does it return false when you evaluate x And y.However, change the values of x and y to 4 and 5 you get this:X: 4 Y: 5x is truey is truex and y is trueJust another example, which seems to work how it should to me:X: 4 Y: 0x is truey is falsex and y is false.
View 7 RepliesI am working on this hangman project that has a graphical interface where the user has 2 options either guess the entire phrase or use a combo box to guess letters. I have the guess text box working but I can't for the life of me figure out why it is not working correctly with the combo box. The following is my entire code for the project. I have it setup to show me which phrase it randomly selected but when ever I pick a letter in that phrase it doesn't fill it in or anything. I'm thinking it is an issue with my loops.
I highlighted the section where the problem is occurring.
Public Class frmHang
Dim strWord(10) As String 'array of answer cchoices
Dim strAnswer As String 'the correct answer
[CODE]...
I want to make a hashtable of object references and I want a different object's reference to be the key. How can I do this in vb.net? In java (assuming I am using the default toString method and that add() takes a string as a key and an object ref as the value) this would be something like: hashtable.add(obj1.toString(), obj2)
I do not want to use a vb.net gethashcode() function because I want deep clones of objects to have different identifiers. A related question is what is the default toString in vb.net? How can I get a string that represents an object reference in vb.net?