elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Entrar al Canal Oficial Telegram de elhacker.net


  Mostrar Mensajes
Páginas: 1 ... 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63
511  Programación / Programación Visual Basic / Re: ayuda plizz en: 27 Octubre 2005, 18:18 pm
Hay controles activex para dar un estilo xp a tus formulaios , pues vi uno k ademas de eso le podias poner los menus estilo office XP

No me acuerdo del nombre
512  Programación / Programación Visual Basic / Re: Crear botones dinamicos en VB en: 27 Octubre 2005, 18:12 pm
Esto te vale para uno o dos botones, pero si tenes k crear 100?

Un control de usuario lo k ace es comprobar el estado del cursor, y te automatiza el proceso y se compila en el exe, osea que no tenes dependencias de ningun tipo

Salu2
513  Programación / Programación Visual Basic / Re: Reproduccion de Sonidos... clamando por ayuda... en: 27 Octubre 2005, 18:09 pm
Fuente : Api Guide

Código:
'Example submitted by Danjel Nyberg
'It needs a textbox (Text1) and two command buttons (Command1, Command2)
Private Declare Function waveOutSetVolume Lib "Winmm" (ByVal wDeviceID As Integer, ByVal dwVolume As Long) As Integer
Private Declare Function waveOutGetVolume Lib "Winmm" (ByVal wDeviceID As Integer, dwVolume As Long) As Integer
Private Sub Command1_Click()
    Dim a, i As Long
    Dim tmp As String
    a = waveOutGetVolume(0, i)
    tmp = "&h" & Right(Hex$(i), 4)
    Text1 = CLng(tmp)
End Sub
Private Sub Command2_Click()
    Dim a, i As Long
    Dim tmp, vol As String
    vol = Text1
    tmp = Right((Hex$(vol + 65536)), 4)
    vol = CLng("&H" & tmp & tmp)
    a = waveOutSetVolume(0, vol)
End Sub

514  Programación / Programación Visual Basic / Valores del registro en: 27 Octubre 2005, 17:54 pm
Conozco mas de 20 sitios en los que el ordenador puede iniciar una aplicacion al iniciar el SO, pero el inicio ActiveX no se donde se encuentra, me podriais ayudar, en google no e encontrao donde se encuentra per omuchos programas lo usan

Salu2
515  Programación / Programación Visual Basic / Re: Reproduccion de Sonidos... clamando por ayuda... en: 26 Octubre 2005, 18:34 pm
Fuente: api - guide

Código:

Private Const SND_APPLICATION = &H80         '  look for application specific association
Private Const SND_ALIAS = &H10000     '  name is a WIN.INI [sounds] entry
Private Const SND_ALIAS_ID = &H110000    '  name is a WIN.INI [sounds] entry identifier
Private Const SND_ASYNC = &H1         '  play asynchronously
Private Const SND_FILENAME = &H20000     '  name is a file name
Private Const SND_LOOP = &H8         '  loop the sound until next sndPlaySound
Private Const SND_MEMORY = &H4         '  lpszSoundName points to a memory file
Private Const SND_NODEFAULT = &H2         '  silence not default, if sound not found
Private Const SND_NOSTOP = &H10        '  don't stop any currently playing sound
Private Const SND_NOWAIT = &H2000      '  don't wait if the driver is busy
Private Const SND_PURGE = &H40               '  purge non-static events for task
Private Const SND_RESOURCE = &H40004     '  name is a resource name or atom
Private Const SND_SYNC = &H0         '  play synchronously (default)
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long

Private Sub Form_Load()
PlaySound "C:\WINDOWS\MEDIA\TADA.WAV", ByVal 0&, SND_FILENAME Or SND_ASYNC
End Sub

516  Programación / Programación Visual Basic / Re: Guardar archivos dentro de un form(listview).... en: 26 Octubre 2005, 18:28 pm
No se te entiende muy bien, pero ten en centa k es un control para mostrar reportes, = k el listbox, pero con muchas mas cosas, no es un explorador, ni un contenedor ni nada por el estilo...

Salu2
517  Programación / Programación Visual Basic / Re: conectar por winsock sin necesidad de ip (para chatear por internet) URGENTE en: 25 Octubre 2005, 19:09 pm
Lo k dice el rey, un servidor online.

se mandan los datos al servidor y el servidor los manda a el otro k este conectado, el servidor sabe las 2 ips.

Salu2
518  Programación / Programación Visual Basic / Re: AYUDA URGENTE CON VBSCRIPT !!! en: 25 Octubre 2005, 19:05 pm
y si pruebas con un txt, es el formato de texto plano, no el d word.

salu2
519  Programación / Programación Visual Basic / Re: Duda con el control INet en: 25 Octubre 2005, 15:35 pm

127.0.0.1 es lo mismo k poner localhost
4936 alomejor es por que tienes algun programa que esta usando el puerto del ftp, y intenta usar otro o es que tu programa se conecta a otro puerto ademas de ese, o tienes el puerto 21 blokeado para ese progrma... kita el firewall y prueba, alomojor es alguan linea de code que no as borrado... cualkier cosa...

Salu2
520  Programación / Programación Visual Basic / Re: ayuda con calculadora en vb en: 25 Octubre 2005, 15:28 pm
es mucho mas dificil yamar a la calculadora de windows y luego mandarla las teclas y leer el resultado de la pantallas con hooks, k acrla tu, los hooks es mu avanzado.

Salu2
Páginas: 1 ... 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines