Click to See Complete Forum and Search --> : add from another program
ant
June 13th, 2001, 09:15 AM
how do you make it so that when the user loads a program it adds a command button to another program that's not running???
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: cgeorge@thevortex.com
for the address
Tower
June 13th, 2001, 07:23 PM
I see one way to do this.
Create dynamic control in program and read information about this control from file. Then run needed program, it write in file information about new control.
If you run dynamic programm, it read from file and create needed control.
ant
June 14th, 2001, 01:36 PM
ok. how do i do that?
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: cgeorge@thevortex.com
for the address
Tower
June 14th, 2001, 07:13 PM
In static programm write
Dim f as Integer
f = FreeFile
Open "test.txt" for Append as f
print #f, "CommandTest"
Close f
In dinamic programm write
Dim f as Integer
Dim strTest as string
f = FreeFile
Open "test.txt" for input as f
input #f, strTest
Close f
Test strTest variable and add any command button in button array in form into dinamic programm
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.