|
How to get the active interfaces from the system. i am having both LAN and wirelss adapters but the lan is unplugged. how to get the active adapters in mfc
-- modified at 16:58 Saturday 24th March, 2007
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
What do you mean by "active"?
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Hello,
My question is this.
How can I count the number of lines of code of my project?
I use Visual Studio.Is there any option?
Thanks
|
|
|
|
|
There are plug ins you can download, there is nothing build in
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
No, because I don't know what version you're using of visual studio. But, you know, and google will be happy to help you when you give it that info.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Visual Studio 2005
Yes,but what r the key words?
|
|
|
|
|
Someone shoot me.
Did you try searching code project for "line count" ?
http://www.codeproject.com/useritems/LineCounterAddin.asp[^]
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian, Christian. Turn the gun around and shoot him. Feel better now? I thought you would.
Software Zen: delete this;
|
|
|
|
|
Come on guys dont be so bad...
|
|
|
|
|
hi everyone,
i'm in desperate need of a code that prints the content of the screen in OpenGL/C++
if anyone has a code or links that can help..i'll be greatful..
u can send me the links/code on my mail..karim.samir@hotmail.com
thanks,
karim
|
|
|
|
|
I'm using the MS Chart Control in Visual C++.net. I'm trying to change my chart type from 2dBar to 2dLine, programically. I can't find out how to do it - the documentation is just horrible. Can anybody help me!!!
I've tried ->chartType=, but I don't kow what to set the chart type equal to?
THANKS!!!
Kim
|
|
|
|
|
There is a great sample project here:
www.codeproject.com/listctrl/xlistctrl.asp
I can run the executable (anyone can do that) but I have had no
luck in compiling any of the projects. I get a variety of different
errors from unicode to
Cannot open include file: 'uxtheme.h':
Any chance any one can help me compile a smaller project
of a listctrl without Unicode and without the file
visualstylesxp.h? Im trying to find a listctrl that lets the
user edit individual cells and this project can do it. I just
cant get it to work.
Please, please, any response any one can give me will be greatly
appreciated.
My email address is brinasas@yahoo.com
Sincerely,
Danielle Brina (an overworked graduate student)
|
|
|
|
|
You can probably strip themes from the code. Otherwise, you need to download a platform SDK to get these headers. If you're using VC6, then you'll have more issues, as the newer PSDKs do not support it ( and you should stop using it, if you can )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
How about this? I put together a smaller sample project that has
an older version of XListCtrl built in. The one feature I seek, which
is the new release, is the ability to edit cells directly. That code is
in this file XEdit.cpp/.h; any chance I can email you this smaller sample
project and you can somehow make the XEdit work so that I can edit text
in cells?
Please, please, please, please!!
My email address is brinasas@yahoo.com
Sincerely,
Danielle Brina
|
|
|
|
|
I'd recommend going to www.araxis.com and downloading a trial version of their merging tool, that will let you diff the two files ( old and new ) and hopefully quickly see what code needs to be copied across to make that work.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi
I want to save clipboard content with any format it may have and load it back again.
I'd be glad if someone could help me with this.
|
|
|
|
|
|
Hai
In my VC++ application i want to show the selected folder(from browse) in a separate list box and also the subfolders like a treeview.I dont need any control on folders, its just to show the folders..as in the browse folder dialog box.
Can any one suggest about the APIs that are usefull.
Thanks in advance
Regards
vijay
|
|
|
|
|
Hi
By default a property page has three buttons ie BACK,NEXT and CANCEL.
Along with these buttons,I want a FINISH button also in my Property pages.
How to achieve it?
With Regards
Neeraj Sinha
Netstudio
Pune
|
|
|
|
|
In wizard mode, the last property page in the set will change the 'next' button to 'finish' automatically. Check out the PSH_WIZARD and PSH_WIZARDHASFINISH values for the dwFlags value in the PROPSHEETHEADER [^] structure.
Software Zen: delete this;
|
|
|
|
|
Well,it's correct that On the last wizard page,the NEXT button can be
automatically changed to FINISH button,but I want the FINISH button
on all the wizard pages right from it's first page along with the NEXT,
BACK and CANCEL button at the same time.Is it possible to do so?
With Regards
Neeraj Sinha
Netstudio
Pune
|
|
|
|
|
Setting the PSH_WIZARDHASFINISH value in the dwFlags member of the PROPSHEETHEADER should do that. If you are using the CPropertyPage /CPropertySheet MFC classes, you should be able to do something like this:
CPropertySheet sheet;
sheet.m_psh.dwFlags |= PSH_WIZARD | PSH_WIZARDHASFINISH;
sheet.AddPage(...);
sheet.DoModal(); Alternatively, you can use the SetWizardButtons member function in the CPropertySheet class.
Software Zen: delete this;
|
|
|
|
|
|
In MFC exe application, how do populate my combo box using RecordSet Object, if i created my application with "database file support" at the time of creating the project.
I am getting exception message like "No colomns were bound before SQLBulkFetch" and like "No data fields found on which fetch specified"
I created RS object,I am calling SetRowSize(25), I am calling open(...) and getting exceptions.
san
|
|
|
|