Posts Tagged ‘basic’

Tutorial visual basic 6.0 – Winsock – Server.avi


Este video muestra como hacer un pequeño troyano.Usando conexión inversa.Esta es la parte 1 proximamente la parte 2

Tutorial Visual basic 6 0 Winsock Cliente

Tutorial Visual Basic – Vedere il proprio IP (NO winsock) -


Visual Basic 2010 Tutorial ITA su come creare un programma in grado di mostrare la propria IP (senza l’ausilio di winsock). Codici: Dim ipadress As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName) TextBox1.Text = ipadress.AddressList.GetValue(0).ToString www.tutorialrialvb.altervista.org

what are basic telecommunication principles that are used in telecommunication?

07 – Basic TCPIP – The Tale of Two Packets

06 – Basic TCPIP – Understanding Port Numbers

05 – Basic TCPIP – TCP and UDP Communication

04 – Basic TCPIP – Addressing Fundamentals

Visual Basic 2010 networking?

So I got into programming a little over two years ago and have become pretty good at it. I’d like to take it to the next level by making it communicate with the internet. Now I haven’t been programming long enough to remember the winsock controls of VB 6. But that seems to be all I can find. I found a toolkit from C4F, but I like to know how to do things on my own. Does anyone know where I might find something to teach me the code for networking instead of relying on a toolkit?

Prey demo error on Windows Vista Home basic?

I got this f***ing error when I launched the demo of Prey. I have a 128 mb ATI Radeon Xpress 1150 and a AMD 64 Athlon X2 1.70 GHZ. My processor is 1.70 GHZ but it is a duel core processor so I want play Single core 2.0 GHZ games. I got this stupid error when I launched it:

Prey 0.2.95 win-x86 May 30 2006 21:14:05
1695 MHz AMD CPU with MMX & 3DNow! & SSE & SSE2 & SSE3 & HTT & x64
1920 MB System Memory
8 MB Video Memory
Winsock Initialized
Found interface: {850AFBD1-6D2E-48E3-B12D-67035D5FA659} Dell Wireless 1390 WLAN Mini-Card – 192.168.0.104/255.255.255.0
Found interface: {6A9B92B7-60D7-4AC2-9A75-33A7920DEA0C} Broadcom 440x 10/100 Integrated Controller – 0.0.0.0 NULL netmask – skipped
Sys_InitNetworking: adding loopback interface
prey using MMX & SSE & SSE2 & SSE3 for SIMD processing
enabled Flush-To-Zero mode
enabled Denormals-Are-Zero mode
—— Initializing File System ——
Loaded pk4 C:\Program Files\Prey Demo\base\demo00.pk4 with checksum 0×86294060
Current search path:
C:\Program Files\Prey Demo/base
C:\Program Files\Prey Demo\base\demo00.pk4 (11273 files)
game DLL: 0×0 in pak: 0×0
Addon pk4s:
file system initialized.
————————————–

Running in restricted demo mode.

—– Initializing Decls —–
——————————
——- Initializing renderSystem ——–
using ARB renderSystem
renderSystem initialized.
————————————–
2647 strings read from strings/english001.lang
Couldn’t open journal files
couldn’t exec editor.cfg
execing default.cfg
couldn’t exec preyconfig.cfg
couldn’t exec autoexec.cfg
2647 strings read from strings/english001.lang
—– Initializing Sound System ——
sound system initialized.
————————————–
—– R_InitOpenGL —–
Initializing OpenGL subsystem
…registered window class
…registered fake window class
…initializing QGL
…calling LoadLibrary( ‘opengl32′ ): succeeded
Couldn’t find proc address for: wglGetExtensionsStringARB
Couldn’t find proc address for: wglSwapIntervalEXT
Couldn’t find proc address for: wglGetPixelFormatAttribivARB
Couldn’t find proc address for: wglGetPixelFormatAttribfvARB
Couldn’t find proc address for: wglChoosePixelFormatARB
Couldn’t find proc address for: wglCreatePbufferARB
Couldn’t find proc address for: wglGetPbufferDCARB
Couldn’t find proc address for: wglReleasePbufferDCARB
Couldn’t find proc address for: wglDestroyPbufferARB
Couldn’t find proc address for: wglQueryPbufferARB
Couldn’t find proc address for: wglBindTexImageARB
Couldn’t find proc address for: wglReleaseTexImageARB
Couldn’t find proc address for: wglSetPbufferAttribARB
…calling CDS: ok
…created window @ 0,0 (640×480)
Initializing OpenGL driver
…getting DC: succeeded
…PIXELFORMAT 7 selected
…creating GL context: succeeded
…making context current: succeeded
Couldn’t find proc address for: wglGetExtensionsStringARB
Couldn’t find proc address for: wglSwapIntervalEXT
Couldn’t find proc address for: wglGetPixelFormatAttribivARB
Couldn’t find proc address for: wglGetPixelFormatAttribfvARB
Couldn’t find proc address for: wglChoosePixelFormatARB
Couldn’t find proc address for: wglCreatePbufferARB
Couldn’t find proc address for: wglGetPbufferDCARB
Couldn’t find proc address for: wglReleasePbufferDCARB
Couldn’t find proc address for: wglDestroyPbufferARB
Couldn’t find proc address for: wglQueryPbufferARB
Couldn’t find proc address for: wglBindTexImageARB
Couldn’t find proc address for: wglReleaseTexImageARB
Couldn’t find proc address for: wglSetPbufferAttribARB

