Click here to Skip to main content
15,914,273 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech32-Nov-17 12:25
ledtech32-Nov-17 12:25 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
Richard Deeming3-Nov-17 3:00
mveRichard Deeming3-Nov-17 3:00 
GeneralRe: Asc(string character) returns wrong value chinese win10 machine Pin
ledtech33-Nov-17 4:51
ledtech33-Nov-17 4:51 
QuestionPrinting assorted files Pin
Member 1325084725-Oct-17 3:07
Member 1325084725-Oct-17 3:07 
AnswerRe: Printing assorted files Pin
Richard Deeming25-Oct-17 3:39
mveRichard Deeming25-Oct-17 3:39 
QuestionLinq RemoveRange, or a better idea Pin
jkirkerx24-Oct-17 7:44
professionaljkirkerx24-Oct-17 7:44 
AnswerRe: Linq RemoveRange, or a better idea Pin
jkirkerx24-Oct-17 7:51
professionaljkirkerx24-Oct-17 7:51 
AnswerRe: Linq RemoveRange, or a better idea Pin
Richard Deeming24-Oct-17 9:52
mveRichard Deeming24-Oct-17 9:52 
GeneralRe: Linq RemoveRange, or a better idea Pin
jkirkerx25-Oct-17 11:36
professionaljkirkerx25-Oct-17 11:36 
QuestionVB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx16-Oct-17 13:15
professionaljkirkerx16-Oct-17 13:15 
AnswerRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
Richard Deeming17-Oct-17 2:08
mveRichard Deeming17-Oct-17 2:08 
GeneralRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx17-Oct-17 6:28
professionaljkirkerx17-Oct-17 6:28 
AnswerRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
Eddy Vluggen17-Oct-17 2:09
professionalEddy Vluggen17-Oct-17 2:09 
GeneralRe: VB Linq, got 1 duplicate in a GroupBy Call Pin
jkirkerx17-Oct-17 6:24
professionaljkirkerx17-Oct-17 6:24 
QuestionReading complex JSON objects with Newtonsoft Pin
A_Griffin15-Oct-17 1:32
A_Griffin15-Oct-17 1:32 
AnswerRe: Reading complex JSON objects with Newtonsoft Pin
A_Griffin16-Oct-17 23:36
A_Griffin16-Oct-17 23:36 
QuestionCompletely disabling Scrolling in a DataGridView Pin
Peter R. Fletcher14-Oct-17 10:57
Peter R. Fletcher14-Oct-17 10:57 
In my current (Windows Forms Application) project, I have a form which includes a number of DataGridViews, which are used to display tabular data for the user to look at and edit. The data sets are of known, fixed, size, and the DGVs are designed to allow the data sets to fit neatly within them. The ability to scroll the view (in any direction) is neither wanted nor needed.

I have disabled the scroll bars and set AllowUserToAddRows to false, but navigating down with the arrow keys still causes a blank row to appear at the bottom and the top row of data to disappear; arrowing all the way up reverses this. One odd aspect of this is that the scrolling up happens when you arrow down from the last but one to the last real row. If you use the mouse to select a cell in the last row and then try to arrow down, nothing happens.

There is what appears to be a fair amount of discussion of this problem in various places, but the solution generally given is to disable the scroll bars and set AllowUserToAddRows to false, which doesn't seem to work for me. I have also tried capturing the Scroll Event and repositioning the Selected Cell to the top of the DGV within it, which sort of works, but this has other unwanted side-effects. Has anyone else run into this problem and/or come up with a good solution?
AnswerRe: Completely disabling Scrolling in a DataGridView - SOLVED Pin
Peter R. Fletcher16-Oct-17 11:29
Peter R. Fletcher16-Oct-17 11:29 
QuestionHow do I change XML-driven menu strip's font? Vb.net Pin
Member 1338609314-Oct-17 4:18
Member 1338609314-Oct-17 4:18 
AnswerRe: How do I change XML-driven menu strip's font? Vb.net Pin
Richard MacCutchan14-Oct-17 6:48
mveRichard MacCutchan14-Oct-17 6:48 
QuestionChange the format Pin
Felix Holzinger7-Oct-17 11:51
Felix Holzinger7-Oct-17 11:51 
AnswerRe: Change the format Pin
Richard MacCutchan10-Oct-17 21:04
mveRichard MacCutchan10-Oct-17 21:04 
Questionsoftwares for agriculture irrigation with the help of visual basic Pin
Member 134513307-Oct-17 4:49
Member 134513307-Oct-17 4:49 
AnswerRe: softwares for agriculture irrigation with the help of visual basic Pin
OriginalGriff7-Oct-17 4:50
mveOriginalGriff7-Oct-17 4:50 
AnswerRe: softwares for agriculture irrigation with the help of visual basic Pin
Mycroft Holmes7-Oct-17 15:15
professionalMycroft Holmes7-Oct-17 15:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.