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

 

 


Tema destacado: Arreglado, de nuevo, el registro del warzone (wargame) de EHN


  Mostrar Temas
Páginas: 1 2 3 4 5 6 7 8 [9] 10 11
81  Sistemas Operativos / GNU/Linux / problema con Samba en ubuntu 11.04 en: 16 Mayo 2011, 19:02 pm
hola gente, generalmente no ando por esta parte de foro, por la simple razon que no suelo usar Linux, pero hace poko me surgio la duda de como es Linux y decidi instalar Ubuntu, en aquel entonces por problemas visuales/graficos, decidi deesistir de Ubuntu y volvi a Win7. el otro dia volvi a instalar ubuntu, como la otra vez me fue mal decidi probar primero y si todo marchaba bien si instalarlo definitibamente, por lo cual instale ubuntu desde elinstalador para windows que brinda ubuntu.

en esta version 11.04 lo visual anda bien como debe ser, eso es mas tema de Drivers NVIDIA que de ubuntu en si, pero bue, el problema que se me presenta en esta ocacion es el siguiente: no logro configurar Samba para un correcto funcionamiento. en mi casa hay 3 PC's, 2 de mi hno, y mi pc, las 2 pc's de mi hno tienen Win7, el tema es que con una configuracion basica de Samba me uni a la red en la cual estan las 2 pc's de mi hno y el problema es que, desde las pcs de mi hno,se puede acceder a mi pc, pero yo no veo ni tengo acceso a las pcs, no asi si entro en mi windows7 donde tengo acceso a las pcs de mi hno, como puedo solucionar esto, osea poder tener acceso a las otras 2 pcs de la red de mi casa?

aca dejo IMG y el /etc/samba/smb.conf:


Url: http://download1446.mediafire.com/1wejj7hseekg/f2hvi86ijboe06f/Red.jpg

