C# - Recommendations For A Hex Viewer Control For Windows.Forms?
Mar 25, 2010
I need ability to display content in Hex View, like this from WinHex
Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F
00000000 EF BB BF 0D 0A 4D 69 63 72 6F 73 6F 66 74 20 56 ..Microsoft V
00000010 69 73 75 61 6C 20 53 74 75 64 69 6F 20 53 6F 6C isual Studio Sol
[code]....
View 3 Replies
ADVERTISEMENT
Mar 29, 2009
I try to add a "Microsoft Office Document Imaging Viewer Control 12.0" control to a form and i'm getting the next exeption: An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I have try to register the next files which throws an exeption when I try to do it:
[Code]...
View 4 Replies
Apr 3, 2011
What would you recommend as an easy-to-use animated .gif control?
View 2 Replies
Sep 8, 2010
I have the code which checks if there is a selected tab
Private Function GetBrowser() As WebBrowser
If TabControl1.SelectedTab IsNot Nothing Then
For Each c As Control In TabControl1.SelectedTab.Controls
If TypeOf (c) Is WebBrowser Then
Return c
[Code]...
View 2 Replies
Nov 10, 2011
I have a maximized form that has controls at the top of it and a large DataGridView that is docked below all the controls. Its kind of like the Ribbon in MS Office. The controls cover about 1/4 of the screen at the top. I would like a way for the user to click a button to hide all the controls then automatically expand into the place the controls were so the user can view more data in the DataGridView and visa versa. For example, in MS Office Excel you can hide the ribbon by clicking a tiny button that has "^" on it.
I'm not very familiar with all the controls in Visual Studio so I would like to hear some recommendations. Is this situation ideal for a SplitContainer or ToolStripContainer or am I way off base here?
View 8 Replies
May 16, 2011
Where in VS2010 can I find a horizontal separator control, as can be found in Outlook settings (screenshots below)?[URL]..
View 3 Replies
Jun 30, 2011
Whatever project I'm making, I always encounter a problem with a Windows Forms Timer control, I guess I just make a little mistake somewhere... So I thought I'd post it here and hopefully someone here can explain what I'm doing wrong.
[Code]....
View 3 Replies
Jan 3, 2011
is it possible to add images to listbox control of windows forms..
if I do it anyhow using items.add method one item at a time then how to add items valuemember to items ..
View 6 Replies
Nov 4, 2009
I have to design a custom "log grid" control to use in another of my projects.Up front, I am new to vb.net 2008. I have used VB6 for years and I am trying to learn how to resove the differences as I go. But I need help.
This log grid contains 96 columns and 4 rows.I tried using the TableLayoutPanel and a Panel per cell but found the control to slow to paint. That's 384 discreet controls.I am now trying a usercontrol with a panel and GDI+ to create the grid. I've created a collection for the columns and a collection for the rows. So far so good. My mouse clicks raise the correct events per cell.
I now need to indicate which column the mouse is over. This is the problem. The column must be highlighted by a vertical bar from the top of the column to the bottom. It must also be transparent. I need to see the gridlines under the highlight. I've tried using region using the following code. (myRegion is declared Private MyRegion as Region at module level for persistance)
[Code]...
View 4 Replies
Mar 16, 2009
I can't get this to work get a funny icon in the top left corner of the are where the user control is suppose to appear, here is my html markup.[code]
View 4 Replies
Oct 18, 2010
I have several pictureboxes in my form with names as "stop0", "stop1", "stop2" ... upto a the number of checked items in my checklistbox. My aim is to use a for-next function so that the program should use for all these pictureboxes a specific image. here is the code I made so far:
Dim a As String = selectedbutton.Replace(" ", "_") & "_"
Dim c As String = ""
For n = 0 To chklstStops.CheckedItems.Count
[Code]......
View 6 Replies
Jul 19, 2011
I have a main form that contains a vertical SplitContainer.Inside the SplitContainer's left panel, I have a TreeView control.Inside the SplitContainer's right panel, I have another SplitContainer (this one horizontal). This container is fixed, with headings above the split and a Panel control below it.I dynamically load my own user controls into the Panel control whenever the tree view changes.
Most of the user controls that are dynamically loaded have a DataGridView that should receive focus when the control is initialized. Sometimes this grid is on the UserControl surface directly; sometimes it's in a GroupBox; etc.What is the best way to programmatically set focus on the DataGridView control, given that it may placed within a variable number of control containers? I've tried the obvious - .Select, .Focus, .ActiveControl, etc. None of these seem to work - the TreeView item that I selected is still highlighted, and even though a record is selected in the DataGridView, it doesn't have focus.
Here's the code where I add the user control within the main form:
Private Sub LoadRightPanel(ByVal section As String, ByVal moduleName As String)
Heading.Text = String.Empty
SuspendLayout()
RightPanel.Controls.Clear()
[code]....
View 1 Replies
Oct 23, 2009
I've been working for several days on a GUI where a lot of individual data elements need to be displayed side-by-side and wrap to the next line when they overflow; the goal is to not have to explicitly design an individual 'row' element with a set number of elements for this purpose. The FlowLayoutPanel seems great, except...
I need to be able to determine how many elements are on each line (dividing the width of the control by a predetermined value indicating width of child controls does not work); I need to be able to determine how many elements will be on each line (I may need to put 4 elements on line 1, then auto-wrap, then 8 elements on line 2, then auto-wrap, then as many elements as can fit on line 3 before autowrap, then 16 elements on line 4, etc); and finally I'd really like to put a 'line header' at the left margin and a 'line footer' at the right margin, where for example the line header contains a line number and the line footer contains the number of elements on that line.
View 6 Replies
Apr 15, 2010
In my project i added a User Control so that i can reuse in different Windows forms.I designed and coded the UserControl1 according to my need and now i want to use it in Form2 but i cant understand how to do it?
View 2 Replies
Jul 11, 2009
The leave event fires twice in this example. Tab order for the form controls is set to combobox1, button1, button3 Private Sub ComboBox1_Leave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.Leave
[Code]...
if I enter 'A' in the combobox1 then combobox1 leave event will fire twice any other entry is Ok since the next control to get focus is button2 (in the normal tab order).It seems that if I try to skip the next control (based on the tab order set for the form), the leave event fires twice.
View 2 Replies
Apr 14, 2012
I can't seem to find a way to use the IE9 rendering engine in the WebBrowser control, instead of the IE7 rendering engine, using Visual Studio 2010 and Windows Forms.
View 2 Replies
Mar 8, 2010
I am trying to read values from textbox controls and combobox controls on a form. Reading the values from textbox controls is working fine but I cannot read from the 3 combo boxes. Here is some simplified code of what I am trying to do.
[Code]....
View 5 Replies
Dec 9, 2009
I got an error that i cant convert string to System.Windows.Forms.Control and i was wondering how could i do it this is the code that contains error:
If ResultRichTextBox.Contains("Text") Then
View 2 Replies
Nov 24, 2010
I have a program that I am creating in a windows form to track information about computers that I build for each project I do. The way I have my form layout is two buttons on the top of the form(1 for adding a computer and the 2nd to remove a computer) I then have a Tab window where when I want to add a computer I use the "Add button" click event to create a new tab and add a user control "Computer" that I created that contains all of the default fields that I desire (i.e. serial numbers os type, product key etc.) The "Computer" user control also contains two buttons (1 for adding a PC Card and the 2nd to remove a PC Card) The PC Card is another user control that I have created that has all of the desired fields I require for PC Cards. I am able to add new computers with no problem and name the tab
Dim b As New Computer
Dim x As String = Me.TabEquip.TabCount - 2
Dim tab As New TabPage("Computer" + x)
[code].....
View 2 Replies
Jul 15, 2009
I am using Visual Basic Express 2005. I am opening the startup form of my application in "Maximized" view. In the form designer, I am setting the anchor properties of the various controls that I have on the form so that they are located where I want them to be located when the Form loads.
I was wondering, if there was a way such that the form in my designer would be of the same size as the Maximized form? As of now I am dragging and resizing the edges of the Form in the Designer view to make it bigger..
View 7 Replies
Jun 25, 2009
In C# Windows Forms, a user control's InitializeComponent is called from the form's/control's constructor. When I create same scenario in VB.NET I don't get a constructor, and I can't locate a place where InitializeComponent is called.I need to call my code between InitializeComponent and when the control's Load event is raised, preferably still in the control's constructor. How do I do this in VB.NET?
View 2 Replies
Nov 26, 2009
XP WEBBROWSER-CONTROL: brings up PDF embedded in webbrowser control, as desired.XP IE7: Behaves the same if you manually navigate to URL, as desired.VISTA WEBBROWSER-CONTROL: brings up PDF by separately launching Acrobat, won't embed in webbrowser control. Not desired.Vista IE7: embeds PDF properly if you navigate to same URL, as desired.I am using Acrobat 9, where there is a preference setting under Internet to bring up PDF embedded in browser -- works fine directly in IE7, but not in webbrowser control.
View 2 Replies
Jun 6, 2010
I am upgrading my application from vb6 to vb.net.I used to populate my data in datalist control in vb6 forms. I am not finding it in vb.net windows form application. Which one control is the equivalent to it?
How can i list my data in that control?
just like: I had a table with data like id, name
I want the name should be the displayed column and id the bound column? how can i do that
View 1 Replies
Jul 27, 2009
I am designing a simple user interface using winforms. In the designer I have a panel on the form and would like to add a datagridview control into the panel at runtime and set the dock property of the datagridview to 'Fill' so that it fills the panel.
I am struggling to do this and following code is not working out for me:
Dim MyDataGridview as New DataGridView()
MyDataGridView.Dock = DockStyle.Fill
Me.MyPanel.Controls.Add(MyDataGridview)
I don't get an error but the datagridview isn't visible. It gets added 'behind' the panel and so I tried using .SendToBack() and .BringToFront() methods thinking that the panel was hiding the datagridview but this doesn't seem to work either. At any rate, it seems like the datagridview is being added to the form but just not docked within the panel
View 4 Replies
Sep 9, 2005
disabling the context menu for webbrowser control in Windows forms using c#.
View 2 Replies
Nov 29, 2011
I'm not sure that I'm doing the right thing here..I'm writing a user control that's supposed to be (fairly) generic. It's a bit like a modified email client specifically tailored to some of the internal things we do.
The view is composed of two main pieces, a message list and a viewer. I need this viewer to be interchangeable, so if someone wants a different style of view they can simply handle an event and change a property. My original idea was to just have an INoteViewer, but since I'm adding it to my form I also need to guarantee that this object is a Windows.Forms.Control of some sort.
Should I continue along these lines and maybe raise an ArgumentException if I can't cast it to INoteViewer, or should I go a different direction and create a class that inherits from Windows.Forms.Control?
View 2 Replies
Apr 2, 2012
I'm showing an excel file in a WebBrowser control on my form, but it doesn't show any toolbars. The customers wants the ability to make changes in the control and save them, hence the need to show the standard toolbars.
I've tried many different things including:
For Each cb As CommandBar In xlApp.CommandBars
cb.Visible = True
Next
'and
[Code]....
how I can get toolbars to show in the WebBrowser control?
View 1 Replies
Feb 6, 2010
I came accross the code below in a book. I prefer displaying my data in Winforms instead of the Console which the boook uses but I have little understanding of console codes and how to convert them to Winforms.[code]....
View 14 Replies
May 9, 2012
If you are interested, I am doing this because I do not like having to drag and drop my browser etc. I just right click the URL in Chrome and select (Play on My TV) a customized dropdown item, at which point my Player finds the TV, opens the URL, maximizes itself and plays the content
View 4 Replies
Nov 14, 2011
I've search the net in order to create a custom control but nothing I find is worth looking at, The main thing I want to do is create a skinengin via DLL and import it in my vb 2010 then using or creating some sort of skin builder where I can create a full setting file which contains all the details of the customization regarding the Form(Look, Feel and the controls such as a menu), I have used Iriskin and multiple apps doing this for me and when a user installs my application they still recieve a message about buying the registered DLL file, I would like to create it completely from scratch.
View 2 Replies