-
Quote:
Originally posted by Wokawidget
OK badger baiters, espescially Techyspeccy!
Here's my code...that create a client-server multiuser app using TCP IP...
OK, in SQLServer create a DB Called MBELots:
then
Code:
if exists (select * from sysobjects where id = object_id(N'[dbo].[tblRecipes]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[tblRecipes]
GO
if exists (select * from sysobjects where id = object_id(N'[dbo].[tblStructures]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[tblStructures]
GO
CREATE TABLE [dbo].[tblRecipes] (
[UID] [uniqueidentifier] NOT NULL ,
[StructureUID] [uniqueidentifier] NOT NULL ,
[Description] [varchar] (30) NOT NULL
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[tblStructures] (
[UID] [uniqueidentifier] NOT NULL ,
[Description] [varchar] (30) NOT NULL
) ON [PRIMARY]
Now do do some insert commands on tblStructures...
Code:
INSERT tblstructures VALUES(NEWID(),'Badger Mumps')
OK...1st compile VBTools...
All other projects use this...
Then do MBEServerObjects....making sure you set you DSN name to the DB u just created...
Then compile MBEServerProxy, which references MBEServerObjects. and VBTools
Now compile MBEServer which references MBEServerProxy and VBTools
Now compile MBEClientProxy making sure you enter the IP address of the PC you will run the MBEServer.EXE on. this references VBTools.
Now compile MBE Client which references VBTools and MBEClientProxy...
And then run the server and then run as many clients as you want...
When you get an error loading MBEClient it's because of a button I use here. Just delete the pic box and add a standard button. easy.
Techy...see full tranactional multiuser server :D
Woof Woof
I do not have to see anything. I have already shown you the problems associated with this thing. If you wanna know more problems, PM me. :D
I for one, will never use anything like this. But thats just me.
-
BTW - how did you solve this thing. Was something wrong with instancing ???