Código
  1. #
  2. # Sample configuration file for the Samba suite for Debian GNU/Linux.
  3. #
  4. #
  5. # This is the main Samba configuration file. You should read the
  6. # smb.conf(5) manual page in order to understand the options listed
  7. # here. Samba has a huge number of configurable options most of which
  8. # are not shown in this example
  9. #
  10. # Some options that are often worth tuning have been included as
  11. # commented-out examples in this file.
  12. #  - When such options are commented with ";", the proposed setting
  13. #    differs from the default Samba behaviour
  14. #  - When commented with "#", the proposed setting is the default
  15. #    behaviour of Samba but the option is considered important
  16. #    enough to be mentioned here
  17. #
  18. # NOTE: Whenever you modify this file you should run the command
  19. # "testparm" to check that you have not made any basic syntactic
  20. # errors.
  21. # A well-established practice is to name the original file
  22. # "smb.conf.master" and create the "real" config file with
  23. # testparm -s smb.conf.master >smb.conf
  24. # This minimizes the size of the really used smb.conf file
  25. # which, according to the Samba Team, impacts performance
  26. # However, use this with caution if your smb.conf file contains nested
  27. # "include" statements. See Debian bug #483187 for a case
  28. # where using a master file is not a good idea.
  29. #
  30.  
  31. #======================= Global Settings =======================
  32.  
  33. [global]
  34.  
  35. ## Browsing/Identification ###
  36.  
  37. # Change this to the workgroup/NT-domain name your Samba server will part of
  38. workgroup = INTRANET
  39. ;        netbios name = XKIZ-UB
  40. # server string is the equivalent of the NT Description field
  41. server string = testing
  42.  
  43. # Windows Internet Name Serving Support Section:
  44. # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
  45. #   wins support = no
  46.  
  47. # WINS Server - Tells the NMBD components of Samba to be a WINS Client
  48. # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
  49. ;   wins server = w.x.y.z
  50.  
  51. # This will prevent nmbd to search for NetBIOS names through DNS.
  52. ;   dns proxy = no
  53.  
  54. # What naming service and in what order should we use to resolve host names
  55. # to IP addresses
  56. ;   name resolve order = lmhosts host wins bcast
  57.  
  58. #### Networking ####
  59.  
  60. # The specific set of interfaces / networks to bind to
  61. # This can be either the interface name or an IP address/netmask;
  62. # interface names are normally preferred
  63. ;   interfaces = 127.0.0.0/8 eth0
  64.  
  65. # Only bind to the named interfaces and/or networks; you must use the
  66. # 'interfaces' option above to use this.
  67. # It is recommended that you enable this feature if your Samba machine is
  68. # not protected by a firewall or is a firewall itself.  However, this
  69. # option cannot handle dynamic or non-broadcast interfaces correctly.
  70. ;   bind interfaces only = yes
  71.  
  72.  
  73.  
  74. #### Debugging/Accounting ####
  75.  
  76. # This tells Samba to use a separate log file for each machine
  77. # that connects
  78. log file = /var/log/samba/log.%m
  79.  
  80. # Cap the size of the individual log files (in KiB).
  81. max log size = 1000
  82.  
  83. # If you want Samba to only log through syslog then set the following
  84. # parameter to 'yes'.
  85. #   syslog only = no
  86.  
  87. # We want Samba to log a minimum amount of information to syslog. Everything
  88. # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
  89. # through syslog you should set the following parameter to something higher.
  90. syslog = 0
  91.  
  92. # Do something sensible when Samba crashes: mail the admin a backtrace
  93. panic action = /usr/share/samba/panic-action %d
  94.  
  95.  
  96. ####### Authentication #######
  97.  
  98. # "security = user" is always a good idea. This will require a Unix account
  99. # in this server for every user accessing the server. See
  100. # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
  101. # in the samba-doc package for details.
  102. #   security = user
  103.  
  104. # You may wish to use password encryption.  See the section on
  105. # 'encrypt passwords' in the smb.conf(5) manpage before enabling.
  106. encrypt passwords = no
  107.  
  108. # If you are using encrypted passwords, Samba will need to know what
  109. # password database type you are using.  
  110. ; passdb backend = tdbsam
  111.  
  112. obey pam restrictions = yes
  113.  
  114. # This boolean parameter controls whether Samba attempts to sync the Unix
  115. # password with the SMB password when the encrypted SMB password in the
  116. # passdb is changed.
  117. unix password sync = yes
  118.  
  119. # For Unix password sync to work on a Debian GNU/Linux system, the following
  120. # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
  121. # sending the correct chat script for the passwd program in Debian Sarge).
  122. passwd program = /usr/bin/passwd %u
  123. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
  124.  
  125. # This boolean controls whether PAM will be used for password changes
  126. # when requested by an SMB client instead of the program listed in
  127. # 'passwd program'. The default is 'no'.
  128. pam password change = yes
  129.  
  130. # This option controls how unsuccessful authentication attempts are mapped
  131. # to anonymous connections
  132. map to guest = bad user
  133.  
  134. ########## Domains ###########
  135.  
  136. # Is this machine able to authenticate users. Both PDC and BDC
  137. # must have this setting enabled. If you are the BDC you must
  138. # change the 'domain master' setting to no
  139. #
  140. ;   domain logons = yes
  141. #
  142. # The following setting only takes effect if 'domain logons' is set
  143. # It specifies the location of the user's profile directory
  144. # from the client point of view)
  145. # The following required a [profiles] share to be setup on the
  146. # samba server (see below)
  147. ;   logon path = \\%N\profiles\%U
  148. # Another common choice is storing the profile in the user's home directory
  149. # (this is Samba's default)
  150. #   logon path = \\%N\%U\profile
  151.  
  152. # The following setting only takes effect if 'domain logons' is set
  153. # It specifies the location of a user's home directory (from the client
  154. # point of view)
  155. ;   logon drive = H:
  156. #   logon home = \\%N\%U
  157.  
  158. # The following setting only takes effect if 'domain logons' is set
  159. # It specifies the script to run during logon. The script must be stored
  160. # in the [netlogon] share
  161. # NOTE: Must be store in 'DOS' file format convention
  162. ;   logon script = logon.cmd
  163.  
  164. # This allows Unix users to be created on the domain controller via the SAMR
  165. # RPC pipe.  The example command creates a user account with a disabled Unix
  166. # password; please adapt to your needs
  167. ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
  168.  
  169. # This allows machine accounts to be created on the domain controller via the
  170. # SAMR RPC pipe.  
  171. # The following assumes a "machines" group exists on the system
  172. ; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
  173.  
  174. # This allows Unix groups to be created on the domain controller via the SAMR
  175. # RPC pipe.  
  176. ; add group script = /usr/sbin/addgroup --force-badname %g
  177.  
  178. ########## Printing ##########
  179.  
  180. # If you want to automatically load your printer list rather
  181. # than setting them up individually then you'll need this
  182. #   load printers = yes
  183.  
  184. # lpr(ng) printing. You may wish to override the location of the
  185. # printcap file
  186. ;   printing = bsd
  187. ;   printcap name = /etc/printcap
  188.  
  189. # CUPS printing.  See also the cupsaddsmb(8) manpage in the
  190. # cupsys-client package.
  191. ; printing = cups
  192. ;   printcap name = cups
  193.  
  194. ############ Misc ############
  195.  
  196. # Using the following line enables you to customise your configuration
  197. # on a per machine basis. The %m gets replaced with the netbios name
  198. # of the machine that is connecting
  199. ;   include = /home/samba/etc/smb.conf.%m
  200.  
  201. # Most people will find that this option gives better performance.
  202. # See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
  203. # for details
  204. # You may want to add the following on a Linux system:
  205. #         SO_RCVBUF=8192 SO_SNDBUF=8192
  206. #   socket options = TCP_NODELAY
  207.  
  208. # The following parameter is useful only if you have the linpopup package
  209. # installed. The samba maintainer and the linpopup maintainer are
  210. # working to ease installation and configuration of linpopup and samba.
  211. ;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
  212.  
  213. # Domain Master specifies Samba to be the Domain Master Browser. If this
  214. # machine will be configured as a BDC (a secondary logon server), you
  215. # must set this to 'no'; otherwise, the default behavior is recommended.
  216. #   domain master = auto
  217.  
  218. # Some defaults for winbind (make sure you're not using the ranges
  219. # for something else.)
  220. ;   idmap uid = 10000-20000
  221. ;   idmap gid = 10000-20000
  222. ;   template shell = /bin/bash
  223.  
  224. # The following was the default behaviour in sarge,
  225. # but samba upstream reverted the default because it might induce
  226. # performance issues in large organizations.
  227. # See Debian bug #368251 for some of the consequences of *not*
  228. # having this setting and smb.conf(5) for details.
  229. ;   winbind enum groups = yes
  230. ;   winbind enum users = yes
  231.  
  232. # Setup usershare options to enable non-root users to share folders
  233. # with the net usershare command.
  234.  
  235. # Maximum number of usershare. 0 (default) means that usershare is disabled.
  236. ; usershare max shares = 100
  237.  
  238. # Allow users who've been granted usershare privileges to create
  239. # public shares, not just authenticated ones
  240. usershare allow guests = yes
  241. security = share
  242. guest ok = yes
  243. guest account = xkiz
  244.  
  245. #======================= Share Definitions =======================
  246.  
  247. # Un-comment the following (and tweak the other settings below to suit)
  248. # to enable the default home directory shares. This will share each
  249. # user's home director as \\server\username
  250. ;[homes]
  251. ;   comment = Home Directories
  252. ;   browseable = no
  253.  
  254. # By default, the home directories are exported read-only. Change the
  255. # next parameter to 'no' if you want to be able to write to them.
  256. ;   read only = yes
  257.  
  258. # File creation mask is set to 0700 for security reasons. If you want to
  259. # create files with group=rw permissions, set next parameter to 0775.
  260. ;   create mask = 0700
  261.  
  262. # Directory creation mask is set to 0700 for security reasons. If you want to
  263. # create dirs. with group=rw permissions, set next parameter to 0775.
  264. ;   directory mask = 0700
  265.  
  266. # By default, \\server\username shares can be connected to by anyone
  267. # with access to the samba server. Un-comment the following parameter
  268. # to make sure that only "username" can connect to \\server\username
  269. # The following parameter makes sure that only "username" can connect
  270. #
  271. # This might need tweaking when using external authentication schemes
  272. ;   valid users = %S
  273.  
  274. # Un-comment the following and create the netlogon directory for Domain Logons
  275. # (you need to configure Samba to act as a domain controller too.)
  276. ;[netlogon]
  277. ;   comment = Network Logon Service
  278. ;   path = /home/samba/netlogon
  279. ;   guest ok = yes
  280. ;   read only = yes
  281.  
  282. # Un-comment the following and create the profiles directory to store
  283. # users profiles (see the "logon path" option above)
  284. # (you need to configure Samba to act as a domain controller too.)
  285. # The path below should be writable by all users so that their
  286. # profile directory may be created the first time they log on
  287. ;[profiles]
  288. ;   comment = Users profiles
  289. ;   path = /home/samba/profiles
  290. ;   guest ok = no
  291. ;   browseable = no
  292. ;   create mask = 0600
  293. ;   directory mask = 0700
  294.  
  295. [printers]
  296. comment = All Printers
  297. browseable = no
  298. path = /var/spool/samba
  299. printable = yes
  300. ; guest ok = no
  301. ; read only = yes
  302. create mask = 0700
  303.  
  304. # Windows clients look for this share name as a source of downloadable
  305. # printer drivers
  306.  
  307. [Música]
  308. comment = Mi Música
  309. path = /media/Other/Info_Local/User/Música
  310. ; writeable = No
  311. ; browseable = yes
  312. guest ok = yes
  313.  
  314. [Warehouse]
  315. path = /media/Other/Info_internet/Warehouse
  316. ; writeable = No
  317. ; browseable = yes
  318. guest ok = yes
  319.  

