i just want an example source code with 2 winsock can be run in one project. and can communicate each other.thanks
zhiyuan16
Posts
-
how to create client and server winsock in one project or use 2 winsock in one project? -
how to create client and server winsock in one project or use 2 winsock in one project?thanks a lot. anyone has such example source code. can anyone send me here. only exchange the data. thanks a lot
-
how to create client and server winsock in one project or use 2 winsock in one project?i only want to send data from client winsock, and when server receive data, then i want to do other things. that is all. so i only need one application to apply 2 winsock. thanks
-
how to create client and server winsock in one project or use 2 winsock in one project?thanks. i searched already, all are the 2 applications, i just want one application for 2 winsock senddata. thanks
-
how to create client and server winsock in one project or use 2 winsock in one project?dear all i am a newbe, only want to test my program via 2 winsock. client send a data and server can receive data, that is all. anyone can help me? thanks a lot
-
how to use Compare?hahahahaha, i think you also need to buy this book to study hard, although my ability in vb6 is really limited, but i don't agree compare can only get boolen.
-
how to use Compare?thanks sir, i knew this point, but that answer is not what i want. i just want to know after compare..what is result? the result is greater value or less value? i searched online and asked someone already. so still couldn't find solution.
-
how to use Compare?sorr, probably i made a mistake, i mean how to use "Compare" to compare 2 deccimal values; for example:compare = int(251 and 4)
-
how to use Compare?i want to compare 2 decimal value(0-255)
-
how to use Compare?dear all how to use compare in vb 6? thanks a lot
-
how to use compare functiondear all how to use compare function, the following is the example code for reading input bit
Dim iShift As Double, I As Double
iShift = 1 For I = 0 To 7 Compare = Int(InputByte And iShift) If Compare = iShift Then 'Bit Turn OFF AMD\_GalilInputAxisBit(I) = 1 AMD\_GalilInputBit(I) = 1 'DigitalIO.Label2(I).BackColor = vbRed Else AMD\_GalilInputAxisBit(I) = 0 'Bit Turn ON AMD\_GalilInputBit(I) = 0 'DigitalIO.Label2(I).BackColor = vbGreen End If iShift = iShift \* 2 Next I
-
how to pass a handler to another formhow to keep the reference for dialog or forms in my main form class? could u give me an example?thanks
-
how to scale or zoomx and zoomy?dear all how to scale or zoomx and zoomy for one image size? for example, my image size is 1624, 1224, but my pictureBox is 680,580, how to scale and zoomx and zoomy, make sure all image will be centered and display in the pictureBox. thanks
-
how to pass a handler to another formthanks first. if i have such dialogs
InspectionImageDialog m_ImgDlg = new InspectionImageDialog();
InspectionResultDialog m_RltDlg = new InspectionResultDialog();
Intel_Amd_InfoDialog intelamdDialog = new Intel_Amd_InfoDialog();i would like to only new once and i can use this instance in anywhere of my project. how to do that? so far, i have 3 forms above and 1 mainDlg, so i want to control 3 dialogs in my mainDlg, also sometimes i want to get some property in other dialog. so how to new a instance and then i can use this instance freely and get its property and asign value or get value there.
-
how to pass a handler to another formdear all i am a newbe, this is a basic issue. i want to get a form's width height, and other property in another form. so how i can achive this point? thanks.
-
can't get float valuedear all
float nwidth = (ImageBW8 .Width / ImageBW8.ImageWidth);
float nheight =((ImageBW8 .Height / ImageBW8.ImageHeight);ImageBW8 .Width ,ImageBW8.ImageWidth, ImageBW8 .Height ,ImageBW8.ImageHeight, all got value, but however nwidth and nheight are 0.0. anyone can help me? why nwidth and nheight are only 0.0, instead of exact values there. thanks a lot.
-
UIS Application\MainDialog.Designer.csthanks sir, i solved already according to your help. here another problem for me, when i set the "maindialog" as topmost, however when i click the mnubutton to display a dialog, it can't be display outside, it displayed the behind the maindialog, if i set the maindialog as normal then it can display, however when i want to run my maindialog, i want it as topmost. how to display the other dialog outside the maindialog when i set maindialog as topmost. thanks a lot
-
UIS Application\MainDialog.Designer.csthanks sir, acutally i found already by this way, i couldn't find where i definded more than one. and moreever i couldn't display the "MainDialog GUI", when i double clicked the "maindialog" then the following dialog display and content is : object reference not set to an instances of an object. how to solve it. thanks
-
UIS Application\MainDialog.Designer.csdear all i am newbe with C#, i got a problem when i am debug, the issue is as following: Error 2 The type 'UIS_Application.MainDialog' already contains a definition for 'toolBtnRun' C:\Documents and Settings\LI ZHIYUAN\Desktop\UIS Application\UIS Application\UIS Application\MainDialog.Designer.cs 555 54 UIS Application how to solve this issu. thanks a lot.
-
how to use winsock to exchange data in 2 diferent exedear all this is first time for me to use winsock in vb6, i don't how to exchange data in 2 different exe, although i searched online, but i still didn't get what i expect. anyone can tell me this point--step by step. thanks a lot.