Click here to Skip to main content
15,886,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Open CVS file in text Pin
MaulikDusara26-Jun-13 8:55
MaulikDusara26-Jun-13 8:55 
QuestionClick a main thread button from a background thread Pin
treddie24-Jun-13 20:41
treddie24-Jun-13 20:41 
AnswerRe: Click a main thread button from a background thread Pin
Bernhard Hiller24-Jun-13 22:21
Bernhard Hiller24-Jun-13 22:21 
GeneralRe: Click a main thread button from a background thread Pin
treddie24-Jun-13 23:24
treddie24-Jun-13 23:24 
AnswerRe: Click a main thread button from a background thread Pin
GuyThiebaut24-Jun-13 22:43
professionalGuyThiebaut24-Jun-13 22:43 
GeneralRe: Click a main thread button from a background thread Pin
treddie24-Jun-13 23:47
treddie24-Jun-13 23:47 
GeneralRe: Click a main thread button from a background thread Pin
treddie25-Jun-13 19:40
treddie25-Jun-13 19:40 
QuestionVB6 DataGrid Bookmark Error Pin
Member 981947024-Jun-13 10:27
Member 981947024-Jun-13 10:27 
When I scroll down a DataGrid, then select a row in the DataGrid, then rebind the DataGrid, the DataGrid displays the rows starting with the very first row, DataGrid.Row = 0.

How do I reposition the DataGrid to display the row that was last selected?

The DataGrid is bound to a Command in the DataEnvironment.

I have tried the following code in the DataGrid.SelChange event, using the BookMarks property, where lastRow is declared as a Variant:

DataGrid1.Col = 0
lastRow = DataGrid1.Text
i = DataGrid1.Row
DataGrid1.Bookmark(i) = lastRow

When I run the code I get an error on the last line: "Run-time error '13': Type mismatch"

Any ideas? Thanks.
AnswerRe: VB6 DataGrid Bookmark Error Pin
Eddy Vluggen25-Jun-13 9:59
professionalEddy Vluggen25-Jun-13 9:59 
AnswerHow to detect UTF-8-based encoded strings Pin
diegosendra24-Jun-13 9:33
diegosendra24-Jun-13 9:33 
SuggestionRe: How to detect UTF-8-based encoded strings Pin
Richard Deeming24-Jun-13 9:51
mveRichard Deeming24-Jun-13 9:51 
GeneralRe: How to detect UTF-8-based encoded strings Pin
diegosendra24-Jun-13 10:30
diegosendra24-Jun-13 10:30 
GeneralRe: How to detect UTF-8-based encoded strings Pin
Roy Heil24-Jun-13 11:08
professionalRoy Heil24-Jun-13 11:08 
GeneralRe: How to detect UTF-8-based encoded strings Pin
diegosendra24-Jun-13 11:15
diegosendra24-Jun-13 11:15 
GeneralRe: How to detect UTF-8-based encoded strings Pin
Richard MacCutchan24-Jun-13 20:33
mveRichard MacCutchan24-Jun-13 20:33 
QuestionCombine Printjobs Pin
tolarion24-Jun-13 2:23
tolarion24-Jun-13 2:23 
AnswerRe: Combine Printjobs Pin
Dave Kreskowiak24-Jun-13 4:05
mveDave Kreskowiak24-Jun-13 4:05 
GeneralRe: Combine Printjobs Pin
tolarion24-Jun-13 4:46
tolarion24-Jun-13 4:46 
GeneralRe: Combine Printjobs Pin
Dave Kreskowiak24-Jun-13 7:16
mveDave Kreskowiak24-Jun-13 7:16 
GeneralRe: Combine Printjobs Pin
tolarion24-Jun-13 10:02
tolarion24-Jun-13 10:02 
GeneralRe: Combine Printjobs Pin
Dave Kreskowiak24-Jun-13 11:58
mveDave Kreskowiak24-Jun-13 11:58 
GeneralRe: Combine Printjobs Pin
tolarion24-Jun-13 12:24
tolarion24-Jun-13 12:24 
GeneralRe: Combine Printjobs Pin
Dave Kreskowiak24-Jun-13 15:39
mveDave Kreskowiak24-Jun-13 15:39 
GeneralRe: Combine Printjobs Pin
tolarion24-Jun-13 22:50
tolarion24-Jun-13 22:50 
AnswerRe: Combine Printjobs Pin
tolarion25-Jun-13 0:59
tolarion25-Jun-13 0:59 

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.