summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-12-18 08:29:41 -0800
committerMark Spruiell <mes@zeroc.com>2009-12-18 08:29:41 -0800
commita0deeca18e2c62cda2ee4b7b12a12970d270d26c (patch)
tree3e376a4ebd932661a21bcb973ed63a2b3aeb1089
parentediting vsplugin text files (diff)
downloadice-a0deeca18e2c62cda2ee4b7b12a12970d270d26c.tar.bz2
ice-a0deeca18e2c62cda2ee4b7b12a12970d270d26c.tar.xz
ice-a0deeca18e2c62cda2ee4b7b12a12970d270d26c.zip
bug 4510 - remove cookbook demos
-rwxr-xr-xcpp/allDemos.py1
-rw-r--r--cpp/demo/Makefile3
-rw-r--r--cpp/demo/Makefile.mak3
-rw-r--r--cpp/demo/cookbook/Makefile21
-rw-r--r--cpp/demo/cookbook/Makefile.mak19
-rw-r--r--cpp/demo/cookbook/compression/.depend5
-rw-r--r--cpp/demo/cookbook/compression/.gitignore7
-rw-r--r--cpp/demo/cookbook/compression/Client.cpp193
-rw-r--r--cpp/demo/cookbook/compression/Compression.ice25
-rw-r--r--cpp/demo/cookbook/compression/Makefile49
-rw-r--r--cpp/demo/cookbook/compression/Makefile.mak49
-rw-r--r--cpp/demo/cookbook/compression/README16
-rw-r--r--cpp/demo/cookbook/compression/Server.cpp48
-rw-r--r--cpp/demo/cookbook/compression/config.client1
-rw-r--r--cpp/demo/cookbook/compression/config.server1
-rwxr-xr-xcpp/demo/cookbook/compression/cookbook.compression.client.vcproj488
-rwxr-xr-xcpp/demo/cookbook/compression/cookbook.compression.server.vcproj489
-rwxr-xr-xcpp/demo/cookbook/compression/expect.py35
-rwxr-xr-xcpp/demo/demo.sln7
-rwxr-xr-xcs/demo/cookbook/cookbook.excel.xlsxbin10743 -> 0 bytes
-rwxr-xr-xcs/demo/cookbook/cookbook.sln41
-rwxr-xr-xcs/demo/cookbook/excel/AssemblyInfo.cs36
-rwxr-xr-xcs/demo/cookbook/excel/Employees.cs1461
-rwxr-xr-xcs/demo/cookbook/excel/Employees.ice33
-rwxr-xr-xcs/demo/cookbook/excel/My Project/AssemblyInfo.vb52
-rwxr-xr-xcs/demo/cookbook/excel/My Project/Resources.Designer.vb62
-rwxr-xr-xcs/demo/cookbook/excel/My Project/Resources.resx117
-rwxr-xr-xcs/demo/cookbook/excel/My Project/Settings.Designer.vb71
-rwxr-xr-xcs/demo/cookbook/excel/My Project/Settings.settings7
-rw-r--r--cs/demo/cookbook/excel/README24
-rwxr-xr-xcs/demo/cookbook/excel/Server.cs109
-rwxr-xr-xcs/demo/cookbook/excel/Sheet1.Designer.vb167
-rwxr-xr-xcs/demo/cookbook/excel/Sheet1.Designer.xml1
-rwxr-xr-xcs/demo/cookbook/excel/Sheet1.vb54
-rwxr-xr-xcs/demo/cookbook/excel/Sheet2.Designer.vb167
-rwxr-xr-xcs/demo/cookbook/excel/Sheet2.Designer.xml1
-rwxr-xr-xcs/demo/cookbook/excel/Sheet2.vb12
-rwxr-xr-xcs/demo/cookbook/excel/Sheet3.Designer.vb167
-rwxr-xr-xcs/demo/cookbook/excel/Sheet3.Designer.xml1
-rwxr-xr-xcs/demo/cookbook/excel/Sheet3.vb12
-rwxr-xr-xcs/demo/cookbook/excel/ThisWorkbook.Designer.vb212
-rwxr-xr-xcs/demo/cookbook/excel/ThisWorkbook.Designer.xml4
-rwxr-xr-xcs/demo/cookbook/excel/ThisWorkbook.vb12
-rw-r--r--cs/demo/cookbook/excel/config.server1
-rwxr-xr-xcs/demo/cookbook/excel/cookbook.excel.client.vbproj253
-rwxr-xr-xcs/demo/cookbook/excel/cookbook.excel.server.csproj65
-rwxr-xr-xcs/demo/cookbook/excel/cookbook.excel.slice.csproj66
-rwxr-xr-xcs/demo/cookbook/excel/cookbook.excel.xlsxbin10743 -> 0 bytes
-rwxr-xr-xcs/demo/cookbook/excel/cookbook.excel_TemporaryKey.pfxbin1644 -> 0 bytes
49 files changed, 2 insertions, 4666 deletions
diff --git a/cpp/allDemos.py b/cpp/allDemos.py
index a5aaafba867..6b14cc46f71 100755
--- a/cpp/allDemos.py
+++ b/cpp/allDemos.py
@@ -64,7 +64,6 @@ demos = [
"book/simple_filesystem",
"book/printer",
"book/lifecycle",
- "cookbook/compression",
]
if not Util.isNoServices():
diff --git a/cpp/demo/Makefile b/cpp/demo/Makefile
index f5279049ab2..f3e4bd9ce42 100644
--- a/cpp/demo/Makefile
+++ b/cpp/demo/Makefile
@@ -18,8 +18,7 @@ SUBDIRS = IceUtil \
IceStorm \
Glacier2 \
IceGrid \
- book \
- cookbook
+ book
$(EVERYTHING)::
@for subdir in $(SUBDIRS); \
diff --git a/cpp/demo/Makefile.mak b/cpp/demo/Makefile.mak
index 78eeaf03641..7087e49a975 100644
--- a/cpp/demo/Makefile.mak
+++ b/cpp/demo/Makefile.mak
@@ -13,8 +13,7 @@ top_srcdir = ..
SUBDIRS = IceUtil \
Ice \
- book \
- cookbook
+ book
!if "$(CPP_COMPILER)" != "VC60"
diff --git a/cpp/demo/cookbook/Makefile b/cpp/demo/cookbook/Makefile
deleted file mode 100644
index 98990d6dac7..00000000000
--- a/cpp/demo/cookbook/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-top_srcdir = ../..
-
-include $(top_srcdir)/config/Make.rules
-
-SUBDIRS = compression
-
-$(EVERYTHING)::
- @for subdir in $(SUBDIRS); \
- do \
- echo "making $@ in $$subdir"; \
- ( cd $$subdir && $(MAKE) $@ ) || exit 1; \
- done
diff --git a/cpp/demo/cookbook/Makefile.mak b/cpp/demo/cookbook/Makefile.mak
deleted file mode 100644
index c1f5013028c..00000000000
--- a/cpp/demo/cookbook/Makefile.mak
+++ /dev/null
@@ -1,19 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-top_srcdir = ..\..
-
-!include $(top_srcdir)\config\Make.rules.mak
-
-SUBDIRS = compression
-
-$(EVERYTHING)::
- @for %i in ( $(SUBDIRS) ) do \
- @echo "making $@ in %i" && \
- cmd /c "cd %i && $(MAKE) -nologo -f Makefile.mak $@" || exit 1
diff --git a/cpp/demo/cookbook/compression/.depend b/cpp/demo/cookbook/compression/.depend
deleted file mode 100644
index 52eedde1a5d..00000000000
--- a/cpp/demo/cookbook/compression/.depend
+++ /dev/null
@@ -1,5 +0,0 @@
-Compression$(OBJEXT): Compression.cpp Compression.h $(includedir)/Ice/LocalObjectF.h $(includedir)/IceUtil/Shared.h $(includedir)/IceUtil/Config.h $(includedir)/Ice/Handle.h $(includedir)/IceUtil/Handle.h $(includedir)/IceUtil/Exception.h $(includedir)/Ice/Config.h $(includedir)/Ice/ProxyHandle.h $(includedir)/Ice/ProxyF.h $(includedir)/Ice/ObjectF.h $(includedir)/Ice/GCCountMap.h $(includedir)/Ice/GCShared.h $(includedir)/Ice/Exception.h $(includedir)/Ice/LocalObject.h $(includedir)/Ice/Proxy.h $(includedir)/IceUtil/Mutex.h $(includedir)/IceUtil/Lock.h $(includedir)/IceUtil/ThreadException.h $(includedir)/IceUtil/Time.h $(includedir)/IceUtil/MutexProtocol.h $(includedir)/Ice/ProxyFactoryF.h $(includedir)/Ice/ConnectionIF.h $(includedir)/Ice/RequestHandlerF.h $(includedir)/Ice/EndpointIF.h $(includedir)/Ice/EndpointF.h $(includedir)/IceUtil/ScopedArray.h $(includedir)/Ice/UndefSysMacros.h $(includedir)/Ice/EndpointTypes.h $(includedir)/Ice/ObjectAdapterF.h $(includedir)/Ice/ReferenceF.h $(includedir)/Ice/OutgoingAsync.h $(includedir)/IceUtil/Monitor.h $(includedir)/IceUtil/Cond.h $(includedir)/IceUtil/Timer.h $(includedir)/IceUtil/Thread.h $(includedir)/Ice/OutgoingAsyncF.h $(includedir)/Ice/InstanceF.h $(includedir)/Ice/CommunicatorF.h $(includedir)/Ice/Current.h $(includedir)/Ice/ConnectionF.h $(includedir)/Ice/Identity.h $(includedir)/Ice/BasicStream.h $(includedir)/Ice/ObjectFactoryF.h $(includedir)/Ice/Buffer.h $(includedir)/Ice/Protocol.h $(includedir)/Ice/StreamF.h $(includedir)/Ice/Object.h $(includedir)/Ice/IncomingAsyncF.h $(includedir)/Ice/Outgoing.h $(includedir)/Ice/Incoming.h $(includedir)/Ice/ServantLocatorF.h $(includedir)/Ice/ServantManagerF.h $(includedir)/Ice/Direct.h $(includedir)/Ice/LocalException.h $(includedir)/Ice/BuiltinSequences.h $(includedir)/Ice/Stream.h $(includedir)/Ice/ObjectFactory.h $(includedir)/IceUtil/Iterator.h
-Client$(OBJEXT): Client.cpp $(includedir)/Ice/Ice.h $(includedir)/Ice/Initialize.h $(includedir)/Ice/CommunicatorF.h $(includedir)/Ice/LocalObjectF.h $(includedir)/IceUtil/Shared.h $(includedir)/IceUtil/Config.h $(includedir)/Ice/Handle.h $(includedir)/IceUtil/Handle.h $(includedir)/IceUtil/Exception.h $(includedir)/Ice/Config.h $(includedir)/Ice/ProxyHandle.h $(includedir)/Ice/ProxyF.h $(includedir)/Ice/ObjectF.h $(includedir)/Ice/GCCountMap.h $(includedir)/Ice/GCShared.h $(includedir)/Ice/Exception.h $(includedir)/Ice/LocalObject.h $(includedir)/IceUtil/ScopedArray.h $(includedir)/Ice/UndefSysMacros.h $(includedir)/Ice/PropertiesF.h $(includedir)/Ice/Proxy.h $(includedir)/IceUtil/Mutex.h $(includedir)/IceUtil/Lock.h $(includedir)/IceUtil/ThreadException.h $(includedir)/IceUtil/Time.h $(includedir)/IceUtil/MutexProtocol.h $(includedir)/Ice/ProxyFactoryF.h $(includedir)/Ice/ConnectionIF.h $(includedir)/Ice/RequestHandlerF.h $(includedir)/Ice/EndpointIF.h $(includedir)/Ice/EndpointF.h $(includedir)/Ice/EndpointTypes.h $(includedir)/Ice/ObjectAdapterF.h $(includedir)/Ice/ReferenceF.h $(includedir)/Ice/OutgoingAsync.h $(includedir)/IceUtil/Monitor.h $(includedir)/IceUtil/Cond.h $(includedir)/IceUtil/Timer.h $(includedir)/IceUtil/Thread.h $(includedir)/Ice/OutgoingAsyncF.h $(includedir)/Ice/InstanceF.h $(includedir)/Ice/Current.h $(includedir)/Ice/ConnectionF.h $(includedir)/Ice/Identity.h $(includedir)/Ice/BasicStream.h $(includedir)/Ice/ObjectFactoryF.h $(includedir)/Ice/Buffer.h $(includedir)/Ice/Protocol.h $(includedir)/Ice/StreamF.h $(includedir)/Ice/Object.h $(includedir)/Ice/IncomingAsyncF.h $(includedir)/Ice/LoggerF.h $(includedir)/Ice/StatsF.h $(includedir)/Ice/Dispatcher.h $(includedir)/Ice/StringConverter.h $(includedir)/Ice/Plugin.h $(includedir)/Ice/BuiltinSequences.h $(includedir)/Ice/Stream.h $(includedir)/IceUtil/Unicode.h $(includedir)/Ice/LocalException.h $(includedir)/Ice/Properties.h $(includedir)/Ice/Outgoing.h $(includedir)/Ice/Incoming.h $(includedir)/Ice/ServantLocatorF.h $(includedir)/Ice/ServantManagerF.h $(includedir)/Ice/Direct.h $(includedir)/Ice/Logger.h $(includedir)/Ice/LoggerUtil.h $(includedir)/Ice/Stats.h $(includedir)/Ice/Communicator.h $(includedir)/Ice/RouterF.h $(includedir)/Ice/LocatorF.h $(includedir)/Ice/PluginF.h $(includedir)/Ice/ImplicitContextF.h $(includedir)/Ice/CommunicatorAsync.h $(includedir)/Ice/ObjectFactory.h $(includedir)/Ice/ObjectAdapter.h $(includedir)/Ice/FacetMap.h $(includedir)/Ice/Endpoint.h $(includedir)/Ice/ServantLocator.h $(includedir)/Ice/IncomingAsync.h $(includedir)/Ice/Process.h $(includedir)/Ice/Application.h $(includedir)/Ice/Connection.h $(includedir)/Ice/ConnectionAsync.h $(includedir)/Ice/Functional.h $(includedir)/IceUtil/Functional.h $(includedir)/Ice/ImplicitContext.h $(includedir)/Ice/Locator.h $(includedir)/Ice/FactoryTableInit.h $(includedir)/Ice/FactoryTable.h $(includedir)/IceUtil/StaticMutex.h $(includedir)/Ice/UserExceptionFactory.h $(includedir)/Ice/ProcessF.h $(includedir)/Ice/Router.h $(includedir)/Ice/DispatchInterceptor.h $(includedir)/Ice/IconvStringConverter.h Compression.h
-Server$(OBJEXT): Server.cpp $(includedir)/Ice/Ice.h $(includedir)/Ice/Initialize.h $(includedir)/Ice/CommunicatorF.h $(includedir)/Ice/LocalObjectF.h $(includedir)/IceUtil/Shared.h $(includedir)/IceUtil/Config.h $(includedir)/Ice/Handle.h $(includedir)/IceUtil/Handle.h $(includedir)/IceUtil/Exception.h $(includedir)/Ice/Config.h $(includedir)/Ice/ProxyHandle.h $(includedir)/Ice/ProxyF.h $(includedir)/Ice/ObjectF.h $(includedir)/Ice/GCCountMap.h $(includedir)/Ice/GCShared.h $(includedir)/Ice/Exception.h $(includedir)/Ice/LocalObject.h $(includedir)/IceUtil/ScopedArray.h $(includedir)/Ice/UndefSysMacros.h $(includedir)/Ice/PropertiesF.h $(includedir)/Ice/Proxy.h $(includedir)/IceUtil/Mutex.h $(includedir)/IceUtil/Lock.h $(includedir)/IceUtil/ThreadException.h $(includedir)/IceUtil/Time.h $(includedir)/IceUtil/MutexProtocol.h $(includedir)/Ice/ProxyFactoryF.h $(includedir)/Ice/ConnectionIF.h $(includedir)/Ice/RequestHandlerF.h $(includedir)/Ice/EndpointIF.h $(includedir)/Ice/EndpointF.h $(includedir)/Ice/EndpointTypes.h $(includedir)/Ice/ObjectAdapterF.h $(includedir)/Ice/ReferenceF.h $(includedir)/Ice/OutgoingAsync.h $(includedir)/IceUtil/Monitor.h $(includedir)/IceUtil/Cond.h $(includedir)/IceUtil/Timer.h $(includedir)/IceUtil/Thread.h $(includedir)/Ice/OutgoingAsyncF.h $(includedir)/Ice/InstanceF.h $(includedir)/Ice/Current.h $(includedir)/Ice/ConnectionF.h $(includedir)/Ice/Identity.h $(includedir)/Ice/BasicStream.h $(includedir)/Ice/ObjectFactoryF.h $(includedir)/Ice/Buffer.h $(includedir)/Ice/Protocol.h $(includedir)/Ice/StreamF.h $(includedir)/Ice/Object.h $(includedir)/Ice/IncomingAsyncF.h $(includedir)/Ice/LoggerF.h $(includedir)/Ice/StatsF.h $(includedir)/Ice/Dispatcher.h $(includedir)/Ice/StringConverter.h $(includedir)/Ice/Plugin.h $(includedir)/Ice/BuiltinSequences.h $(includedir)/Ice/Stream.h $(includedir)/IceUtil/Unicode.h $(includedir)/Ice/LocalException.h $(includedir)/Ice/Properties.h $(includedir)/Ice/Outgoing.h $(includedir)/Ice/Incoming.h $(includedir)/Ice/ServantLocatorF.h $(includedir)/Ice/ServantManagerF.h $(includedir)/Ice/Direct.h $(includedir)/Ice/Logger.h $(includedir)/Ice/LoggerUtil.h $(includedir)/Ice/Stats.h $(includedir)/Ice/Communicator.h $(includedir)/Ice/RouterF.h $(includedir)/Ice/LocatorF.h $(includedir)/Ice/PluginF.h $(includedir)/Ice/ImplicitContextF.h $(includedir)/Ice/CommunicatorAsync.h $(includedir)/Ice/ObjectFactory.h $(includedir)/Ice/ObjectAdapter.h $(includedir)/Ice/FacetMap.h $(includedir)/Ice/Endpoint.h $(includedir)/Ice/ServantLocator.h $(includedir)/Ice/IncomingAsync.h $(includedir)/Ice/Process.h $(includedir)/Ice/Application.h $(includedir)/Ice/Connection.h $(includedir)/Ice/ConnectionAsync.h $(includedir)/Ice/Functional.h $(includedir)/IceUtil/Functional.h $(includedir)/Ice/ImplicitContext.h $(includedir)/Ice/Locator.h $(includedir)/Ice/FactoryTableInit.h $(includedir)/Ice/FactoryTable.h $(includedir)/IceUtil/StaticMutex.h $(includedir)/Ice/UserExceptionFactory.h $(includedir)/Ice/ProcessF.h $(includedir)/Ice/Router.h $(includedir)/Ice/DispatchInterceptor.h $(includedir)/Ice/IconvStringConverter.h Compression.h
-Compression.cpp: Compression.ice
-Compression.ice: $(SLICE2CPP) $(SLICEPARSERLIB)
diff --git a/cpp/demo/cookbook/compression/.gitignore b/cpp/demo/cookbook/compression/.gitignore
deleted file mode 100644
index cfa926556c1..00000000000
--- a/cpp/demo/cookbook/compression/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-// Generated by makegitignore.py
-
-// IMPORTANT: Do not edit this file -- any edits made here will be lost!
-client
-server
-Compression.cpp
-Compression.h
diff --git a/cpp/demo/cookbook/compression/Client.cpp b/cpp/demo/cookbook/compression/Client.cpp
deleted file mode 100644
index 54685ef45a5..00000000000
--- a/cpp/demo/cookbook/compression/Client.cpp
+++ /dev/null
@@ -1,193 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#include <Ice/Ice.h>
-#include <Compression.h>
-#include <fstream>
-
-using namespace std;
-using namespace Compression;
-
-//
-// Implementation of the Ice::Stats interface.
-//
-class StatsI : public Ice::Stats
-{
-public:
-
- StatsI() : _total(0) {}
-
- virtual void bytesSent(const string&, Ice::Int sz)
- {
- _total += sz;
- }
-
- virtual void bytesReceived(const string&, Ice::Int)
- {
- }
-
- void reset()
- {
- _total = 0;
- }
-
- Ice::Int total() const
- {
- return _total;
- }
-
-private:
-
- Ice::Int _total;
-};
-typedef IceUtil::Handle<StatsI> StatsIPtr;
-
-class Client : public Ice::Application
-{
-public:
-
- Client() : _stats(new StatsI)
- {
- }
-
- Ice::StatsPtr stats() const
- {
- return _stats;
- }
-
- virtual int run(int, char*[]);
-
-private:
-
- StatsIPtr _stats;
-};
-
-int
-main(int argc, char* argv[])
-{
- Client app;
-
- Ice::InitializationData initData;
- initData.properties = Ice::createProperties();
- initData.properties->load("config.client");
- initData.stats = app.stats();
- return app.main(argc, argv, initData);
-}
-
-int
-Client::run(int argc, char* argv[])
-{
- if(argc == 1)
- {
- cerr << "Usage: " << argv[0] << " file" << endl;
- return 1;
- }
-
- //
- // Read the input file into a byte sequence.
- //
- ifstream in;
- in.open(argv[1], ios::binary);
- if(!in.good())
- {
- cerr << argv[0] << ": unable to open file `" << argv[1] << "'" << endl;
- return 1;
- }
-
- in.seekg(0, ios::end);
- ifstream::pos_type len = in.tellg();
- in.seekg(0, ios::beg);
-
- ByteSeq source;
- source.resize(len);
- in.read(reinterpret_cast<char*>(&source[0]), len);
-
- //
- // Create our proxies.
- //
- Ice::PropertiesPtr properties = communicator()->getProperties();
- const char* proxyProperty = "Compression.Proxy";
- std::string proxy = properties->getProperty(proxyProperty);
- if(proxy.empty())
- {
- cerr << argv[0] << ": property `" << proxyProperty << "' not set" << endl;
- return EXIT_FAILURE;
- }
-
- Ice::ObjectPrx base = communicator()->stringToProxy(proxy);
- ReceiverPrx uncompressed = ReceiverPrx::checkedCast(base->ice_compress(false));
- if(!uncompressed)
- {
- cerr << argv[0] << ": invalid proxy" << endl;
- return EXIT_FAILURE;
- }
- ReceiverPrx compressed = ReceiverPrx::uncheckedCast(base->ice_compress(true));
-
- const int repetitions = 10;
- int sz = 200;
-
- while(true)
- {
- cout << "time for " << sz << " bytes:" << endl;
-
- ByteSeq seq;
- seq.resize(sz);
- copy(source.begin(), source.begin() + sz, seq.begin());
-
- IceUtil::Time tm;
- int i;
-
- //
- // Measure uncompressed latency.
- //
- _stats->reset();
- tm = IceUtil::Time::now();
- for(i = 0; i < repetitions; ++i)
- {
- uncompressed->sendData(seq);
- }
- tm = IceUtil::Time::now() - tm;
- cout << " uncompressed = " << tm * 1000 / repetitions << "ms" << flush;
- Ice::Int uncompressedTotal = _stats->total();
-
- //
- // Measure compressed latency.
- //
- _stats->reset();
- tm = IceUtil::Time::now();
- for(i = 0; i < repetitions; ++i)
- {
- compressed->sendData(seq);
- }
- tm = IceUtil::Time::now() - tm;
- cout << "\tcompressed = " << tm * 1000 / repetitions << "ms" << flush;
- Ice::Int compressedTotal = _stats->total();
- cout << "\tcompression = " << compressedTotal * 100.0 / uncompressedTotal << "%" << endl;
-
- if(sz == len)
- {
- break;
- }
- else
- {
- //
- // ifstream::pos_type has not *= operator.
- //
- sz = sz * 10;
- if(sz > len)
- {
- sz = static_cast<int>(len);
- }
- }
- }
-
- cout << "done" << endl;
-
- return EXIT_SUCCESS;
-}
diff --git a/cpp/demo/cookbook/compression/Compression.ice b/cpp/demo/cookbook/compression/Compression.ice
deleted file mode 100644
index b87f8055d3f..00000000000
--- a/cpp/demo/cookbook/compression/Compression.ice
+++ /dev/null
@@ -1,25 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#ifndef COMPRESSION_ICE
-#define COMPRESSION_ICE
-
-module Compression
-{
-
-sequence<byte> ByteSeq;
-
-interface Receiver
-{
- void sendData(ByteSeq bytes);
-};
-
-};
-
-#endif
diff --git a/cpp/demo/cookbook/compression/Makefile b/cpp/demo/cookbook/compression/Makefile
deleted file mode 100644
index 566afabd6ce..00000000000
--- a/cpp/demo/cookbook/compression/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-top_srcdir = ../../..
-
-CLIENT = client
-SERVER = server
-
-TARGETS = $(CLIENT) $(SERVER)
-
-SLICE_SRCS = Compression.ice
-
-OBJS = Compression.o
-
-COBJS = Client.o
-
-SOBJS = Server.o
-
-SRCS = $(OBJS:.o=.cpp) \
- $(COBJS:.o=.cpp) \
- $(SOBJS:.o=.cpp)
-
-SLICE_GEN = $(SLICE_SRCS:.ice=.cpp) $(SLICE_SRCS:.ice=.h)
-
-include $(top_srcdir)/config/Make.rules
-
-CPPFLAGS := -I. $(CPPFLAGS)
-
-$(CLIENT): $(OBJS) $(COBJS)
- rm -f $@
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LIBS)
-
-$(SERVER): $(OBJS) $(SOBJS)
- rm -f $@
- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(SOBJS) $(LIBS)
-
-$(SLICE_GEN): $(SLICE_SRCS) $(SLICE2CPP)
- rm -f $(SLICE_GEN)
- $(SLICE2CPP) $(SLICE_SRCS)
-
-test::
-
-include .depend
diff --git a/cpp/demo/cookbook/compression/Makefile.mak b/cpp/demo/cookbook/compression/Makefile.mak
deleted file mode 100644
index 5bed464ec6a..00000000000
--- a/cpp/demo/cookbook/compression/Makefile.mak
+++ /dev/null
@@ -1,49 +0,0 @@
-# **********************************************************************
-#
-# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-top_srcdir = ..\..\..
-
-CLIENT = client.exe
-SERVER = server.exe
-
-TARGETS = $(CLIENT) $(SERVER)
-
-OBJS = Compression.obj
-
-COBJS = Client.obj
-
-SOBJS = Server.obj
-
-SRCS = $(OBJS:.obj=.cpp) \
- $(COBJS:.obj=.cpp) \
- $(SOBJS:.obj=.cpp)
-
-!include $(top_srcdir)/config/Make.rules.mak
-
-CPPFLAGS = -I. $(CPPFLAGS) -DWIN32_LEAN_AND_MEAN
-
-!if "$(GENERATE_PDB)" == "yes"
-CPDBFLAGS = /pdb:$(CLIENT:.exe=.pdb)
-SPDBFLAGS = /pdb:$(SERVER:.exe=.pdb)
-!endif
-
-$(CLIENT): $(OBJS) $(COBJS)
- $(LINK) $(LD_EXEFLAGS) $(CPDBFLAGS) $(SETARGV) $(OBJS) $(COBJS) $(PREOUT)$@ $(PRELIBS)$(LIBS)
- @if exist $@.manifest echo ^ ^ ^ Embedding manifest using $(MT) && \
- $(MT) -nologo -manifest $@.manifest -outputresource:$@;#1 && del /q $@.manifest
-
-$(SERVER): $(OBJS) $(SOBJS)
- $(LINK) $(LD_EXEFLAGS) $(SPDBFLAGS) $(SETARGV) $(OBJS) $(SOBJS) $(PREOUT)$@ $(PRELIBS)$(LIBS)
- @if exist $@.manifest echo ^ ^ ^ Embedding manifest using $(MT) && \
- $(MT) -nologo -manifest $@.manifest -outputresource:$@;#1 && del /q $@.manifest
-
-clean::
- del /q Compression.cpp Compression.h
-
-!include .depend
diff --git a/cpp/demo/cookbook/compression/README b/cpp/demo/cookbook/compression/README
deleted file mode 100644
index 77dd9e4da5d..00000000000
--- a/cpp/demo/cookbook/compression/README
+++ /dev/null
@@ -1,16 +0,0 @@
-The client and server in this directory can be used to evaluate the
-performance of protocol compression for various types of input data.
-
-To use the programs, start the server:
-
-$ ./server
-
-In a separate window, start the client and pass it the name of a
-file to send:
-
-$ ./client datafile
-
-The article uses The Autobiography of Benjamin Franklin as its input
-data. You can download the full text of that book here:
-
-http://etext.lib.virginia.edu/toc/modeng/public/Fra2Aut.html
diff --git a/cpp/demo/cookbook/compression/Server.cpp b/cpp/demo/cookbook/compression/Server.cpp
deleted file mode 100644
index 8c994dee21d..00000000000
--- a/cpp/demo/cookbook/compression/Server.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#include <Ice/Ice.h>
-#include <Compression.h>
-
-using namespace std;
-using namespace Compression;
-
-class ReceiverI : public Receiver
-{
-public:
-
- virtual void sendData(const ByteSeq&, const Ice::Current&)
- {
- }
-};
-
-class Server : public Ice::Application
-{
-public:
-
- virtual int run(int, char*[]);
-};
-
-int
-main(int argc, char* argv[])
-{
- Server app;
- return app.main(argc, argv, "config.server");
-}
-
-int
-Server::run(int argc, char* argv[])
-{
- Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Compression");
- Ice::ObjectPtr object = new ReceiverI;
- adapter->add(object, communicator()->stringToIdentity("receiver"));
- adapter->activate();
- communicator()->waitForShutdown();
- return EXIT_SUCCESS;
-}
diff --git a/cpp/demo/cookbook/compression/config.client b/cpp/demo/cookbook/compression/config.client
deleted file mode 100644
index ccf4325d59c..00000000000
--- a/cpp/demo/cookbook/compression/config.client
+++ /dev/null
@@ -1 +0,0 @@
-Compression.Proxy=receiver:default -p 10000
diff --git a/cpp/demo/cookbook/compression/config.server b/cpp/demo/cookbook/compression/config.server
deleted file mode 100644
index 4302168fc3f..00000000000
--- a/cpp/demo/cookbook/compression/config.server
+++ /dev/null
@@ -1 +0,0 @@
-Compression.Endpoints=default -p 10000
diff --git a/cpp/demo/cookbook/compression/cookbook.compression.client.vcproj b/cpp/demo/cookbook/compression/cookbook.compression.client.vcproj
deleted file mode 100755
index 560b820d784..00000000000
--- a/cpp/demo/cookbook/compression/cookbook.compression.client.vcproj
+++ /dev/null
@@ -1,488 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="cookbook.compression.client"
- ProjectGUID="{E2E57877-5DC6-4C07-A1C2-2B78005A2CBF}"
- RootNamespace="cookbook.compression.client"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- <Platform
- Name="x64"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".\Release"
- IntermediateDirectory=".\Release"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\Release/cookbook.compression.client.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="dummyinclude ; . ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;NDEBUG;WIN32_LEAN_AND_MEAN"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Release/cookbook.compression.client.pch"
- AssemblerListingLocation=".\Release/"
- ObjectFile=".\Release/"
- ProgramDataBaseFileName=".\Release/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO /IGNORE:4089"
- AdditionalDependencies="Ice.lib IceUtil.lib setargv.obj"
- OutputFile="client.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- ProgramDatabaseFile=".\Release/client.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Release/cookbook.compression.client.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".\Debug"
- IntermediateDirectory=".\Debug"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\Debug/cookbook.compression.client.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=". ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;_DEBUG;WIN32_LEAN_AND_MEAN"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Debug/cookbook.compression.client.pch"
- AssemblerListingLocation=".\Debug/"
- ObjectFile=".\Debug/"
- ProgramDataBaseFileName=".\Debug/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO"
- AdditionalDependencies="Iced.lib IceUtild.lib setargv.obj"
- OutputFile="client.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\Debug/client.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Debug/cookbook.compression.client.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|x64"
- OutputDirectory="$(PlatformName)\$(ConfigurationName)"
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\Release/cookbook.compression.client.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="dummyinclude ; . ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;NDEBUG;WIN32_LEAN_AND_MEAN"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Release/cookbook.compression.client.pch"
- AssemblerListingLocation=".\Release/"
- ObjectFile=".\Release/"
- ProgramDataBaseFileName=".\Release/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO /IGNORE:4089"
- AdditionalDependencies="Ice.lib IceUtil.lib setargv.obj"
- OutputFile="client.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- ProgramDatabaseFile=".\Release/client.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Release/cookbook.compression.client.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|x64"
- OutputDirectory="$(PlatformName)\$(ConfigurationName)"
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\Debug/cookbook.compression.client.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=". ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;_DEBUG;WIN32_LEAN_AND_MEAN"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Debug/cookbook.compression.client.pch"
- AssemblerListingLocation=".\Debug/"
- ObjectFile=".\Debug/"
- ProgramDataBaseFileName=".\Debug/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO"
- AdditionalDependencies="Iced.lib IceUtild.lib setargv.obj"
- OutputFile="client.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\Debug/client.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Debug/cookbook.compression.client.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
- >
- <File
- RelativePath="Client.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=""
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- <File
- RelativePath=".\Compression.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl"
- >
- <File
- RelativePath=".\Compression.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- >
- <File
- RelativePath=".\Compression.ice"
- >
- </File>
- </Filter>
- <File
- RelativePath="README"
- >
- </File>
- </Files>
- <Globals>
- <Global
- Name="ZerocIce_ConsoleOutput"
- Value="True"
- />
- <Global
- Name="ZerocIce_Enabled"
- Value="True"
- />
- <Global
- Name="ZerocIce_Home"
- Value="..\..\..\.."
- />
- <Global
- Name="ZerocIce_HomeExpanded"
- Value="..\..\..\.."
- />
- </Globals>
-</VisualStudioProject>
diff --git a/cpp/demo/cookbook/compression/cookbook.compression.server.vcproj b/cpp/demo/cookbook/compression/cookbook.compression.server.vcproj
deleted file mode 100755
index ed982a2b476..00000000000
--- a/cpp/demo/cookbook/compression/cookbook.compression.server.vcproj
+++ /dev/null
@@ -1,489 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9.00"
- Name="cookbook.compression.server"
- ProjectGUID="{8A43ED0A-C9ED-4F92-983B-0FE97673F77D}"
- RootNamespace="cookbook.compression.server"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- <Platform
- Name="x64"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".\Release"
- IntermediateDirectory=".\Release"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\Release/cookbook.compression.server.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories=". ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;NDEBUG;WIN32_LEAN_AND_MEAN"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Release/cookbook.compression.server.pch"
- AssemblerListingLocation=".\Release/"
- ObjectFile=".\Release/"
- ProgramDataBaseFileName=".\Release/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO /IGNORE:4089"
- AdditionalDependencies="Ice.lib IceUtil.lib setargv.obj"
- OutputFile="server.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- ProgramDatabaseFile=".\Release/server.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Release/cookbook.compression.server.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory=".\Debug"
- IntermediateDirectory=".\Debug"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TypeLibraryName=".\Debug/cookbook.compression.server.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=". ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;_DEBUG;WIN32_LEAN_AND_MEAN"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Debug/cookbook.compression.server.pch"
- AssemblerListingLocation=".\Debug/"
- ObjectFile=".\Debug/"
- ProgramDataBaseFileName=".\Debug/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO"
- AdditionalDependencies="Iced.lib IceUtild.lib setargv.obj"
- OutputFile="server.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\Debug/server.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="1"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Debug/cookbook.compression.server.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|x64"
- OutputDirectory="$(PlatformName)\$(ConfigurationName)"
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\Release/cookbook.compression.server.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- AdditionalIncludeDirectories=". ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;NDEBUG;WIN32_LEAN_AND_MEAN"
- StringPooling="true"
- RuntimeLibrary="2"
- EnableFunctionLevelLinking="true"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Release/cookbook.compression.server.pch"
- AssemblerListingLocation=".\Release/"
- ObjectFile=".\Release/"
- ProgramDataBaseFileName=".\Release/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO /IGNORE:4089"
- AdditionalDependencies="Ice.lib IceUtil.lib setargv.obj"
- OutputFile="server.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- ProgramDatabaseFile=".\Release/server.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Release/cookbook.compression.server.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Debug|x64"
- OutputDirectory="$(PlatformName)\$(ConfigurationName)"
- IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
- ConfigurationType="1"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- TargetEnvironment="3"
- TypeLibraryName=".\Debug/cookbook.compression.server.tlb"
- HeaderFileName=""
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories=". ; ..\..\..\..\cpp\include"
- PreprocessorDefinitions="_CONSOLE;_DEBUG;WIN32_LEAN_AND_MEAN"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- RuntimeTypeInfo="true"
- PrecompiledHeaderFile=".\Debug/cookbook.compression.server.pch"
- AssemblerListingLocation=".\Debug/"
- ObjectFile=".\Debug/"
- ProgramDataBaseFileName=".\Debug/"
- WarningLevel="3"
- WarnAsError="true"
- SuppressStartupBanner="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="1033"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/FIXED:NO"
- AdditionalDependencies="Iced.lib IceUtild.lib setargv.obj"
- OutputFile="server.exe"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalLibraryDirectories="..\..\..\..\cpp\lib"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\Debug/server.pdb"
- SubSystem="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- TargetMachine="17"
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCManifestTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- SuppressStartupBanner="true"
- OutputFile=".\Debug/cookbook.compression.server.bsc"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCAppVerifierTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
- >
- <File
- RelativePath=".\Compression.cpp"
- >
- </File>
- <File
- RelativePath="Server.cpp"
- >
- <FileConfiguration
- Name="Release|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|Win32"
- >
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Debug|x64"
- >
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions=""
- />
- </FileConfiguration>
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl"
- >
- <File
- RelativePath=".\Compression.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
- >
- <File
- RelativePath=".\Compression.ice"
- >
- </File>
- </Filter>
- <File
- RelativePath="README"
- >
- </File>
- </Files>
- <Globals>
- <Global
- Name="ZerocIce_ConsoleOutput"
- Value="True"
- />
- <Global
- Name="ZerocIce_Enabled"
- Value="True"
- />
- <Global
- Name="ZerocIce_Home"
- Value="..\..\..\.."
- />
- <Global
- Name="ZerocIce_HomeExpanded"
- Value="..\..\..\.."
- />
- </Globals>
-</VisualStudioProject>
diff --git a/cpp/demo/cookbook/compression/expect.py b/cpp/demo/cookbook/compression/expect.py
deleted file mode 100755
index f10620a2e46..00000000000
--- a/cpp/demo/cookbook/compression/expect.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-import sys, os
-
-path = [ ".", "..", "../..", "../../..", "../../../.." ]
-head = os.path.dirname(sys.argv[0])
-if len(head) > 0:
- path = [os.path.join(head, p) for p in path]
-path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "demoscript")) ]
-if len(path) == 0:
- raise "can't find toplevel directory!"
-sys.path.append(path[0])
-
-from demoscript import *
-import signal
-
-server = Util.spawn('./server --Ice.PrintAdapterReady')
-server.expect('.* ready')
-
-print "testing...",
-sys.stdout.flush()
-client = Util.spawn('./client Compression.cpp')
-client.expect('done')
-client.waitTestSuccess()
-server.kill(signal.SIGINT)
-server.waitTestSuccess()
-print "ok"
diff --git a/cpp/demo/demo.sln b/cpp/demo/demo.sln
index 141ed3db91d..392f6da75dd 100755
--- a/cpp/demo/demo.sln
+++ b/cpp/demo/demo.sln
@@ -295,13 +295,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "book.simple_filesystem.clie
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "book.simple_filesystem.server", "book\simple_filesystem\book.simple_filesystem.server.vcproj", "{EFCFF55E-CCD2-451E-A0B5-604249ECE4D1}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cookbook.compression.client", "cookbook\compression\cookbook.compression.client.vcproj", "{E2E57877-5DC6-4C07-A1C2-2B78005A2CBF}"
- ProjectSection(ProjectDependencies) = postProject
- {8A43ED0A-C9ED-4F92-983B-0FE97673F77D} = {8A43ED0A-C9ED-4F92-983B-0FE97673F77D}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cookbook.compression.server", "cookbook\compression\cookbook.compression.server.vcproj", "{8A43ED0A-C9ED-4F92-983B-0FE97673F77D}"
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Ice.interleaved.client", "Ice\interleaved\Ice.interleaved.client.vcproj", "{798DC5EC-427F-49A6-9028-F2A420CCEA4B}"
ProjectSection(ProjectDependencies) = postProject
{383AB467-E29D-4A9D-A5D4-6BCA8E754A88} = {383AB467-E29D-4A9D-A5D4-6BCA8E754A88}
diff --git a/cs/demo/cookbook/cookbook.excel.xlsx b/cs/demo/cookbook/cookbook.excel.xlsx
deleted file mode 100755
index 3db310a4a39..00000000000
--- a/cs/demo/cookbook/cookbook.excel.xlsx
+++ /dev/null
Binary files differ
diff --git a/cs/demo/cookbook/cookbook.sln b/cs/demo/cookbook/cookbook.sln
deleted file mode 100755
index c85b1ccc30e..00000000000
--- a/cs/demo/cookbook/cookbook.sln
+++ /dev/null
@@ -1,41 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "cookbook.excel.client", "excel\cookbook.excel.client.vbproj", "{233543CB-821A-406C-8B6A-D043FF3D2BC6}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cookbook.excel.slice", "excel\cookbook.excel.slice.csproj", "{2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cookbook.excel.server", "excel\cookbook.excel.server.csproj", "{606D226F-B98D-4A2C-B9AB-1451E962080D}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2A79AFD1-CB7C-4137-AC48-8395F11BDD0F}"
- ProjectSection(SolutionItems) = preProject
- excel\README = excel\README
- EndProjectSection
- ProjectSection(FolderGlobals) = preProject
- ZerocIce_HomeExpanded = C:\Ice-3.3.1-VC90
- ZerocIce_Home = C:\Ice-3.3.1-VC90
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {233543CB-821A-406C-8B6A-D043FF3D2BC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {233543CB-821A-406C-8B6A-D043FF3D2BC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {233543CB-821A-406C-8B6A-D043FF3D2BC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {233543CB-821A-406C-8B6A-D043FF3D2BC6}.Release|Any CPU.Build.0 = Release|Any CPU
- {2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}.Release|Any CPU.Build.0 = Release|Any CPU
- {606D226F-B98D-4A2C-B9AB-1451E962080D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {606D226F-B98D-4A2C-B9AB-1451E962080D}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {606D226F-B98D-4A2C-B9AB-1451E962080D}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {606D226F-B98D-4A2C-B9AB-1451E962080D}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/cs/demo/cookbook/excel/AssemblyInfo.cs b/cs/demo/cookbook/excel/AssemblyInfo.cs
deleted file mode 100755
index 3154b3894a0..00000000000
--- a/cs/demo/cookbook/excel/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Employees.slice")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("ZeroC, Inc.")]
-[assembly: AssemblyProduct("Employees.slice")]
-[assembly: AssemblyCopyright("Copyright © ZeroC, Inc. 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("2399c1c3-8deb-4f7a-ac22-0965f7794bd3")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/cs/demo/cookbook/excel/Employees.cs b/cs/demo/cookbook/excel/Employees.cs
deleted file mode 100755
index 1aede78bc62..00000000000
--- a/cs/demo/cookbook/excel/Employees.cs
+++ /dev/null
@@ -1,1461 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-// Ice version 3.3.1
-// Generated from file `Employees.ice'
-
-#if __MonoCS__
-
-using _System = System;
-using _Microsoft = Microsoft;
-#else
-
-using _System = global::System;
-using _Microsoft = global::Microsoft;
-#endif
-
-namespace Employees
-{
- public class EmployeeDetails : _System.ICloneable
- {
- #region Slice data members
-
- public string name;
-
- public string address;
-
- #endregion
-
- #region Constructors
-
- public EmployeeDetails()
- {
- }
-
- public EmployeeDetails(string name, string address)
- {
- this.name = name;
- this.address = address;
- }
-
- #endregion
-
- #region ICloneable members
-
- public object Clone()
- {
- return MemberwiseClone();
- }
-
- #endregion
-
- #region Object members
-
- public override int GetHashCode()
- {
- int h__ = 0;
- if(name != null)
- {
- h__ = 5 * h__ + name.GetHashCode();
- }
- if(address != null)
- {
- h__ = 5 * h__ + address.GetHashCode();
- }
- return h__;
- }
-
- public override bool Equals(object other__)
- {
- if(object.ReferenceEquals(this, other__))
- {
- return true;
- }
- if(other__ == null)
- {
- return false;
- }
- if(GetType() != other__.GetType())
- {
- return false;
- }
- EmployeeDetails o__ = (EmployeeDetails)other__;
- if(name == null)
- {
- if(o__.name != null)
- {
- return false;
- }
- }
- else
- {
- if(!name.Equals(o__.name))
- {
- return false;
- }
- }
- if(address == null)
- {
- if(o__.address != null)
- {
- return false;
- }
- }
- else
- {
- if(!address.Equals(o__.address))
- {
- return false;
- }
- }
- return true;
- }
-
- #endregion
-
- #region Comparison members
-
- public static bool operator==(EmployeeDetails lhs__, EmployeeDetails rhs__)
- {
- return Equals(lhs__, rhs__);
- }
-
- public static bool operator!=(EmployeeDetails lhs__, EmployeeDetails rhs__)
- {
- return !Equals(lhs__, rhs__);
- }
-
- #endregion
-
- #region Marshalling support
-
- public void write__(IceInternal.BasicStream os__)
- {
- os__.writeString(name);
- os__.writeString(address);
- }
-
- public void read__(IceInternal.BasicStream is__)
- {
- name = is__.readString();
- address = is__.readString();
- }
-
- #endregion
- }
-
- public interface Employee : Ice.Object, EmployeeOperations_, EmployeeOperationsNC_
- {
- }
-
- public interface EmployeeFinder : Ice.Object, EmployeeFinderOperations_, EmployeeFinderOperationsNC_
- {
- }
-}
-
-namespace Employees
-{
- public interface EmployeePrx : Ice.ObjectPrx
- {
- Employees.EmployeeDetails getDetails();
- Employees.EmployeeDetails getDetails(_System.Collections.Generic.Dictionary<string, string> context__);
-
- void setAnnualSalary(double salary);
- void setAnnualSalary(double salary, _System.Collections.Generic.Dictionary<string, string> context__);
-
- void setTaxPayable(double amount);
- void setTaxPayable(double amount, _System.Collections.Generic.Dictionary<string, string> context__);
- }
-
- public interface EmployeeFinderPrx : Ice.ObjectPrx
- {
- _System.Collections.Generic.List<Employees.EmployeePrx> list();
- _System.Collections.Generic.List<Employees.EmployeePrx> list(_System.Collections.Generic.Dictionary<string, string> context__);
- }
-}
-
-namespace Employees
-{
- public interface EmployeeOperations_
- {
- Employees.EmployeeDetails getDetails(Ice.Current current__);
-
- void setAnnualSalary(double salary, Ice.Current current__);
-
- void setTaxPayable(double amount, Ice.Current current__);
- }
-
- public interface EmployeeOperationsNC_
- {
- Employees.EmployeeDetails getDetails();
-
- void setAnnualSalary(double salary);
-
- void setTaxPayable(double amount);
- }
-
- public interface EmployeeFinderOperations_
- {
- _System.Collections.Generic.List<Employees.EmployeePrx> list(Ice.Current current__);
- }
-
- public interface EmployeeFinderOperationsNC_
- {
- _System.Collections.Generic.List<Employees.EmployeePrx> list();
- }
-}
-
-namespace Employees
-{
- public sealed class EmployeePrxHelper : Ice.ObjectPrxHelperBase, EmployeePrx
- {
- #region Synchronous operations
-
- public Employees.EmployeeDetails getDetails()
- {
- return getDetails(null, false);
- }
-
- public Employees.EmployeeDetails getDetails(_System.Collections.Generic.Dictionary<string, string> context__)
- {
- return getDetails(context__, true);
- }
-
- private Employees.EmployeeDetails getDetails(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
- {
- if(explicitContext__ && context__ == null)
- {
- context__ = emptyContext_;
- }
- int cnt__ = 0;
- while(true)
- {
- Ice.ObjectDel_ delBase__ = null;
- try
- {
- checkTwowayOnly__("getDetails");
- delBase__ = getDelegate__(false);
- EmployeeDel_ del__ = (EmployeeDel_)delBase__;
- return del__.getDetails(context__);
- }
- catch(IceInternal.LocalExceptionWrapper ex__)
- {
- handleExceptionWrapper__(delBase__, ex__, null);
- }
- catch(Ice.LocalException ex__)
- {
- handleException__(delBase__, ex__, null, ref cnt__);
- }
- }
- }
-
- public void setAnnualSalary(double salary)
- {
- setAnnualSalary(salary, null, false);
- }
-
- public void setAnnualSalary(double salary, _System.Collections.Generic.Dictionary<string, string> context__)
- {
- setAnnualSalary(salary, context__, true);
- }
-
- private void setAnnualSalary(double salary, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
- {
- if(explicitContext__ && context__ == null)
- {
- context__ = emptyContext_;
- }
- int cnt__ = 0;
- while(true)
- {
- Ice.ObjectDel_ delBase__ = null;
- try
- {
- delBase__ = getDelegate__(false);
- EmployeeDel_ del__ = (EmployeeDel_)delBase__;
- del__.setAnnualSalary(salary, context__);
- return;
- }
- catch(IceInternal.LocalExceptionWrapper ex__)
- {
- handleExceptionWrapper__(delBase__, ex__, null);
- }
- catch(Ice.LocalException ex__)
- {
- handleException__(delBase__, ex__, null, ref cnt__);
- }
- }
- }
-
- public void setTaxPayable(double amount)
- {
- setTaxPayable(amount, null, false);
- }
-
- public void setTaxPayable(double amount, _System.Collections.Generic.Dictionary<string, string> context__)
- {
- setTaxPayable(amount, context__, true);
- }
-
- private void setTaxPayable(double amount, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
- {
- if(explicitContext__ && context__ == null)
- {
- context__ = emptyContext_;
- }
- int cnt__ = 0;
- while(true)
- {
- Ice.ObjectDel_ delBase__ = null;
- try
- {
- delBase__ = getDelegate__(false);
- EmployeeDel_ del__ = (EmployeeDel_)delBase__;
- del__.setTaxPayable(amount, context__);
- return;
- }
- catch(IceInternal.LocalExceptionWrapper ex__)
- {
- handleExceptionWrapper__(delBase__, ex__, null);
- }
- catch(Ice.LocalException ex__)
- {
- handleException__(delBase__, ex__, null, ref cnt__);
- }
- }
- }
-
- #endregion
-
- #region Checked and unchecked cast operations
-
- public static EmployeePrx checkedCast(Ice.ObjectPrx b)
- {
- if(b == null)
- {
- return null;
- }
- EmployeePrx r = b as EmployeePrx;
- if((r == null) && b.ice_isA("::Employees::Employee"))
- {
- EmployeePrxHelper h = new EmployeePrxHelper();
- h.copyFrom__(b);
- r = h;
- }
- return r;
- }
-
- public static EmployeePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
- {
- if(b == null)
- {
- return null;
- }
- EmployeePrx r = b as EmployeePrx;
- if((r == null) && b.ice_isA("::Employees::Employee", ctx))
- {
- EmployeePrxHelper h = new EmployeePrxHelper();
- h.copyFrom__(b);
- r = h;
- }
- return r;
- }
-
- public static EmployeePrx checkedCast(Ice.ObjectPrx b, string f)
- {
- if(b == null)
- {
- return null;
- }
- Ice.ObjectPrx bb = b.ice_facet(f);
- try
- {
- if(bb.ice_isA("::Employees::Employee"))
- {
- EmployeePrxHelper h = new EmployeePrxHelper();
- h.copyFrom__(bb);
- return h;
- }
- }
- catch(Ice.FacetNotExistException)
- {
- }
- return null;
- }
-
- public static EmployeePrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
- {
- if(b == null)
- {
- return null;
- }
- Ice.ObjectPrx bb = b.ice_facet(f);
- try
- {
- if(bb.ice_isA("::Employees::Employee", ctx))
- {
- EmployeePrxHelper h = new EmployeePrxHelper();
- h.copyFrom__(bb);
- return h;
- }
- }
- catch(Ice.FacetNotExistException)
- {
- }
- return null;
- }
-
- public static EmployeePrx uncheckedCast(Ice.ObjectPrx b)
- {
- if(b == null)
- {
- return null;
- }
- EmployeePrx r = b as EmployeePrx;
- if(r == null)
- {
- EmployeePrxHelper h = new EmployeePrxHelper();
- h.copyFrom__(b);
- r = h;
- }
- return r;
- }
-
- public static EmployeePrx uncheckedCast(Ice.ObjectPrx b, string f)
- {
- if(b == null)
- {
- return null;
- }
- Ice.ObjectPrx bb = b.ice_facet(f);
- EmployeePrxHelper h = new EmployeePrxHelper();
- h.copyFrom__(bb);
- return h;
- }
-
- #endregion
-
- #region Marshaling support
-
- protected override Ice.ObjectDelM_ createDelegateM__()
- {
- return new EmployeeDelM_();
- }
-
- protected override Ice.ObjectDelD_ createDelegateD__()
- {
- return new EmployeeDelD_();
- }
-
- public static void write__(IceInternal.BasicStream os__, EmployeePrx v__)
- {
- os__.writeProxy(v__);
- }
-
- public static EmployeePrx read__(IceInternal.BasicStream is__)
- {
- Ice.ObjectPrx proxy = is__.readProxy();
- if(proxy != null)
- {
- EmployeePrxHelper result = new EmployeePrxHelper();
- result.copyFrom__(proxy);
- return result;
- }
- return null;
- }
-
- #endregion
- }
-
- public sealed class EmployeeSeqHelper
- {
- public static void write(IceInternal.BasicStream os__, _System.Collections.Generic.List<Employees.EmployeePrx> v__)
- {
- if(v__ == null)
- {
- os__.writeSize(0);
- }
- else
- {
- os__.writeSize(v__.Count);
- for(int ix__ = 0; ix__ < v__.Count; ++ix__)
- {
- Employees.EmployeePrxHelper.write__(os__, v__[ix__]);
- }
- }
- }
-
- public static _System.Collections.Generic.List<Employees.EmployeePrx> read(IceInternal.BasicStream is__)
- {
- _System.Collections.Generic.List<Employees.EmployeePrx> v__;
- {
- int szx__ = is__.readSize();
- is__.startSeq(szx__, 2);
- v__ = new _System.Collections.Generic.List<Employees.EmployeePrx>();
- for(int ix__ = 0; ix__ < szx__; ++ix__)
- {
- v__.Add(Employees.EmployeePrxHelper.read__(is__));
- is__.checkSeq();
- is__.endElement();
- }
- is__.endSeq(szx__);
- }
- return v__;
- }
- }
-
- public sealed class EmployeeFinderPrxHelper : Ice.ObjectPrxHelperBase, EmployeeFinderPrx
- {
- #region Synchronous operations
-
- public _System.Collections.Generic.List<Employees.EmployeePrx> list()
- {
- return list(null, false);
- }
-
- public _System.Collections.Generic.List<Employees.EmployeePrx> list(_System.Collections.Generic.Dictionary<string, string> context__)
- {
- return list(context__, true);
- }
-
- private _System.Collections.Generic.List<Employees.EmployeePrx> list(_System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
- {
- if(explicitContext__ && context__ == null)
- {
- context__ = emptyContext_;
- }
- int cnt__ = 0;
- while(true)
- {
- Ice.ObjectDel_ delBase__ = null;
- try
- {
- checkTwowayOnly__("list");
- delBase__ = getDelegate__(false);
- EmployeeFinderDel_ del__ = (EmployeeFinderDel_)delBase__;
- return del__.list(context__);
- }
- catch(IceInternal.LocalExceptionWrapper ex__)
- {
- handleExceptionWrapper__(delBase__, ex__, null);
- }
- catch(Ice.LocalException ex__)
- {
- handleException__(delBase__, ex__, null, ref cnt__);
- }
- }
- }
-
- #endregion
-
- #region Checked and unchecked cast operations
-
- public static EmployeeFinderPrx checkedCast(Ice.ObjectPrx b)
- {
- if(b == null)
- {
- return null;
- }
- EmployeeFinderPrx r = b as EmployeeFinderPrx;
- if((r == null) && b.ice_isA("::Employees::EmployeeFinder"))
- {
- EmployeeFinderPrxHelper h = new EmployeeFinderPrxHelper();
- h.copyFrom__(b);
- r = h;
- }
- return r;
- }
-
- public static EmployeeFinderPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
- {
- if(b == null)
- {
- return null;
- }
- EmployeeFinderPrx r = b as EmployeeFinderPrx;
- if((r == null) && b.ice_isA("::Employees::EmployeeFinder", ctx))
- {
- EmployeeFinderPrxHelper h = new EmployeeFinderPrxHelper();
- h.copyFrom__(b);
- r = h;
- }
- return r;
- }
-
- public static EmployeeFinderPrx checkedCast(Ice.ObjectPrx b, string f)
- {
- if(b == null)
- {
- return null;
- }
- Ice.ObjectPrx bb = b.ice_facet(f);
- try
- {
- if(bb.ice_isA("::Employees::EmployeeFinder"))
- {
- EmployeeFinderPrxHelper h = new EmployeeFinderPrxHelper();
- h.copyFrom__(bb);
- return h;
- }
- }
- catch(Ice.FacetNotExistException)
- {
- }
- return null;
- }
-
- public static EmployeeFinderPrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx)
- {
- if(b == null)
- {
- return null;
- }
- Ice.ObjectPrx bb = b.ice_facet(f);
- try
- {
- if(bb.ice_isA("::Employees::EmployeeFinder", ctx))
- {
- EmployeeFinderPrxHelper h = new EmployeeFinderPrxHelper();
- h.copyFrom__(bb);
- return h;
- }
- }
- catch(Ice.FacetNotExistException)
- {
- }
- return null;
- }
-
- public static EmployeeFinderPrx uncheckedCast(Ice.ObjectPrx b)
- {
- if(b == null)
- {
- return null;
- }
- EmployeeFinderPrx r = b as EmployeeFinderPrx;
- if(r == null)
- {
- EmployeeFinderPrxHelper h = new EmployeeFinderPrxHelper();
- h.copyFrom__(b);
- r = h;
- }
- return r;
- }
-
- public static EmployeeFinderPrx uncheckedCast(Ice.ObjectPrx b, string f)
- {
- if(b == null)
- {
- return null;
- }
- Ice.ObjectPrx bb = b.ice_facet(f);
- EmployeeFinderPrxHelper h = new EmployeeFinderPrxHelper();
- h.copyFrom__(bb);
- return h;
- }
-
- #endregion
-
- #region Marshaling support
-
- protected override Ice.ObjectDelM_ createDelegateM__()
- {
- return new EmployeeFinderDelM_();
- }
-
- protected override Ice.ObjectDelD_ createDelegateD__()
- {
- return new EmployeeFinderDelD_();
- }
-
- public static void write__(IceInternal.BasicStream os__, EmployeeFinderPrx v__)
- {
- os__.writeProxy(v__);
- }
-
- public static EmployeeFinderPrx read__(IceInternal.BasicStream is__)
- {
- Ice.ObjectPrx proxy = is__.readProxy();
- if(proxy != null)
- {
- EmployeeFinderPrxHelper result = new EmployeeFinderPrxHelper();
- result.copyFrom__(proxy);
- return result;
- }
- return null;
- }
-
- #endregion
- }
-}
-
-namespace Employees
-{
- public interface EmployeeDel_ : Ice.ObjectDel_
- {
- Employees.EmployeeDetails getDetails(_System.Collections.Generic.Dictionary<string, string> context__);
-
- void setAnnualSalary(double salary, _System.Collections.Generic.Dictionary<string, string> context__);
-
- void setTaxPayable(double amount, _System.Collections.Generic.Dictionary<string, string> context__);
- }
-
- public interface EmployeeFinderDel_ : Ice.ObjectDel_
- {
- _System.Collections.Generic.List<Employees.EmployeePrx> list(_System.Collections.Generic.Dictionary<string, string> context__);
- }
-}
-
-namespace Employees
-{
- public sealed class EmployeeDelM_ : Ice.ObjectDelM_, EmployeeDel_
- {
- public Employees.EmployeeDetails getDetails(_System.Collections.Generic.Dictionary<string, string> context__)
- {
- IceInternal.Outgoing og__ = handler__.getOutgoing("getDetails", Ice.OperationMode.Normal, context__);
- try
- {
- bool ok__ = og__.invoke();
- try
- {
- if(!ok__)
- {
- try
- {
- og__.throwUserException();
- }
- catch(Ice.UserException ex__)
- {
- throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
- }
- }
- IceInternal.BasicStream is__ = og__.istr();
- is__.startReadEncaps();
- Employees.EmployeeDetails ret__;
- ret__ = null;
- if(ret__ == null)
- {
- ret__ = new Employees.EmployeeDetails();
- }
- ret__.read__(is__);
- is__.endReadEncaps();
- return ret__;
- }
- catch(Ice.LocalException ex__)
- {
- throw new IceInternal.LocalExceptionWrapper(ex__, false);
- }
- }
- finally
- {
- handler__.reclaimOutgoing(og__);
- }
- }
-
- public void setAnnualSalary(double salary, _System.Collections.Generic.Dictionary<string, string> context__)
- {
- IceInternal.Outgoing og__ = handler__.getOutgoing("setAnnualSalary", Ice.OperationMode.Normal, context__);
- try
- {
- try
- {
- IceInternal.BasicStream os__ = og__.ostr();
- os__.writeDouble(salary);
- }
- catch(Ice.LocalException ex__)
- {
- og__.abort(ex__);
- }
- bool ok__ = og__.invoke();
- if(!og__.istr().isEmpty())
- {
- try
- {
- if(!ok__)
- {
- try
- {
- og__.throwUserException();
- }
- catch(Ice.UserException ex__)
- {
- throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
- }
- }
- og__.istr().skipEmptyEncaps();
- }
- catch(Ice.LocalException ex__)
- {
- throw new IceInternal.LocalExceptionWrapper(ex__, false);
- }
- }
- }
- finally
- {
- handler__.reclaimOutgoing(og__);
- }
- }
-
- public void setTaxPayable(double amount, _System.Collections.Generic.Dictionary<string, string> context__)
- {
- IceInternal.Outgoing og__ = handler__.getOutgoing("setTaxPayable", Ice.OperationMode.Normal, context__);
- try
- {
- try
- {
- IceInternal.BasicStream os__ = og__.ostr();
- os__.writeDouble(amount);
- }
- catch(Ice.LocalException ex__)
- {
- og__.abort(ex__);
- }
- bool ok__ = og__.invoke();
- if(!og__.istr().isEmpty())
- {
- try
- {
- if(!ok__)
- {
- try
- {
- og__.throwUserException();
- }
- catch(Ice.UserException ex__)
- {
- throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
- }
- }
- og__.istr().skipEmptyEncaps();
- }
- catch(Ice.LocalException ex__)
- {
- throw new IceInternal.LocalExceptionWrapper(ex__, false);
- }
- }
- }
- finally
- {
- handler__.reclaimOutgoing(og__);
- }
- }
- }
-
- public sealed class EmployeeFinderDelM_ : Ice.ObjectDelM_, EmployeeFinderDel_
- {
- public _System.Collections.Generic.List<Employees.EmployeePrx> list(_System.Collections.Generic.Dictionary<string, string> context__)
- {
- IceInternal.Outgoing og__ = handler__.getOutgoing("list", Ice.OperationMode.Normal, context__);
- try
- {
- bool ok__ = og__.invoke();
- try
- {
- if(!ok__)
- {
- try
- {
- og__.throwUserException();
- }
- catch(Ice.UserException ex__)
- {
- throw new Ice.UnknownUserException(ex__.ice_name(), ex__);
- }
- }
- IceInternal.BasicStream is__ = og__.istr();
- is__.startReadEncaps();
- _System.Collections.Generic.List<Employees.EmployeePrx> ret__;
- {
- int szx__ = is__.readSize();
- is__.startSeq(szx__, 2);
- ret__ = new _System.Collections.Generic.List<Employees.EmployeePrx>();
- for(int ix__ = 0; ix__ < szx__; ++ix__)
- {
- ret__.Add(Employees.EmployeePrxHelper.read__(is__));
- is__.checkSeq();
- is__.endElement();
- }
- is__.endSeq(szx__);
- }
- is__.endReadEncaps();
- return ret__;
- }
- catch(Ice.LocalException ex__)
- {
- throw new IceInternal.LocalExceptionWrapper(ex__, false);
- }
- }
- finally
- {
- handler__.reclaimOutgoing(og__);
- }
- }
- }
-}
-
-namespace Employees
-{
- public sealed class EmployeeDelD_ : Ice.ObjectDelD_, EmployeeDel_
- {
- public Employees.EmployeeDetails getDetails(_System.Collections.Generic.Dictionary<string, string> context__)
- {
- Ice.Current current__ = new Ice.Current();
- initCurrent__(ref current__, "getDetails", Ice.OperationMode.Normal, context__);
- Employees.EmployeeDetails result__ = new Employees.EmployeeDetails();
- IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
- {
- Employee servant__ = null;
- try
- {
- servant__ = (Employee)obj__;
- }
- catch(_System.InvalidCastException)
- {
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
- result__ = servant__.getDetails(current__);
- return Ice.DispatchStatus.DispatchOK;
- };
- IceInternal.Direct direct__ = null;
- try
- {
- direct__ = new IceInternal.Direct(current__, run__);
- try
- {
- Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
- _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
- }
- finally
- {
- direct__.destroy();
- }
- }
- catch(Ice.SystemException)
- {
- throw;
- }
- catch(System.Exception ex__)
- {
- IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
- }
- return result__;
- }
-
- public void setAnnualSalary(double salary, _System.Collections.Generic.Dictionary<string, string> context__)
- {
- Ice.Current current__ = new Ice.Current();
- initCurrent__(ref current__, "setAnnualSalary", Ice.OperationMode.Normal, context__);
- IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
- {
- Employee servant__ = null;
- try
- {
- servant__ = (Employee)obj__;
- }
- catch(_System.InvalidCastException)
- {
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
- servant__.setAnnualSalary(salary, current__);
- return Ice.DispatchStatus.DispatchOK;
- };
- IceInternal.Direct direct__ = null;
- try
- {
- direct__ = new IceInternal.Direct(current__, run__);
- try
- {
- Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
- _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
- }
- finally
- {
- direct__.destroy();
- }
- }
- catch(Ice.SystemException)
- {
- throw;
- }
- catch(System.Exception ex__)
- {
- IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
- }
- }
-
- public void setTaxPayable(double amount, _System.Collections.Generic.Dictionary<string, string> context__)
- {
- Ice.Current current__ = new Ice.Current();
- initCurrent__(ref current__, "setTaxPayable", Ice.OperationMode.Normal, context__);
- IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
- {
- Employee servant__ = null;
- try
- {
- servant__ = (Employee)obj__;
- }
- catch(_System.InvalidCastException)
- {
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
- servant__.setTaxPayable(amount, current__);
- return Ice.DispatchStatus.DispatchOK;
- };
- IceInternal.Direct direct__ = null;
- try
- {
- direct__ = new IceInternal.Direct(current__, run__);
- try
- {
- Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
- _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
- }
- finally
- {
- direct__.destroy();
- }
- }
- catch(Ice.SystemException)
- {
- throw;
- }
- catch(System.Exception ex__)
- {
- IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
- }
- }
- }
-
- public sealed class EmployeeFinderDelD_ : Ice.ObjectDelD_, EmployeeFinderDel_
- {
- public _System.Collections.Generic.List<Employees.EmployeePrx> list(_System.Collections.Generic.Dictionary<string, string> context__)
- {
- Ice.Current current__ = new Ice.Current();
- initCurrent__(ref current__, "list", Ice.OperationMode.Normal, context__);
- _System.Collections.Generic.List<Employees.EmployeePrx> result__ = null;
- IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
- {
- EmployeeFinder servant__ = null;
- try
- {
- servant__ = (EmployeeFinder)obj__;
- }
- catch(_System.InvalidCastException)
- {
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
- result__ = servant__.list(current__);
- return Ice.DispatchStatus.DispatchOK;
- };
- IceInternal.Direct direct__ = null;
- try
- {
- direct__ = new IceInternal.Direct(current__, run__);
- try
- {
- Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
- _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
- }
- finally
- {
- direct__.destroy();
- }
- }
- catch(Ice.SystemException)
- {
- throw;
- }
- catch(System.Exception ex__)
- {
- IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
- }
- return result__;
- }
- }
-}
-
-namespace Employees
-{
- public abstract class EmployeeDisp_ : Ice.ObjectImpl, Employee
- {
- #region Slice operations
-
- public Employees.EmployeeDetails getDetails()
- {
- return getDetails(Ice.ObjectImpl.defaultCurrent);
- }
-
- public abstract Employees.EmployeeDetails getDetails(Ice.Current current__);
-
- public void setAnnualSalary(double salary)
- {
- setAnnualSalary(salary, Ice.ObjectImpl.defaultCurrent);
- }
-
- public abstract void setAnnualSalary(double salary, Ice.Current current__);
-
- public void setTaxPayable(double amount)
- {
- setTaxPayable(amount, Ice.ObjectImpl.defaultCurrent);
- }
-
- public abstract void setTaxPayable(double amount, Ice.Current current__);
-
- #endregion
-
- #region Slice type-related members
-
- public static new string[] ids__ =
- {
- "::Employees::Employee",
- "::Ice::Object"
- };
-
- public override bool ice_isA(string s)
- {
- return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
- }
-
- public override bool ice_isA(string s, Ice.Current current__)
- {
- return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
- }
-
- public override string[] ice_ids()
- {
- return ids__;
- }
-
- public override string[] ice_ids(Ice.Current current__)
- {
- return ids__;
- }
-
- public override string ice_id()
- {
- return ids__[0];
- }
-
- public override string ice_id(Ice.Current current__)
- {
- return ids__[0];
- }
-
- public static new string ice_staticId()
- {
- return ids__[0];
- }
-
- #endregion
-
- #region Operation dispatch
-
- public static Ice.DispatchStatus getDetails___(Employee obj__, IceInternal.Incoming inS__, Ice.Current current__)
- {
- checkMode__(Ice.OperationMode.Normal, current__.mode);
- inS__.istr().skipEmptyEncaps();
- IceInternal.BasicStream os__ = inS__.ostr();
- Employees.EmployeeDetails ret__ = obj__.getDetails(current__);
- if(ret__ == null)
- {
- Employees.EmployeeDetails tmp__ = new Employees.EmployeeDetails();
- tmp__.write__(os__);
- }
- else
- {
- ret__.write__(os__);
- }
- return Ice.DispatchStatus.DispatchOK;
- }
-
- public static Ice.DispatchStatus setAnnualSalary___(Employee obj__, IceInternal.Incoming inS__, Ice.Current current__)
- {
- checkMode__(Ice.OperationMode.Normal, current__.mode);
- IceInternal.BasicStream is__ = inS__.istr();
- is__.startReadEncaps();
- double salary;
- salary = is__.readDouble();
- is__.endReadEncaps();
- obj__.setAnnualSalary(salary, current__);
- return Ice.DispatchStatus.DispatchOK;
- }
-
- public static Ice.DispatchStatus setTaxPayable___(Employee obj__, IceInternal.Incoming inS__, Ice.Current current__)
- {
- checkMode__(Ice.OperationMode.Normal, current__.mode);
- IceInternal.BasicStream is__ = inS__.istr();
- is__.startReadEncaps();
- double amount;
- amount = is__.readDouble();
- is__.endReadEncaps();
- obj__.setTaxPayable(amount, current__);
- return Ice.DispatchStatus.DispatchOK;
- }
-
- private static string[] all__ =
- {
- "getDetails",
- "ice_id",
- "ice_ids",
- "ice_isA",
- "ice_ping",
- "setAnnualSalary",
- "setTaxPayable"
- };
-
- public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
- {
- int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
- if(pos < 0)
- {
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
-
- switch(pos)
- {
- case 0:
- {
- return getDetails___(this, inS__, current__);
- }
- case 1:
- {
- return ice_id___(this, inS__, current__);
- }
- case 2:
- {
- return ice_ids___(this, inS__, current__);
- }
- case 3:
- {
- return ice_isA___(this, inS__, current__);
- }
- case 4:
- {
- return ice_ping___(this, inS__, current__);
- }
- case 5:
- {
- return setAnnualSalary___(this, inS__, current__);
- }
- case 6:
- {
- return setTaxPayable___(this, inS__, current__);
- }
- }
-
- _System.Diagnostics.Debug.Assert(false);
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
-
- #endregion
-
- #region Marshaling support
-
- public override void write__(IceInternal.BasicStream os__)
- {
- os__.writeTypeId(ice_staticId());
- os__.startWriteSlice();
- os__.endWriteSlice();
- base.write__(os__);
- }
-
- public override void read__(IceInternal.BasicStream is__, bool rid__)
- {
- if(rid__)
- {
- /* string myId = */ is__.readTypeId();
- }
- is__.startReadSlice();
- is__.endReadSlice();
- base.read__(is__, true);
- }
-
- public override void write__(Ice.OutputStream outS__)
- {
- Ice.MarshalException ex = new Ice.MarshalException();
- ex.reason = "type Employees::Employee was not generated with stream support";
- throw ex;
- }
-
- public override void read__(Ice.InputStream inS__, bool rid__)
- {
- Ice.MarshalException ex = new Ice.MarshalException();
- ex.reason = "type Employees::Employee was not generated with stream support";
- throw ex;
- }
-
- #endregion
- }
-
- public abstract class EmployeeFinderDisp_ : Ice.ObjectImpl, EmployeeFinder
- {
- #region Slice operations
-
- public _System.Collections.Generic.List<Employees.EmployeePrx> list()
- {
- return list(Ice.ObjectImpl.defaultCurrent);
- }
-
- public abstract _System.Collections.Generic.List<Employees.EmployeePrx> list(Ice.Current current__);
-
- #endregion
-
- #region Slice type-related members
-
- public static new string[] ids__ =
- {
- "::Employees::EmployeeFinder",
- "::Ice::Object"
- };
-
- public override bool ice_isA(string s)
- {
- return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
- }
-
- public override bool ice_isA(string s, Ice.Current current__)
- {
- return _System.Array.BinarySearch(ids__, s, IceUtilInternal.StringUtil.OrdinalStringComparer) >= 0;
- }
-
- public override string[] ice_ids()
- {
- return ids__;
- }
-
- public override string[] ice_ids(Ice.Current current__)
- {
- return ids__;
- }
-
- public override string ice_id()
- {
- return ids__[0];
- }
-
- public override string ice_id(Ice.Current current__)
- {
- return ids__[0];
- }
-
- public static new string ice_staticId()
- {
- return ids__[0];
- }
-
- #endregion
-
- #region Operation dispatch
-
- public static Ice.DispatchStatus list___(EmployeeFinder obj__, IceInternal.Incoming inS__, Ice.Current current__)
- {
- checkMode__(Ice.OperationMode.Normal, current__.mode);
- inS__.istr().skipEmptyEncaps();
- IceInternal.BasicStream os__ = inS__.ostr();
- _System.Collections.Generic.List<Employees.EmployeePrx> ret__ = obj__.list(current__);
- if(ret__ == null)
- {
- os__.writeSize(0);
- }
- else
- {
- os__.writeSize(ret__.Count);
- for(int ix__ = 0; ix__ < ret__.Count; ++ix__)
- {
- Employees.EmployeePrxHelper.write__(os__, ret__[ix__]);
- }
- }
- return Ice.DispatchStatus.DispatchOK;
- }
-
- private static string[] all__ =
- {
- "ice_id",
- "ice_ids",
- "ice_isA",
- "ice_ping",
- "list"
- };
-
- public override Ice.DispatchStatus dispatch__(IceInternal.Incoming inS__, Ice.Current current__)
- {
- int pos = _System.Array.BinarySearch(all__, current__.operation, IceUtilInternal.StringUtil.OrdinalStringComparer);
- if(pos < 0)
- {
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
-
- switch(pos)
- {
- case 0:
- {
- return ice_id___(this, inS__, current__);
- }
- case 1:
- {
- return ice_ids___(this, inS__, current__);
- }
- case 2:
- {
- return ice_isA___(this, inS__, current__);
- }
- case 3:
- {
- return ice_ping___(this, inS__, current__);
- }
- case 4:
- {
- return list___(this, inS__, current__);
- }
- }
-
- _System.Diagnostics.Debug.Assert(false);
- throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
- }
-
- #endregion
-
- #region Marshaling support
-
- public override void write__(IceInternal.BasicStream os__)
- {
- os__.writeTypeId(ice_staticId());
- os__.startWriteSlice();
- os__.endWriteSlice();
- base.write__(os__);
- }
-
- public override void read__(IceInternal.BasicStream is__, bool rid__)
- {
- if(rid__)
- {
- /* string myId = */ is__.readTypeId();
- }
- is__.startReadSlice();
- is__.endReadSlice();
- base.read__(is__, true);
- }
-
- public override void write__(Ice.OutputStream outS__)
- {
- Ice.MarshalException ex = new Ice.MarshalException();
- ex.reason = "type Employees::EmployeeFinder was not generated with stream support";
- throw ex;
- }
-
- public override void read__(Ice.InputStream inS__, bool rid__)
- {
- Ice.MarshalException ex = new Ice.MarshalException();
- ex.reason = "type Employees::EmployeeFinder was not generated with stream support";
- throw ex;
- }
-
- #endregion
- }
-}
diff --git a/cs/demo/cookbook/excel/Employees.ice b/cs/demo/cookbook/excel/Employees.ice
deleted file mode 100755
index 1680eef6ae7..00000000000
--- a/cs/demo/cookbook/excel/Employees.ice
+++ /dev/null
@@ -1,33 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-module Employees
-{
- struct EmployeeDetails
- {
- string name;
- string address;
- // ...
- };
-
- interface Employee
- {
- EmployeeDetails getDetails();
- void setAnnualSalary(double salary);
- void setTaxPayable(double amount);
- };
-
- ["clr:generic:List"] sequence<Employee*> EmployeeSeq;
-
- interface EmployeeFinder
- {
- EmployeeSeq list();
- // ...
- };
-};
diff --git a/cs/demo/cookbook/excel/My Project/AssemblyInfo.vb b/cs/demo/cookbook/excel/My Project/AssemblyInfo.vb
deleted file mode 100755
index a6326a681b7..00000000000
--- a/cs/demo/cookbook/excel/My Project/AssemblyInfo.vb
+++ /dev/null
@@ -1,52 +0,0 @@
-Imports System
-Imports System.Reflection
-Imports System.Runtime.InteropServices
-Imports System.Security
-Imports Microsoft.Office.Tools.Excel
-
-' General Information about an assembly is controlled through the following
-' set of attributes. Change these attribute values to modify the information
-' associated with an assembly.
-
-' Review the values of the assembly attributes
-
-<Assembly: AssemblyTitle("cookbook.excel")>
-<Assembly: AssemblyDescription("")>
-<Assembly: AssemblyCompany("ZeroC Inc.")>
-<Assembly: AssemblyProduct("cookbook.excel")>
-<Assembly: AssemblyCopyright("Copyright © ZeroC, Inc. 2009")>
-<Assembly: AssemblyTrademark("")>
-
-' Setting ComVisible to false makes the types in this assembly not visible
-' to COM components. If you need to access a type in this assembly from
-' COM, set the ComVisible attribute to true on that type.
-<Assembly: ComVisible(False)>
-
-'The following GUID is for the ID of the typelib if this project is exposed to COM
-<Assembly: Guid("d2904f19-2b25-4a7b-a7a4-567fd7d503d6")>
-
-' Version information for an assembly consists of the following four values:
-'
-' Major Version
-' Minor Version
-' Build Number
-' Revision
-'
-' You can specify all the values or you can default the Build and Revision Numbers
-' by using the '*' as shown below:
-' <Assembly: AssemblyVersion("1.0.*")>
-
-<Assembly: AssemblyVersion("1.0.0.0")>
-<Assembly: AssemblyFileVersion("1.0.0.0")>
-
-' The ExcelLocale1033 attribute controls the locale that is passed to the Excel
-' object model. Setting ExcelLocale1033 to true causes the Excel object model to
-' act the same in all locales, which matches the behavior of Visual Basic for
-' Applications. Setting ExcelLocale1033 to false causes the Excel object model to
-' act differently when users have different locale settings, which matches the
-' behavior of Visual Studio Tools for Office, Version 2003. This can cause unexpected
-' results in locale-sensitive information such as formula names and date formats.
-
-<Assembly: ExcelLocale1033(True)>
-
-<Assembly: SecurityTransparent()>
diff --git a/cs/demo/cookbook/excel/My Project/Resources.Designer.vb b/cs/demo/cookbook/excel/My Project/Resources.Designer.vb
deleted file mode 100755
index fec02425782..00000000000
--- a/cs/demo/cookbook/excel/My Project/Resources.Designer.vb
+++ /dev/null
@@ -1,62 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' This code was generated by a tool.
-' Runtime Version:2.0.50727.3082
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My.Resources
-
- 'This class was auto-generated by the StronglyTypedResourceBuilder
- 'class via a tool like ResGen or Visual Studio.
- 'To add or remove a member, edit your .ResX file then rerun ResGen
- 'with the /str option, or rebuild your VS project.
- '''<summary>
- ''' A strongly-typed resource class, for looking up localized strings, etc.
- '''</summary>
- <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _
- Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
- Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
- Friend Module Resources
-
- Private resourceMan As Global.System.Resources.ResourceManager
-
- Private resourceCulture As Global.System.Globalization.CultureInfo
-
- '''<summary>
- ''' Returns the cached ResourceManager instance used by this class.
- '''</summary>
- <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
- Get
- If Object.ReferenceEquals(resourceMan, Nothing) Then
- Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("cookbook.excel.Resources", GetType(Resources).Assembly)
- resourceMan = temp
- End If
- Return resourceMan
- End Get
- End Property
-
- '''<summary>
- ''' Overrides the current thread's CurrentUICulture property for all
- ''' resource lookups using this strongly typed resource class.
- '''</summary>
- <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Friend Property Culture() As Global.System.Globalization.CultureInfo
- Get
- Return resourceCulture
- End Get
- Set
- resourceCulture = value
- End Set
- End Property
- End Module
-End Namespace
diff --git a/cs/demo/cookbook/excel/My Project/Resources.resx b/cs/demo/cookbook/excel/My Project/Resources.resx
deleted file mode 100755
index ffecec851ab..00000000000
--- a/cs/demo/cookbook/excel/My Project/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
-</root> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/My Project/Settings.Designer.vb b/cs/demo/cookbook/excel/My Project/Settings.Designer.vb
deleted file mode 100755
index 08929dd1940..00000000000
--- a/cs/demo/cookbook/excel/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,71 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' This code was generated by a tool.
-' Runtime Version:2.0.50727.3082
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-
-<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
-Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
-
-#Region "My.Settings Auto-Save Functionality"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
-End Class
-
-Namespace My
-
- <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
- Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
- Friend Module MySettingsProperty
-
- <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
- Friend ReadOnly Property Settings() As Global.cookbook.excel.MySettings
- Get
- Return Global.cookbook.excel.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/cs/demo/cookbook/excel/My Project/Settings.settings b/cs/demo/cookbook/excel/My Project/Settings.settings
deleted file mode 100755
index 377f56d6b1c..00000000000
--- a/cs/demo/cookbook/excel/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
- <Profiles>
- <Profile Name="(Default)" />
- </Profiles>
- <Settings />
-</SettingsFile>
diff --git a/cs/demo/cookbook/excel/README b/cs/demo/cookbook/excel/README
deleted file mode 100644
index b194a6ae54f..00000000000
--- a/cs/demo/cookbook/excel/README
+++ /dev/null
@@ -1,24 +0,0 @@
-This demo illustrates how to embed an Ice client in an Excel
-spreadsheet.
-
-The demo requires Excel 2007 and Visual Studio 2008 or later, and it
-uses the Ice Visual Studio plug-in which you can download from
-
- http://www.zeroc.com/vsplugin.html
-
-Build the three projects for the demo, then start the server from a
-command shell:
-
-> server.exe --Ice.Config=config.server
-
-To run the client, right-click on the cookbook.excel.client project
-and select "Debug->Start new instance".
-
-When the worksheet is opened, the client fills the employee cells with
-the name and address retrieved from the server. You can now add the
-salary for each employ in column C, and Excel calculates the tax and
-displays it in column D.
-
-When you close the worksheet, Excel contacts the server and sets the
-salary and tax for each employee in the server. (The server prints some
-trace to show this.)
diff --git a/cs/demo/cookbook/excel/Server.cs b/cs/demo/cookbook/excel/Server.cs
deleted file mode 100755
index 62db954ea15..00000000000
--- a/cs/demo/cookbook/excel/Server.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-using System;
-using System.Collections.Generic;
-using System.Reflection;
-using Employees;
-
-[assembly: CLSCompliant(true)]
-
-[assembly: AssemblyTitle("EmployeesServer")]
-[assembly: AssemblyDescription("Excel employees demo server")]
-[assembly: AssemblyCompany("ZeroC, Inc.")]
-
-public class Server
-{
- private class EmployeeI : EmployeeDisp_
- {
- public EmployeeI(double salary, EmployeeDetails details)
- {
- details_ = (EmployeeDetails)details.Clone();
- }
-
- public override EmployeeDetails getDetails(Ice.Current current__)
- {
- return details_;
- }
-
- public override void setAnnualSalary(double salary, Ice.Current current__)
- {
- Console.WriteLine("Setting salary for " + details_.name + ": " + salary);
- }
-
- public override void setTaxPayable(double amount, Ice.Current current__)
- {
- Console.WriteLine("Setting tax payable for " + details_.name + ": " + amount);
- }
-
- private EmployeeDetails details_;
- }
-
- private class EmployeeFinderI : EmployeeFinderDisp_
- {
- public override List<EmployeePrx> list(Ice.Current current__)
- {
- return employees_;
- }
-
- public void addEmployee(Ice.ObjectAdapter adapter, double salary, EmployeeDetails details)
- {
- EmployeeI emp = new EmployeeI(salary, details);
- Ice.ObjectPrx prx = adapter.add(emp, Ice.Util.stringToIdentity(details.name));
- EmployeePrx tmp = EmployeePrxHelper.uncheckedCast(prx);
- employees_.Add(tmp);
- }
-
- private List<EmployeePrx> employees_ = new List<EmployeePrx>();
- }
-
- class App : Ice.Application
- {
- public override int run(string[] args)
- {
- if(args.Length > 0)
- {
- System.Console.Error.WriteLine(appName() + ": too many arguments");
- return 1;
- }
-
- Ice.ObjectAdapter adapter = communicator().createObjectAdapter("Employees");
- EmployeeFinderI finder = new EmployeeFinderI();
- adapter.add(finder, communicator().stringToIdentity("Finder"));
-
- EmployeeDetails details = new EmployeeDetails();
-
- details.name = "Fred Halloway";
- details.address = "25 Bond St";
- finder.addEmployee(adapter, 42750, details);
-
- details.name = "Joseph Waterton";
- details.address = "17 Merivale St";
- finder.addEmployee(adapter, 78220, details);
-
- details.name = "Broughton Syverson";
- details.address = "20 Appel St";
- finder.addEmployee(adapter, 124000, details);
-
- adapter.activate();
- communicator().waitForShutdown();
- return 0;
- }
- }
-
- public static void Main(string[] args)
- {
- App app = new App();
- int status = app.main(args, "config.server");
- if(status != 0)
- {
- System.Environment.Exit(status);
- }
- }
-}
diff --git a/cs/demo/cookbook/excel/Sheet1.Designer.vb b/cs/demo/cookbook/excel/Sheet1.Designer.vb
deleted file mode 100755
index e1e3e956522..00000000000
--- a/cs/demo/cookbook/excel/Sheet1.Designer.vb
+++ /dev/null
@@ -1,167 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' This code was generated by a tool.
-' Runtime Version:2.0.50727.3082
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict Off
-Option Explicit On
-
-
-
-'''
-<Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(1), _
- Global.System.Security.Permissions.PermissionSetAttribute(Global.System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
-Partial Public NotInheritable Class Sheet1
- Inherits Microsoft.Office.Tools.Excel.Worksheet
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Public Sub New()
- MyBase.New("Sheet1", "Sheet1")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub Initialize()
- MyBase.Initialize
- Globals.Sheet1 = Me
- Global.System.Windows.Forms.Application.EnableVisualStyles
- Me.InitializeCachedData
- Me.InitializeControls
- Me.InitializeComponents
- Me.InitializeData
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub FinishInitialization()
- Me.OnStartup
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub InitializeDataBindings()
- Me.BeginInitialization
- Me.BindToData
- Me.EndInitialization
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeCachedData()
- If (Me.DataHost Is Nothing) Then
- Return
- End If
- If Me.DataHost.IsCacheInitialized Then
- Me.DataHost.FillCachedData(Me)
- End If
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BindToData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StartCaching(ByVal MemberName As String)
- Me.DataHost.StartCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StopCaching(ByVal MemberName As String)
- Me.DataHost.StopCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function IsCached(ByVal MemberName As String) As Boolean
- Return Me.DataHost.IsCached(Me, MemberName)
- End Function
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BeginInitialization()
- Me.BeginInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub EndInitialization()
- Me.EndInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeControls()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeComponents()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function NeedsFill(ByVal MemberName As String) As Boolean
- Return Me.DataHost.NeedsFill(Me, MemberName)
- End Function
-End Class
-
-Partial Friend NotInheritable Class Globals
-
- Private Shared _Sheet1 As Sheet1
-
- Friend Shared Property Sheet1() As Sheet1
- Get
- Return _Sheet1
- End Get
- Set
- If (_Sheet1 Is Nothing) Then
- _Sheet1 = value
- Else
- Throw New System.NotSupportedException
- End If
- End Set
- End Property
-End Class
diff --git a/cs/demo/cookbook/excel/Sheet1.Designer.xml b/cs/demo/cookbook/excel/Sheet1.Designer.xml
deleted file mode 100755
index 08f091bc1b8..00000000000
--- a/cs/demo/cookbook/excel/Sheet1.Designer.xml
+++ /dev/null
@@ -1 +0,0 @@
-<hostitem:hostItem hostitem:baseType="Microsoft.Office.Tools.Excel.Worksheet" hostitem:namespace="" hostitem:className="Sheet1" hostitem:identifier="Sheet1" hostitem:primaryCookie="Sheet1" hostitem:startupIndex="1" xmlns:hostitem="http://schemas.microsoft.com/2004/VisualStudio/Tools/Applications/HostItem.xsd" /> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/Sheet1.vb b/cs/demo/cookbook/excel/Sheet1.vb
deleted file mode 100755
index 64e4178b316..00000000000
--- a/cs/demo/cookbook/excel/Sheet1.vb
+++ /dev/null
@@ -1,54 +0,0 @@
-Imports Employees
-Imports System.Collections.Generic
-
-Public Class Sheet1
-
- Private Sub Sheet1_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
- Try
- communicator = Ice.Util.initialize()
- Ice.Util.initialize()
-
- Dim prx As Ice.ObjectPrx = _
- communicator.stringToProxy("Finder:tcp -p 10000")
- Dim finder As EmployeeFinderPrx = _
- EmployeeFinderPrxHelper.uncheckedCast(prx)
-
- Dim row = firstRow
- employees = finder.list()
- For Each emp As EmployeePrx In employees
- Dim details As EmployeeDetails = emp.getDetails()
- Me.Cells(row, 1) = details.name
- Me.Cells(row, 2) = details.address
- row += 1
- Next
- Catch ex As Exception
- If Not communicator Is Nothing Then
- Try
- communicator.destroy()
- Catch
- End Try
- communicator = Nothing
- End If
- End Try
- End Sub
-
- Private Sub Sheet1_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
- If Not communicator Is Nothing Then
- Try
- Dim row As Integer = firstRow
- For Each emp As EmployeePrx In employees
- emp.setAnnualSalary(Double.Parse(Me.Cells(row, 3).Value))
- emp.setTaxPayable(Double.Parse(Me.Cells(row, 4).Value))
- row += 1
- Next
- communicator.destroy()
- Catch
- End Try
- communicator = Nothing
- End If
- End Sub
-
- Private communicator As Ice.Communicator
- Private employees As List(Of EmployeePrx)
- Private Const firstRow = 10 ' Employees start on row 10 of worksheet
-End Class
diff --git a/cs/demo/cookbook/excel/Sheet2.Designer.vb b/cs/demo/cookbook/excel/Sheet2.Designer.vb
deleted file mode 100755
index 48596b599fe..00000000000
--- a/cs/demo/cookbook/excel/Sheet2.Designer.vb
+++ /dev/null
@@ -1,167 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' This code was generated by a tool.
-' Runtime Version:2.0.50727.3082
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict Off
-Option Explicit On
-
-
-
-'''
-<Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(2), _
- Global.System.Security.Permissions.PermissionSetAttribute(Global.System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
-Partial Public NotInheritable Class Sheet2
- Inherits Microsoft.Office.Tools.Excel.Worksheet
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Public Sub New()
- MyBase.New("Sheet2", "Sheet2")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub Initialize()
- MyBase.Initialize
- Globals.Sheet2 = Me
- Global.System.Windows.Forms.Application.EnableVisualStyles
- Me.InitializeCachedData
- Me.InitializeControls
- Me.InitializeComponents
- Me.InitializeData
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub FinishInitialization()
- Me.OnStartup
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub InitializeDataBindings()
- Me.BeginInitialization
- Me.BindToData
- Me.EndInitialization
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeCachedData()
- If (Me.DataHost Is Nothing) Then
- Return
- End If
- If Me.DataHost.IsCacheInitialized Then
- Me.DataHost.FillCachedData(Me)
- End If
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BindToData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StartCaching(ByVal MemberName As String)
- Me.DataHost.StartCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StopCaching(ByVal MemberName As String)
- Me.DataHost.StopCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function IsCached(ByVal MemberName As String) As Boolean
- Return Me.DataHost.IsCached(Me, MemberName)
- End Function
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BeginInitialization()
- Me.BeginInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub EndInitialization()
- Me.EndInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeControls()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeComponents()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function NeedsFill(ByVal MemberName As String) As Boolean
- Return Me.DataHost.NeedsFill(Me, MemberName)
- End Function
-End Class
-
-Partial Friend NotInheritable Class Globals
-
- Private Shared _Sheet2 As Sheet2
-
- Friend Shared Property Sheet2() As Sheet2
- Get
- Return _Sheet2
- End Get
- Set
- If (_Sheet2 Is Nothing) Then
- _Sheet2 = value
- Else
- Throw New System.NotSupportedException
- End If
- End Set
- End Property
-End Class
diff --git a/cs/demo/cookbook/excel/Sheet2.Designer.xml b/cs/demo/cookbook/excel/Sheet2.Designer.xml
deleted file mode 100755
index 411924284c9..00000000000
--- a/cs/demo/cookbook/excel/Sheet2.Designer.xml
+++ /dev/null
@@ -1 +0,0 @@
-<hostitem:hostItem hostitem:baseType="Microsoft.Office.Tools.Excel.Worksheet" hostitem:namespace="" hostitem:className="Sheet2" hostitem:identifier="Sheet2" hostitem:primaryCookie="Sheet2" hostitem:startupIndex="2" xmlns:hostitem="http://schemas.microsoft.com/2004/VisualStudio/Tools/Applications/HostItem.xsd" /> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/Sheet2.vb b/cs/demo/cookbook/excel/Sheet2.vb
deleted file mode 100755
index 98c46c53136..00000000000
--- a/cs/demo/cookbook/excel/Sheet2.vb
+++ /dev/null
@@ -1,12 +0,0 @@
-
-Public Class Sheet2
-
- Private Sub Sheet2_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
-
- End Sub
-
- Private Sub Sheet2_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
-
- End Sub
-
-End Class
diff --git a/cs/demo/cookbook/excel/Sheet3.Designer.vb b/cs/demo/cookbook/excel/Sheet3.Designer.vb
deleted file mode 100755
index 7aad19c886f..00000000000
--- a/cs/demo/cookbook/excel/Sheet3.Designer.vb
+++ /dev/null
@@ -1,167 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' This code was generated by a tool.
-' Runtime Version:2.0.50727.3082
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict Off
-Option Explicit On
-
-
-
-'''
-<Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(3), _
- Global.System.Security.Permissions.PermissionSetAttribute(Global.System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
-Partial Public NotInheritable Class Sheet3
- Inherits Microsoft.Office.Tools.Excel.Worksheet
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Public Sub New()
- MyBase.New("Sheet3", "Sheet3")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub Initialize()
- MyBase.Initialize
- Globals.Sheet3 = Me
- Global.System.Windows.Forms.Application.EnableVisualStyles
- Me.InitializeCachedData
- Me.InitializeControls
- Me.InitializeComponents
- Me.InitializeData
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub FinishInitialization()
- Me.OnStartup
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub InitializeDataBindings()
- Me.BeginInitialization
- Me.BindToData
- Me.EndInitialization
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeCachedData()
- If (Me.DataHost Is Nothing) Then
- Return
- End If
- If Me.DataHost.IsCacheInitialized Then
- Me.DataHost.FillCachedData(Me)
- End If
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BindToData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StartCaching(ByVal MemberName As String)
- Me.DataHost.StartCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StopCaching(ByVal MemberName As String)
- Me.DataHost.StopCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function IsCached(ByVal MemberName As String) As Boolean
- Return Me.DataHost.IsCached(Me, MemberName)
- End Function
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BeginInitialization()
- Me.BeginInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub EndInitialization()
- Me.EndInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeControls()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeComponents()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function NeedsFill(ByVal MemberName As String) As Boolean
- Return Me.DataHost.NeedsFill(Me, MemberName)
- End Function
-End Class
-
-Partial Friend NotInheritable Class Globals
-
- Private Shared _Sheet3 As Sheet3
-
- Friend Shared Property Sheet3() As Sheet3
- Get
- Return _Sheet3
- End Get
- Set
- If (_Sheet3 Is Nothing) Then
- _Sheet3 = value
- Else
- Throw New System.NotSupportedException
- End If
- End Set
- End Property
-End Class
diff --git a/cs/demo/cookbook/excel/Sheet3.Designer.xml b/cs/demo/cookbook/excel/Sheet3.Designer.xml
deleted file mode 100755
index ee6c0aab661..00000000000
--- a/cs/demo/cookbook/excel/Sheet3.Designer.xml
+++ /dev/null
@@ -1 +0,0 @@
-<hostitem:hostItem hostitem:baseType="Microsoft.Office.Tools.Excel.Worksheet" hostitem:namespace="" hostitem:className="Sheet3" hostitem:identifier="Sheet3" hostitem:primaryCookie="Sheet3" hostitem:startupIndex="3" xmlns:hostitem="http://schemas.microsoft.com/2004/VisualStudio/Tools/Applications/HostItem.xsd" /> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/Sheet3.vb b/cs/demo/cookbook/excel/Sheet3.vb
deleted file mode 100755
index e4f19f9cb2e..00000000000
--- a/cs/demo/cookbook/excel/Sheet3.vb
+++ /dev/null
@@ -1,12 +0,0 @@
-
-Public Class Sheet3
-
- Private Sub Sheet3_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
-
- End Sub
-
- Private Sub Sheet3_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
-
- End Sub
-
-End Class
diff --git a/cs/demo/cookbook/excel/ThisWorkbook.Designer.vb b/cs/demo/cookbook/excel/ThisWorkbook.Designer.vb
deleted file mode 100755
index 5f6c4b81742..00000000000
--- a/cs/demo/cookbook/excel/ThisWorkbook.Designer.vb
+++ /dev/null
@@ -1,212 +0,0 @@
-'------------------------------------------------------------------------------
-' <auto-generated>
-' This code was generated by a tool.
-' Runtime Version:2.0.50727.3082
-'
-' Changes to this file may cause incorrect behavior and will be lost if
-' the code is regenerated.
-' </auto-generated>
-'------------------------------------------------------------------------------
-
-Option Strict Off
-Option Explicit On
-
-
-
-'''
-<Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(0), _
- Global.System.Security.Permissions.PermissionSetAttribute(Global.System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
-Partial Public NotInheritable Class ThisWorkbook
- Inherits Microsoft.Office.Tools.Excel.Workbook
- Implements Microsoft.VisualStudio.Tools.Office.IOfficeEntryPoint
-
- Friend WithEvents ActionsPane As Microsoft.Office.Tools.ActionsPane
-
- <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")> _
- Friend WithEvents ThisApplication As Microsoft.Office.Interop.Excel.Application
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Public Sub New()
- MyBase.New("ThisWorkbook", "ThisWorkbook")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub Initialize()
- MyBase.Initialize
- Me.ThisApplication = Me.GetHostItem(Of Microsoft.Office.Interop.Excel.Application)(GetType(Microsoft.Office.Interop.Excel.Application), "Application")
- Globals.ThisWorkbook = Me
- Global.System.Windows.Forms.Application.EnableVisualStyles
- Me.InitializeCachedData
- Me.InitializeControls
- Me.InitializeComponents
- Me.InitializeData
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub FinishInitialization()
- Me.OnStartup
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub InitializeDataBindings()
- Me.BeginInitialization
- Me.BindToData
- Me.EndInitialization
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeCachedData()
- If (Me.DataHost Is Nothing) Then
- Return
- End If
- If Me.DataHost.IsCacheInitialized Then
- Me.DataHost.FillCachedData(Me)
- End If
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BindToData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StartCaching(ByVal MemberName As String)
- Me.DataHost.StartCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StopCaching(ByVal MemberName As String)
- Me.DataHost.StopCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function IsCached(ByVal MemberName As String) As Boolean
- Return Me.DataHost.IsCached(Me, MemberName)
- End Function
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BeginInitialization()
- Me.BeginInit
- Me.ActionsPane.BeginInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub EndInitialization()
- Me.ActionsPane.EndInit
- Me.EndInit
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeControls()
- Me.ActionsPane = New Microsoft.Office.Tools.ActionsPane(Me.ItemProvider, Me.HostContext, "ActionsPane", Me, "ActionsPane")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeComponents()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function NeedsFill(ByVal MemberName As String) As Boolean
- Return Me.DataHost.NeedsFill(Me, MemberName)
- End Function
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub OnShutdown()
- Me.ActionsPane.Dispose
- MyBase.OnShutdown
- End Sub
-End Class
-
-'''
-<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")> _
-Partial Friend NotInheritable Class Globals
-
- '''
- Private Sub New()
- MyBase.New
- End Sub
-
- Private Shared _ThisWorkbook As ThisWorkbook
-
- Private Shared _ThisRibbonCollection As ThisRibbonCollection
-
- Friend Shared Property ThisWorkbook() As ThisWorkbook
- Get
- Return _ThisWorkbook
- End Get
- Set
- If (_ThisWorkbook Is Nothing) Then
- _ThisWorkbook = value
- Else
- Throw New System.NotSupportedException
- End If
- End Set
- End Property
-
- Friend Shared ReadOnly Property Ribbons() As ThisRibbonCollection
- Get
- If (_ThisRibbonCollection Is Nothing) Then
- _ThisRibbonCollection = New ThisRibbonCollection
- End If
- Return _ThisRibbonCollection
- End Get
- End Property
-End Class
-
-'''
-<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")> _
-Partial Friend NotInheritable Class ThisRibbonCollection
- Inherits Microsoft.Office.Tools.Ribbon.RibbonReadOnlyCollection
-End Class
diff --git a/cs/demo/cookbook/excel/ThisWorkbook.Designer.xml b/cs/demo/cookbook/excel/ThisWorkbook.Designer.xml
deleted file mode 100755
index a7b3282c694..00000000000
--- a/cs/demo/cookbook/excel/ThisWorkbook.Designer.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<hostitem:hostItem hostitem:baseType="Microsoft.Office.Tools.Excel.Workbook" hostitem:interfaceType="Microsoft.VisualStudio.Tools.Office.IOfficeEntryPoint" hostitem:namespace="" hostitem:className="ThisWorkbook" hostitem:identifier="ThisWorkbook" hostitem:primaryCookie="ThisWorkbook" hostitem:master="true" hostitem:startupIndex="0" xmlns:hostitem="http://schemas.microsoft.com/2004/VisualStudio/Tools/Applications/HostItem.xsd">
- <hostitem:hostObject hostitem:name="ThisApplication" hostitem:identifier="ThisApplication" hostitem:type="Microsoft.Office.Interop.Excel.Application" hostitem:cookie="Application" hostitem:modifier="Internal" />
- <hostitem:hostControl hostitem:name="ActionsPane" hostitem:identifier="ActionsPane" hostitem:type="Microsoft.Office.Tools.ActionsPane" hostitem:primaryCookie="ActionsPane" hostitem:extenderCookie="" hostitem:modifier="Internal" />
-</hostitem:hostItem> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/ThisWorkbook.vb b/cs/demo/cookbook/excel/ThisWorkbook.vb
deleted file mode 100755
index 82b1ef5b8f1..00000000000
--- a/cs/demo/cookbook/excel/ThisWorkbook.vb
+++ /dev/null
@@ -1,12 +0,0 @@
-
-Public Class ThisWorkbook
-
- Private Sub ThisWorkbook_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
-
- End Sub
-
- Private Sub ThisWorkbook_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
-
- End Sub
-
-End Class
diff --git a/cs/demo/cookbook/excel/config.server b/cs/demo/cookbook/excel/config.server
deleted file mode 100644
index b08dc42ed56..00000000000
--- a/cs/demo/cookbook/excel/config.server
+++ /dev/null
@@ -1 +0,0 @@
-Employees.Endpoints = tcp -h 127.0.0.1 -p 10000
diff --git a/cs/demo/cookbook/excel/cookbook.excel.client.vbproj b/cs/demo/cookbook/excel/cookbook.excel.client.vbproj
deleted file mode 100755
index 41211ad0de5..00000000000
--- a/cs/demo/cookbook/excel/cookbook.excel.client.vbproj
+++ /dev/null
@@ -1,253 +0,0 @@
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <ProjectTypeGuids>{BAA0C2D2-18E2-41B9-852F-F413020CAA33};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <OutputType>Library</OutputType>
- <RootNamespace>cookbook.excel</RootNamespace>
- <AssemblyName>cookbook.excel</AssemblyName>
- <VSTO_HostDocumentName>cookbook.excel.xlsx</VSTO_HostDocumentName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <OfficeApplication>Excel</OfficeApplication>
- <OptionExplicit>On</OptionExplicit>
- <OptionCompare>Binary</OptionCompare>
- <OptionStrict>Off</OptionStrict>
- <OptionInfer>On</OptionInfer>
- <ProjectGuid>{233543CB-821A-406C-8B6A-D043FF3D2BC6}</ProjectGuid>
- <SolutionID>f883fb4e-3233-43f7-bd3d-cc93188d103e</SolutionID>
- <ManifestCertificateThumbprint>5A501D1A007479D3D98F59293B01D17B8461DB49</ManifestCertificateThumbprint>
- <ManifestKeyFile>cookbook.excel_TemporaryKey.pfx</ManifestKeyFile>
- <SignManifests>true</SignManifests>
- <IsWebBootstrapper>False</IsWebBootstrapper>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- <PublishUrl>c:\cygwin\tmp\excel\</PublishUrl>
- <InstallUrl>
- </InstallUrl>
- <TargetCulture>en</TargetCulture>
- <ApplicationVersion>1.0.0.0</ApplicationVersion>
- <AutoIncrementApplicationRevision>true</AutoIncrementApplicationRevision>
- <UpdateEnabled>true</UpdateEnabled>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>days</UpdateIntervalUnits>
- </PropertyGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework Client Profile</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5</ProductName>
- <Install>false</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
- <Visible>False</Visible>
- <ProductName>.NET Framework 3.5 SP1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Office.PIARedist.2007">
- <Visible>False</Visible>
- <ProductName>Microsoft Office 2007 Primary Interop Assemblies</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.VSTORuntime.3.0">
- <Visible>False</Visible>
- <ProductName>Visual Studio Tools for the Office system 3.0 Runtime Service Pack 1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
- <Visible>False</Visible>
- <ProductName>Windows Installer 3.1</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <PropertyGroup>
- <VSTO_EmbedTypeLibraryInAssembly>false</VSTO_EmbedTypeLibraryInAssembly>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DefineConstants>
- </DefineConstants>
- <DefineDebug>true</DefineDebug>
- <DefineTrace>true</DefineTrace>
- <DebugType>full</DebugType>
- <DebugSymbols>true</DebugSymbols>
- <Optimize>false</Optimize>
- <OutputPath>.\</OutputPath>
- <DocumentationFile>cookbook.excel.xml</DocumentationFile>
- <RegisterForComInterop>false</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DefineConstants>
- </DefineConstants>
- <DefineDebug>false</DefineDebug>
- <DefineTrace>true</DefineTrace>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>.\</OutputPath>
- <DocumentationFile>cookbook.excel.xml</DocumentationFile>
- <RegisterForComInterop>false</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.AddIn, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
- <Reference Include="System.Data" />
- <Reference Include="System.Drawing" />
- <Reference Include="System.Windows.Forms" />
- <Reference Include="System.Xml" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="Microsoft.Office.Tools.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.Office.Tools.Common.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.Office.Tools.Excel.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- <Reference Include="Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
- </ItemGroup>
- <ItemGroup>
- <Reference Include="Ice, Version=3.3.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16, processorArchitecture=MSIL" />
- <Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <Private>False</Private>
- </Reference>
- <Reference Include="Office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
- <Private>False</Private>
- </Reference>
- <Reference Include="Microsoft.Vbe.Interop, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
- <Private>False</Private>
- </Reference>
- <Reference Include="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
- <Private>False</Private>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <Import Include="Microsoft.VisualBasic" />
- <Import Include="System" />
- <Import Include="System.Collections.Generic" />
- <Import Include="System.Data" />
- <Import Include="System.Linq" />
- <Import Include="System.Text" />
- <Import Include="System.Windows.Forms" />
- <Import Include="System.Xml.Linq" />
- <Import Include="Microsoft.VisualStudio.Tools.Applications.Runtime" />
- <Import Include="Office = Microsoft.Office.Core" />
- <Import Include="Excel = Microsoft.Office.Interop.Excel" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="My Project\AssemblyInfo.vb" />
- <EmbeddedResource Include="My Project\Resources.resx">
- <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.vb</LastGenOutput>
- <CustomToolNamespace>My.Resources</CustomToolNamespace>
- <SubType>Designer</SubType>
- </EmbeddedResource>
- <Compile Include="My Project\Resources.Designer.vb">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>Resources.resx</DependentUpon>
- </Compile>
- <None Include="cookbook.excel.xlsx" />
- <None Include="My Project\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.vb</LastGenOutput>
- </None>
- <Compile Include="My Project\Settings.Designer.vb">
- <AutoGen>True</AutoGen>
- <DependentUpon>Settings.settings</DependentUpon>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- </Compile>
- <Compile Include="Sheet1.Designer.vb">
- <DependentUpon>Sheet1.Designer.xml</DependentUpon>
- </Compile>
- <Compile Include="Sheet1.vb">
- <DependentUpon>cookbook.excel.xlsx</DependentUpon>
- </Compile>
- <Compile Include="Sheet2.Designer.vb">
- <DependentUpon>Sheet2.Designer.xml</DependentUpon>
- </Compile>
- <Compile Include="Sheet2.vb">
- <DependentUpon>cookbook.excel.xlsx</DependentUpon>
- </Compile>
- <Compile Include="Sheet3.Designer.vb">
- <DependentUpon>Sheet3.Designer.xml</DependentUpon>
- </Compile>
- <Compile Include="Sheet3.vb">
- <DependentUpon>cookbook.excel.xlsx</DependentUpon>
- </Compile>
- <Compile Include="ThisWorkbook.Designer.vb">
- <DependentUpon>ThisWorkbook.Designer.xml</DependentUpon>
- </Compile>
- <Compile Include="ThisWorkbook.vb">
- <DependentUpon>cookbook.excel.xlsx</DependentUpon>
- </Compile>
- </ItemGroup>
- <ItemGroup>
- <None Include="ThisWorkbook.Designer.xml">
- <DependentUpon>ThisWorkbook.vb</DependentUpon>
- </None>
- </ItemGroup>
- <ItemGroup>
- <None Include="cookbook.excel_TemporaryKey.pfx" />
- <None Include="Sheet1.Designer.xml">
- <DependentUpon>Sheet1.vb</DependentUpon>
- </None>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="cookbook.excel.slice.csproj">
- <Project>{2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}</Project>
- <Name>cookbook.excel.slice</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <None Include="Sheet2.Designer.xml">
- <DependentUpon>Sheet2.vb</DependentUpon>
- </None>
- </ItemGroup>
- <ItemGroup>
- <None Include="Sheet3.Designer.xml">
- <DependentUpon>Sheet3.vb</DependentUpon>
- </None>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\OfficeTools\Microsoft.VisualStudio.Tools.Office.Office2007.targets" />
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{BAA0C2D2-18E2-41B9-852F-F413020CAA33}">
- <ProjectProperties HostName="cookbook.excel.xlsx" HostPackage="{B284B16A-C42C-4438-BDCD-B72F4AC43CFB}" OfficeVersion="12.0" VstxVersion="3.0" ApplicationType="XLS" Language="VB" TemplatesPath="VSTOTemplates" DebugInfoExeName="F:\Program Files\Microsoft Office\Office12\Excel.exe" DebugInfoCommandLine="&quot;[$OUTPUT]cookbook.excel.xlsx&quot;" />
- <Host Name="Excel Document" Path=".\cookbook.excel.xlsx">
- <HostItem Name="Sheet1" Code="Sheet1.vb" CanonicalName="Sheet1" DisplayName="Sheet1" Blueprint="Sheet1.Designer.xml" GeneratedCode="Sheet1.Designer.vb" />
- <HostItem Name="Sheet2" Code="Sheet2.vb" CanonicalName="Sheet2" DisplayName="Sheet2" Blueprint="Sheet2.Designer.xml" GeneratedCode="Sheet2.Designer.vb" />
- <HostItem Name="Sheet3" Code="Sheet3.vb" CanonicalName="Sheet3" DisplayName="Sheet3" Blueprint="Sheet3.Designer.xml" GeneratedCode="Sheet3.Designer.vb" />
- <HostItem Name="ThisWorkbook" Code="ThisWorkbook.vb" CanonicalName="ThisWorkbook" Blueprint="ThisWorkbook.Designer.xml" GeneratedCode="ThisWorkbook.Designer.vb" />
- </Host>
- </FlavorProperties>
- <UserProperties ZerocIce_Home="C:\Ice-3.3.1-VC90" ZerocIce_HomeExpanded="C:\Ice-3.3.1-VC90" />
- </VisualStudio>
- </ProjectExtensions>
- <!--
- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/cookbook.excel.server.csproj b/cs/demo/cookbook/excel/cookbook.excel.server.csproj
deleted file mode 100755
index c53c3d2608f..00000000000
--- a/cs/demo/cookbook/excel/cookbook.excel.server.csproj
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{606D226F-B98D-4A2C-B9AB-1451E962080D}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>cookboobk.excel.server</RootNamespace>
- <AssemblyName>server</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>.\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>.\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Ice, Version=3.3.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16, processorArchitecture=MSIL" />
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Server.cs" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="cookbook.excel.slice.csproj">
- <Project>{2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}</Project>
- <Name>cookbook.excel.slice</Name>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Properties\" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties ZerocIce_HomeExpanded="C:\Ice-3.3.1-VC90" ZerocIce_Home="C:\Ice-3.3.1-VC90" />
- </VisualStudio>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/cookbook.excel.slice.csproj b/cs/demo/cookbook/excel/cookbook.excel.slice.csproj
deleted file mode 100755
index afad722f9ae..00000000000
--- a/cs/demo/cookbook/excel/cookbook.excel.slice.csproj
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.30729</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{2CD601A0-30C4-46A6-B1B4-5AB1FEED20FC}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>cookbook.excel.slice</RootNamespace>
- <AssemblyName>cookbook.excel.slice</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>.\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>.\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Ice, Version=3.3.1.0, Culture=neutral, PublicKeyToken=cdd571ade22f2f16, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\..\..\..\..\..\..\..\Ice-3.3.1-VC90\bin\Ice.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <Compile Include="AssemblyInfo.cs" />
- <Compile Include="Employees.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="Employees.ice" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Properties\" />
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
- <ProjectExtensions>
- <VisualStudio>
- <UserProperties ZerocIce_Enabled="True" ZerocIce_HomeExpanded="C:\Ice-3.3.1-VC90" ZerocIce_Home="C:\Ice-3.3.1-VC90" />
- </VisualStudio>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/cs/demo/cookbook/excel/cookbook.excel.xlsx b/cs/demo/cookbook/excel/cookbook.excel.xlsx
deleted file mode 100755
index 3db310a4a39..00000000000
--- a/cs/demo/cookbook/excel/cookbook.excel.xlsx
+++ /dev/null
Binary files differ
diff --git a/cs/demo/cookbook/excel/cookbook.excel_TemporaryKey.pfx b/cs/demo/cookbook/excel/cookbook.excel_TemporaryKey.pfx
deleted file mode 100755
index 0d1ab206776..00000000000
--- a/cs/demo/cookbook/excel/cookbook.excel_TemporaryKey.pfx
+++ /dev/null
Binary files differ