|
We are - but peculiar to the way we implement stuff we 'share' our main frame hWnd with a third party CAD engine, and thus ran into a conflict...
|
|
|
|
|
Aha!
For a Window, you must have unique timer IDs.
So, as you've done, changing the ID is the solution.
|
|
|
|
|
Im throwing this question out there and seeking any direction
anyone can give me. I think I would die for a sample project that
perform just some steps and I can finish it from there.
Go to this link:
https://ecf.ts2b.aztc.uscourts.gov/[^]
From a visual C++ program, is there a way to programmatically click on
'District of BK v4.1 RC2 [10/20/10] - Live - Document Filing System'. Then you get
to a screen asking for a login and passcode. I have that data. Is there a way to
programmatically type in that data and hit Login.
There other screens ask you for your name, address and so forth.
Is there any way to type in this data programmatically rather than manually go to this
link and doing it each step at a time?
Please let me know.
Sincerely,
Danielle Brina (an oveworked graduate student)
|
|
|
|
|
DanYELL wrote: From a visual C++ program, is there a way to programmatically click on 'District of BK v4.1 RC2 [10/20/10] - Live - Document Filing System'. Then you get
to a screen asking for a login and passcode. I have that data. Is there a way to programmatically type in that data and hit Login.
I've done this very thing with VB Script before, but not VC++.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Hmm... I havent work with basic for along time. How hard is it with VB?
Is there a way of sending a sample project or script that could do this?
I can use ShellExecute to run something. Can I ShellExecute a VB script?
Please let me know.
|
|
|
|
|
DanYELL wrote: How hard is it with VB?
I don't know.
DanYELL wrote: Is there a way of sending a sample project or script that could do this?
Sending it to?
DanYELL wrote: Can I ShellExecute a VB script?
I've not ever tried, but I would not be surprised if you could.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
I am using a CHtmlView in an MFC application - viewing an offline HTML page. I can intercept a from submission with OnBeforeNavigate2 but does anyone know how to trap an AJAX call and refresh the relevant page appropriately?
Any clue / tip welcome!
Thanks in advance!
|
|
|
|
|
|
Thanks for your pointers - the one about calling JS from C++ is particularly interesting... this is not exactly what I am looking for but I may find a way around...
|
|
|
|
|
run my codes with F5 in VC++6.0, running some minutes later, it cause a Access Violation(0xc0000005).
in the Call Stack,it only show:
->0x0000ffff()
and using this infomation i really donot konw where is the error in my codes.
and how can i find out where is error?
thank u very much.
may be the dll or lib error?
|
|
|
|
|
You can get more information in the call stack if you have the corresponding .PDB files for the binaries.
|
|
|
|
|
Only from error ID its not possible to track the bug inside your program, you may build your application in debug mode and try reproducing the problem. In debug mode you will get more information in your call stack. You can change your build mode from Build menu of VS.
|
|
|
|
|
it IS in debug mode and in the call stack only show:
->0x0000ffff()
thank u
|
|
|
|
|
i think the subject is sufficient for explanation.
|
|
|
|
|
|
I think the link[^] is sufficient for explanation
When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)
|
|
|
|
|
Pay no attention to those other two impostors. See this article instead.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
See this[^] post also.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world.
Fry: But this is HDTV. It's got better resolution than the real world <
|
|
|
|
|
ok ok! don't struggle mates! i will see all of them and appreciate.
thanx a lot :*
|
|
|
|
|
I am using std::vector in my project. Later on, however, this will change into csr::vector , a container defined in namespace csr that implements the same functions etc.
I am writing std::vector everywhere in my code and I was wondering if I could do something like this
#define vect std::vector
use vect in the code and change only the #define when I have to switch to csr type of vector.
Could this cause any issues??
|
|
|
|
|
You may also exploit the using directive for the purpose:
using std::vector;
...
vector<int> v;
...
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi,
In your top level header (usually stdafx.h) switch the vector type:
#ifdef USE_STD_VECTOR
#include <vector>
using std::vector;
#else
#include "csr_vector.h"
using csr::vector;
#endif
This allows you to set different Project Configurations in MS Visual Studio terminology: Win32 Std Debug, Win32 CSR Debug, etc ... differing by defining (or not) USE_STD_VECTOR at configuration level.
cheers,
AR
When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)
|
|
|
|
|
If you're going to entirely replace std::vector with csr::vector you could simply use vector everywhere instead of std::vector .
When including the header file you could then write -
#include <vector>
using namespace std; Then when you're switching to the other namespace you simple change that to -
#include <vector>
using namespace csr; By the way, why are you planning to not use std::vector ?
|
|
|
|
|
the other answers all speak about the use of "using", but you could use as well a typedef as in:
#ifdef USE_STD_VECTOR
typedef std::vector vector;
#else /* ! defined(USE_STD_VECTOR) */
typedef csr::vector vector;
#endif /* USE_STD_VECTOR */
then everywhere you used std::vector you just use vector.
Cheers
|
|
|
|
|
Hi all,
i want to use memo filed in my access database to store more than 255 char.
please tell me how can i use memo filed in access database and CRecordSet?
if possible please exlain me with example how can use it and how can insert and update data in memo field.
thanks in advance.
|
|
|
|