Click here to Skip to main content
15,891,896 members
Home / Discussions / Visual Basic
   

Visual Basic

 
JokeRe: Update data acces layer Pin
Colin Angus Mackay26-Aug-07 5:39
Colin Angus Mackay26-Aug-07 5:39 
QuestionApplying CSS/JavaScript to a WebBrowser Control [modified] Pin
Nick Rioux24-Aug-07 2:43
Nick Rioux24-Aug-07 2:43 
AnswerRe: Applying CSS/JavaScript to a WebBrowser Control Pin
Dave Kreskowiak24-Aug-07 5:42
mveDave Kreskowiak24-Aug-07 5:42 
AnswerRe: Applying CSS/JavaScript to a WebBrowser Control Pin
Nick Rioux25-Aug-07 2:41
Nick Rioux25-Aug-07 2:41 
Questionwebbrowser Search Function Pin
Ahmad Zaidi24-Aug-07 2:32
Ahmad Zaidi24-Aug-07 2:32 
AnswerRe: webbrowser Search Function Pin
Nick Rioux24-Aug-07 2:47
Nick Rioux24-Aug-07 2:47 
QuestionMultiple Subreports [modified] Pin
Saranya B24-Aug-07 1:24
Saranya B24-Aug-07 1:24 
QuestionCannot display a control on panel in this way... Pin
BooleanTrue24-Aug-07 0:10
professionalBooleanTrue24-Aug-07 0:10 
Hello!
I have a panel (Panel1) on a form (Form1) and i want that on every click on panel a new control should be added to panel. But it dont work! Any Help?
Public Class Form1
Dim counter As Integer

Public Class JOJOBA
Inherits System.Windows.Forms.Control
Dim myControl As Control

Public Sub New()
myControl = New RichTextBox
End Sub

End Class

Private Sub panel1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Panel1.Click
counter = counter + 1
Dim aNC As Control
aNC = New JOJOBA
aNC.Name = "Control" & counter
aNC.Top = Panel1.Top + 20
aNC.Left = Panel1.Left + 20
aNC.Height = 30
aNC.Width = 150
Panel1.Controls.Add(aNC)
aNC.Visible = True
aNC.Show()
End Sub
End Class


colgateas900197

AnswerRe: Cannot display a control on panel in this way... Pin
Dave Kreskowiak24-Aug-07 1:53
mveDave Kreskowiak24-Aug-07 1:53 
GeneralRe: Cannot display a control on panel in this way... Pin
BooleanTrue24-Aug-07 3:12
professionalBooleanTrue24-Aug-07 3:12 
GeneralRe: Cannot display a control on panel in this way... Pin
Dave Kreskowiak24-Aug-07 5:38
mveDave Kreskowiak24-Aug-07 5:38 
QuestionProblem in Mobile Incoming call detected Pin
Nimesh U23-Aug-07 23:53
Nimesh U23-Aug-07 23:53 
AnswerRe: Problem in Mobile Incoming call detected Pin
Dave Kreskowiak24-Aug-07 1:54
mveDave Kreskowiak24-Aug-07 1:54 
AnswerRe: Problem in Mobile Incoming call detected Pin
Rupesh Kumar Swami24-Aug-07 2:13
Rupesh Kumar Swami24-Aug-07 2:13 
QuestionHelp needed for DataGridView Pin
Exelioindia23-Aug-07 23:30
Exelioindia23-Aug-07 23:30 
AnswerRe: Help needed for DataGridView Pin
Dave Kreskowiak24-Aug-07 6:01
mveDave Kreskowiak24-Aug-07 6:01 
QuestionOperation Was cancelled Error Pin
ShuklaGirish23-Aug-07 23:18
ShuklaGirish23-Aug-07 23:18 
AnswerRe: Operation Was cancelled Error Pin
BooleanTrue24-Aug-07 0:24
professionalBooleanTrue24-Aug-07 0:24 
GeneralRe: Operation Was cancelled Error Pin
ShuklaGirish24-Aug-07 1:51
ShuklaGirish24-Aug-07 1:51 
AnswerRe: Operation Was cancelled Error Pin
TomGarth24-Aug-07 11:39
TomGarth24-Aug-07 11:39 
QuestionUsing own cursors in MSVB2005 Express Edition Pin
Manfr3d23-Aug-07 23:14
Manfr3d23-Aug-07 23:14 
AnswerMessage Closed Pin
24-Aug-07 3:03
Nick Rioux24-Aug-07 3:03 
GeneralRe: Using own cursors in MSVB2005 Express Edition Pin
Manfr3d24-Aug-07 14:20
Manfr3d24-Aug-07 14:20 
GeneralRe: Using own cursors in MSVB2005 Express Edition Pin
Nick Rioux25-Aug-07 2:38
Nick Rioux25-Aug-07 2:38 
GeneralRe: Using own cursors in MSVB2005 Express Edition Pin
Manfr3d25-Aug-07 11:16
Manfr3d25-Aug-07 11:16 

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.