Click here to Skip to main content
15,923,087 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Queries on Shared Method Pin
Christian Graus26-Jun-07 18:58
protectorChristian Graus26-Jun-07 18:58 
AnswerRe: Queries on Shared Method Pin
Navneet Hegde26-Jun-07 19:21
Navneet Hegde26-Jun-07 19:21 
GeneralRe: Queries on Shared Method Pin
Christian Graus26-Jun-07 20:19
protectorChristian Graus26-Jun-07 20:19 
AnswerRe: Queries on Shared Method Pin
Yenyen Suwardy26-Jun-07 20:20
Yenyen Suwardy26-Jun-07 20:20 
Questionadd form into tab control Pin
Phan Van Thao26-Jun-07 17:15
Phan Van Thao26-Jun-07 17:15 
AnswerRe: add form into tab control Pin
Christian Graus26-Jun-07 17:48
protectorChristian Graus26-Jun-07 17:48 
AnswerRe: add form into tab control Pin
Phan Van Thao26-Jun-07 22:34
Phan Van Thao26-Jun-07 22:34 
QuestionSilly question about calling classes... Pin
commieJerk26-Jun-07 15:27
commieJerk26-Jun-07 15:27 
I have a class that refreshes a datagridview control. I can call this from various places including forms and it works. It is located in a module.

I have a 2nd module with a class that calls the refresh class from the 1st module and for some reason i can do nothing with the data grid view. Msgbox tells me it is going into the refresh class but i cant even set the datagridview.row count to 0.

Example:

module functions
--Public Class DGV

----Public Shared Sub refresh()

Dim dataGV As DataGridView
dataGV = My.Forms.mainWindow.DataGridView1
dataGV.RowCount = 0

----end sub

--end class
end module

module runtime
--Public Class Watcher

----Public Shared Sub Run()

Call DGV.refresh()

----end sub
--end class

end module

Seems so simple but its killing me - from any form (button_click or form_load) it works fine over and over again. I reference it in a 2nd module and the datagrid does nothing... not clearing...

AnswerRe: Silly question about calling classes... Pin
Christian Graus26-Jun-07 15:42
protectorChristian Graus26-Jun-07 15:42 
GeneralRe: Silly question about calling classes... Pin
commieJerk26-Jun-07 16:32
commieJerk26-Jun-07 16:32 
GeneralRe: Silly question about calling classes... Pin
Christian Graus26-Jun-07 17:47
protectorChristian Graus26-Jun-07 17:47 
GeneralRe: Silly question about calling classes... Pin
commieJerk27-Jun-07 1:43
commieJerk27-Jun-07 1:43 
GeneralRe: Silly question about calling classes... Pin
commieJerk27-Jun-07 1:51
commieJerk27-Jun-07 1:51 
AnswerRe: Silly question about calling classes... Pin
commieJerk28-Jun-07 10:33
commieJerk28-Jun-07 10:33 
Questioncheck if the date given is within the specific range please help... Pin
cutequencher26-Jun-07 14:32
cutequencher26-Jun-07 14:32 
AnswerRe: check if the date given is within the specific range please help... Pin
Christian Graus26-Jun-07 15:06
protectorChristian Graus26-Jun-07 15:06 
QuestionAdding a combobox to a datagridview Pin
steve_rm26-Jun-07 12:26
steve_rm26-Jun-07 12:26 
AnswerRe: Adding a combobox to a datagridview Pin
Dave Kreskowiak26-Jun-07 12:34
mveDave Kreskowiak26-Jun-07 12:34 
QuestionRe: Adding a combobox to a datagridview [modified] Pin
steve_rm26-Jun-07 19:38
steve_rm26-Jun-07 19:38 
AnswerRe: Adding a combobox to a datagridview Pin
Dave Kreskowiak27-Jun-07 2:12
mveDave Kreskowiak27-Jun-07 2:12 
GeneralRe: Adding a combobox to a datagridview Pin
Diane Volk28-Jun-07 10:20
Diane Volk28-Jun-07 10:20 
GeneralRe: Adding a combobox to a datagridview Pin
Dave Kreskowiak28-Jun-07 18:28
mveDave Kreskowiak28-Jun-07 18:28 
GeneralRe: Adding a combobox to a datagridview Pin
Diane Volk29-Jun-07 9:30
Diane Volk29-Jun-07 9:30 
QuestionSearch Procedure Pin
wpoopsi26-Jun-07 9:14
wpoopsi26-Jun-07 9:14 
AnswerRe: Search Procedure Pin
Dave Kreskowiak26-Jun-07 10:11
mveDave Kreskowiak26-Jun-07 10:11 

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.