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

Visual Basic

 
QuestionCan we use VB script For inter process communication Pin
varmag26-Dec-05 23:54
varmag26-Dec-05 23:54 
QuestionHow do this databind (easy questionm I guess) Pin
MaWeRic26-Dec-05 22:19
MaWeRic26-Dec-05 22:19 
Questionbackground image crystal reports (urgent) Pin
fox2126-Dec-05 21:52
fox2126-Dec-05 21:52 
AnswerRe: background image crystal reports (urgent) Pin
Kim Mostinckx27-Dec-05 2:29
Kim Mostinckx27-Dec-05 2:29 
QuestionRegarding datagrid control (very urgent) Pin
nagalakshmibasireddy26-Dec-05 21:32
nagalakshmibasireddy26-Dec-05 21:32 
QuestionMulti select option for combo box Pin
tsnarayanan26-Dec-05 18:33
tsnarayanan26-Dec-05 18:33 
AnswerRe: Multi select option for combo box Pin
Dave Kreskowiak27-Dec-05 7:36
mveDave Kreskowiak27-Dec-05 7:36 
QuestionCreate a control at runtime and move on the form Pin
annabathula26-Dec-05 18:10
annabathula26-Dec-05 18:10 
Hi,
I have been working on a VB.net project. where I want to use drag and drop controls. Right now, I can able to create the controls on runtime with following code

Dim btn as new Button
me.controls.add(btn)
btn.location=new point(23,34)
btn.show
like..

The only problem is how to move the controls (command buttons) on the form to place it right place on the form.
i tried mouse down and mouse up methods to do it. But, the button created in one event handling sub routine is not Available in other sub routines.As i am declaring it as private sub routine.(I need a global runtime button to be created in a event method so that other event procedures also shared that button).do u understand?

Please help me in this regard.
Thank you
ramesh

.


Ramesh
M.tech

-- modified at 0:13 Tuesday 27th December, 2005
AnswerRe: Create a control at runtime and move on the form Pin
Gerben Jongerius26-Dec-05 21:59
Gerben Jongerius26-Dec-05 21:59 
QuestionRe: Create a control at runtime and move on the form Pin
annabathula27-Dec-05 3:50
annabathula27-Dec-05 3:50 
AnswerRe: Create a control at runtime and move on the form Pin
Gerben Jongerius27-Dec-05 7:38
Gerben Jongerius27-Dec-05 7:38 
GeneralRe: Create a control at runtime and move on the form Pin
annabathula28-Dec-05 9:08
annabathula28-Dec-05 9:08 
QuestionFiles and a Network Stream Pin
Mazitan26-Dec-05 13:28
Mazitan26-Dec-05 13:28 
AnswerRe: Files and a Network Stream Pin
Dave Kreskowiak27-Dec-05 7:33
mveDave Kreskowiak27-Dec-05 7:33 
GeneralRe: Files and a Network Stream Pin
Mazitan31-Dec-05 11:47
Mazitan31-Dec-05 11:47 
QuestionReferences to programmatically created controls Pin
Hmmkk26-Dec-05 5:25
Hmmkk26-Dec-05 5:25 
AnswerRe: References to programmatically created controls Pin
Curtis Schlak.26-Dec-05 6:17
Curtis Schlak.26-Dec-05 6:17 
GeneralRe: References to programmatically created controls Pin
Hmmkk26-Dec-05 7:18
Hmmkk26-Dec-05 7:18 
GeneralRe: References to programmatically created controls Pin
Curtis Schlak.26-Dec-05 8:11
Curtis Schlak.26-Dec-05 8:11 
QuestionSome help about db connection string Pin
JUNEYT26-Dec-05 4:34
JUNEYT26-Dec-05 4:34 
AnswerRe: Some help about db connection string Pin
KaptinKrunch26-Dec-05 10:33
KaptinKrunch26-Dec-05 10:33 
QuestionWebservices Pin
MalikRizwan26-Dec-05 2:06
MalikRizwan26-Dec-05 2:06 
Questiondao51.dll Pin
redaoz200026-Dec-05 2:04
redaoz200026-Dec-05 2:04 
QuestionHow can i change Character Pitch of a dot printer? Pin
Greeky26-Dec-05 1:46
Greeky26-Dec-05 1:46 
AnswerRe: How can i change Character Pitch of a dot printer? Pin
Dave Kreskowiak27-Dec-05 7:31
mveDave Kreskowiak27-Dec-05 7:31 

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.