msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I can not run exe file

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
hungnguyen



Joined: 04 Oct 2007
Posts: 7

PostPosted: Mon Sep 08, 2003 7:05 pm    Post subject: I can not run exe file Reply with quote

Dear All
I write an Client/Server application use Winsock Control . Side Client I
have a MDI form (frmMain) and MDI child form (frmEmployeeList) , ..
In frmMain I place a Winsock control (wskWinsock) . In Module (mdlGlobal) I
declare an variant type Winsock(g_wskMyWinsock) and in event Form_Load of
frmMain I set g_wskMyWinsock = wskWinsock and I use g_wskMyWinsock in
another form to Send data .
When frmEmployeeList load I send to server request EmployeeList (I define)
and server return records Employee
In event Private Sub wskWinsock_DataArrival(ByVal bytesTotal As Long) I do
that :

lngBytesTotal = bytesTotal
wskSACMS.GetData vntData, vbArray + vbByte
Select Case g_intCurrentForm
Case FRM_EMPLOYEE_LIST
Call frmEmployeeList.OnReceiveData(vntData,bytesTotal)
End Select
OnReceiveData : receive each record Employee and add to grid

My app run good in VB IDE but when I make exe file and run it then error
occur (send ,don't send microsoft ) and terminate .
I don't know why . Please help me resolve problem .thanks
(I am using WindowXP,VB6,VSSP5)

Archived from group: microsoft>public>vb>enterprise
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group