Type: Posts; User: Zim327
Search took 0.09 seconds.
March 19th, 2010, 04:15 PM
ok, I'm not certain, but I think I'm being blocked by design.
I found a thread that says robots.txt is blocking me from reading a feed programmatically.
Can anyone confirm this?
I tried putting...
March 17th, 2010, 12:56 PM
I'm trying to consume a RSS feed using the syndicationobject. (I'm using VS 2008)
my version is very similar to this example here:...
March 21st, 2005, 02:12 PM
try overriding the views OnClose function and then in it add
March 16th, 2005, 01:32 PM
First of all, I just like to say Thank you to everyone at CG. I love this web site and I use it all the time. I greatly appreciate all the guidance I've received here over the years.
March 16th, 2005, 01:14 PM
We had a huge re-org and thousands of pc's need to have their names changed.
I created 2 exe's that sort of automate the process. There are 2 exe's because the are 2 reboots in the process...
March 9th, 2005, 03:29 PM
March 3rd, 2005, 01:04 PM
Instead of using MFC's CString class
you can use the STL string class. Just #include <string>
and you do something like this
x = " Hi there! ";
cout << x.c_str();
March 1st, 2005, 05:40 PM
each row in the txt file will contain 1 persons data, and you have to separate it all using a delimiter like a comma (,) or a pipe (|)
each line also ends with a "\n" you can use this as the...
March 1st, 2005, 05:32 PM
from the msdn:
ExecuteSQL does not return data records. If you want to operate on records, use a recordset object instead.
so you can't use ExecuteSQL to return a recordset.
You should use the...
March 1st, 2005, 05:17 PM
you could use a database instead of a text file to store the data and then just query the db with the info the user supplied
you could read the whole file into an array of strings (one line per...
February 24th, 2005, 03:57 PM
I prefer to use GetFileAttributes to check the existence of a file.
And cilu's absolutely correct: you should always search CG and Google well before you post. :thumb:
February 8th, 2005, 09:38 AM
Hi ovidiucucu, thanks for replying,
with max_preferred_length set it NEVER returns ERROR_MORE_DATA.
it only returns ERROR_MORE_DATA if I change the value to greater than or less than...
February 7th, 2005, 06:25 PM
First of all, I assure you I need this for the good of all mankind.
I have a satisfaction survey that employees/customers from all over the world must take.
However, if cookies are not...
February 7th, 2005, 11:14 AM
Try this FAQ
February 7th, 2005, 11:00 AM
my program using NetServerEnum is not getting all of the workstations on the network the MSDN states:
ERROR_MORE_DATA More entries are available. Specify a large enough buffer to receive all...
January 28th, 2005, 02:34 PM
I'm trying to automate the renaming of hundreds of pc's on a domain.
I've tried using NetRenameMachineInDomain, NetJoinDomain and SetComputerNameEx.
These functions all succeed in the debugger...
January 27th, 2005, 05:52 PM
Okay I fixed it.
I just moved the winver definitions to the top of StdAfx.h
January 27th, 2005, 05:45 PM
I can't get my compiler to see SetComputerNameEx.
I included windows.h, kernel32.lib and I set the winver like so:
#define _WIN32_WINNT 0x0501
#define WINVER 0x0501
I installed the...
January 19th, 2005, 12:50 PM
and you can Format it to display however you wish, check the msdn for the options
create a control variable for the text box and dump the time as a string into it...
January 18th, 2005, 02:34 PM
From SQL 2000 Enterprise Manager go to the Tools menu and select replication.
You can also read about replication in the sql help files (Books Online).
If you only have read access to DB1 and DB2...
January 13th, 2005, 01:58 PM
because you have to use the new command before you delete it
in other words, you created the string on the stack and then delete tries to delete str on the heap which doesn't exist there...
January 13th, 2005, 09:55 AM
Hi I found this one, it's close to the one you want.
January 11th, 2005, 02:54 PM
If Unicode is enabled then you won't see the contents of any of the strings in the debugger.
you must add the string to the watch window and then add ,su after it and then
you can see the contents....
January 11th, 2005, 02:35 PM
wait there's more!
to use wild cards *.* you must use this flag FOF_FILESONLY
And you should be able to load the bstr into a CString and then use operator LPCTSTR. again unicode must be enabled.
January 11th, 2005, 02:24 PM
Unicode must be enabled
shDelete.pFrom = (LPCTSTR)pathWild.operator BSTR( );
or you could load the bstr into a TCHAR buf;
I got these suggestions here:...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!