——- Input Initialization ——-
Initializing DirectInput…
mouse: DirectInput initialized.
keyboard: DirectInput initialized.
————————————
…initializing OpenAL
…calling LoadLibrary( ‘openal32.dll’ ): failed
…initializing OpenAL
…calling LoadLibrary( ‘openal32.dll’ ): failed
sound: STEREO
X..GL_ARB_multitexture not found
X..GL_ARB_texture_env_combine not found
X..GL_ARB_texture_cube_map not found
X..GL_ARB_texture_env_dot3 not found
X..GL_ARB_texture_env_add not found
X..GL_ARB_texture_non_power_of_two not found
X..GL_ARB_texture_compression not found
X..GL_EXT_texture_filter_anisotropic not found
X..GL_EXT_texture_lod not found
X..GL_1.4_texture_lod_bias not found
X..GL_EXT_shared_texture_palette not found
X..GL_EXT_texture3D not found
X..GL_EXT_stencil_wrap not found
X..GL_NV_register_combiners not found
X..GL_EXT_stencil_two_side not found
X..GL_ATI_separate_stencil not found
X..GL_ATI_fragment_shader not found
X..GL_ATI_text_fragment_shader not found
X..GL_ARB_vertex_buffer_object not found
X..GL_ARB_vertex_program not found
X..GL_ARB_fragment_program not found
********************
ERROR: The current video card / driver combination does not support the necessary features.
********************
The current video card / driver combination does not support the necessary features.
Shu
I updated DirectX and I even uninstalled my video card drivers then reinstalled itbut it still doesn’t work!!!!!

TCP/IP Visual Basic 2008?

Ive written many programs back in the days of XP that commuinicated via the UDP and TCP families as part of the Winsock control in visual basic 6.0.

Now days vista dosnt have these controls as default. What controls can I use in place of the Winsock control on vista, that are available as default?
Yes, I understand UDP and TCP protocols are still in use (obviously), but what has replaced the winsock control?

How to make Visual Basic 6, make a text file, sorting server data?

Okay, I am trying to make an MMO, and so far, I have all my concepts in place. I am working on Winsock controls in another forum, and I may be posting a question about it here, BUT- I have one critical problem;

Player files.

Okay, I decided that when a player registers, all the information is thrown bit-by-bit to the server, then, I want the server to take the data, open up a text file, put the information, in the correct organization, and then save that file to a directory in my computer.

Though I have a problem- so far, I know how to make Winsock take data, and I can do whatever I like with it, but, I do not know how to make Visual Basic open up a text file, take the information, jot it down into the text, then save it, and name the file, then be able to search it up later when it is needed.

Can someone give me the code? So far, all I have is what is needed to be written.

———————————————————————————————————————–
DataArrived()
————————
Dim strUsername as string
Dim strPassword as string
Dim strEmail as string
Dim strSecurityQuestion as string
Dim strSecurityAnswer as string

Winsock1.GetData strUsername
Winsock1.GetData strPassword
Winsock1.GetData strEmail
Winsock1.GetData strSecurityQuestion
Winsock1.GetData strSecurityAnswer
——————————————————————-

So, so far I just have Winsock1 getting the data, but I already see a problem that I DO NOT know the answer to.

How can I make it so that Winsock1 will know WHAT strUsername is? What if the client put his username, and then the server thinks that the username is the password. How can I make it so it knows what is what?

Thanks in advance!

P.S. Does anyone know what the SMALLEST (in data size) text format is?
Oh yeah, the bit of code i threw there isnt from an actual VB, I just made it up on the spot (sept the variables)… So ignore the absence of the Private Subs and End subs
By format, I meant like .txt , .rtf, .abw, etc.

It sends it in order eh?

So if I tell the send button on the client to send the username (a string variable) first in the line, the server will recieve it before all the others and use strUsername to find it since strUsername is the first string Winsock1 is supposed to find?

Visual Basic Chat Program (NEEDS HELP)?

Hello, just so you know, I only have slight knowledge with programming (majority with VB 6.0) I am doing a project involving just making a simple chat program between two computers, I have looked up all tutorials and they all include using the VB 6.0 winsock, yet i don’t own this program, and it seems to have been completely wiped off the map.

