|
Hi Christian,
1) Might be you did not understand my request (or I wrote not clear enough), I do not mention about: the web page to read the Access database! Instead, I mentioned that: how my VC++ 6.0 can read the .mdb file on the Web page (at same Web-page location)
*) The reason was: I know (but not very good) how to use ASP to open the same .mdb file as I mentioned earlier! In fact, I already had an ASP application on the Web using ASP and it is able to open & access data from that .mdb file!
2) However, at the Client site (my personal PC) I have a VC++ 6.0 MFC application using very heavy programming!
*) It has one small option ---> requiring to get the information from the Web user in the same .mdb file who is using my Web-application ASP proram on the Web
- And I do not know: how to link to that .mdb by using only VC++ codes at the Client site
I hope that you understand my issue.
Thanks
ATC
|
|
|
|
|
In other words, your web application is moot, it is irrelevant. You want to connect to a remote database using an MFC app, in other words you need to write code to connect two applications over the web, to send requests and return the data. I'm sure you'll find that info here on the site, or in the MSDN.
Christian
NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU. - Vinod Sharma
Anonymous wrote:
OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window.
I think you are a good candidate for Visual Basic. - Nemanja Trifunovic
|
|
|
|
|
Hi, can anyone tell me where i might find and example/tutorial on how to establish an SSL connection with a server (not a web server, just in general..). I already know about OpenSSL but to be honest, i don't understand it, lol. So I'm talking something basic, hands on..
Thanks!
Kuniva
--------------------------------------------
|
|
|
|
|
The examples that come with OpenSSL are as basic as it gets (I would even say that they are probably too basic).
Note that SSL communications can be really tricky and you really need to understand what is happening.
Trust me on this one.
"was wir auch tun, wohin wir gehen
die illuminaten sind im system
sie kontrollieren überall
und 23 ist ihre zahl!"
23, welle: erdball
|
|
|
|
|
mmm ok... *is scared now*
Kuniva
--------------------------------------------
|
|
|
|
|
Sorry to scare you off.
I only tried to explain that this isn't an area where you just slap something together and all works just fine.
Though, I should have mentioned that not everything about SSL is hard.
For example, writing a SSL-client using blocking calls and no clientside authentication is pretty easy.
Start off by going through the example that comes with SSL (try to ignore the IMHO bad coding style )
and remember that they are taking some shortcuts that may not be approperiate for your application.
God luck!
"was wir auch tun, wohin wir gehen|die illuminaten sind im system|sie kontrollieren überall|und 23 ist ihre zahl!"
23, welle: erdball
|
|
|
|
|
ah! Faith again! lol
Thanks for the suggestions, i'll be sure to try it. But one more question, Is there perhaps something useful to learn before starting this, like something that would help me a lot understanding this. Or is it unnecessary? I know my way pretty well around sockets now so that shouldn't be a problem, but i was wondering maybe there's another field of importance, like for example encryption? I'm not sure but i just maybe thought that could be of some importance.
Anyways, thanks heaps
Kuniva
--------------------------------------------
|
|
|
|
|
Yes, some knowledge about encryption is a good start. Note that the thing you want to study isn't HOW the different encryption-algorithms work internally but what they require to function.
For example you need to understand what a certificate is, what a certficate-chain is, the role of a CA and the significance of its certficate.
Then learn about how SSL establishes the encrypted connection and how different settings affect how you need to initialize SSL.
Since I dealt with the subject it seems that the selection of books on the topic has expanded some:
http://www.rtfm.com/sslbook/[^]
http://www.wiley.com/legacy/compbooks/catalog/38354-6.htm[^]
And a short tutorial (haven't read it through so it might be crap...)
http://www.darkspell.com/gadgets/ssl/[^]
"was wir auch tun, wohin wir gehen|die illuminaten sind im system|sie kontrollieren überall|und 23 ist ihre zahl!"
23, welle: erdball
|
|
|
|
|
I need a simple example of overloading bitwise AND operator.
Atleast the signature to overload the bitwise AND operator.
Thanks in Advance.
|
|
|
|
|
are you talking about doing this for a class.....
class CDummy
{
public:
CDummy& operator & ( CDummy& rhs )
{
return *this;
}
};
That is untested.... it should work unless there is something funny about overloading bitwise operators compared to normal operators which i doubt.
Joseph Dempsey
joseph_r_dempsey@yahoo.com
"Software Engineering is a race between the programmers, trying to make bigger and better fool-proof software, and the universe trying to make bigger fools. So far the Universe in winning."
--anonymous
|
|
|
|
|
How to Insert/Delete/Modify an entry in a Windows 2000 DNS Server with visual C++. Is there some API's for that purpouse. I've found some VBS's form Microsoft, but i haven't any clue how to convert in to VC++
Tkanks
|
|
|
|
|
Hi,
I tested several MAPI engines which are available on CodeGuru.com and CodeProject.com but no one doesn't work for me
Can you tell me how do you use MAPI in your app ?
Best Regards,
|
|
|
|
|
Hi,
May be you think it's just a joke, But when i removed Outlook XP from my system, all engines works fine !!!
Regards,
Hadi
|
|
|
|
|
I need some help please.
I am working on an application in which a DLL starts up a dialog box. This dialog box is started with a CWinThread I spawn specifically. After DoModal() returns the thread exits. The problem is that my application also uses an Ocx which does some image processing. Anytime the OCX blts something to the screen, the dialog box exits nad so does the thread.
I am not sure what is going on, Can anyone help please ?
|
|
|
|
|
Override OnClose() and determine what triggers the event.
Kuphryn
|
|
|
|
|
hi
i have been trying for bout 2 hrs to change mosu espeed with the floowing code and just doesnt work. Im using windows xp.
long speed[3], new_speed[3];
// Get current mouse speed
SystemParametersInfo(SPI_GETMOUSE, NULL, speed, NULL);
new_speed[0] = speed[0];
new_speed[1] = speed[1];
new_speed[2] = speed[2] * 2;
// Set the mouse speed two times faster
SystemParametersInfo(SPI_SETMOUSE, NULL, new_speed, NULL);
When i debug i can see that new_speed[2] is changing but it has no visual effect on the cursor. It just doesnt make any sense. When i go into control panel the speed is always the same!!
I could rerally use some help here.
Cheers Guys
|
|
|
|
|
Try using SPI_SETMOUSESPEED instead. SPI_SETMOUSE only sets the acceleration thresholds, not the actual speed.
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
Hello
I want to create a brush for painting the chess-like background for my button with the 1-pixel step. Do I need to use CreatePatternBrush and create appropriate bitmap, or there is another solution.
|
|
|
|
|
Hi all,
i want to change the default file name that will be produced after the compilation. i.e , if i have an *.exe project and the name of the project is MyProj then the name of the output file will be MyProj.exe
i want to change the default name, but i am using code (I can't change it via project-->settings-->link-->general)....
i know there are interfaces of Object Model called IBuildProject, and IApplication and IConfiguration.......
can any1 tell me how to use these interfaces and change the default output file name????
thanks
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|
|
I use simple code, assuming that the only configurations will be debug and release
1/ Remove the old tool settings (I think you've got the basic idea, from the info in the question)
2/ Add the new tool settings to replace the ones you've removed.
_variant_t varj = j;
BOOL bDebug = (BOOL) _tcsstr((const char*)outOpts, _T("Debug"));</br>
pConfig->RemoveToolSettings(linker, "/out:", varj);</br>
_bstr_t outPath = bDebug ? "/out:Debug\\" : "/out:Release\\";
outPath += "foo.exe";
pConfig->AddToolSettings(linker, outPath, varj);
[edit] Sorry, again this is a VC6 Solution [:edit]
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
Hi,
thanks for the help,
i have a question: how do i know it is Debug mode, i saw in your code:
// work out if this is a debub build
BOOL bDebug = (BOOL) _tcsstr((const char*)outOpts, _T("Debug"));
where do you get the outOpts???
thanks
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|
|
Sorry, that's the problem with cut and paste from bigger projects.
BSTR outOpts1;
pConfig->get_Name(&outOpts1);
_bstr_t outOpts(outOpts1,true);
BOOL bDebug = (BOOL) _tcsstr((const char*)outOpts, _T("Debug"));
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
Thanks man! you are my guru in AppWizards
i want to ask you an other question, maybe you can help:
now that my appwizard is finished, i want by right click on one of my classes to do something (same as i right click on the project and i have a popup menu with the item 'New Class'....) what i want to do is to add my own entry to the popup menu......
can u show me sample code on how to do that please?
thanks again man
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|
|
Not sure exactly - it's not something I've needed to do, but perhaps rather than AppWizard functionality you could you use a Developer Studio Add-in.
The link below is a new article, it's slightly different to what you want but it might get you going with Add-ins.
VCGenie[^]
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
thanks again man!
i am reading this site now as i write this reply.....
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|