Click here to Skip to main content
15,887,214 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: framework too big to download over internet Pin
Vinay9222-Jun-04 18:00
Vinay9222-Jun-04 18:00 
GeneralRe: framework too big to download over internet Pin
Gavin Jeffrey22-Jun-04 20:44
Gavin Jeffrey22-Jun-04 20:44 
GeneralRe: framework too big to download over internet Pin
Steven Campbell23-Jun-04 8:43
Steven Campbell23-Jun-04 8:43 
GeneralStack size Pin
Emilio Guijarro22-Jun-04 6:21
Emilio Guijarro22-Jun-04 6:21 
QuestionChannels.Tcp namespace does not exist? Pin
fayth21-Jun-04 22:29
fayth21-Jun-04 22:29 
QuestionQuestion: How valuable would this be, and should I publish it on CP? Pin
Philip Laureano21-Jun-04 17:15
Philip Laureano21-Jun-04 17:15 
GeneralByte data display... Pin
Ray Cassick21-Jun-04 10:24
Ray Cassick21-Jun-04 10:24 
GeneralRe: Byte data display... Pin
Ray Cassick24-Jun-04 16:37
Ray Cassick24-Jun-04 16:37 
Ok, since no one else has answered here I figured that I would post the solution that I found to my own problem.

It turns out that there is already a control available to do this right inside the standard runtime framework itself called the ByteViewer.

It lives in System.ComponentModel.Design

Why it is not available in the tool box I have no idea, but here is how you can use it.

Friend ByteViewer As System.ComponentModel.Design.ByteViewer

<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
  Me.ByteViewer = New System.ComponentModel.Design.ByteViewer
  Me.SuspendLayout()
  '
  'ByteViewer
  '
  Me.ByteViewer.Dock = System.Windows.Forms.DockStyle.Fill
  Me.ByteViewer.Font = New System.Drawing.Font("Courier New", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
  Me.ByteViewer.Location = New System.Drawing.Point(0, 0)
  Me.ByteViewer.Name = "ByteViewer"
  Me.ByteViewer.Size = New System.Drawing.Size(634, 287)
  Me.ByteViewer.SetDisplayMode(DisplayMode.Auto)
  Me.ByteViewer.TabIndex = 0
  '
  'frmViewRaw
  '
  Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
  Me.ClientSize = New System.Drawing.Size(634, 287)
  Me.Controls.Add(Me.ByteViewer)
  Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
  Me.MaximizeBox = False
  Me.MinimizeBox = False
  Me.Name = "frmViewRaw"
  Me.Text = "frmViewRaw"
  Me.ResumeLayout(False)

End Sub

This creates a nice ByteView control that allows you to view any array of byte oriented data you can throw at it.

The SetDisplayMode lets you change views between Ansi, Unicode, Hexdump or Auto.

A lovely little tidbit I wanted to make sure you all knew about.


Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.


GeneralWEBSERVICE: System.InvalidOperationException: ExecuteReader: Connection property has not been initialized Pin
antonimasso21-Jun-04 5:04
antonimasso21-Jun-04 5:04 
GeneralCommunication with a Unix box Pin
eif21-Jun-04 0:24
eif21-Jun-04 0:24 
QuestionTab key and Enter key to move from cell to cell? Pin
mkennedy7720-Jun-04 12:34
mkennedy7720-Jun-04 12:34 
AnswerRe: Tab key and Enter key to move from cell to cell? Pin
Mike Ellison22-Jun-04 5:57
Mike Ellison22-Jun-04 5:57 
Generalquestion about re-signing an assemby Pin
Stanimir_Stoyanov20-Jun-04 6:33
Stanimir_Stoyanov20-Jun-04 6:33 
GeneralRe: question about re-signing an assemby Pin
Serge Lobko-Lobanovsky21-Jun-04 1:21
Serge Lobko-Lobanovsky21-Jun-04 1:21 
GeneralRe: question about re-signing an assemby Pin
Stanimir_Stoyanov27-Jun-04 9:05
Stanimir_Stoyanov27-Jun-04 9:05 
Generaldeployment setup Pin
SherKar20-Jun-04 5:15
SherKar20-Jun-04 5:15 
Generalproblem with class IPAddress Pin
Marco M.20-Jun-04 0:57
Marco M.20-Jun-04 0:57 
QuestionWhat's the prospect of MMC in Microsoft .NET plan? Pin
zzzhouzhou19-Jun-04 7:16
zzzhouzhou19-Jun-04 7:16 
Generalcheck uot this addin ! http://www.flowruler.com/vs2003/ Pin
Bruno Capuano18-Jun-04 12:13
Bruno Capuano18-Jun-04 12:13 
GeneralRe: check uot this addin ! http://www.flowruler.com/vs2003/ Pin
Kandjar18-Jun-04 12:26
Kandjar18-Jun-04 12:26 
GeneralRe: check uot this addin ! http://www.flowruler.com/vs2003/ Pin
Anonymous20-Jun-04 7:10
Anonymous20-Jun-04 7:10 
GeneralComponent development: how to delete collection items when component is deleted from form Pin
CrazyMonkey5818-Jun-04 11:27
CrazyMonkey5818-Jun-04 11:27 
Generalxml encoding problem on Pocket PC Pin
rcasamayor18-Jun-04 2:28
rcasamayor18-Jun-04 2:28 
GeneralRe: xml encoding problem on Pocket PC Pin
Colin Angus Mackay18-Jun-04 11:45
Colin Angus Mackay18-Jun-04 11:45 
GeneralGetting statistic from CLR Pin
GlavWratch200418-Jun-04 1:39
GlavWratch200418-Jun-04 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.