CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: olstar

Page 1 of 6 1 2 3 4

Search: Search took 0.08 seconds.

  1. WebService cannot connect to a remote SQL Database.

    I have an ASP.NET Web Service and I’m trying to connect to a database on a remote machine (MS SQL Server on 2003 Windows Server machine). I added a ASPNET account to Windows and to SQL Server but...
  2. C#: How to change READONLY property dynamically?

    I have a datagrid control in my C# application and when the app starts it should be ReadOnly. However, i need to be able to edit the grid and them make it readonly again. This is what i'm doing :
    ...
  3. Replies
    1
    Views
    5,347

    How to check if port is available?

    I need to be able to check if a communication given port is available. What is the best way to do it?

    Thanks for your help!
  4. Thanks!

    Thanks a lot! I think ::ShellExecute() is what i need!
  5. How to start new process from my application?

    I need to start new processes from my application and I’m using _spawnv() for this purpose. Is it the best way to do it ?

    Thanks for your help!
  6. Replies
    0
    Views
    437

    How to check if port is available

    My program needs to generate listerning ports for other processes that are running on the same machine. How to check if port is available?

    Thanks!
  7. how to starting a new application from my process?

    Hi!

    I’m implementing a daemon process that will need to programmatically start other applications. I’m planning to use system() from <process.h>. Please let me know if there is a better way to...
  8. Replies
    0
    Views
    384

    CSocket question. Please Help!!!

    I’m using CSocket in my MFC applications. Sometimes, when the server crashes the listening port becomes unavailable. I understand that socket is a global resource and it should always be properly...
  9. Thread: Nci

    by olstar
    Replies
    0
    Views
    385

    Nci

    Do you mean using the Named Constructor Idiom ? a static function that creates objects only dynamically? I think it’s a great idea! Thank you !
  10. How to find out if the object is dynamic and was created on the heap?

    I have a pointer to an object and I need to call delete operator only if the object was created on the heap. Is there any way to programmatically define this?

    I'm using MFC in my app.

    Thanks...
  11. Replies
    1
    Views
    627

    What is the thread limit per process???

    Is it tru that i can't create more than 64 threads per process and is there any way to increase this number?

    Thanks for your help!
  12. Replies
    0
    Views
    477

    CSocket question. Please Help!!!

    I have a CSocket in a separate thread. In the main thread I send a request to my server and wait on CEvent for the respond. My OnReceive override should set the event when data is available.

    The...
  13. Replies
    0
    Views
    459

    CSocket question. Please Help!!!

    I have a CSocket object in a separate thread. In the main thread I send a request to my server and wait on CEvent for the respond. My OnReceive() override should set the event when data is available....
  14. I see... I guess i'll have to rethink this...

    I see... I guess i'll have to rethink this design.

    Thanks a lot for your help!
  15. Is it OK to derive my class from CWinThread AND Csocket ?

    I need to combine functionality of CWinThread AND CSocket in my class, so I want to derive it from these classes… My friend tells me that its not a good idea to derive your class from more than one...
  16. Replies
    3
    Views
    967

    Thanks!

    Thanks for your attention to my question!

    Honestly, this was my feeling too – there is no way to create a generic logic that will convert any object to a byte scream because objects can be...
  17. Replies
    3
    Views
    967

    Convert C/C++ objects to XML strings

    I’m looking for a way to serialize data that is represented as C/C++ struct/classes.

    The final goal is to develop a mechanism that will convert my objects to a binary format so I could send...
  18. Replies
    2
    Views
    816

    Thanks

    It works!! Thanks you very much!
  19. Replies
    2
    Views
    816

    How to remove selection from ListBox?

    Hi!
    It seems like a trivial task, but I cant programmatically remove the selection from multi-select ListBox…
    Please help!
  20. Thread: Text To Speech

    by olstar
    Replies
    1
    Views
    1,025

    Text To Speech

    Do you know about any text-to-speech demo that would allow to create *.wav files...?

    What i really need is to produce a *.wav file based on an optional text...

    Please help!!!
  21. Replies
    1
    Views
    785

    How to play a .WAW file from MFC App

    I need to play a sound from my MFC app but i don't remember the functions that does this... Please help!
  22. Replies
    1
    Views
    727

    How to play audio files from MFC App?

    Please help!
    I need to play small audio files from my MFC Application... I need to do it on a certain even and it can be different sound every other time... Thanks!!!
  23. Does anyone have a class or an algorithm that will generate a new color on every call

    Please Help!
    Does anyone have a class or an algorithm that would generate a new color (RGB) on every call.
    Thanks in advance!
  24. Re: How to programmaticaly get the version of the OS on users PC?

    Thank you very much! Its exactly what i need !!!

    Do you know any sample program that shows how to install fonts on the users PC?

    Thanks a lot, alex.

    ???
  25. How to programmaticaly get the version of the OS on users PC?

    I need to install fonts on users machine so before doing that i need to know what operating system is used by user. Please help.

    ???
Results 1 to 25 of 130
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured