|
How to get accurate answers to a question in a forum
hints : choose a correct title, search the web before posting, provide some solutions already tested...
Buttons section[^] (some are rounded, if you're interrested...)
|
|
|
|
|
1) How do i change the color of the scrollbar
|
|
|
|
|
|
Maybe you want to see an example so see here[^]
|
|
|
|
|
Can any one guide me in writing a scale control for editing applications?
I see there is a control in MS word application.
But I wonder what it is called?
i want to mimic the scale just like it does in MSWORD, but I have no clue how to go about it.
haribabu
|
|
|
|
|
Hi all,
Can i write the object of CRecordset class into binary file while that object contain record set,
and can i read those records from that binary file.If you know,let me know through your suggestions.
Thanks in advance
Regards
surezu
|
|
|
|
|
yesn this is called serialization...
|
|
|
|
|
ok fine that is object serialization but tell me a specific code snippet that how to generate bin file and how to read it? please.....
|
|
|
|
|
Hi, I have created a project in VC++6 with project name "Upravljanje snimkama" (two separated words) now i can't find my '.ini'-file ("Upravljanje snimkama.ini")! Is it because of the project name? What to do?
THX to all.
|
|
|
|
|
josip cagalj wrote: now i can't find my '.ini'-file
how are you accessing it ?
do you use its full path, or relative path ?
|
|
|
|
|
I'm looking for it in WINDOWS folder for editing some sections. I have all my .ini files there (of my previous app's).
Why isn't it there?
|
|
|
|
|
please show the piece of code that accesses the file
|
|
|
|
|
EG.
CString sHost = AfxGetApp()->GetProfileString("Defaults","sqlHost","");
getting the host(from ini file section 'defaults' read from 'sqlHost'. If it isn't there empty string '""' is returned).
|
|
|
|
|
have you gone into the debugger and see what AfxGetApp() returns ?
where in this code are specifying which ini file to read ?
you directly try to access a section, but windows doesn't even know in which file...
|
|
|
|
|
Are you sure you are not saving values in the registry? This is where GetProfiltString() looks unless you are using Win95/98.
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
|
|
|
|
|
Could you please tell me how this .ini file created ?
Regards,
Paresh.
|
|
|
|
|
Actualy i don't know. All app have '.ini' files (app_name.ini). I use it for saving some info and load it back vhen I need it (eg. next time app starts...)
|
|
|
|
|
How did you created <appname>.ini file ?
Regards,
Paresh.
|
|
|
|
|
I found what was my trouble. He was writing my info in registry, all i had to do is comment te line in InitInstance:
"SetRegistryKey"(_T(......"
Thx to ALL!
|
|
|
|
|
question as my subject.thanks.
ytfrdfiw
|
|
|
|
|
Hi everybody,
does anybody already used a chart in MFC?
I need for example a "line-diagram" EXAMPLE
Does it exists free MFC Diagrams ? Or only commercial ?
Thanks
|
|
|
|
|
There are many charting controls, also here [^]
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
|
Thanks you two !
I even don't find beautiful charts in commercial sites, i think
the nice charts with 3D effects are only for C#.
But the free CodeProject-Charts are also nice, i'll try them
Have a nice day
|
|
|
|
|
You can also use the OCX that com with the visual studio suite.
Using that ocx allows you to use the charts in 3D also...
Hope this helps.
|
|
|
|