Make A Line A Rem One?
Feb 24, 2012I am translating a C program to VB and try to exclude some lines by using the single quote char. see the example below
Module Module1
Sub Main()
#ifndef __PROCESS_H__
[code].....
I am translating a C program to VB and try to exclude some lines by using the single quote char. see the example below
Module Module1
Sub Main()
#ifndef __PROCESS_H__
[code].....
how to make line graph in vb.net? I have a textbox that if i put data the graph will move. I attach sample form of what I need to do...
View 3 RepliesCommand line programs like ffmpeg.exe accept a parameter like so: c:> ffmpeg.exe -i img%03d.png img.gif This will grab all these images in the directory and use them inside the program:
[Code]....
Is there a clever way to implement this in my VB.net command line project, or do I have to parse the argument for the %0?
I want to make a command line program BUT I really want to have a call function. I have tried this:
[Code]....
I want to make a line chart for my program.I will be sending values through serial COM and i would like to present these values to a line chart. So the chart is going to be 'live' and refreshing every few seconds.Could you provide any tutorial cause i dont know where to begin.
View 11 RepliesHow can you make streamreader to split a line into two and place it on two different places of the form and how can you use streamwriter to delete/alter file contents.
View 4 RepliesHow can I make text in a message box appear on the next line for example: I need to know how to make text in a message box appear on the next line
View 2 RepliesIn button1 Keyup I want to be able to make textbox1 skip a line.How would i do this. I tryed
Private Sub button1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles button1.KeyUp
If e.KeyCode = Keys.Enter Then
textbox1.text = vbnewline
End If
End Sub
I would also want to know how to make it when I push the button2 it will undo the letter I just did
Private Sub button2_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles button2.KeyUp
If e.KeyCode = Keys.Back Then
textbox1.undo 'this will just undo the whole text I just did
End If
End Sub
I have whole list of code. If i press button1 then happens.
[----------CODE HERE----------]
[--------ANOTHER LINE---------]
[--------ANOTHER LINE---------]
[code]....
Where is the Line Control??I want to make a simple line on the form..
View 10 Replieswhat i need to do is open a txt file, read line by line, decode each line into an array and display. Now all works ok apart from one line.
sTextLine = objReader.ReadLine() <-- Value of string cannot be converted.
full code here
-------------
Dim objReader As New System.IO.StreamReader(sOpenFile.Text)
Dim sTextLine As New ArrayList()
Dim sText As String = ""
Dim i As Integer = 0
[code]....
I have a GUI VB application, and a seperate command line module. How can i run the command line module through the gui app, without binding / installing?
View 5 RepliesI've never had to work with them before, and I think I've got everything down except one big thing: I'm setting it up so that different settings have different values depending on what file is being read. I need to know how to tell vb to take a specific item in an array and make the setting equal to it. I know how to make it read the file and add each new line into the array, just need to make sure I'll have to correct method to get the item in the array to match up the setting.
View 3 RepliesI have a textbox and I only want people to be able to type in the word "ALL" and the numbers 1-6. How do I go about that? I got the number part but do I have to make a separate line for each letter in the alphabet that isn't "A" or "L"?
Private Sub monthTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles monthTextBox.KeyPress
'If (e.KeyChar <= "1" OrElse e.KeyChar <= "6") Then _
'AndAlso e.KeyChar = "ALL" Then
'e.Handled = True
[Code] .....
I need to link a image button to a pop up page with a multiline textbox for input. When the user clicks the notes image a popup page will appear with a multiline text box that allows users to enter notes. There needs to be a save button that will update the notes field in tblinventorycomponentitems if user entered text and a cancel button for if the user changes their mind. The notes image button is located in account_ customerinventory components_edit.aspx in a dataGrid with an id of "GroupDataGrid".
View 1 RepliesIs it possible to make the scrollbars in my webbrowser a thin black line which moves up and down, instead of the usual ones?So its just a black line (maybe 3pt thick) which is OVER the content, on the right hand side. So as you scroll the black line changes size like a normal scrollbar, but it isn't separated from the content, its actually over the top of it.Sort of like the scrollbars on an iPhone if you've seen them.
View 3 RepliesI have this do while loop that I am having trouble with. I need to know how to make the loop continue to the next line after it has looped around once. So far I have it outputting like this.
$*$*$*$*$*$*$*$*
But what I really need it to do is output like this
$*$*$*$*$*$*$*$*
*$*$*$*$*$*$*$*$
$*$*$*$*$*$*$*$*
*$*$*$*$*$*$*$*$
$*$*$*$*$*$*$*$*
*$*$*$*$*$*$*$*$
$*$*$*$*$*$*$*$*
*$*$*$*$*$*$*$*$
I would like to know a simple method to create a simple line graph, with a grid and X and Y values... I tried just drawing in a picturebox but that was just annoying and not clear... Is there any simple way to create a little graph with prefixed values on X and Y (graph should just be lines drawns from different Y values, with always the same change of X)
View 4 RepliesI have a multicolum listview. When I click once, just to select a item, the whole line doesn't get that blue coloer behind it. Just the text in the first colum. How can I make the whole line be selected?
View 3 RepliesUsually I code C# in VS10, but I have to code a small program in VB.NET in VS10.And I am used to selecting something with code-assist with Enter, but now in VB Enter also make a new line, witch is very annoying because I can't help doing that all the time. How can i turn this off/on so it's like when I code C#? I have looked, but could not find anything.
View 1 RepliesThis may be a common problem but I'm struggling to find a solution that will fix it
I have a modal popup I am displaying with jQuery, this popup contains a list of Checkboxes and a Button, the code looks like:
<div id="dialog" title="Notify Users" >
<div style="width:100%; height:500px; overflow:auto;">
<asp:CheckBoxList ID="chkNotify"
[Code].....
I have tried moving the CheckBoxList to just inside the form tag so that no other styles can be applied and nothing should affect it however I still get the same issue.
Does anyone know how I can setup visual studio to use the enter key to complete intellisense, but without moving the cursor to the next line? I use multiple other IDE's that work in this fashion, and VS is really throwing off my rythym with this.
View 4 Repliesi am trying to make a console app that basically makes a big X between pipes, but with a fixed line on the bottom where you can freely move a <#> with the arrow keys i did the giant x but i have no clue how to make the fixed line and i cannot find any information about it. i tried using the Console.write() but that only gives move a line that i cant use. Il paste the code i have to far.
[Code]...
I use this cod but it not moving the text contnusly Private sub Timer1............ Label1.text = " " & Label1.text
View 1 RepliesI would like to know how to read from text file that have a line with string A and ignore lines with string B.
View 7 RepliesIs there any way to make the AppendAllText so that it startes a new line before it adds the text?
View 4 Repliesi need to make a code that ,if a radio button is check,the size of a groupbox will change to 200,58 i have this for now: GroupBox1.Size =i only need to know how to make that line of code work
View 2 Replies1 I have a list box that has url's in em now some of this sites I'm intrested in reading news so what I want is this
When I click button i want my program to check urls that I have inb my list box and if the website has word News I want that to show up in my program by eather 1. display News found in my url list box next to the url that has word news on site or 2. if it finds news for my progy to refresh the page and only leave me resaults that have words news on it's website so basicly it has to read 1 word from site if it finds that word I want it showing next to url or I want it for it to auto refresh my list box and only live me resaults that have words news in it
I'd like to know what the code is to make a picture box not able to cross a lineshape.
View 3 Replieshow to read text from a listbox line by line and put current line in a label?
View 3 Replies