|
Does anyone know how to create a file name that has the date & time as the file name?
Thanks
|
|
|
|
|
Have a look at the localtime function. Combining time() with this and sprintf will do what you want. It has worked for me in past.
|
|
|
|
|
Thanks Rick for your help. It all works now.
|
|
|
|
|
Is there is any one who can help me to find the way so that i can persist the data in xml file on the client side after requesting it from server in a xml file before displaying it into web browser and then i can use it for later requests
Shahzad Ahmad
|
|
|
|
|
Universe Technology is just starting out and is looking for programmers. If you have skill in ASP, VBSCRIPT, HTML, Java, JavaScript, C++, C, XML or any other programming language of substance, please send me an e-mail at Alexjfink@aol.com, I will look into each applicant personally, if we like what we see, we will tell you more about Universe Technology.
|
|
|
|
|
Does anyone know how to attach IE style toolbars to a tab control, to create a toolbar similar to that of 3dsMax3.
I am able to attach toolbars to the main window, but have had no success in attaching them to dialogs or tab controls.
Is this possable?
Ant
|
|
|
|
|
Dear all,
I 'm working with a project that involved to manipulate ActiveX control from another thread in multi-thread application, but I don't know how.
Can any-body help me?
My email address: bhkien@vnuh.edu.vn
Thanks,
|
|
|
|
|
Dear all,
I 'm working with a project that involved to manipulate ActiveX control from another thread in multi-thread application, but I don't know how.
Can any-body help me?
Contact me following: bhkien@vnuh.edu.vn
Thanks,
|
|
|
|
|
Hello everyone,
I am trying to display the content that is too large for a window (CWnd derived class). So I need to implement the scrolling functionality.I dont want to use the built-in MFC view classes as i am not using DV- arch. Can any one help me out about how to implement the scrolling?
Also can any one let me know about 'clipping' & its implications & implementation?
thanks,
Mangesh
|
|
|
|
|
i'm doing project to store sound files and send it to other computers any one who know about this topic please email to me
|
|
|
|
|
Can some one brief ma abt callback() function and just explain me with a small example
otherwise please point me to some place where i can get acquinted with this function
thanks
chandu
|
|
|
|
|
// The callback function type
typedef void StepProc();
// the callback function
void Step()
{
cout << ".";
}
void DoSteps(StepProc* pProc)
{
for (int i = 0; i < 10; i++)
{
(*pProc)();
}
}
void TestCallback()
{
//Call DoSteps() with ::Step as the argument
::DoSteps(::Step);
}
Michael S. Scherotter
Lead Software Architect
Tartus Development, Inc.
|
|
|
|
|
Hi,
I have just 1 question: how to create a raw socket with incapsulated UDP protocol; also I need to set up some parameters, like IP and port.
Best regards,
Dmitry
|
|
|
|
|
also I need to set up some parameters, like IP and port.
And what can I say, now?
?
?
?
-------
Nature, to be commanded, must be obeyed. (Francis Bacon)
Nature, to be apprehended, must be obeyed. (Ayn Rand)
|
|
|
|
|
How to connect to the Oracle 8i database using only C (normal) without the external options
Karajagi Prashant R.
|
|
|
|
|
These are the steps breifly
u can try out this and let me know
i)Include “sql.h”
ii)SQLAllocHandle()
iii)SQLSetAttrib
iv)SQLConnect
v)SQLDisconnect
vi)SQLFreeHandle
chandu
|
|
|
|
|
Is there any way besides using a right-reading locale to make windows with scrollbars on the left and top instead of on the right and bottom?
Michael S. Scherotter
Lead Software Architect
Tartus Development, Inc.
|
|
|
|
|
I have developed an ActiveX Control using ATL, Now, I want to add drag & drop functionality in this control to drag text values. I have tried MSDN DnDZoom example but couldn't make much progress. I want someone to help me in implementing this functionality or pointing me to right direction with code example. I am uregently in need of this.
Tushar Bhatt
|
|
|
|
|
I have been meaning to get this stuff into an article, I just don't have the time to do everything I need to. Anyways. Here's the code that I have been using in my ATL Projects and that Michael Dunn is using in the CodeProject Search Toolbar.
linkdrop.h
linkdrop.cpp
Hope it helps.
BTW, I should mention that I pulled this out of a MSDN sample a while back. And I have not removed the "GOTO" statements that were part of the MSDN Sample. So that you know where to put the blame.
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|
Thank you very much for your help. I am studying the code. Thank you very much again.
Tushar Bhatt
|
|
|
|
|
Dear Erik,
The files are no more available. Could you please share them again?
|
|
|
|
|
Can someone please tell me a tried and true method for listing (from a client app, not a server) to a socket without hanging the entire program. I'm trying to detect when data arrives without having to continually probe the socket and without locking up the main app by blocking.
There's CAsyncSocket & CSocket (MFC) that uses messaging, there's raw sockets, I guess I could create a new thread that performs a while loop and blocks on the call to recv(...) - should I use non-blocking I/O schemes - should I use winsock or winsock2, ... I'm a little overwhelmed and maybe I've made it harder than it should be. Any clarification is much appreciated.
|
|
|
|
|
I use this way: I usually use the data I expect to come. When the error occurs - there are no new data. When not - that is OK. This works!
|
|
|
|
|
If your starting out, I'd just use the MFC CSocket class. Get a simple client and server working with CSocket and then get complicated (i.e. asychronous) later.
Override the OnReceive(...) message. When data shows up, OnReceive will get called, so then you call Receive(...) to receive the data. If there is more data in the buffer, OnReceive will get called again for you.
I don't know if the socket calls are blocking or not, but CSocket works synchronously rather than asynchronously, which will save you a lot of headaches.
In my experience, the CSocket Connect() call is annoying when it blocks, but the Receive() and Send() calls are barely noticable when you call them. Remember that we're going at network speed, dude, and we know that the data has already arrived via TCP/IP. All you have to do is read it out of memory.
"Harland Pepper, would you stop naming nuts" - Harland Pepper
|
|
|
|
|
im looking for a VB/C++ code that has GUI for "NET SEND" command for win NT.
there is a command "net" in windows nt and win2k. you can use it to send a message to another pc inside the local area network. im looking for a program that has a GUI for (the one that does not require you to go to the shell and type it manually to invoke and send the command. i want a yahoo mesenger type. i think this is a very simple program that uses the "net" command itself. although it has to listen for incming message to. if it still doesnt exist on codeproject, can u guys help me do it? clues on going about it. thx!
note: im an intermediate level in VB prog.
i dont know visual c++. although i know c and c++.
thx guys!
|
|
|
|