Click here to Skip to main content
15,888,014 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Selecting text from a Word document Pin
Dave Kreskowiak28-Jun-07 5:22
mveDave Kreskowiak28-Jun-07 5:22 
GeneralRe: Selecting text from a Word document Pin
reegan4128-Jun-07 6:14
reegan4128-Jun-07 6:14 
QuestionUses for Group Boxes Pin
HurricaneDan28-Jun-07 4:20
HurricaneDan28-Jun-07 4:20 
AnswerRe: Uses for Group Boxes Pin
Dave Kreskowiak28-Jun-07 5:17
mveDave Kreskowiak28-Jun-07 5:17 
QuestionCreate small size PNG file Pin
Rupesh Kumar Swami28-Jun-07 4:10
Rupesh Kumar Swami28-Jun-07 4:10 
AnswerRe: Create small size PNG file Pin
Dave Kreskowiak28-Jun-07 5:15
mveDave Kreskowiak28-Jun-07 5:15 
GeneralRe: Create small size PNG file Pin
Paul Conrad28-Jun-07 6:35
professionalPaul Conrad28-Jun-07 6:35 
QuestionDynamic button + dynamic code. Pin
Barbarus28-Jun-07 3:57
Barbarus28-Jun-07 3:57 
Hi all,

A problem takes me back once again to the code project.

Right now I'm working on a small project in which I would like to generate my buttons, textfields etc dynamicly (I have an xml file and when it encouters < control type= button name = btn1/> it creates a button called btn1 and its added to the page (its possible to set the size etc.)
The reason why I'm doing this is that from time to time you just want to add a simple button but don't feel like recompiling the whole project or a client wants an extra button/image and would like to add it himself.... (with some sort of wizard typed thing)

this is all working. buttons and controls are created without a problem. I can retrieve info from my textboxes etc no problem. But well lets say I want to create a button but it needs a new "function" while clicking on it so I would need to add a handler to the button but I don't know what the code is going to be so I added in my xml file: <control type= button name = btn1 handler= btn1_handler/>
This function is then coded in an external file (simple notepad for exemple)

now where I dont really know how to do it is associate this function btn1_handler with my btn1 so that it handles an onclick event... the whole thing without recompiling but using for example vbscript or ICodeCompiler.....

Would this be possible to do? or? because well I dont know what will be in the function nor which button it corresponds to except in my xml file....

any help would be greatly appreciated Smile | :)

Cheers
jozef



its our widgets that make us men
AnswerRe: Dynamic button + dynamic code. Pin
Dave Kreskowiak28-Jun-07 5:09
mveDave Kreskowiak28-Jun-07 5:09 
AnswerRe: Dynamic button + dynamic code. [modified] Pin
Barbarus28-Jun-07 5:51
Barbarus28-Jun-07 5:51 
QuestionDataset Tables Pin
Brendan Vogt28-Jun-07 3:14
Brendan Vogt28-Jun-07 3:14 
AnswerRe: Dataset Tables Pin
nlarson1128-Jun-07 3:55
nlarson1128-Jun-07 3:55 
QuestionImport XML to a Dataset Pin
Brendan Vogt28-Jun-07 2:48
Brendan Vogt28-Jun-07 2:48 
AnswerRe: Import XML to a Dataset Pin
kubben28-Jun-07 4:23
kubben28-Jun-07 4:23 
QuestionSQL Server 2000 backup Pin
magedhv28-Jun-07 1:25
magedhv28-Jun-07 1:25 
AnswerRe: SQL Server 2000 backup Pin
Xandip28-Jun-07 1:53
Xandip28-Jun-07 1:53 
GeneralRe: SQL Server 2000 backup Pin
SHatchard28-Jun-07 1:55
SHatchard28-Jun-07 1:55 
GeneralRe: SQL Server 2000 backup Pin
magedhv28-Jun-07 1:55
magedhv28-Jun-07 1:55 
GeneralRe: SQL Server 2000 backup Pin
Xandip28-Jun-07 2:02
Xandip28-Jun-07 2:02 
GeneralRe: SQL Server 2000 backup Pin
magedhv28-Jun-07 2:30
magedhv28-Jun-07 2:30 
AnswerRe: SQL Server 2000 backup Pin
Steven J Jowett28-Jun-07 3:21
Steven J Jowett28-Jun-07 3:21 
QuestionHow can i override a Button property Pin
anujose28-Jun-07 0:14
anujose28-Jun-07 0:14 
AnswerRe: How can i override a Button property Pin
sathesh pandian28-Jun-07 1:31
sathesh pandian28-Jun-07 1:31 
GeneralRe: How can i override a Button property Pin
anujose28-Jun-07 1:55
anujose28-Jun-07 1:55 
GeneralRe: How can i override a Button property Pin
Steven J Jowett28-Jun-07 3:26
Steven J Jowett28-Jun-07 3:26 

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.