|
hi,everyone
i have some .dbf files, and i want to unite them to a single .dbf file.
how?
|
|
|
|
|
You can use ODBC\OLEDB providers to work with files on database level. Alternatively just parse dbf files manually - the structure is quite simple, so if structure is identical (!) it is no problems to join files.
|
|
|
|
|
Is there any essential diffrence? Which is more effecient?
|
|
|
|
|
No offence
Seeing all your questions around, I think you
should start by reading some ... books.... first. Mmmhh?
Again, I didn't want to be unfriendly
SkyWalker
-- modified at 12:13 Sunday 25th September, 2005
|
|
|
|
|
If you use GetDC you should then remember to call ReleaseDC when you are done with it. CClientDC encapsulates just that: it calls GetDC in the constructor and ReleaseDC in the destructor, so that you don't forget the release. You can trust the compiler optimizations to make using CClientDC as efficient as directly using GetDC
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Hi, does anyone know how to make your c++ application minized on startup?
|
|
|
|
|
ShowWindow(SW_MINIMIZE)
Good music: In my rosary[^]
-- modified at 18:28 Saturday 24th September, 2005
|
|
|
|
|
Hi all,
I need to print html data from memory from a console application. Additionally, there should be ability to do that using different printers (not only default). There are many commercial components that can do that, but have anyone seen some thing free?
The most popular decision for such problem is to change default printer using regisry, save HTML to a temporary file and than print it using shell, but I would like to use something else
Thanks
|
|
|
|
|
For example, I use ScrollWindow to scroll the client area down with one line, all is ok except one problem, the old postion of the 1st line is still there, how can I make it blank?
Does ScrollWindow use some tech like bitblt, then invalidate the rect which is (lpRect of CScrollWindow)- (the scrolled rect)
|
|
|
|
|
I am not getting your problem are u using
the class CScrollView ?
what was ur problem exactly ?
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
I derived from CWnd, and want to make it scrollable, and find ScrollWindow is not enough.
|
|
|
|
|
If u r using the CWnd class then u
need to do lots of coding (as far asi know )
I have used the CScrollView in MDI
applications only , this class handles
all the scrolling code overhead
[thats benifit of inheritance]Use this class
to derive your view class .
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
According to the MSDN documentation for ScrollWindow you have to call UpdateWindow immediately after calling ScrollWindow .
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
I want to create a new view that is able to scroll
in my MDI application whose base view class is CView.
I tired to create a new class from the Scroll view
and by using the create function i created the view
on a DialogBox .
After making some changes everthing is fine .
but when i click the scroll bars then i get error,on debugging
the viewcore.cpp is opend and in
int CView::OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message)
{.....}
probable the problem is due to the New view is a child to main ?
How do i avoid that ? or is there any other solution
for this.
Thanks
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
vikas amin wrote:
i created the view
on a DialogBox .
That might be you problem right there. Views (any window derived from CView ) is meant to be used in a CFrameWnd window.
vikas amin wrote:
when i click the scroll bars then i get error,on debugging
the viewcore.cpp is opend and in
int CView::OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message)
{.....}
What error? What line? What does the debug output window tell you? What are the values of the various variables on the line that gave you the error?
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
Thank you Arends
i have anyhow solved the problem by
displaying the view on the Mainframe .
Thank you for bring to my notice that
view are ment for CFrameWnd
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi,
I am planning to write a common library to be used in two projects, but not everything in the common library will be used in both the projects.
does anyone know if the individual project binaries will bloat due to unnecessary inclusion of functions in the common library that they will not be using?
Thanks
/f
|
|
|
|
|
Usually the linker's clever enough to not include functions that aren't used. For more details, see the options on MSDN, specifically /OPT:REF (which is the default in release builds).
Matt Godbolt
Engineer, ProFactor Software
StyleManager project
|
|
|
|
|
Except that I am pretty sure all code for all members and functions of C++ classes are included. This is what can lead to bloat - your C++ classes are huge.
Stand-alone library functions - the linker only includes the ones you call or are directly called by other functions.
|
|
|
|
|
I am new VB programming and using vb6. I want to fill grid for some records from my database. I am using msflexgrid for displaying data and managing rows and columns in loop by code for that but by doing so, it slow the speed of application when records exceed about 50 - 60, is there any other alternative for that, also i m in search of any good input grid control
|
|
|
|
|
If m_Flex is the control variable connected to the control:
m_Flex.SetRedraw(FALSE);<br />
<br />
<br />
m_Flex.SetRedraw(TRUE);
And this is not a VBee forum.
this is this.
|
|
|
|
|
Hi,
try this one.
Regards
Achim Klein
We can do no great things, only small things with great love. - Mother Theresa
|
|
|
|
|
hi
i wanted to know how should i handle other Application's Messages?
something like what a Spys or KidControllers Applications do. for example getting the other applications keystrokes. or getting other applications Window position.
thx
-- modified at 5:50 Saturday 24th September, 2005
|
|
|
|
|
Here is a keyboard hook (Global hook):
http://www.codeproject.com/dll/keyboardhook.asp[^]
To know the other windows position:
1- ::EnumChildWindows(...) can be used.
First get the desktop window, then enumerate its children. That gives you HWND 's for all windows.
2- ::FindWindow(...)
You can give it the window title text, and it will return the HWND .
Then use ::GetWindowRect(...) . That will give you the left and top.
this is this.
|
|
|
|
|
hi all
ive made a dialog based application with MFC appwizard .
i wanted to handle the keyboard enteries so i used wm_keydown
but the problem is that when i hit The Arrows (up down ..) it doesnt call the function onKeyDown(). and also when i press enter the program exits.(i delete the OK and CANCEL default keys)
what should i do?? how should i handle arrow an enter keys??
|
|
|
|