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 Mike Lewis 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

    Dear Ca8msm, you are saying that I should try to parse the number argument inside the HelloWorld method? Unfortunately I cannot do that because the exception is raised before. Writing a string or a number > 255 raises an exception before entering the HelloWorld method. And that’s way I am...
  5. 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; } } }...
  6. 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...
  7. 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...
  8. 123qweasdzc

    Stop a Windows Service from code

    Hello Ralph, thanks for your tip but is precisely what I did yesterday. But I was wondering if it could be a way to stop the service without using SC or Net Stop. Is there any method we can call?
  9. 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
  10. 123qweasdzc

    Start a Process from a Windows Service

    Problem solved. The problem is that running a process from a windows service, it will not launch an user interface. All the processes run in backround. For me there is no problem because the real process I want to start do not have a user interface.
  11. 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()...
  12. 123qweasdzc

    Use Dll

    Hello :). Is there a way to use a dll in a python script?
  13. 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...
  14. 123qweasdzc

    VC7 dll

    Hello everyone :). Can I use a dll compiled with VC7 in a program compiled with VC6? Thanks :).
  15. 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...
  16. 123qweasdzc

    c++ 6.0 to c++ 7.0

    Thanks for your reply uolj. Do you know any good msdn articles? I have been searching, but without sucess.
  17. 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?
  18. 123qweasdzc

    Python/MS Access Interface

    And for Oracle?
  19. 123qweasdzc

    Connect to Oracle

    What drivers should I have? Thirdparty? Do you know a good one? Thanks, RT
  20. 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