Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 123qweasdzc

    Use run time class generation with generics

    Hello :). I am creating run time classes using System.Reflection.Emit: AssemblyBuilder ab = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName("DataBuilder.exe"), AssemblyBuilderAccess.Save, AppDomain.CurrentDomain.Evidence); ModuleBuilder mb = ab.DefineDynamicModule(ab.FullName...
  2. 123qweasdzc

    XMLSerialization - Cannot serialize interface

    Hello everyone. I'm having a problem regarding XML Serialization. I have a class that implements an interface xpto. When I try to serialize that class, this error is raised: "Cannot serialize interface xpto" Is that really impossible to serialize to XML a class that implements an interface...
  3. 123qweasdzc

    Driver's SQLAllocHandle on SQL_HANDLE_ENV

    ERROR [IM004] [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV When I am trying to connect to DB2 using ODBC .NET, the previous error is raised. Any ideas?
  4. 123qweasdzc

    WebMethod arguments validation

    I have a simple "helloWorld" webService: using System; using System.Web; using System.Web.Services; namespace WebServiceTest { public class WebServiceTest : System.Web.Services.WebService { [WebMethod] public string HelloWorld(byte number) { return "Hello World" + number; } } }...
  5. 123qweasdzc

    ERROR [ODBC Driver Manager] Driver's SQLSetConnectAttr failed

    I want to open an ODBCConnection to a DB2 database. I develop a simple code in a Windows Console application: Class1.odbcConn = new OdbcConnection("DSN=*;UID=*;PWD=*"); try { odbcConn.Open(); } catch(OdbcException e) { Console.WriteLine(e.StackTrace); } The connection opens without...
  6. 123qweasdzc

    ERROR [ODBC Driver Manager] Driver's SQLSetConnectAttr failed

    I want to open a ODBCConnection to a DB2 database. I develop a simple code in a Windows Console application: Class1.odbcConn = new OdbcConnection("DSN=*;UID=*;PWD=*"); try { odbcConn.Open(); } catch(OdbcException e) { Console.WriteLine(e.StackTrace); } The connection opens without problems...
  7. 123qweasdzc

    Stop a Windows Service from code

    Hello again :). I have another problem regarding Windows Services. I want that the Windows Service can stop it self after doing some work. How is this possible? I tried to call the OnStop method, but it does not work as I aspected... Regards, Ricardo
  8. 123qweasdzc

    Start a Process from a Windows Service

    Hello :). I want to start a process from a Windows Service. To do that I have the following code: private System.Timers.Timer timer; private Process process; private bool isProcessRunning = false; protected override void OnStart(string[] args) { timer = new System.Timers.Timer()...
  9. 123qweasdzc

    Use Dll

    Hello :). Is there a way to use a dll in a python script?
  10. 123qweasdzc

    Read console output

    Hello :). I need to launch a *.exe file from a python script. I don't want the script to continue until that aplication stops. 1- Is there a method in python that already waits for an aplication to stop? 2- Should that aplication send an output messege like "done", and the python script waits...
  11. 123qweasdzc

    VC7 dll

    Hello everyone :). Can I use a dll compiled with VC7 in a program compiled with VC6? Thanks :).
  12. 123qweasdzc

    VC++6 template to VC++7

    Hello :). I am facing a problem related to templates. I have a piece of code that uses templates in VC6. I'm compiling the code using .NET VC++7. typedef void (*HandlerFunction)(); typedef HandlerFunction (*HandlerFunctionSetter)(HandlerFunction); template<HandlerFunctionSetter...
  13. 123qweasdzc

    c++ 6.0 to c++ 7.0

    Hello everyone. I have a huge project develop in c++ 6.0. Now I need to compile all the project using the the 7.0 .NET version. Has someone got good references that helps this kind of migration?
  14. 123qweasdzc

    Connect to Oracle

    Can I use odbc python library to make a connection with an oracle database? Thanks in advance, RT

Part and Inventory Search

Back
Top