disculpen si fue algo extenso, pero no quiero olvidarme de nada....
82  Sistemas Operativos / Windows / salio DVD de Windows 7 SP1? en: 6 Mayo 2011, 10:34 am
hola gente, hace mucho que no ando por estos pados ya.
les tengo una pequeña consulta:
alguien sabe si por una de esas casualidades de la vida, Microsoft ha realizado el DVD de Windows 7 con SP1 ya integrado?

osea yo tengo el DVD de de Windows 7 que venia con esto:
Imagen: 7600.16385_x86_x64free_client_es-es_retail-grtmculfrer_es_dvd.iso
    • Windows 7 Starter 32 bits
    • Windows 7 Home Basic 32 y 64 bits
    • Windows 7 Home Premium 32 y 64 bits
    • Windows 7 Professional 32 y 64 bits
    • Windows 7 Ultimate 32 y 64 bits
    • Windows 7 Enterprise 32 y 64 bits

    osea lo que quisiera saber si existe lo mismo pero con SP1 ya integrado desde fabrica(Microsoft) osea googlie pero solo encuentro versiones de Win7SP1 UE, y ya todos sabemos ue son un desastre el 98,99% de las veces.

    osea no estoy pidiendo nada raro, solo quiera saber si Microsoft ya ha liberado esa imagen y sy alguien seri a tan amable de brindarme el nombre de la iso, asi yo lo busco por mi cuenta.

    PD: si viene un link, seria mejor, pero no quiero fomentar la pirateria. shhhh!![/list]
    83  Informática / Software / File Transfer 1.2 en: 9 Octubre 2010, 10:29 am
    hoy estaba al cuete y se me ocurrio ver si encontraba algun programa para enviar archivos PC-PC, sin usar el MSN, UltraVNC TeamViewer y otros programas que en si hacen otra cosa y ademas transfieren archivos, buscaba uno que solo sirva para transferir archivos via internet y me tope con este programa. No lo pude testear mucho pero por lo testeado localmente funciona bien, aca dejo los datos y los links por si a alguien le es util. como mucho no lo testie estaria bueno que comenten que onda.


    File Transfer, Transfiere archivos / p2p carpetas, rápida y segura: la compresión transparente, pausar / reanudar, muy bajo de la CPU, la conexión TCP / UDP, auto-descubrir, simultáneas de apoyo de enviar y recibir, proxy (SOCKS5), NAT Transversal (Teredo, UPnP), HTTP / FTP También, gráfico de velocidad, chatear.



    Sitio Web: File Transfer
    Descargar:File Transfer (SourceForge)
    84  Sistemas Operativos / GNU/Linux / como instalar Driver NVIDIA en ubuntu 10.04? en: 19 Septiembre 2010, 17:42 pm
    bue en si es lo que dice el titulo, como tengo que hacer para instalar los Drivers de NVIDIA?

    Osea tengo instalado los drivers que mete ubuntu por defecto, version 195.36.24. pero la verdad es que se ve todo muy, muy mal, al principio pensaba que era solo los video por algun problema de codecs o algo asi, pero si muevo una ventana rapido, se cuartea todo, osea definitivamente es problema de Drivers, fui a http://www.nvidia.es/object/linux-display-amd64-256.53-driver-la.html y vi que la version que da nvidia es mas actual:

    Versión: 256.53 Certified
    Fecha de Lanzamiento: 2010.08.31
    Sistema Operativo: Linux 64-bit
    Lenguaje: Español (América Latina)
    Tamaño: 40.9 MB

    me baje el archivo: NVIDIA-Linux-x86_64-256.53.run y lo trate de ejecutar:

    Código:
    xkiz@ubuntu:~$ sudo su
    [sudo] password for xkiz:
    root@ubuntu:/home/xkiz# pwd
    /home/xkiz
    root@ubuntu:/home/xkiz# ls
    Descargas   Escritorio        fet-results  Música      Plantillas  Vídeos
    Documentos  examples.desktop  Imágenes     nvidia.run  Público
    root@ubuntu:/home/xkiz# sudo chmod +x ./nvidia.run
    root@ubuntu:/home/xkiz# sudo sh ./nvidia.run

    pero me da este error
    Citar
    ERROR: You appear to be running an X server; please exit X before           
             installing.  For further details, please see the section INSTALLING   
             THE NVIDIA DRIVER in the README available on the Linux driver         
             download page at www.nvidia.com.

    como tengo que hacer para poder instalar el driver de nvidia y asi ver si puedo solucionar el problema visual, por que no creo que el problema sea mi placa de Video [ NVIDIA XFX GeForce GTS 250 1GB]
    85  Sistemas Operativos / GNU/Linux / problema de visualizacion de video en fullscreen [ubuntu 10.04 x64] en: 18 Septiembre 2010, 20:03 pm
    bue estoy teniendo problemas de visualizacion de video en full screen, no importa el reproductor que utilize,  la imagen como que se entre corta y queda feo.

    hace muy poko instale ubuntu 10.04 y la vedad es que estoy perdido, instale o active los controladores para mi placa de video, la cual es XFX GeForce NVIDIA GTS 250 1GB, tambien instale:

    Código:
    sudo aptitude -y install non-free-codecs
    sudo aptitude -y install ubuntu-restricted-extras

    sudo add-apt-repository ppa:gnome-media-player-development/development && sudo aptitude update && sudo aptitude install gnome-media-player
    sudo aptitude -y install smplayer
    sudo aptitude -y install mplayer

    creo que eso es todo lo referido a video que meti y en todos los reproductores se ve =....




    como puedo solucionar esto?
    86  Sistemas Operativos / GNU/Linux / montar particion permanentemente ubuntu 10.04 en: 18 Septiembre 2010, 18:19 pm
    bueno, partiendo desde el principio,siempre fui usuario de Windows, pero hace un par de dias me entro la intriga de como es ubuntu, asi que, fui a la web de ubuntu y para bajarme la iso del sistema, por ahi vi un Windows Installer, asi que como dude baje ese instalador para windows, lo ejecute y instale ubuntu en mi pc conjunto a Windows 7, mi disco rigido esta particionado  con el CD de Win XP, en C:\ (80GB) y D:\ (385.8GB) las 2 son NTFS, bue, instale ubuntu en D, pero como vi que no me era facil el acceso a los datos de D: formatie y lo instale en C:\ en la misma particion que Win7.
    en la parition D:\Other tengo toda mi musica, videos, etc, y note que al iniciar ubuntu no carga automaticamente esta particion que lo hace una vez que intentamos acceder a ella.

    osea busque internet como hacerlo y llegue a esto:
    Código:
    sudo -s
    sudo gedit /etc/fstab

    una vez en el archivo fstab, agregue esto:

    Código:
    /dev/sda5 /media/Other fuseblk exec,defaults 0 0

    como me dijeron, pero al iniciar el sistema(ubuntu) me dice que el controlador no esta disponible o preparado para .......

    en si hace 4 horas que estoy con esto, alguien me puede decir como tengo que hacer para montora permanentemente la particion Other en ubuntu?
    87  Programación / Programación Visual Basic / habilitar o deshabilitar adaptador de red [Win32_NetworkAdapter] en: 12 Septiembre 2010, 11:58 am
    bue, + o - como dice el titulo estoy tratando de habilitar o deshabilitar la conexion de area local, para ello, buscando por Google
    encontre esto lo cual despues de transcribirlo en vb6, no puedo hacer que funcionen las 2 alternativas [ Enable / Disable ].
    Aca dejo lo que tengo hasta ahora:

    Código
    1. Private Enum What
    2.    Disable = 0
    3.    Enable = 1
    4. End Enum
    5.  
    6. Private Function zarazaConAdaptor(SoWhat As What) As Boolean
    7. Dim objWMIService As Object
    8. Dim colAdapters As Object
    9. Dim Adapter As Object
    10. Dim errReturn As Integer
    11.  
    12. On Error GoTo Ups
    13.  
    14. Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\.\root\cimv2")
    15. Set colAdapters = objWMIService.Execquery("Select * from Win32_NetworkAdapter Where NetEnabled=True")
    16.  
    17. 'For Each Adapter In colAdapters
    18. '    Debug.Print Adapter.DeviceId & " " & Adapter.Name
    19. 'Next
    20. If SoWhat = Disable Then errReturn = colAdapters.ItemIndex(0).Disable()
    21. If SoWhat = Enable Then errReturn = colAdapters.ItemIndex(0).Enable()
    22.  
    23. If (errReturn <> 0) Then
    24.    zarazaConAdaptor = False
    25. Else
    26.    zarazaConAdaptor = True
    27. End If
    28.  
    29. Set objWMIService = Nothing
    30. Set colAdapters = Nothing
    31. Exit Function
    32. Ups:
    33. zarazaConAdaptor = False
    34. Set objWMIService = Nothing
    35. Set colAdapters = Nothing
    36. End Function
    37.  
    38. Private Sub Command1_Click()
    39. 'Debug.Print zarazaConAdaptor(Disable)
    40. Debug.Print zarazaConAdaptor(Enable)
    41. End Sub
    42.  

    no logro darme cuenta como solucionar el errror

    Citar
    Verdadero
    -2147217400 Parámetro no válido

    ¿alguien conoce otra forma de hacer esto? mediante API o algo similar me seria mejor por que usar wmi no me convence mucho....
    88  Informática / Software / VobSub x86 x64 en: 12 Septiembre 2010, 05:54 am
    bueno como veo que mucho ponen codecs y por demas...

    la verdad desde que estoy en Windows 7 trato de no instalar cosas por que si, si no son necesarias, y el reproductor de Windows Windows Media Player 12 reproduce muchos muchos formatos de videos como Avi, wmv, mov, etc.. sin la necesidad de instalar paquetes de codecs, osea yo en este momento no tengo instalado ningun paquete de codec.

    hace poco, recompile este filtro para visualisar subtitlos muy utl y me arme un instalador

    VobSubFilter, es simplemente un filtro DirectShow que se puede utilizar para la visualización de subtítulos.

    soporta 32 bits y 64 bits.

    Descagar: VobSub.x86x64_2.39.5.2
    89  Programación / Programación C/C++ / obtener descripcion de ErrorCode de Winint.h en: 11 Septiembre 2010, 10:40 am
    bueno,  estoy realizando un programita en el cual utilizo [InternetOpen, InternetOpenUrl, InternetReadFile] y algunas otras funciones de wininit.h, tengo toda la funcionalidad funcionando correctamente, bue, casi toda. En si el programa cumple su tarea muy bien, pero como es de suponerse, al programar una funcion siempre hay que preever que esta puede salir mal, por factores ajenos a lo referido a la programacion en si.
    en este caso, estoy intentando sacar la descripcion de Error de la funcion InternetOpenUrl que devuelve si la url no existe o similar. se que para sacar la descripcion de un error se usa, en este caso (GetLastError y FormatMessage), pero esta funcion me devuelve un valor 12007, pero en este caso los errores [12000 - 12174] tienen un apartado y la verdad es que no se como llegar a ellos.
    aca dejo info que encontre:

    System Error Codes (12000-15999)

    ERROR_INTERNET_* (see Wininet.h) 12000 - 12174 (0x2EE0) | Internet Error Codes

    en resumen, como tengo que hacer para obtener la descripcion de error[12000 - 12174], estoy re perdido a esta altura.
    90  Programación / Programación General / habilitar/deshabilitar conexion de red en: 11 Septiembre 2010, 08:02 am
    hola gente, pongo esto aca por que no es algo estrictamente de nungun lenguaje en particular, si no, muevando a donde corresponda.

    existe alguna forma de [habilitar / Deshabilitar] una conexión de red, mediante algun lenguaje de programacion ya sea comando de DOS, VB6, VC++, vbs?

    explico mejor como "algunos" ya habran visto, al instalar y activar algunos programas que su "activacion" mediante crackeo o similar solicita que se des-enchufe el cable de internet, se active y se vuelva a enchufar el cable de internet al finalizar la activacion, y la verdad quiero hacer un pequeñito soft para hacerlo con un simple click y.
    se que desde panel de control->conexiones de red se hace, pero no voy a ese punto, si no eel de hacer un soft o tener un pequeñito script que realize esto.



    alguien tiene alguna idea?
    Páginas: 1 2 3 4 5 6 7 8 [9] 10 11
    WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines