Click here to Skip to main content
16,014,591 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Check Component dll at start of the application Pin
Ashfield18-Sep-08 21:34
Ashfield18-Sep-08 21:34 
QuestionUse aspx Authentification system Pin
thesum17-Sep-08 21:57
thesum17-Sep-08 21:57 
AnswerRe: Use aspx Authentification system Pin
Christian Graus17-Sep-08 22:28
protectorChristian Graus17-Sep-08 22:28 
QuestionHow to open poppup window in window application Pin
Piyush Vardhan Singh17-Sep-08 21:50
Piyush Vardhan Singh17-Sep-08 21:50 
AnswerRe: How to open poppup window in window application Pin
N a v a n e e t h17-Sep-08 21:57
N a v a n e e t h17-Sep-08 21:57 
GeneralRe: How to open poppup window in window application Pin
Piyush Vardhan Singh17-Sep-08 22:13
Piyush Vardhan Singh17-Sep-08 22:13 
GeneralRe: How to open poppup window in window application Pin
sumit703418-Sep-08 1:27
sumit703418-Sep-08 1:27 
AnswerRe: How to open poppup window in window application Pin
Rajesh Anuhya18-Sep-08 0:07
professionalRajesh Anuhya18-Sep-08 0:07 
create your own form at runtime,

see this code .., this may help u


Private Sub geterate_data_window(ByVal comport As Ang_Serialport, ByVal SMSPopupform As Form, ByVal lc As Integer, ByVal popuptext As Label, ByVal closebtn As PictureBox, ByVal mypicbox As PictureBox)
Dim runningimg As Bitmap = New Bitmap(Application.StartupPath & "\images\running.gif")
Dim backimg As Bitmap = New Bitmap(Application.StartupPath & "\images\bg.gif")
Dim closeimg As Bitmap = New Bitmap(Application.StartupPath & "\images\Closebutton.jpg")
Dim lcdimg As Bitmap = New Bitmap(Application.StartupPath & "\images\lcd.jpg")
Dim progressimg As Bitmap = New Bitmap(Application.StartupPath & "\images\ProgressBar.gif")

Dim progresspic As New PictureBox
backcolor1 = Color.Pink
backcolor1 = Color.LightBlue
SMSPopupform.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
SMSPopupform.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
SMSPopupform.ClientSize = New System.Drawing.Size(300, 65)
SMSPopupform.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
SMSPopupform.Location = New System.Drawing.Point(1, lc)
SMSPopupform.Name = "Form1"
SMSPopupform.StartPosition = System.Windows.Forms.FormStartPosition.Manual
SMSPopupform.Text = "Data Downloading"
SMSPopupform.ResumeLayout(False)
SMSPopupform.ShowInTaskbar = False
SMSPopupform.TopMost = True
SMSPopupform.BackgroundImage = backimg
SMSPopupform.TransparencyKey = System.Drawing.SystemColors.ButtonFace

'' For label
popuptext.BackColor = Color.Transparent
popuptext.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
popuptext.Font = New System.Drawing.Font("Verdana", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
popuptext.BackColor = System.Drawing.Color.Blue
popuptext.ForeColor = System.Drawing.Color.Black
popuptext.BackgroundImage = lcdimg
popuptext.Location = New System.Drawing.Point(65, 10)
popuptext.Name = "RichTextBox1"
popuptext.Size = New System.Drawing.Size(200, 40)
popuptext.TabIndex = 0

'' for button
closebtn.Image = closeimg
closebtn.Location = New System.Drawing.Point(270, 9)
closebtn.Name = "Button1"
closebtn.Size = New System.Drawing.Size(18, 17)
closebtn.Text = ""
closebtn.TabIndex = 4
closebtn.TabStop = False
'PictureBox1
'
mypicbox.Location = New System.Drawing.Point(8, 11)
mypicbox.Name = "PictureBox1"
mypicbox.Size = New System.Drawing.Size(53, 54)
mypicbox.TabIndex = 1
mypicbox.TabStop = False

'progress picture box
'
progresspic.Image = progressimg
progresspic.Location = New System.Drawing.Point(62, 50)
progresspic.Name = "PictureBox1"
progresspic.Size = New System.Drawing.Size(200, 13)
progresspic.TabIndex = 1
progresspic.TabStop = False


SMSPopupform.Controls.Add(popuptext)
SMSPopupform.Controls.Add(closebtn)
SMSPopupform.Controls.Add(mypicbox)
SMSPopupform.Controls.Add(progresspic)

AddHandler SMSPopupform.Paint, AddressOf SMSPopup
AddHandler closebtn.Click, AddressOf btn_close
SMSPopupform.Show()
SMSPopupform.Refresh()

End Sub

Rajesh B --> A Poor Workman Blames His Tools <--

AnswerRe: How to open poppup window in window application Pin
Kschuler18-Sep-08 7:26
Kschuler18-Sep-08 7:26 
QuestionHow to organise my vb.net code? Pin
jochem17-Sep-08 21:20
jochem17-Sep-08 21:20 
AnswerRe: How to organise my vb.net code? Pin
Mycroft Holmes17-Sep-08 21:31
professionalMycroft Holmes17-Sep-08 21:31 
GeneralRe: How to organise my vb.net code? Pin
Paul Conrad18-Sep-08 7:51
professionalPaul Conrad18-Sep-08 7:51 
AnswerRe: How to organise my vb.net code? Pin
Ray Cassick18-Sep-08 14:10
Ray Cassick18-Sep-08 14:10 
QuestionDoubt in sending mails using VB.net Pin
krithika Subramanian17-Sep-08 21:08
krithika Subramanian17-Sep-08 21:08 
AnswerRe: Doubt in sending mails using VB.net Pin
prubyholl17-Sep-08 21:11
professionalprubyholl17-Sep-08 21:11 
QuestionCompile error Pin
tatchung17-Sep-08 21:07
tatchung17-Sep-08 21:07 
AnswerRe: Compile error Pin
Dave Kreskowiak18-Sep-08 1:48
mveDave Kreskowiak18-Sep-08 1:48 
GeneralRe: Compile error Pin
tatchung18-Sep-08 3:00
tatchung18-Sep-08 3:00 
QuestionSQL Server 7.0 Pin
prubyholl17-Sep-08 20:53
professionalprubyholl17-Sep-08 20:53 
AnswerRe: SQL Server 7.0 Pin
Mycroft Holmes17-Sep-08 21:34
professionalMycroft Holmes17-Sep-08 21:34 
GeneralRe: SQL Server 7.0 Pin
prubyholl18-Sep-08 2:58
professionalprubyholl18-Sep-08 2:58 
GeneralRe: SQL Server 7.0 Pin
Mycroft Holmes18-Sep-08 3:08
professionalMycroft Holmes18-Sep-08 3:08 
GeneralRe: SQL Server 7.0 Pin
Dave Kreskowiak18-Sep-08 3:16
mveDave Kreskowiak18-Sep-08 3:16 
QuestionCreate Transparent or faded form in vb.net Pin
pdnet17-Sep-08 19:33
pdnet17-Sep-08 19:33 
AnswerRe: Create Transparent or faded form in vb.net Pin
Dave Kreskowiak18-Sep-08 1:46
mveDave Kreskowiak18-Sep-08 1:46 

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.