|
Does anybody here have faced any problem using Microsoft Visual C++ 6.0 in Windows 2000. It gives all sorts of strange probs like. Upon saving a file it sometime says 'File being used by another process' and some other.
Anyone...
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
I want to know how to insert jpg images into the resource. because I am unable to place any images into html file
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Please elaborate a bit more in terms of code as how ur reading data from the database.. Then maybe some one can help
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
Hi.
I'm not about to answer your question, but to remind you, that posting the same message under different titles and more than once (I think I counted at least 10) isn't nice style. If you want to correct a message or add something,
reply on your own message thread. And if you did hit 'Submit' more than once, because it seemed like the server hang, delete the message posted additionally.
--------------------------------------------------
"Pseudocode is code to demonstrate a concept, not designed to be run.
Like certain Microsoft software. "
|
|
|
|
|
Hai,
I made a program to input .txt into MS Access.The text file is an output of a math program.Fine.
Now another program retrieves the data and displays it in the list control.Not fine.
The problem is the numbers displayed in the list contains an additional point other than the one already present.
When I checked in the database,it was correct ie same as that in the text file but the point gets added in the list control.Why?Whats the point?
The database fields are strings.
This problem occurs only to certain numbers in random.
I am confused.I need to use this in further calculations but it will harm my other calculations.
Help me.
And this,both the programs DONOT work simultaneously.The first was just a tool to help inputting thousands of numbers from text.
Thanx.
|
|
|
|
|
for my application i need to develop a component which allows the user to select the table,fields inside the table and based on his selection a sql query needs to be build. This is similar to the query builder in ms-access. Is there any component available for the above purpose or is it possible through some com interfaces.Any pointers, references i can get is most welcome.
thanks in advance.
Cheers
kannan
|
|
|
|
|
we built our own that shows as a dialog box with fields specific to the app we develop that allows users to select various groups of items to filter views by and buils a sql statement based on that
i was going to try and generalize it and post it here but i have no time at the moment what with work committments and all but i will get around to it asap
as for any components that i know of ... unfortunately not ... there are some that you have to pay for ... try posting on the database newsgroups for more details
sorry i cant be more help
---
"every year we invent better idiot proof systems and every year they invent better idiots"
|
|
|
|
|
any constructive idea/discussion is warmly welcome!
i love this site!@
|
|
|
|
|
any constructive idea/discussion is warmly welcome
With all technical details you've provided, I have only one constructive idea: use some synchronization mechanism.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
hu~,
thanks for ur reply, any way. if u really want to discuss
with me, i should explain the environment in detail.
i m developing a web application service. there are
many front server, being loadbalanced.
i need to maintain a session object between multi server.
the session is generated by server and user use this
session object to request server.
any other idea??
i love this site!@
|
|
|
|
|
Can somebody help how to add Acrobat reader ActiveX control to my dialog.
I installed 5.0. When to to add this control from "Registered ActiveX Controls", an error pops up "Unable to open this ActiveX control. Make sure the control contains a valid type library".
Appreciate any suggestions.
xiang
|
|
|
|
|
The control does not contain enough information for you to reuse it. I'd suggest this is by design.
Christian
#include "std_disclaimer.h"
The careful application of terror is also a form of communication.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
|
|
I've been looking through the examples her at Code Project, but I can't see one that shows me how to create a button or a test edit window entirely in code (i.e. not on the dialog template).
Can someone help me out here ?
Christian
#include "std_disclaimer.h"
The careful application of terror is also a form of communication.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
|
|
OK - got that working like this:
RECT rc = {10, 10, 50, 50};
m_btn.Create(m_hWnd, rc, "", WS_CHILD | WS_VISIBLE);
m_btn.ShowWindow(SW_SHOW);
I actually didn't notice that I was creating a button on screen in the corner - why isn't WS_CHILD a default value ?
Anyhow, now I need to know how to get messages from the button in my dialog. From memory it's subclass window, is that right ?
I'm editing this message now - it's not SubclassWindow, which allows me to attach a variable to a control on the dialog. I want to create a CButton and capture it's being pressed ( actually I want to be able to do that to lots of them ). Can anyone suggest how this is done ?\
Editing yet again. I discovered if I overrode WM_COMMAND I could catch the button press, with lParam equalling the hWnd of the button. I've used this prototype:
LRESULT OnCommand(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& /*bHandled*/)
and found that wParam is always 0 and uMsg is 0x0111 ( WM_COMMAND ). Surely WM_COMMAND will be called for things other than buttons ? How can I tell how I got there so I can respond intelligently to the event ?
Thanks
Christian
#include "std_disclaimer.h"
The careful application of terror is also a form of communication.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
|
|
I tried to do like you did:
RECT rc = {10, 10, 50, 50};
m_btn.Create(m_hWnd, rc, "", WS_CHILD | WS_VISIBLE);
m_btn.ShowWindow(SW_SHOW);
But I'm using a CView class to display the button, not a CDialog. Is that a problem?
If I want a button to be visible "on" a CView client area, where would I call m_btn.ShowWindow(SW_SHOW)?
Thx,
/Tommy
|
|
|
|
|
I'm not sure how ( or why ) you'd put a button onto a normal CView.
I am actually using the Windows Template Library, but to put buttons onto a CView in MFC, you can use a CFormView, which allows you to set them up using a dialog template.
Christian
#include "std_disclaimer.h"
The careful application of terror is also a form of communication.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
|
|