borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2012 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (Como usar texto formatado nas aplicações de VB) New Topic New Poll Post Reply
AndreaVB Forum : Non-English ONLY : Can anybody help me?
Poster Message
Ramicelis
Level: Guest


icon Can anybody help me?

Hola a todos.

Si alguien puede ayudarme lo agradecería.

Necesito saber como se hace para que un control Dir1 se actualize, es decir, actualize el path, cuando sea oprimida una tecla cualquiera y no que lo haga con el mouse.

Mil gracias.

18-02-2003 at 08:10 PM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 858
icon Re: Can anybody help me?

just a follow up....

if there's anyone who can translate this into english, please take the initiative to do so for the other members...


we all want to help each other, right?, so if there's someone who can break the gap in terms of spoken languages, please do so in this post.

i don't think we members should be selective on who we help, right?

...unless ramicelis is actually asking for help on doing damage, which i don't think.    

____________________________
Been busy trying to take a second degree <--it's not working out...

23-02-2003 at 10:05 AM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1652
icon Re: Can anybody help me?

WEll, online translation doesn't work too well...

Offhand I think the question is something like "how to update a dir control's path field without using a mouse/with a button"

Not sure exactly, but even if accurate, couldn't translate a reply that would make sence.



____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

23-02-2003 at 06:23 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
inertiascience
Level: Guest

icon Re: Can anybody help me?

quote:
Ramicelis wrote:
Hola a todos.

Si alguien puede ayudarme lo agradecería.

Necesito saber como se hace para que un control Dir1 se actualize, es decir, actualize el path, cuando sea oprimida una tecla cualquiera y no que lo haga con el mouse.

Mil gracias.


I really think he (or she) is trying to figure out how to make a program give an error message when the user types something wrong into a program (e.g. non-existant file/directory path) with the keyboard or mouse.
(Please dont sue me if im wrong lol, my spanish is horrid)

[Edited by inertiascience on 23-02-2003 at 09:37 PM GMT]

[Edited by inertiascience on 23-02-2003 at 09:38 PM GMT]
24-02-2003 at 03:36 AM
| Quote Reply
vbgen
Level: Moderator

Registered: 10-10-2002
Posts: 858
icon Re: Can anybody help me?

well.... i hope that soon enough someone can translate this into english, so that we can post and give help to ramcelis.



____________________________
Been busy trying to take a second degree <--it's not working out...

24-02-2003 at 05:26 PM
View Profile Send Email to User Show All Posts | Quote Reply
win_dir
Level: VB Guru

Registered: 04-08-2002
Posts: 366
icon Re: Can anybody help me?

well, if anyone can translate this "english" that google gave me then i expect you can speak fluently over 40 languages!

here it is, from google:

quote:
Hello to all.

If somebody can help me it would thank for it.

I need to know since a Dir1 control becomes so that actualize, that is to say, actualize path, when a key is pressed anyone and not that does it with mouse.

Thousand thanks.

____________________________
Somebody can say to me since a Dir control becomes so that actualize and is the content of the current directory in the control cases out, when a key is pressed any.

Thousand thanks.





A Ramicelis, si usted todavía está mirando este foro entonces estamos intentando traducir este poste.  Si usted podría darnos una diversa palabra española para "actualize" sería muy provechoso.  Gracias

[Edited by win_dir on 03-04-2003 at 10:15 PM GMT]

____________________________
We have a Mustek 5 M/Pix GSm@rt USB Digital Camera
for just £74.03 , offer only on until 30th February!

<AllDuck.com>      

Enquiries/Sales: 0845 430 9862
Fax: 0870 950 4532
03-04-2003 at 10:10 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
~Bean~
Level: VB Guru


Registered: 07-04-2003
Posts: 480
icon Re: Can anybody help me?

not for nuthin bu this entire thread,which I missed, is funny as hell...thanks for the good laugh...

____________________________
Eggheads unite! You have nothing to lose but your yolks.

02-05-2003 at 11:21 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
jlara
Level: Guest

icon Re: Can anybody help me?

Hola

Lo único que debes hacer es usar el metodo "refresh" del Dir

Ej.: dir1.refresh

Con esto se refresca el objeto

18-11-2003 at 08:57 AM
| Quote Reply
Aleks
Level: Scholar


Registered: 10-11-2003
Posts: 32
icon Re: Can anybody help me?

Sip, JLara estás en lo cierto, pero además ramicelis quiere que el control se actualize cada vez que se aprete una tecla.

Ahora si lo que quiere es que se actualize si se apreta una tecla dentro del control, es facil ya que solo tiene que agregar el codigo que pusiste dentro del evento KeyPress. Sino si quiere que sea este donde esté el foco del control, tiene que usar el api de estado del teclado (creo que GetAsyncKeyState) para que cuando se detecte una tecla presionada, refresque el control dir.

[English]
Yes, JLara is in the right way, but also Ramicelis wants to refresh Dir1 control every time that a key is pressed.

Right now, if he wants to refresh the control when focused and key is pressed, is quite easy, only adding your code into KeyPress event is all to do.
Also if he want to refresh the control with focus in any control, is only possible with an api call to keyb proc (GetAsyncKeyState, i believe :-/ ) to hook the key press and refresh dir.
(so, i have some grammar errors, but if above text is not legible to you, please reply me)

____________________________
Aleks

19-11-2003 at 06:27 AM
View Profile Send Email to User Show All Posts ICQ | Quote Reply
jlara
Level: Guest

icon Re: Can anybody help me?

Tambien puede crear un gancho al teclado con la API SetWindowsHookEx, de manera que al pulsar un tecla cualquiera se actualize

19-11-2003 at 03:54 PM
| Quote Reply
AndreaVB Forum : Non-English ONLY : Can anybody help me?
Next Topic (Como usar texto formatado nas aplicações de VB) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2012 Andrea Tincaniborder