|
Anu_Bala wrote: But no use. its not working. Then you will need to do some debugging to find out what is happening; it's impossible for us to guess.
Use the best guess
|
|
|
|
|
In my PC where visual studio 2008 installed , working fine.i can get ribbon bar also.
But not in other pCs. So i installed Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
and Microsoft Visual C++ 2008 Feature Pack Redistributable Package (x86)
in that PCs. But its not working.
IS there any particular DLL required for showing that ribbon bar?
Anu
|
|
|
|
|
|
You can find the missing dlls using Dependency Walker.
This small tool proved itself to be really helpful.
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
Looks like you're trying to deploy the debug version of you application.
The d in the names of the DLLs suggest this.
The redistributable package you installed does not contain the debug DLLs.
So you must try and deploy a release build.
|
|
|
|
|
Dear Friends,
We have an application which is developed using VC++ 2008. This application will refer the database with in the intranet network. Now I want to access this database from different network(via internet). For example, similar to "Form" getting user details and store it in the server and retrieve data back.
Kindly anyone suggest or guide me.
Thanks and Regards,
S.Shanmuga Raja
|
|
|
|
|
Assuming the server holding your database is accessible across the internet it would be just the same.
Use the best guess
|
|
|
|
|
I want to access database from different network.. like web application.
|
|
|
|
|
Repeating the same vague question is not helping your cause. What exact technical problem are you facing? Connecting from one system to another through a network, whether intra or inter is exactly the same. All you need to ensure is that each system can connect to the other through subnets and firewalls.
Use the best guess
|
|
|
|
|
My Database in India n my user access database from some other country. Plz tell me, for this scenario what connective needed to access the database.
|
|
|
|
|
I already told you. And since you have given no information, other than a vague "I want to" it is impossible to offer any further suggestion.
Use the best guess
|
|
|
|
|
Right now Application connected with database using OLEDB(connective). User are using this application within the same network(same building). Now they want to access the database from different place(not in the same network and different country). My question is same connective(OLEDB) procedure helpful for this scenario?
|
|
|
|
|
|
Sad but true.
Use the best guess
|
|
|
|
|
Erudite_Eric wrote: useless engineer
And he claims to have "written a book on "Programming in C++".
|
|
|
|
|
And he has a CodeProject article on sockets.
Use the best guess
|
|
|
|
|
And he is asking how to conect two machines on an IP network!
|
|
|
|
|
WTF? You got to be kidding!
|
|
|
|
|
Erudite_Eric wrote: You got to be kidding
Well I am sure that he is. I copied that directly from his profile page.
|
|
|
|
|
First I am getting doubt whether you are engineers??? you don't know to behave in general forum.. If you are not interest to answer to my question then nothing Problem.. Thanks for your comments.. Richard MacCutchan, ThePhantomUpvoter, Erudite_Eric I am sure this engineers spoil and pull down the code project respect and dignity.
Dear Friends (Richard MacCutchan, ThePhantomUpvoter, Erudite_Eric) please go through "
HOW TO ANSWER A QUESTION" by Mr.Chris Maunder
I hope code project take necessary action against them..
modified 3-Aug-13 10:05am.
|
|
|
|
|
|
Dont bother Richard, he isnt listening.
|
|
|
|
|
You just answered the question yourself. You create a web-server-application (ASP.NET / PHP / CGI / Java etc.) on the same network as the database. Now the web-client-application can access the database through the web-server-application over the internet.
|
|
|
|
|
shanmugarajaa wrote: Kindly anyone suggest or guide me.
Don't do that.
It would require exposing the database to the internet. Although it is possible to expose a database safely to the internet is VERY unlikely that you will succeed at doing it safely.
Instead you write an application which talks to the database. Then your 'clients' talk to the application. This doesn't insure that it will be safe but by limiting functionality you at least narrow the attack venues and with care it can be made safe.
|
|
|
|
|
Hello,
I came across something i don't understand one little bit, and i hope you can help me understand it.
The code is in the function OnDraw with parameter CDC* pDC and i have the following code
rectPreviewClient.SetRect(0, 0, pDC->GetDeviceCaps(HORZRES), pDC->GetDeviceCaps(VERTRES));
...
CDC dc;
dc.Attach(pDC->GetSafeHdc());
And the CRect rectPreviewClientis given to a function which draws some stuff.
The map mode isn't changed and it remains MM_ANISOTROPIC even until the drawing of the elements.
The thing i don't understand is how come i can print stuff for example
dc.TextOut(0, rectPreviewClient.bottom - tm.tmHeight,....)
when its clear the both CDC members have different dimensions.
The dpi's are different pDC have 600 dpi and dc has 96.
If i use GetDeviceCaps(HORZRES) and GetDeviceCaps(VERTRES)on dc i get smaller numbers and yet i can print stuff with a lot higher coordinates.
Note: The dc is used for PrintPreview. Currently i am trying to change the font size and i need to change the map mode to MM_TEXT but when i call TextOut with the coordinates normally used the text is drown outside the CDC. If the MM_TEXT is removed the text is shown but too small
Edit: I fixed the Font size without changing the map mode with CreatePointFont and height of the Font size but the question remains How can i use coordinates from one CDC to another with different dpi and dimensions.
Any help will be appreciated. Thank you in advance.
Microsoft ... the only place where VARIANT_TRUE != true
modified 2-Aug-13 9:22am.
|
|
|
|