Search results for query: *

  1. M

    Socket server won't accept connections

    Hello, i can't see why this code is not working. Option Strict On Imports System.Net Imports System.Net.Sockets Imports System.Text Imports System.Threading Public Class Form1 'Form Controls. Private lblListenPort As New Label Private txtListenPort As New TextBox Private...
  2. M

    Question null reference?

    Thanks for help JohnH but problem isn't assign. I made big mistake.. as old vb 6 developer ofcourse i think i can use module in vb.net like in vb6.. I got it working. Thanks What i did ? I made new public class, writed some functions to return data and data is returned to sendbuffer. After...
  3. M

    Question null reference?

    Sorry, my english isn't best :) But yes i said that mS is nothing, but i said wrong. It goes Nothing by itself after it send first data. So, first time when i use Send sub it works , second time i get that error AND i do not assing it nothing on my project. If i need to assign it, how i do it...
  4. M

    Question null reference?

    Okey.. but can you explain this: When my tcp client connects to server, server sends 0x00 , including unique hash. My client receives that NORMALY. But second time when my tcp does send something i get this error on server side. Look packet log: Client connects to server.. OK! Server send...
  5. M

    Question null reference?

    That means i have async connection? Should i remove "While Me.mC.Connected" while loop and get Syncronized system to work? My clients are Syncronized. Thanks for reply, im waiting new :)
  6. M

    Question null reference?

    Hello forum. Im working on threaded tcp server and i faced very strange problem and i can't find anything from google what can help me. Basicly im calling sub Send from module, it should work. But i get exception error and when i move my cursor to mS it says = Nothing . Where my object did go...
  7. M

    Question I need help to get all files and folders at specific driver.

    Thanks, its working now! But i get acces denied error when its scanning documents folder. How to handle it?
  8. M

    Question I need help to get all files and folders at specific driver.

    Thanks, I tried it allready: Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Try Dim Joku = System.IO.Directory.GetDirectories("D:\", System.IO.SearchOption.AllDirectories) For Each Files In Joku...
  9. M

    Question I need help to get all files and folders at specific driver.

    Hello ! I just registered here and first i want say hello to all! :) So, im doing file scanner programm ( I only need code to show all folders and subfolders including all files on D driver ) and i got stucked on very first place. I'm using visual studio 2010, vb.net and my problem is that...
Back
Top