Click here to Skip to main content
16,016,759 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Creating Splash Screens Pin
Robert Rohde7-Jan-05 21:21
Robert Rohde7-Jan-05 21:21 
GeneralRe: Creating Splash Screens Pin
cpod9-Jan-05 8:21
cpod9-Jan-05 8:21 
GeneralRe: Creating Splash Screens Pin
Mekong River8-Jan-05 4:30
Mekong River8-Jan-05 4:30 
QuestionDesigning Crystal Report at VB runtime ? Pin
viettho7-Jan-05 13:20
viettho7-Jan-05 13:20 
AnswerRe: Designing Crystal Report at VB runtime ? Pin
Levi Rosol7-Jan-05 22:29
Levi Rosol7-Jan-05 22:29 
GeneralTo create a dynamic link(dll) with VS 2003 Pin
eduDirect7-Jan-05 11:19
eduDirect7-Jan-05 11:19 
GeneralSecurity Exception Problem !! Pin
Anonymous6-Jan-05 18:05
Anonymous6-Jan-05 18:05 
GeneralChanging the Image on an ImageButton in another Frame Pin
larkpics6-Jan-05 11:27
larkpics6-Jan-05 11:27 
I like using frames. VB.NET does not (or so it appears). I have a header frame with a navigation sub (Nav) that changes a title grapher (in the header frame) and the URL of the main frame. This works fine when I call it from the header frame, but when in import the header class and call it from the menu frame, it crashes because the focus is on the menu frame and not the header frame. I have tried:

With ("javascript:parent.frames('header').document.items('Image2')) but this does not work. Is this really this hard to do? Here is my subroutine I am trying to use from both the header frame and the menu frame:


Public Sub Nav(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs)

Dim strName As String = e.CommandName
Dim strArg As Integer = CInt(e.CommandArgument)
Dim strURL As String

Select Case strArg
Case 1
Me.Image2.ImageUrl = "images/Page1.png"
Me.Image2.AlternateText = "Welcome"
Case 2
Me.Image2.ImageUrl = "images/Page2.png"
Me.Image2.AlternateText = "About Us"
Case 3
Image2.ImageUrl = "images/Page3.png"
Image2.AlternateText = "Mission"
Case 4
Image2.ImageUrl = "images/Page4.png"
Image2.AlternateText = "Gallery"
Case 5
Image2.ImageUrl = "images/Page5.png"
Image2.AlternateText = "Services"
Case 6
Image2.ImageUrl = "images/Page6.png"
Image2.AlternateText = "References"
Case 7
Image2.ImageUrl = "images/Page7.png"
Image2.AlternateText = "Contact Us"
Case 8
Image2.ImageUrl = "images/Page8.png"
Image2.AlternateText = "Favorites"
End Select

'Response.Redirect(strURL)

End Sub
GeneralRe: Changing the Image on an ImageButton in another Frame Pin
Dave Kreskowiak7-Jan-05 2:52
mveDave Kreskowiak7-Jan-05 2:52 
GeneralRe: Changing the Image on an ImageButton in another Frame Pin
larkpics7-Jan-05 3:03
larkpics7-Jan-05 3:03 
GeneralAdding EditItemTemplates to dynamic datagrid and changing the row to edit mode on doubleclick Pin
Member 16299646-Jan-05 5:52
Member 16299646-Jan-05 5:52 
GeneralMDI Child Forms (RESOLVED) Pin
fizzer6666-Jan-05 5:21
fizzer6666-Jan-05 5:21 
GeneralRe: MDI Child Forms Pin
Ritesh12346-Jan-05 21:43
Ritesh12346-Jan-05 21:43 
GeneralRe: MDI Child Forms (RESOLVED) Pin
fizzer6666-Jan-05 22:19
fizzer6666-Jan-05 22:19 
Generalline printing problem (Dos printer) Pin
Just Greeky Creek6-Jan-05 4:10
Just Greeky Creek6-Jan-05 4:10 
GeneralRe: line printing problem (Dos printer) Pin
Dave Kreskowiak7-Jan-05 2:47
mveDave Kreskowiak7-Jan-05 2:47 
GeneralRe: line printing problem (Dos printer) Pin
Dave Kreskowiak7-Jan-05 15:09
mveDave Kreskowiak7-Jan-05 15:09 
Generalsave and retrieve files Pin
len_ems5-Jan-05 18:59
len_ems5-Jan-05 18:59 
GeneralRe: save and retrieve files Pin
Ritesh12346-Jan-05 2:46
Ritesh12346-Jan-05 2:46 
GeneralRe: save and retrieve files Pin
len_ems6-Jan-05 16:03
len_ems6-Jan-05 16:03 
GeneralRe: save and retrieve files Pin
T Manjaly6-Jan-05 13:36
T Manjaly6-Jan-05 13:36 
GeneralRe: save and retrieve files Pin
len_ems6-Jan-05 16:12
len_ems6-Jan-05 16:12 
GeneralPrevent right click on the combobox or textbox Pin
Mekong River5-Jan-05 17:20
Mekong River5-Jan-05 17:20 
GeneralRe: Prevent right click on the combobox or textbox Pin
Tom John5-Jan-05 21:58
Tom John5-Jan-05 21:58 
GeneralRe: Prevent right click on the combobox or textbox Pin
T Manjaly6-Jan-05 13:38
T Manjaly6-Jan-05 13:38 

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.