I have downloaded Visual basic 2005 2008 and 2010 and have found that none of them have the Winsock, nor are there any tutorials.

Is there anyone that can give me a straight rundown on how to make a simple program like this, a link to a tutorial that can help me do this without VB 6.0, or can someone give me a link to a download for VB 6.0 cause i can’t find a working one anywhere.

Need help for basic multiplayer game(using c)?

I want to make a simple multiplayer game(playable on a network) with C.I want this game to be able to run on any os (mainly Linux and windows).Which library should I use for graphics programming and which for socket programming.
I have done some socket programming stuff in Linux(Ubuntu).Linux does not require any special library for socket programming.
But I have heard that there is a need for winsock library for a socket program to run.
Is a socket program written in linux(using c language) will be compatible with windows if I use winsock library.
I want that a game designed on linux be able to run on any os.

Visual Basic 2008 Express Edition Help – Chat?

Im trying to make a client / server chat program with visual basic 2008 express edition but it seems that everyone is stuck in the past using visual basic 6.

I cant utilize the winsock component and im not getting visual basic 6 so dont bother telling me to, anyway im trying to figure out the 2008 commands to create and send chat messages using the server. I found a good tutorial at

http://www.phoenixbit.com/site/tutorials.asp?view=UHJvZ3JhbW1pbmcvVmlzdWFsIEJhc2ljL3dpbnNvY2sx

but its for visual basic 6 and i tried VB 6 but it doesnt show the winsock component and i cant seem to add it through the components part, again im not going to use VB 6.

anyway i want the server to listen on a port and accept connections same thing as in the tutorial i just need the VB 2008 version codes.

Dont bother replying with anything stupid or redundant like your having the same problem just help me get the answers

What’s wrong with my chat program code(Visual Basic)?

I’m trying to write a chat program in visual basic 2008 using winsock. When ever i use this it always gets stuck at Winsock.GetData(messagein) and does nothing. Could somebody tell me where my code has errors please.
Localhost is set to 255.255.255.255
local port and remote port are the same
and protocal is set to 1
Any help would be appreciated.
Thanks in advance.

Public Class Form1
Dim messagein As String
Dim messageout As String
Private Sub sendButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sendButton.Click
messageout = sendTextBox.Text
Winsock.SendData(messageout)
End Sub

Private Sub Winsock_DataArrival(ByVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent) Handles Winsock.DataArrival
Winsock.GetData(messagein)
getTextBox.Text = messagein
End Sub

End Class

AJAX and Visual Basic 6.0?

Can anyone help about using VB 6.0 for my messenger program. I’m using a timer control to refresh my ADODB connection to MySQL Database everytime a new message is encountered. Does VB 6.0 have anything else than ADODB to connect to the web (exept winsock) to enable AJAX technique to make a dynamic messenger? The Program works but the real problem is, It Hangs Up and I struggles for time to type a message!
Actually, the Messenger is only a part of the whole program, there’s no reason to convert the application into a browser page

Chatroom using Visual Basic?

I have built a simple chatroom client and sever using VB and Microsoft Winsock Control 6.0. The server runs well on my computer and another’s, but will not run on another friend’s computer with a faster internet speed. It cannot connect is the error. It is designed to try to connect three times, yet I with a slower connection can run it.

Help would be great, and if you have no idea, mention this to others you know. Maybe I’m missing somthing obvious. Thank you all, 10 points up for graps.

Digital Clock from basic IC chips


Multisim diagram of the circuit i43.photobucket.com I made this for a final project in a digital circuits class. It’s a fully functional 12-hour clock with an AM/PM light. It’s made out of basic TTL chips such as adders, counters, logic gates, and decoders. What I actually built is only the minutes and hours portion of the clock. I hooked it up to a 555 timer circuit and you can see that it increments the minutes directly. (Warning, technobabble) If you wanted to use it as an actual clock you could hook up the lowest counter chip’s CLK pin to a circuit that divides a 32.768kHz crystal oscillation down by 2^15th, then by 60, to give a steady and reliable 1-minute pulse. Also hooking up the other counter’s CLK pins to debounced switches allows for presetting times.

Visual Basic 6 LAN CHAT Program URGENT, can anyone help me?

we have a project in school, making a “LAN Chat” Program out of visual basic 6… the Program is splitted into two (SERVER and CLIENT)… i used WInsock 6 connecting with IP, Port and other stuff…
When i run both the program (client and server) on a same computer works just fine.. even multiple clients 6+ Clients but on the same computer… but when i try to run it on separate computers it doesnt work… it says Error: Connection is forcefully Rejected. i need help pls…

Categories
  • Most Popular Posts

  • Powered by Yahoo! Answers