VS 2008 Custom Borders In Forms

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


ADVERTISEMENT

Forms :: Borders Around Toolstrips On MDI Form?

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

Keep Borders, Prevent Relocation Of Forms?

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

Forms :: Remove Ugly MDI Container Borders?

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

Preferred Size Values For Forms While Taking Borders Into Account?

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

Forms :: Custom Dialogue Box In Vb 2008?

Mar 14, 2009

I would like to generate some custom dialog boxes that I can call from anywhere in my project.

The easiest example I can give is of a form that waits for two numbers to be entered then returns their sum. I want to call it like a function ie. sum = add_two_numbers( " Enter the numbers you want to add then click add)This is not what I actually want to do, that is far more complex, this just a simple way to explain what I want to do. If I can do this I can do what I really want.

Essentially I want forms that will accept some input, process it and return a string. A bit like an input inputbox, an openfiledialog box or a fontdialog box. I also need to pass strings to it.I can do it if I use a function declared in a module which calls the form and then returns the value once it is calculated but isn't there a simpler more elegant method?

View 10 Replies

VB 2008 - Image Keeps Moving Out The Borders And Disappear

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

VS 2008 Move A Control By Selecting Its Borders?

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

VS 2008 - Setting Properties Of Custom Controls In Windows Forms

Jul 8, 2009

I need to work with custom controls, I want to be able to set the properties of my controls so when I put them on my windows forms they will show up in the properties window thing.

View 3 Replies

Add Borders To Controls?

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

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

Get Rid Of Borders In Image?

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

Cmd.exe: Removing Titlebar And Borders?

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

ASP.NET Masterpage CSS Background Image Borders?

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

Draw Borders On An Excel Sheet?

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

Remove The Pink Borders From The Text?

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

Resize Form Without Window Borders?

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

Forms :: Create A Custom Event?

Nov 17, 2010

I'm pretty sure i'm not doing this right but i hope by asking this someone can show me the right path.I've created a function that creates a label and 7 checkboxes arrays . So depending how many names i get from my database, it creates that many for the label and the other checkboxes.

Now my function is inside a module which i call in my Class Form during "Load".

So what i want to do is be able to code in an event where the user checks on one of these

View 2 Replies

Make Custom Buttons For The Forms?

Dec 4, 2008

Is it possible to make custom buttons for the forms? I know i can add imaging to the button controls, but if is it possible to really customize the buttons so they look different, like designs instead of blocks?

View 3 Replies

Something Like Application Life That Allows Custom Forms To Be Used?

Jan 5, 2012

IM not looking for clink once. Do to its not customizable. What im looking for is something like App Life but that allows custom forms to be used. Or even a tutorial on how to run an update the program. Such as a patch if you will. Does any one know a free program that allows this?

View 3 Replies

Winforms - Custom Constructors For Forms In .net?

Nov 1, 2010

I would like to open a new form from some other form, and pass some selected object from a control on that form to the new form. The sensible way to do this, I thought, was as a parameter to the forms constructor. Now I know that the visual studio GUI creates partial classes for my forms, that hold the properties that I can drag onto there in the designer. I assume it also holds a default constructor. Since it might do all sorts of stuff that is needed to initialise the form, I figured I should call it from my custom constructor ala

public sub new(byval my_parameter as Foo)
Me.new()
Me.my_parameter = my_parameter

[code].....

That clearly wasn't it, because it can't find a default constructor. The thing is, visual studio goes trough great lengths to prevent me from seeing the generated constructor, so I know how to access it. This leads me to believe that I am actually doing it wrong, and should have set out on some different path, as the path you are forced in to usually is the sensible thing to do, which I usualy find out way too late.

View 3 Replies

.net - Remove Borders From Cells In A Range In Excel?

Aug 7, 2011

Aim to Achieve: To get rid of borders if any in the cells of range. I have :

[Code]...

View 2 Replies

Controls Overlapping Form Borders/title Bar?

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

Get Aero Glass On A Windows Form Without Borders?

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

Interface And Graphics :: Moving A Form Without Borders?

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

Custom Grid Control Using GDI + For Windows Forms?

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

Forms :: Custom Explorer With Webbrowser Control?

Dec 29, 2010

I am writing a program that will search the hard drive for particular files. Once it's done, I'd like the results to display like a folder. For example: If I looked for log files in c: and c:Windows, I would want to put those files in a 'virtual directory' and be able to manipulate them -- as you would in Windows Explorer.

The only thing I can think of that is similar is the search companion, but this software must be compatible with Windows 7.

I know it is possible to display a real folder (i.e. c:windows) in the webbrowser control, but can you have your own virtual directory and only view files that you want in it?

View 1 Replies

Forms :: Custom Ringtone In Alarm Clock?

Jan 10, 2010

This is my alarm clock , I want to publish to the public . So , I want it to be customise alarm clock. Everyone got their own favourite ringtone. So do I . How can I make my alarm clock ringtone to be custom ?

This is my alarm clock. I will give you the source code if you want

[URL]

View 4 Replies

Forms :: How To Make A Custom Loading Screen

Nov 26, 2009

So I am nearning completion of my 7th major project And I need the application to load files into ram when the application starts..Almost like a splash screen but with a loading bar.I have to load over 90 JPG's And I would like to have them in RAM so the application isn't so slow at first IE System.Load(My.Resources.JPG1) And LoadingBar1.Value += 10 Etc, etc.I have a Form I have created as a splash screen..I need it to load all the JPGs before starting the application..

View 6 Replies

Use A Custom Cursor In Program That Has 4 Forms And A Module

Sep 20, 2011

I've been trying to use a custom cursor in my program that has 4 forms and a module.

-Module-
Public Declare Unicode Function LoadCursorFromFile Lib "user32.dll" Alias "LoadCursorFromFileW" (ByVal filename As String) As IntPtr
Public MYDoc As String =

[Code]....

I used this thread to figure out how to do this:

[URL]

The custom cursor is indeed a cursor file (*.cur)

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved