Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Compile Error


JCreations
 Share

Recommended Posts

Sub TcpInit()

' If debug mode, handle error then exit out

If Options.Debug = 1 Then On Error GoTo errorhandler

Set PlayerBuffer = New clsBuffer

' connect

frmMain.Socket.RemoteHost = Options.IP

frmMain.Socket.RemotePort = Options.Port

' Error handler

Compile Error: Method or data member not found

I found a forum saying I needed SP6 and I got it, but it didn't work :-/ any help or guides I could find?
Link to comment
Share on other sites

I have this problem too.

I installed runtime, VB6 portable/essentials, SP6, tried to run as administrator and in compatible mod. (Win XP 2/3) and download the sources again.

Problem(s):

![](http://kepfeltoltes.hu/130102/K_pkiv_g_s3_www.kepfeltoltes.hu_.png) ![](http://kepfeltoltes.hu/130102/K_pkiv_g_s2_www.kepfeltoltes.hu_.png) ![](http://kepfeltoltes.hu/130102/734717820K_pkiv_g_s_www.kepfeltoltes.hu_.png) ![](http://kepfeltoltes.hu/130102/K_pkiv_g_s4_www.kepfeltoltes.hu_.png)
Link to comment
Share on other sites

you're missing something related to the winsock part, either you dont have it or it's ducked. if you look around you should be able to find the .dll somewhere. because you dont have it, when the project opened it couldn't load the little winsock component thingy in your frmmain so that is probably bugged. get a fresh copy.
Link to comment
Share on other sites

> restart pc -> was working for me

Read [this](http://www.touchofdeathforums.com/community/index.php?/topic/131225-the-new-rules/) and stop posting idiotic things like that.

You haven't installed SP6 properly, install it as admin and in compatibility mode with I'd say Windows 2000 and then get a fresh copy because now the project has essentially been corrupted.
Link to comment
Share on other sites

I reinstalled VB6, installed SP6 (as admin,compatible to Windows 2000), and re-downloaded the source, but when I want to load a project, I get this message:

Visual Basic 6 has stopped working (Windows 7 message). What I need to do?
Link to comment
Share on other sites

> Read [this](http://www.touchofdeathforums.com/community/index.php?/topic/131225-the-new-rules/) and stop posting idiotic things like that.
>
> You haven't installed SP6 properly, install it as admin and in compatibility mode with I'd say Windows 2000 and then get a fresh copy because now the project has essentially been corrupted.

thats not an idiotic thing i got the error too and restarted my pc AND then was it working ;-)
Link to comment
Share on other sites

> thats not an idiotic thing i got the error too and restarted my pc AND then was it working ;-)

That's not how errors work. You can't go around saying "oh you got x error? restart your computer!".
Link to comment
Share on other sites

  • 2 weeks later...
if you get an error saying something about not being able to load MSCOMCTL.OCX then right click on your client.vbp project and click the tab "open with" and select notepad then replace the text with what i have below. hope this helps

Type=Exe

Reference=*\G{E1211242-8E94-11D1-8808-00C04FC2C602}#1.0#0#..\..\..\Dropbox\JC Denton Programming\Timothy - DOC\Day of Chaos - Source\Client\data files\controls\dx7vb.dll#DirectX 7 for Visual Basic Type Library

Object={248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0; MSWINSCK.OCX

Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0; RICHTX32.OCX

Form=src\frmMain.frm

Module=modText; Src\modText.bas

Module=modTypes; Src\modTypes.bas

Form=Src\frmMenu.frm

Module=modGameLogic; Src\modGameLogic.bas

Module=modClientTCP; Src\modClientTCP.bas

Form=Src\frmSendGetData.frm

Form=Src\frmMapProperties.frm

Form=Src\frmEditor_Item.frm

Module=modDatabase; Src\modDatabase.bas

Form=Src\frmEditor_NPC.frm

Form=Src\frmEditor_Shop.frm

Module=modConstants; Src\modConstants.bas

Module=modGlobals; Src\modGlobals.bas

Module=modGeneral; Src\modGeneral.bas

Module=modGameEditors; Src\modGameEditors.bas

Module=modDirectDraw7; Src\modDirectDraw7.bas

Module=modEnumerations; Src\modEnumerations.bas

Module=modHandleData; Src\modHandleData.bas

Module=modInput; Src\modInput.bas

Class=clsBuffer; Src\clsBuffer.cls

Form=Src\frmEditor_Map.frm

Form=Src\frmEditor_Resource.frm

Form=Src\frmEditor_Animation.frm

Form=Src\frmEditor_Spell.frm

Module=modSound; Src\modSound.bas

Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX

Form=src\frmEditor_Events.frm

IconForm="frmMain"

Startup="Sub Main"

HelpFile=""

NoControlUpgrade=1

Title="Eclipse Origins"

ExeName32="Eclipse Origins.exe"

Command32=""

Name="EO"

HelpContextID="0"

CompatibleMode="0"

MajorVer=1

MinorVer=3

RevisionVer=0

AutoIncrementVer=0

ServerSupportFiles=0

VersionCompanyName="Robin Perris Corp."

CompilationType=0

OptimizationType=0

FavorPentiumPro™=0

CodeViewDebugInfo=0

NoAliasing=-1

BoundsCheck=-1

OverflowCheck=-1

FlPointCheck=-1

FDIVCheck=-1

UnroundedFP=0

StartMode=0

Unattended=0

Retained=0

ThreadPerObject=0

MaxNumberOfThreads=1

DebugStartupOption=0

[MS Transaction Server]

AutoRefresh=1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...