Answer Questions
Uncle Sam Datagridview "HideSelection"
I'm using an unbound datagridview to display information, and I need to color-code certain cells to alert the user to status events. Is there a way to not have the selected row highlighted when the control does not have focus (similar to the VB6 .HideSelection property) Did that do what you wanted it to do, or did you find another solution I'd be interested in the other solution if you have one . There ...Show All
puromtec Why doesn't this declaration work in my forms
Why doesn't this declaration work in my forms Imports microsoft.VisualBasic Imports System.Data Imports System.Data.OleDb Imports System.IO Public Class ClassPrimary Friend s As String = ControlChars.CrLf Shared Sub main() Application.Run(New frmStartup) End Sub End Class When I type s in a form it is said to be undeclared. dennist ...Show All
omer khan sahab text formating
Hi, i would like to ask whether can i format the text in textbox in such a way that whenever there is a bullet, it will display it in a newline. the textbox data is retrieve from a database in the same column. i am sorry. i am very new in vb.net. so may i know how to check whether it is in the RTF format or not i have tried to use the codes but it doesn't work as well. is it my programing code got problem actually i could not ...Show All
Paul Scheremet strange bracket problem
Hi, I've been finding that randomly, after building my project, the editor will start inserting brackets as I type. For example: I type "a" - it changes to "a()" I type "try" - it changes to "t(r)y" I type "ng.Save" - "n(g).s(a)ve" I've disabled Edit and Continue, but still have the problem. The only way to get round it is to restart visual studio. I've had the problem on two computers, ...Show All
chall3ng3r SQL Database table field default value and dataset's datatable
I have designed a table in SQL Server 2000 which has a field with a default value expression of 'getdate()', how can I carry that default value expression when i fill the schema of a dataset So everytime I add a datarow inside the datatable in that dataset, i get the current date and time. thanks. Hi, Just set your dataColumn's DefaultValue property to the current date. eg: ' After filling your datatable with an adapter Dim dc as Dat ...Show All
Ken Burch Button text reset
hi there, i have set of 80 buttons located inside a tab control and another button call btnReset inside the same form, how can i write code and use looping to reset this set of button's text to number from 1 to 80. i have try with the code below and successfully done it if the buttons is not inside a tab control. however, if i put these buttons into a tab control, it does not work, can anyone please help...thank you Private Sub b ...Show All
PascalLeBeta Including data files in "Click Once" deployment
Hi all, I have an application that uses one of 9 different data files dependending on the application requirements at any given time. How do I include these files in the deployment file in the correct directory so the program can find them. Thanks Dick I'm not that familiar with Mage. Maybe someone else can jump in... I think the error is referring to references... so if your application has a refe ...Show All
Igal Chariski Publish two projects referenced together
Hello, I have VB.Net 2005 Pro. I built One solution contains two projects Pro1 and Pro2. Pro2 Is a reference in Pro1, Now If I wanna publish Pro2 there is no problem, but If I wanna publish Pro1 the problem comes in this message Could not find the file "Microsoft.Windows.CommonLanguageRunTime, Version = 2.0.50727.0" How Can I publish My Sol !! I know this way but I cann't apply this in my case because EXE2 is total ...Show All
roy92014 Questions?
HELLO! I AM NITESH MENON AND I HAVE SOME QUESTIONS. I HAVE BEEN USING VB FOR 3 DAYS AND NEED HELP. QUESTION 1- When using a web browser is there a way to go back to the previous page in VB (like back in internet explorer) QUESTION 2- When using a web browser is there a way to go back to the next page in VB (like forward in internet explorer) QUESTION 3- How can I display another form other than the main one. QUESTION 4- How do ...Show All
Dmitry Spitsyn How to get a string between 2 arguments.
im searching a textbox for a string using 2 arguments. i will be getting more then one of each. the arguments are [ and ]. for example: the quick brown [fox] jumps over the lazy [dog]. i want to be able to get [fox] and [dog] using the arguments. i do not want to use arrays because it will be to slow. so my output will be [fox] and then it will be [dog]. i searched the net for something like this but nothing helped. thanks. ...Show All
Nasir_khan_persistent Compare two text files
Thanks for taking the time to read this. My problem is below. I have two directories with music in them. one on my C: the other on a removable drive. I use dir > list.txt to output a list of the contents of both folders. I want to build a program that will compare the two text files and show me what is in the C: and not in the H: i have the GUI developed and some basic code, however, i am undersure how to do the actual comparision. Any help w ...Show All
Kevin Byrne Microsoft Visual Basic 2005 Express - New Project dialog is empty!?
Look at this screenshot: http://hjem.get2net.dk/dondata/Empty.gif I have allready tried to Repair the installation, and allso completely uninstalled VB and the installed it again, but the dialog is still empty. What is happening here Alright, none of my sources are positive, but I now know where the TreeView position is stored (although the person who told me was highly doubtful that this is really the p ...Show All
Angel1241 VB EE 2005 Reading/writing text box content to a text file?
Hi coders How do you capture the content of a text box filled in by the user to a text file, appending new content and opening that file into the text box each time the application opens and showing the last entry first Thanks in advance...newtWales You have everything you need in the System.IO namespace. And there are many tutorials avalible on this subject. All you have to do is search for them ;) Many thanks for the http l ...Show All
Anthony Constantinou Dynamic file manipulation
I have a problem I need to try to solve. Here is the sequence of events I need to accomplish. 1. Pull in listing of every file name in a selected directory 2. They are .zip files so I need to then iterate through each file filtered by the first two letters in the filename, unzip it and retrieve the text file that is in the archive. 3. I have to then open the file and import the data into an SQL table then close the file, the zip file ...Show All
ricky-1979 DataGridView edit causes Form.Show() to crash
Hi all, I have an MDI called "Question Centre" with a docked ToolStrip that controls the navigation between the sub-forms within it. One of these forms has an editable DataGridView on it. I experience an "Out of Memory Exception" if I am currently in "Edit Mode" of the DataGridView when I click the ToolStrip to swap to another form. The exception is explicitly throw on the form.Show() event in the ToolStrip ...Show All
