Click here to Skip to main content
15,889,462 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How do i send email only using API Pin
Colin Angus Mackay8-Feb-07 3:19
Colin Angus Mackay8-Feb-07 3:19 
GeneralRe: How do i send email only using API Pin
DotNet548-Feb-07 3:23
DotNet548-Feb-07 3:23 
GeneralRe: How do i send email only using API Pin
coolestCoder8-Feb-07 3:28
coolestCoder8-Feb-07 3:28 
AnswerRe: How do i send email only using API Pin
Rizon4068-Feb-07 4:32
Rizon4068-Feb-07 4:32 
QuestionToken error Message Pin
Zamora Dias8-Feb-07 3:00
Zamora Dias8-Feb-07 3:00 
AnswerRe: Token error Message Pin
Colin Angus Mackay8-Feb-07 3:21
Colin Angus Mackay8-Feb-07 3:21 
QuestionDeployment and Updates Pin
wildfire23238-Feb-07 2:49
wildfire23238-Feb-07 2:49 
QuestionThe disappearing datagrid (vertical) scrollbar Pin
Johan Hakkesteegt8-Feb-07 2:25
Johan Hakkesteegt8-Feb-07 2:25 
Hi,

I have a form with a datagrid. The datagrid has a dataset as a source, and a TableStyle to make it all look good. The dataset gets manipulated in different ways, and the datagrid is refreshed between manipulations, to show changes to the user.

However, after the first manipulation / refresh the vertical scrollbar disappears, and I almost haven't got a clue why.

I use this public function in a module to do the refreshing, as there are several different forms in my app with their own datagrids:
<br />
Public Function refreshGrid(ByVal Grid As DataGrid, ByVal DS As DataSet, ByVal Member As String, ByVal frm As Form)<br />
		Try<br />
			DS.AcceptChanges()<br />
			Grid.DataSource = DS<br />
			Grid.DataMember = Member<br />
			frm.Refresh()<br />
		Catch Ex As Exception<br />
			MsgBox(Ex.Message)<br />
		End Try<br />
End Function<br />

As it doesn't throw errors, and it seems to actually refresh the datagrid, can anyone tell me whether I am making some mistake in my code, or whether the whole idea of a function for this operation is wrong, or any other possible reason for my Amazing Disappearing Scrollbar?

I Appreciate the help,

Johan

My advice is free, and you may get what you paid for.

QuestionCopy file to network drive in VB6 [modified] Pin
jclito8-Feb-07 2:23
jclito8-Feb-07 2:23 
QuestionManipulating Excel Sheet through VB Pin
darkturtle8-Feb-07 2:23
darkturtle8-Feb-07 2:23 
QuestionManipulating Excel Sheet through VB Pin
darkturtle8-Feb-07 2:23
darkturtle8-Feb-07 2:23 
Questiontimer Pin
Sebastian T Xavier8-Feb-07 1:16
Sebastian T Xavier8-Feb-07 1:16 
AnswerRe: timer Pin
Johan Hakkesteegt8-Feb-07 2:11
Johan Hakkesteegt8-Feb-07 2:11 
GeneralRe: timer Pin
Sebastian T Xavier8-Feb-07 4:04
Sebastian T Xavier8-Feb-07 4:04 
GeneralRe: timer Pin
Johan Hakkesteegt8-Feb-07 20:27
Johan Hakkesteegt8-Feb-07 20:27 
GeneralRe: timer Pin
Ahmed El-Badry10-Feb-07 0:27
Ahmed El-Badry10-Feb-07 0:27 
QuestionCombobox in Datagridview ,Wnt Click Event Pin
priya_p2338-Feb-07 0:44
priya_p2338-Feb-07 0:44 
QuestionPlace application on top of all other application Pin
ravihd8-Feb-07 0:25
ravihd8-Feb-07 0:25 
AnswerRe: Place application on top of all other application Pin
Christian Graus8-Feb-07 0:32
protectorChristian Graus8-Feb-07 0:32 
Questionmail with embeded images Pin
safalmittal7-Feb-07 23:55
safalmittal7-Feb-07 23:55 
QuestionForm Minimize Event Pin
MatthysDT7-Feb-07 23:40
MatthysDT7-Feb-07 23:40 
AnswerRe: Form Minimize Event Pin
Johan Hakkesteegt7-Feb-07 23:43
Johan Hakkesteegt7-Feb-07 23:43 
QuestionSorting with DataGrid & DataGridView control Pin
Rahul Singla7-Feb-07 22:43
Rahul Singla7-Feb-07 22:43 
Questiondifference b/w shared ,public and public shared Pin
saravanaks7-Feb-07 22:16
saravanaks7-Feb-07 22:16 
AnswerRe: difference b/w shared ,public and public shared Pin
Christian Graus7-Feb-07 22:21
protectorChristian Graus7-Feb-07 22:21 

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.