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

Visual Basic

 
GeneralRe: How can I take the most recent record from a table? Pin
waner michaud5-Jul-10 11:20
waner michaud5-Jul-10 11:20 
AnswerRe: How can I take the most recent record from a table? [modified] Pin
Dr.Walt Fair, PE5-Jul-10 11:18
professionalDr.Walt Fair, PE5-Jul-10 11:18 
GeneralRe: How can I take the most recent record from a table? Pin
waner michaud5-Jul-10 11:31
waner michaud5-Jul-10 11:31 
GeneralRe: How can I take the most recent record from a table? Pin
Dave Kreskowiak5-Jul-10 18:16
mveDave Kreskowiak5-Jul-10 18:16 
GeneralRe: How can I take the most recent record from a table? Pin
Dr.Walt Fair, PE6-Jul-10 3:55
professionalDr.Walt Fair, PE6-Jul-10 3:55 
AnswerRe: How can I take the most recent record from a table? Pin
riced6-Jul-10 6:47
riced6-Jul-10 6:47 
GeneralRe: How can I take the most recent record from a table? Pin
waner michaud6-Jul-10 7:06
waner michaud6-Jul-10 7:06 
QuestionMDI Parent and Child issues Pin
Simon_Whale5-Jul-10 0:21
Simon_Whale5-Jul-10 0:21 
I have an MDI Application that I am developing using Visual Basic 2008

One of the forms that the application calls in inside a DLL. This works great

Imports articleSearch

Dim frm As New DocumentSearch("Broker", Me)
frm.MdiParent = Me
frm.Show()


My problem is that form spawn another form from the DLL depending on the user action i.e. documents to view.

For Each dgRow As DataGridViewRow In DataGridView1.SelectedRows
 'MessageBox.Show(dgRow.Cells(3).Value)
 Dim frm As New PDFViewer(Trim(dgRow.Cells(3).Value))
 frm.MdiParent = _CallingApp
 frm.Show()
Next


now if i use the frm.mdiparent = _CallingApp (where _callingApp is a reference to the form being called) then the form display is blank but if i omit that line it works as expected, but it is no longer a child window of the mdi app

any pointers?

Thanks
Simon
As barmey as a sack of badgers

AnswerRe: MDI Parent and Child issues Pin
Tom Deketelaere5-Jul-10 2:12
professionalTom Deketelaere5-Jul-10 2:12 
GeneralRe: MDI Parent and Child issues Pin
Simon_Whale5-Jul-10 2:29
Simon_Whale5-Jul-10 2:29 
GeneralRe: MDI Parent and Child issues Pin
Tom Deketelaere5-Jul-10 3:01
professionalTom Deketelaere5-Jul-10 3:01 
QuestionIs it the right approach to speed up the copy process? Pin
Sonhospa3-Jul-10 12:33
Sonhospa3-Jul-10 12:33 
AnswerRe: Is it the right approach to speed up the copy process? Pin
riced3-Jul-10 19:42
riced3-Jul-10 19:42 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Sonhospa4-Jul-10 0:03
Sonhospa4-Jul-10 0:03 
GeneralRe: Is it the right approach to speed up the copy process? Pin
riced4-Jul-10 0:57
riced4-Jul-10 0:57 
GeneralRe: Is it the right approach to speed up the copy process? Pin
DaveAuld4-Jul-10 1:19
professionalDaveAuld4-Jul-10 1:19 
NewsRe: Is it the right approach to speed up the copy process? Pin
Sonhospa4-Jul-10 4:39
Sonhospa4-Jul-10 4:39 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Аslam Iqbal4-Jul-10 11:13
professionalАslam Iqbal4-Jul-10 11:13 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Sonhospa5-Jul-10 21:12
Sonhospa5-Jul-10 21:12 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Аslam Iqbal6-Jul-10 11:19
professionalАslam Iqbal6-Jul-10 11:19 
GeneralRe: Is it the right approach to speed up the copy process? Pin
DaveAuld4-Jul-10 11:31
professionalDaveAuld4-Jul-10 11:31 
GeneralRe: Is it the right approach to speed up the copy process? Pin
Sonhospa5-Jul-10 21:12
Sonhospa5-Jul-10 21:12 
QuestionDatagrid to database Pin
.NetDeveloper092-Jul-10 23:37
.NetDeveloper092-Jul-10 23:37 
AnswerRe: Datagrid to database Pin
Abhinav S3-Jul-10 0:01
Abhinav S3-Jul-10 0:01 
Questionsplash screen and timer control Pin
.NetDeveloper092-Jul-10 22:14
.NetDeveloper092-Jul-10 22:14 

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.