IDE :: Can't See Any Option To Choose Line Highlighting [VB 2010]?
Jun 23, 2009
In VS 2010 CTP I read about two new features: line highlighting and zooming. Zooming works perfect, but I can't see any option to choose line highlighting. I thought it'd appear in Beta 1, however there's no this feature either. Will this future work?
I working in a tool based in various excel VBA forms. In these forms are a lot of combo boxes, and when I select an intem inside this combo box I cannot select the same item again. So I need to close the form or chosse another item to be able to select the same item. how can I re-select again a same intem inside a combo box?
I have a solution with multiple projects (vb.net) , with some projects I have the optino to choose between the configuration: and in other projects I don't have that option. (I've had the option before). Has anyone an idea to show the option again. I can change it in project file (with notepad) but that's not userfriendly.
I have two textboxes. Each textbox contains lines, where each line contains comma separated values. When each line of a textbox does not match the number of comma separated values of the other textbox (ie if line 3 of textbox1 has 4 comma separated words and line 3 of textbox2 does not have 4 comma separated values) I want to highlight the line which does not match the other textbox's line.
This is what I got so far (and got stuck!)
For k = 0 To index test1 = testA.Lines(k).Split(",") test2 = testB.Lines(k).Split(",")
I have two DataGridView controls on different forms. One is bound and one is non-bound. I am not sure if it is my imagination but I find that properties behave different based on the bound or non-bound. When I compare the properties I do not see any that are different except the data binding properties. On the non-bound DataGridView, the whole line is always highlited, I cannot figure out how to turn it off. Trying to make the grid behave more like an excel grid.
I am currently working on a family project which is based on "Who Wants To Be A Millionaire?" show. There is a huge diffrence between the show and my project. My project is a christmas edition and the goal is not to get money or something, since I will not add it... Erhmm... Let me get to the point. I have already designed a layout and scripted some things. I have about thirty questions but I do not want them to always spawn in the same array, if you know what I mean. I want the program to randomly choose one of those thirty questions and NEVER choose the same question in the same program run. By the way, there are four options on my project: A, B, C and D. I have got everything, I just need a code.
Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged Dim words As List(Of String) = New List(Of String)(New String() {"select", "insert", "delete", "truncate", _ "from", "where", "into", "inner", "update", "outer", "on", "is", "declare", "set", "use", "values", "as", _
[code]....
The only problem is that if I type one of the key words, the word highlights, but if i type a word with one of the key words within it, part of it gets highlights as well.Example:
For a Vb.net 2008 desktop application that I was just assigned to work on a new workstation, i am getting only the following compile messages:Warning 1 Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'
Error 20 The command "C:racEnroll.app1inDebug\Enroll.app1.exe Debug" exited with code 1. Enroll.ALtot.I know the two lines are related since I have not signed the total application. The file in the 'AssemblyKeyFile' is no longer needed for this application since it is not used. Thus, can you tell me what I can do so the assembly key file is not used? If best, what can I do to get this application tio compile with no errors?
I'm trying to make a program that will open a first-run form when the program is run for the first time. I'm planning on just using a setting in My.Settings.VariableName to keep track of the boolean value. My problem is that I cannot figure out how to choose what Form to open.
My first instict would be to use a Sub Main() as my program instance, and then choose and open forms from there, but I can't find a way of doing it. and Many a post suggest not doing it.
Second I tried using ApplicationEvents Myapplication_Startup, but this makes the form pop up before my splash screen, and doesn't stop my main form from showing.
I once saw in an app a control that allowed the user to choose when they wanted the Timer running. It looked something like this: And when the squares are green, for example Tuesday 3:15 AM - 4:15 AM, the timer would run during that time period. I'm curious as to what control will allow me to do something similar?
I have version VisualBasic.2010 Express Edition , but this version Does not have the choose Microsoft SQL Server (SqlClient) when open vb.net choose : add new data source and choose database and add connection Does not have the choose Microsoft SQL Server (SqlClient)
2. Promotion system randomly choose a name (with numbers and letters - at least 5) Then the program will show me a link to a file after uploading (for example: [URL] in TextBox2.text)
I have a picture in my picturebox. In that picture, I need to draw a straight line between two points and calculate the length of that line (probably in pixels). Is there any suggestion how to do it?
I have a text file with an unknown number of lines. I want to read this file line by line and send each line's text in a check list box. But how am i gonna do that when i don't know how many lines exist in text the file? [code]The code above reads only the first line. I tried to do it as in vb6 using while not eof(but here i don't know what to write cause my file isn't opened in a certain channel).
the following code was to be entered to read each line of the file "line by line" It did not work for me as instructed and I am trying to understand why?
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim FILE_NAME As String = "C:UsersOwnerDocuments est.txt" Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim TextLine As String
I want to modify a text file. It has a lot of lines of text in it. I want to add a line after a specific line (in the middle on other lines) and write strings there.
The code i have, writes to a specific line but it also overwrites the text on that line:
I really like the coding speed that vb.net provides, but I don't like the possibility to forget to declare variable types, return types of functions, etc. and that is why in each class I use[code]..
Is there a way to define those two options on the project/solution level?
the combo box style 1 has both the drop down option but also a manual entry option. I need to know how to code it so that when you manually enter data, it takes that data and places it in a text message "The shipping charges for "data" is $15" displaying in a text box. Shouldn't be hard but have developed a mind block.
After un installing visual basic 2010 express Beta 2 release i installed visual basic 2010 express final release and could not find he target CPU option in the compile tab of project properties. how could i now resolve the issue of "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine" ie by forcing the application to run as x86 application??
I want to release an application I made. The only problem is, IT WILL NOT RELEASE. I was told to use the configuration manager BUT another problem. This option is disabled!
I've seen that there are several options out there for being able to send email from within a Visual Basic program, but I've seen much less written about how to use the program to receive emails. What I'd like to do is set up a dedicated email account (probably g-mail or Yahoo or something similar, although it could be through the email package that comes with my web hosting) that I'd use to send short text commands to the program from my laptop or smart phone. Periodically the program would download new emails (if any), and parse the body to see what I'm telling it to do. Something like, "cmd a" tells it to e-mail me Report A, "cmd b" tells it to e-mail me Report B, etc.
I been reading about the windows services in the msdn but I get lost quick because I'm not sure what it is that I actually need. I'm only using the standard version. Any pointers on how I can give a user the option to install my executable as a service so that it can run when no one is logged in.
what does these two code means in vb.net: Option Explicit on Option strict on i think option explicit means the compiler is not going to do any kind of conversion and i need to do all of them by the code;also it becomes case sensitive i.e;
I brought up a new project in Visual Studio 2010 and found that there are no gridlines on the form. I went to Tools, Options, Windows Form Designer, General and found the Show Gridlines option set to True. I tried turning it to false and back to true with no change.