|
Hi guys
Is there an easy way to export data in a List Control to Excel?
Talking about to export to excel, Is there another easy way to export any data in my app (supose data are in an array) to excel?
Best Regards
Doc
|
|
|
|
|
For very simple tables without special formatting I use CSV. CSV is a very simple database format which can be opened by Excel. All values are enclosed by "" and separated by commas. For a more detailed description see http://www.wotsit.org[^] and search for CSV.
Hope that helps
Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
|
|
|
|
|
In addition to Dominik's suggestion, you might also want to look at Excel Automation.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
HI all
i am currently using visual studio .net 2003
and have installed office 2003 pro on my machine this morning
now though when ever i create a new project or try to view an existing
project, i am unable to access my resource view
the is a red exclamation mark displayed saying "Opened in another editor"
and it wont allow me to view any of my dialogs, or to add any resouces on, or to view them
does ne1 have ne ideas i dont know how to get my resoucre view back
thanks
si
|
|
|
|
|
heyho, i need some1 to tell me how to code and add custom task bar toolbars... does someone know any source of information about that?
thx
Don't try it, just do it!
|
|
|
|
|
|
thx for the quick answer, it's very useful for my software!
Don't try it, just do it!
|
|
|
|
|
Can someone please guide me to some avi programming tutorials, articles. Reading, playing, playing certain parts of the avi, play by frames etc.
Thank you!
|
|
|
|
|
|
hello,
you can open avi's, edit them and play them frame by frame with visual c++ 6.0....i tried it once and opened a porn or something in there and played it frame by frame.
theres a tool thats included in visual studio called "AVI Editor".
|
|
|
|
|
Hello,
I'm developing a program that sets the SAMBA passwords in a LDAP-directory. I'm now wondering if there are some classes in MFC (Or any other c++ class) that can make these hashes.
I've been checking out the mkntpwd, and I want a similar class that does the same thing:
$ mkntpwd password
E52CAC67419A9A224A3B108F3FA6CB6D:8846F7EAEE8FB117AD06BDD830B7586C
(Lanmanager:NT)
..
Like (something simple like this)
CLanmangerPassword a("cleartextpassword");
CString sLanmgrpwd = a.GetHash();
|
|
|
|
|
i've never heard about such a class!
Don't try it, just do it!
|
|
|
|
|
Hi,
Is there anybody working with DirectShow.
Pls tell me how can I create my own Audio Source Filter.
I have to use my own custom filter and will be providing inputs by filling data in buffer variables.
I can not use the custom filters already provided by DirectShow.
Regards,
Saurabh
|
|
|
|
|
there are some filter sources on the web... i think OGG vorbis has one
Don't try it, just do it!
|
|
|
|
|
Hi
I use Microsoft (R) Segmented Executeble Linker Version 5.60.339.
I just need newer version but I didn't found anything on Web.
Where can I find it?
Code Red
|
|
|
|
|
There'll be an updated one in the Platform SDK.
Big download just for one exe though....
Steve S
|
|
|
|
|
hello, this is a kind of simple question. I have MFC/C++ a html editor that i am in the process of making. I want to be able to print a string into the doccument such as a html tag and map it so that when i press a certain button it will display "/font"in the doccument for example.
could be in the tool bar as well. if i can figure this out i will add a button for all the common html tags.
i would greatly appreciate any help, thank you
<font color="blue">void</font> CtoolDlg::OnButton1()
{
<font color="green">
}
|
|
|
|
|
In your CDocument -derived class, you'll need an object (e.g., CString ) to hold the (HTML) text. As you click each button, you'll update this object accordingly. After each update, you'll need to call UpdateAllViews(...) so that the view can render the text.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
DavidCrow wrote:
In your CDocument-derived class, you'll need an object (e.g., CString) to hold the (HTML) text. As you click each button, you'll update this object accordingly. After each update, you'll need to call UpdateAllViews(...) so that the view can render the text.
hello, thx for the reply i will try and use this when i get the chance, it sounds a bit cloudy to me but i will have a go at it
|
|
|
|
|
Hi,
I am currently experiencing a strang problem with my classview.
Whenever I'm adding a function to a dialog class, the class disappears from my classview!
The cpp and header files are still in the fileview but editing code in that class doens't support code completion since it's class is gone from classview.
Anyone familiar with this problem (and a solution perhaps )
Thanks
|
|
|
|
|
maybe something is wrong with *.clw file.
delete the file, vc will generate a new one automatically, the new *.clw may fix your problem, at least no harmful.
includeh10
|
|
|
|
|
I've tried your suggestion but that didn't work.
Still my dialog classes disappear in my classview, whenever I'm adding member functions to a dialog
I can't get no satisfaction.
|
|
|
|
|
I want to make my own check box control. Where can i find source code for standard check box (CButton)? Or at least to know how to draw standard check box?
|
|
|
|
|
SLiDeR wrote:
Where can i find source code for standard check box (CButton)?
Have you looked in the \Program Files\Microsoft Visual Studio\VC98\MFC folder? There's a SRC and an INCLUDE folder that have the declaration and definition of the CButton class.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
I know about MFC sources. There is CButton source code. But CButton simply uses CreateWindow() function to create check box. But i need source code for DrawItem() function.
|
|
|
|