Jump to content

Sending data to a read only control for another program.


Recommended Posts

Ok, so I am building a program with a mix of visual basic and autoit.

I would like to use a script to set the data of a read only control on a gui created by a visual basic program. For obvious reasons, sending key strokes wont work...

Could I get an example for this, possibly a udf???

Is this even possible???

Spoiler

 

"If a vegetarian eats vegetables,What the heck does a humanitarian eat?"

"I hear voices in my head, but I ignore them and continue on killing."

"You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring."

An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist.

 

 
Link to comment
Share on other sites

This is not possible if the VB control is read-only. You could pull data from it, but not set it. How about setting the controls data in VB code. You can still set data if the control is read-only in VB, not AutoIT.

[sub]Quantum mechanics: The dreams stuff is made of[/sub]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...