Draw Borders Around Rtb?
Aug 3, 2009
I want to draw borders around rtb. I am using this code but it draws border at top and left side of rtb only and also I cant type anything i rtb after drawing border. Is there another way of doing this?
[code]...
View 3 Replies
ADVERTISEMENT
Jul 27, 2010
When trying to draw borders on an excel sheet from vb.net im getting an error on this line
oSheet.Cells(16, k).BorderAround(Excel.XlLineStyle.xlContinuous)
its giving me an error for "XlLineStyle" saying it cannot find it within "Excel"... if i use the auto complete its not there either ie.. oSheet.Cells(16, k).BorderAround(Excel. and there is no XlLineStyle in the dropdown for autocomplete....
i have the microsoft office and microsoft excel references added, and i do have values and such populationg into excel from vb.net ...so some of it is working.... do i need to somehow define XlLineStyle for vb?
View 1 Replies
Jan 7, 2010
is system.windows.controls namespace only for silverlight, or is there a vb version that i can already use?
or is writing our own border class the only way to add borders to controls? (borders with colors i mean)
View 9 Replies
Dec 8, 2009
Currently I'm working on a image based project. These are scanned forms like subscription based. The subscriber should fill his info. in to the grids (boxes) given in the form.
What i need to do is, just i want to remove those grids without affecting the handwritten info.
View 2 Replies
Jan 30, 2009
Having opened cmd.exe by using a process, how can I now open it without a Titlebar or borders?
hrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim p As New System.Diagnostics.ProcessStartInfo
p.FileName = "cmd"
proc.StartInfo = p
proc.Start()
End Sub
View 1 Replies
May 30, 2012
For my masterpage, I embedded an image on HTML DIV. Background image did appear, but with 4 white border-like surrounding my image, where I didn't apply any.
<head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder id="head" runat="server">
[Code].....
View 1 Replies
Mar 31, 2011
I have a MDI container form with menustrip, toolstrip and statusstrip on it. The backcolor of these items is black. The toolstrip and statusstrip show ugly white borders around them which I want to get rid of but there seems to be no such property like bordercolor or anything where I could change them.
View 1 Replies
May 5, 2010
I have a lot of forms that get placed in specific locations at run time. I need to disable relocating these forms, but I would like to keep the borders and titlebar.
I have tried jmc's codebank submission called "immobilise" but did not work for me, forms were still draggable (could be my mis_use, but no errors were thrown)If this isn't doable, is there a way to hide only the titlebar, but maintain the 3D blue borders all around?
View 8 Replies
Aug 19, 2011
how do i remove the pink borders from the text? see attachment
i set the form to have transparency with pink, then changed background on the label to pink, but it leaves pink around the letters
View 12 Replies
Apr 14, 2009
I have a form which has no window borders, but I still want to be able to resize the window? How might i achieve this? Even just a few options, like 'small' 'medium' and 'large' size would be fine if it cant be normally resized.
View 5 Replies
Apr 21, 2009
I have now a Drawing Custom Borders, Download by CodeProject and now i'm being use, but my problem is how can i apply with my changes of my customize borders...i've been changing in Runtime not in editor...
[Code]...
View 8 Replies
Aug 7, 2011
Aim to Achieve: To get rid of borders if any in the cells of range. I have :
[Code]...
View 2 Replies
Jun 5, 2010
I'm making a windows forms application, and I would like to know how to get a control to be on top of the titlebar/control box where the window title is displayed similar to the save icon on the Win7 Paint program or the tabs for Google Chrome.
View 1 Replies
Feb 16, 2011
I have a Form, that is a MDI Container.But the grey window where the Childform are in has a 2 pixel width border around it.
View 5 Replies
Dec 12, 2010
I'm trying to have Aero Glass look in my forms in VB.NET 2010 app with DWM API, but as function call suggests, it extends look of Frame to the client area, and if form has no border, nothing will happen and form will become invisible. So, can I get Aero glass in a form without any border.... ??
View 1 Replies
Aug 24, 2008
I've got a form with no borders, and I am wondering how a user would be able to move this form around. I would like it to be moved the same way a form would move by left-clicking and holding the top border. I know that's a little vague, so if you need any more info feel free to ask...
View 1 Replies
Apr 23, 2011
I have created a new project in visual basic and imported a photo in now i want to make the image move inside and I did that the problem is that the image keeps moving out the borders and disappear I want to make it stop how I should do that?
[Code]...
View 2 Replies
Nov 27, 2009
how to move a textbox or any control by selecting its borders like in ms publisher 2007 and creating an application like publisher
View 3 Replies
Apr 26, 2010
I need to get the DataGridView to perform the way it should perform. I'm new to the .NET environment, but I learn fairly quickly. However, I find it difficult to decipher themassive black box of the DataGridView control enough to make it do anything other than what it already does--Draw very slowly.
View 3 Replies
Jan 6, 2009
I have a windows application that I have created using Visual Basic 2005. I am a new user and have learned a few things, but quite an amateur! I need to printout a windows form but I do not want the form to have menu bars or borders printed. The windows form contains the data that I have updated using a Sequel Server 2005 DataBase. The form needs to be printed by clicking a Print Form Button on the form.Is this possible with VB 2005. i noticed a PowerPacks out there, but when I downloaded the tab does not appear on the VB 2005 Express Edition I am using.
View 1 Replies
Jun 14, 2011
I'm modifying an existing form in Visual Basic 2010 Express and attempting to work out some small kinks I've noticed. The one that I'm having an issue with is getting the form to completely fill the screen without the border going off screen. When I set the form's Size values at W:1024,H:768 the page always opens a little off. I tried setting the size a little smaller, W:1020,H:764, and it still does not perfectly fill the screen. Does the Size value include the border pixels or are the border pixels added to the form's Size value? Is there another value somewhere that could be affecting this?
View 5 Replies
Jan 27, 2011
I have been trying to discover how to make the contents of a form expand or retract in response to moving its borders by grabbing them with the mouse, or by use of the 'Maximise' or 'Restore Down' controls.The explanation in �Help� concerning TableLayoutPanel, Panel, Anchor and Auto size doesn�t help much, especially as it I can�t get it to work.
View 7 Replies
Oct 14, 2011
I have a form that uses a button to draw a line and a second button to draw a rectangle. I have a third button to clear the form but can't find a code example to code the Clear button.
View 4 Replies
May 26, 2012
I tried it every way I can think off, but nothing can stop it .
View 7 Replies
Dec 23, 2011
Have this code so that when a checkbox in a column of my datagridview is checked, then the corresponding cell in column 2 (of the same row the check box is in) will turn blue with font color white.
[code]...
I'd also like to add a line so that as well as the cell going blue, the bottom border of the cell disappears, so cellborderstyle = none.
View 4 Replies
May 8, 2009
I'm working on a visual studio 2008 VB.Net project (.net framework 2.0), and am having some trouble with the Panel control using a fixedsingle border. As a small example of the problem, suppose I have one Panel2 contained inside of Panel1. If the Left position of panel2 is set to 0 (meaning it's border is up against the left edge of Panel1), the left border will show as bold, and slightly indented.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form[code].....
What I'd like to see is just a single line, not bold or indented, where the two panels borders are equal.Is there a property or custom paint technique I could use to achieve this behavior?
View 3 Replies
Jul 2, 2009
I have to draw a bar graph in my vb.net program. I used AxMSChart to create a graph. Everything has gone fine but when i published this and run on Vista PC, all form was good except my form includes MSChart. It says class not registered.So i have to draw a graph except MSChart tool.
View 10 Replies
Oct 19, 2009
Alright, im trying to make a map editor for a game engine. I already have the whole form planned out but I just can't figure out on how to draw a grid. I dont mean a data grid. I mean like tiles. X and Y positions and stuff like that. I have looked all over the internet for tutorials. There are very few and most are out-dated. Can anyone help?
View 6 Replies
Aug 16, 2011
I have a VB app which draws primitive shapes (lines, filled rectangles etc.) into a picturebox control (from its paint event). I've since found out that a picturebox is probably the worst control to use for this. I've also found out that it's better to draw directly onto the form but I don't really want to do this as a control gives clipping for 'free'.
What would be the best control for this? The panel control looks like a good candidate but the experiment I tried actually performed worse
View 1 Replies
Feb 1, 2010
I'm creating a movable scenary with, like 100 different flights. I want to create for every type of flight a triangle...so it's moves around and you have an idea how the airspace looksq like at what moment.Now my question is, what's the best way to draw these rectangles? I created a class 'Flight' and it has a Graphicspath in it. Now I want to update the triangle, which represents the aircraft, with the speed and heading...so it moves around well.
View 3 Replies