VS 2008 : Create Lines In A .NET Form?
Apr 11, 2010
create lines in a VB .NET form? I can't see any correspondent control .I have used the Visual Basic Power Packs 3 , but there are two problems :- I can not select simultaneously both the lines and the labels .- When �sending to back� the labels , I can�t pick them again .Is there any other way to create some lines on the form ?
View 13 Replies
ADVERTISEMENT
Apr 5, 2010
I need to draw lines, in one VB form. Like paint, I need the tool brush, and design some lines and curves in a Vb form. How can I do this? I don't know where to start.
View 3 Replies
Sep 3, 2009
how to count the lines in textbox1.text (with multiplelines). I don't need to count each character. I only need to count each line from top to bottom in textbox1.text (multiplelines) and I will use Label1 to display the numbers.
example:
1-pauljaones
2-tommyperrry
3-marktoms
4-Jonessmith
5-paulwhite
Obviously this is 5 lines and that's what I need to count.
View 12 Replies
Apr 9, 2011
Is there a way to make an array from all the lines within a file?
For instance, value 1 of array is line 1 of file, etc.
I found a way on Google, but for some reason if a line says something like: http://domain.com/file/file.exe
It will cut off the line to something like: http://domain.com/file/fi
View 2 Replies
Apr 8, 2010
i need to create word document with 3 lines like this include 1 picture
Name1 Name2 Name3
here Picture Department
position1 position2 position3
the picture in 100*100 size i need to show in the word document 50*50
View 10 Replies
Mar 15, 2009
I've been pondering upon my idea on how to create/update a text file using each item in a listbox as lines, but I fail each time. I've searched this forum as well as my friend, Google. Still nothing.
View 3 Replies
Mar 2, 2010
i am trying to create a login form using visual basic 2008 and i cannot get the coding to work there is only one section that is wrong, I am getting an error code saying : "value of type login_form.projectdatabase.logindetailsrow cannot be converted to string"i no for a fact that everything in the database is set as a text and is a string here is the code i will highlight the areas the code is underlined
Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click
Dim Username As String
Dim Password As String
Dim LookupUsername As String
[code]....
View 6 Replies
Apr 21, 2009
After I'm creating a form, how to add a new button or WebBrowser to the new form? Using the
Dim form2 As New Form
Dim webrowser1 As New WebBrowser
View 5 Replies
Nov 19, 2009
I need to read a text file with 100 data points across different parameters and use VB to select two variables to compare on a line graph.
1) How do I read a text file into a form?
2) How do I create a graph with the proper labels?
3) How do I choose the x and y axes when given several data sets to analyze?
View 2 Replies
Mar 19, 2009
In Visual basic is it possible to create an object out of the form e.g a picture that moves (windows dacer, Virtual sheep even Virtual girl (lol) )
View 6 Replies
Nov 1, 2011
I'm using Vb2008.I found this code to create forms in vb.net but I don't know how to use it .[code]
View 3 Replies
May 6, 2012
I know how to use the default buttons item, but is there any way to achieve the style of multiline buttons (or maybe rather, "clickable text"?) like shown below?
The situation is that I have an interface for the user to select what kind of file he wishes to establish, and there has to be a brief description under the larger, main line of text.
I'm only planning to run this on Windows 7, so I don't need to worry about backwards compatibility with older versions of Windows
View 1 Replies
Dec 3, 2011
I'm new in development in vb.net IDE, and I need your advises on how to create multi form in one screen like a project properties screen in VB2008 IDE, thus when you you go to Menu Project -> Project Properties... you can see that screen is divided into two panes the left one for options to choose and the right one for configuration and preferences.
I need to know how to achive this and how to create similar to that thus if you choose any button from left the form content changes at right (ok is this single form and all controls were set to invisible /visible or is it muliform programming.
I have another question : how can I change the Left pane with Treeview control and choose my option from there.
View 4 Replies
Jul 16, 2008
I am new with VB. I got now the Visual Studio 2008. I newer used it before.I need the following:I need a login form, which is using an MS Access 2003 database, in which I stored usernames and passwords.
The DB name is users.mdb and is stored on the C drive. It contains just 1 table, the name of the table is UserList. In the table I have 3 colums, first is ID, second is Username, the third is Password. It contains
just 4 datas, in the username the first entry is John, the second is Mary, in the password column the passwords are john and mary.
[Code]...
View 6 Replies
Jun 29, 2009
I was wondering if there is any way to create a FolderBrowserDialog IN the form, not a pop-up dialog.I was looking around and I found that I can do this by the extension provider.I can inherit the FolderBrowserDialog since it's not a control.[code]
View 5 Replies
May 1, 2010
I want to create a form with size91024*1600).when i give value (greater than screen size) these size values form automatically set values the maximum size of screen.So when i work my laptop it size is very small.because i want to attach many component in a form.(with form scroll bar).
View 1 Replies
May 13, 2010
I am currently creating an application which monitors any errors that occur in the other applications I have developed.One thing that I want to try and do is add a sort of discussion thread into the form, so this allows for each member of IT to add comments/notes about the error that occurred.Normally I would just use a DataGridView or a ListView, but I would like to have the capability for the comments/notes to be multi-lined so that the user can see what has been written without having to scroll sideways.
View 7 Replies
Jun 1, 2009
I am working on doing a Copy and Paste in Excell. I need a way for the user to input the range for coping form the first sheet. So I created two text box. But now I can not figure out how to combine the text box values as to create the range. Here is what I am woking with.
Private Sub BUILD_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BUILD.Click
Dim moApp1 As Object
[Code]....
View 2 Replies
Jul 7, 2011
I created several Reports in Visual studio. and now I would like to create a form with buttons that open the reports. I have been searching for the code to open a report but cannot find anything useful.
Do I have to add al the Report projects to my ReportForm project or...?
View 2 Replies
Jul 24, 2009
Is it possible to create a code that when a button is clicked it Print Screens part of the form (For example, location 3,4 to location 30,40) and then saves the image?
View 3 Replies
Mar 16, 2010
I have need for a customised form as the main page of my app, what I'm looking for is to create an amoebic shaped form, something like this. I realize that my 'window' will by nature need to be rectangular and that i will need it to have no titlebar and transparent edges, also i will need to have 'regions' on this form that will allow the form to be closed and turned into a standard rectangular form. I have no idea where to begin with doing this but I hope and presume it is possible with vb.net. The image I have used is for illustrative purposes only, i don't plan to do exactly this (my app is a database not a media player for one thing) If having it is a breach of copyright in this context I will remove it.
View 39 Replies
Sep 17, 2010
Is it possible to create and view an Excel 2007 line chart in a form in VB 2008?My VB program has a listview control in details view like a spreadsheet. Currently I have this data exported into a csv file which I copy into an xlsx file where I have created a few line charts based on the data.
View 3 Replies
Jun 20, 2012
i want to "draw" zebra lines in my form [code] ican import background image, but I prefer code :)
View 1 Replies
Apr 15, 2010
I am drawing lines on a picturebox - not in the paint event. I realise that if I resize the PictureBox the lines won't be redrawn - but the PictureBox is fixed. If I display a MessageBox at the end of my draws the lines do not remain on the screen. This was OK with VB 6.0. Hoe can I stop them being erased?
View 2 Replies
Feb 15, 2006
The image editor toolbar is not active. I would like to draw lines and shapes on a form.
View 1 Replies
Nov 19, 2011
I have made a drawing program. It draws a line when you click in the form, but if the form is minimized or another window is on top of it, the lines disappear partially.
Here is the
Dim FormMiddleX As Integer
Dim FormMiddleY As Integer
[Code]....
View 16 Replies
Feb 4, 2012
I am trying to scroll lines of text on a Form.
ie:
I add via (addString plus fill Path to give Outline Text) for say eight lines of text (which fill the screen with margins set at top and bottom) from a DatagridView control but there are say ten lines to that section, so I want to use the down arrow to scroll the lines up the screen, so the top two go off the top of the screen(hiden by margin boxes) and the last two added at the bottom. I have this all working but there is a lot of flickering, how can I do this more smoothly? I think it is the Form.refresh that causes the flickering, I have tried ResetText, Invalidate and Graphic.Clear, but none seem to make it smooth.
Sections of code:
'Adds line
For A = LineStart To LineSelEnd + 1
strItem = DataGridView1.Item(1, A - 1).Value
Dim useFont As Font = New Font(SongFont, CInt(SongSizeP), SongStyle)
[Code]....
View 2 Replies
Aug 14, 2009
How do you create custom chrome for a windows form in vb.net using Visual Basic 2008 express? I want to basically scrap what they give and start fresh.
View 1 Replies
Jun 22, 2009
I need to create a form with radio buttons, text boxes, labels, etc.. This information needs to be pulled from a database. For instance, I have a form that displays information that needs to be inputed to a database, based on what test is being done for a specific product. Each product requires different tests. So each product may or may not have the same information that needs to be inputed..
What I have done is made a database and filled a table with each product and what tests apply. I then call that database after the product has been selected for the tests. It will then fill an array for that products information for what texts boxes and labels need to be shown. I wanna take this further and have it create a form through code and align all the controls to specific spots so that it will look nice. For example I wouldn't wanna create a control and have it be cut out of the form, or have other controls overlapping others.
[Code]...
View 19 Replies
Sep 13, 2009
how to create a specific area to drag my form (ie: image, label). I found some code that works, however you can click anywhere and have it drag...
Const WM_NCHITTEST As Integer = &H84
Const HTCLIENT As Integer = &H1
Const HTCAPTION As Integer = &H2
[code]....
View 4 Replies