Way That You Can Make Lines Thicker In VB
Nov 16, 2011Palette.DrawLine(Pens.Black, 140, 90, 140, 90)
I was wondering if there is anything you can do to this to make it thicker than it already is.
Palette.DrawLine(Pens.Black, 140, 90, 140, 90)
I was wondering if there is anything you can do to this to make it thicker than it already is.
How to make Textbox1 to have lines:Demo:Like notepad++ have lines..
Open .txt file
1. Hi
2. How are you
3. I'm Ok
1,2,3 are the lines that is autoshowing how much have text if text have 20 words to have 1,2,3,4,5....20 how it will be done?
I have a number of lines of text on an .aspx page that I want a user to be able to edit, I am not storing this text/information anywhere in the database. I just want it to be information that is displayed to the user but can be editable, so the user can view the text and if there is a mistake or want to make a change they can do this by editing it.
I have seen that if you display data in a label and put a textbox beside it then, the textbox can move into the place of the label - I have done this for other text on the page however that method would not fit for this purpose because I require this edit of text to be for a number of lines.
How do I make a pause between code lines? See code below. This just prints the word "Hello", I was hoping to put a delay between the letters to make it look more real. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click
SendKeys.Send("%{tab}") SendKeys.Send("H") SendKeys.Send("e") SendKeys.Send("l") SendKeys.Send("l") SendKeys.Send("o")
End Sub
i have a trackbar that has 5 little lines and i want them to do different things
View 5 RepliesHow can a text box control be programmatically made to scroll down and show the new lines appended at the bottom?
When data is appended to a multiline text box control, it always displays the first lines at the top, and the user has to scroll to the bottom to see the latest. When more data is appended, the control zooms right back to the top.
The vertical scroll is enabled, and so is multiline.
I have to make a lot of retangular boxes to make my program neat but i'm having a problem of adding boxes. I tried using the draw event in the tab page but everytime i scroll it will draw the lines again and messes up everything. Also when making a line greater that the tab page, autoscroll won't work.
Is there a way to make lines or boxes in design time?
I am currently using Visual Basic 2008 Express Edition.I want to make a program that will draw 700 random lines on it initially. I tried my code but the lines only appear in the same way such as straight line and diagonal line. Here's my code:
Public Class Form1
Private Sub Form1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
[Code].....
I am trying to find information on code to make the lines of a jpg file that have been loaded into a VB.NET WebBrowser control into selectable objects.
I have no idea what to search for or the correct terminology.
This is very similar to using the line tool in word or excel, after you draw a line you are able to select it.
My picture box is in a panel. How to prevent lines created using graphics tool from getting erase when moving the picture box around? Sometimes when I minimize my form, the lines goes missing also.. How do I make the lines stay on the picture box?
Example shown below in a gif...
i am newbie in constructing layouts in crystal report.i have details section in left side of the page
Subject A |_______|________|________ | Subject B |_______|_________________| Subject C |_______|________|________ | Subject D |_______|_________________| Subject E |_______|____Total__|________ |
there can be different number of rows at the left side,meaning it depends on output of the query.And heres the problem, i need to make another table at the right side. how to make a table at the right side or draw lines without affecting details section? this is just purely table without fields on it.
I'm doing a web application in which the user must make a series of figures such as rectangles, text boxes and lines, Is something like like google docs draw
View 2 Replieshow 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.
I have written a simple script to get a bunch of lines from a text file (they will be filenames eventually) which are split by new lines and puts each one into an array..
Dim ary() As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If My.Computer.FileSystem.FileExists("C:MenuFiles.txt") Then
[code]....
The only thing I can do for now is either use the substring function to remove the first character from all array values after 0 but I don't like that because it's messy and what if the split "works" as I want it to one one of the lines and knocks of the first character when I don't want it to.
below are a few lines from my text file(10929 lines)I need to read each line and insert into MS Access. each line is a column in my table and the record changes on every 8th line or to be more specific(on every 8th line you will see a number [1,2,3,4,5,6,7,8,9.....] this is where another record starts,
[Code]...
I have a list box on the form which functions as a copy/paste. When you copy something, it is automatically added to the list box as a "clipboard helper". Here is the problem,however: if the text is more than 1 line, the list box does not show all the text.It ends up looking messy.So getting back to my question, is it possible to make the list box item height for an item depending on the amount of lines that item contains?This is a one line sentence in the list box and should take up one line.This is a multi line sentence in the list box and should take up two lines for item height.
View 11 RepliesI want to draw string in multiple lines and and I want to know how many lines given string will take. I am using following method.
[Code]...
I am trying to make a script to spit command lines to a bat file to compress a bunch of files singly and then delete the original ones. I am sure that is easy to most of you, but I living a ____ trying to do this. A have a file list like this one belo, which was created with a command -- Dir /b /s /a-D N: > filelist.txt
[Code]...
read lines in a file, split the lines and spit the result to another file
View 2 RepliesI have a text file containing lines of data (File 1). I need to delete all the lines in another text file (File 2), which are found in file 1.So I could read file 2 line by line. And then once the line has been read, read file 1 line by line to search for a match. But that's going to be painfully slow.Or I could read file 2 into memory. And then read file 1 line by line and REPLACE the lines in file 2 with nothing, therefore deleting them. File 2 could be 100 mb, so I'm not sure about reading it all into memory.
View 16 RepliesHow to make RichTexBox when open a file to show the lines .To be like Notepad++ when open a file shows lines: Image:
Like .txt file thise sentences:
Hello!
How are you?
I'm Ok, Thanks for asking.
and when i start the program and open the file in richtextbox to show the lines of sentences . Like thise:
1. Hello!
2. How are you?
3. I'm ok, Thanks for asking.
How to be done? Because i'm using search button that show the word on what line is it.. so i need the lines people to know what line to search
[Code]....
I want to add some text beside the text which contain "T" I have the same value below the line DETECT,ON but i just want to add text to the lines between FMAT,2 and DETECT,ON. Can i use indexOf methode to get the lines between FMAT,2 and DETECT,ON
I'm wondering how this can be converted to VB.NET.
[code]...
i have this line:
Dim strings_extreme = input.Split(","c).Distinct().OrderBy(Function(s) s)
i need to Dim it in one line, and set it a value on another line how do i do that?would it just be Dim strings_extreme() ? and then strings_extreme = input.split.... ?
Once again my math fails me, as I can't remember how to do this.
If I have two Lines, line1 and line2, and they both have the same X1 and Y1 properties, but different X2 and Y2 properties, how can I get the angle that is created between these lines.[code]...
This is my GUI[url]...
So the line which should contain daniweb.com, it should appear on other textbox.
I have been trying to figure out how to run command lines through my VB form, such as:
-Shutdown
-Start
-Echo
Just random things, and I can't figure it out. Can someone explain to me how it works?
I have a label where i want to write a paragraph about something. how can I make it roll over onto a new line? and not be on a one huge line?
View 3 RepliesI want to loop through lines in txt file and i want to assign each line for value of textboxs example :
[Code]...
I add .txt file into my resource.and i need to read all the lines.how can i do that
i know that if i need to read all lines from a .txt file i write System.IO.File.ReadAllLines
but i can't do this to my resource file