|
Hello,
I have a text document(ini file). I want to load data from the text document to a table in a html document using c++ only, not java script.
It's a http client server communication. When the server feels a button was pressed, he should fill the table.
How can i do it?
thanks,
|
|
|
|
|
Depends on which web server you use, maybe have a look at CGI[^].
You didn't ask for it, but it sounds a lot like a job for PHP
/M
|
|
|
|
|
I have a dialog based application where there are 20 dialogs. Now certain dialogs are Modeless dialogs. On that, one dialog has some ActiveX Control. On OnInitDialog() of the parent dialog I used the Create() to create the child dialog and i am hiding it initially and calling this child dialog at a later use. but when i am calling the parent dialog from another dialog the child dialog flashes and hides away. How can i avoid it?
I hope the query is clear
|
|
|
|
|
Chandru080 wrote: On OnInitDialog() of the parent dialog I used the Create() to create the child dialog and i am hiding it initially and calling this child dialog at a later use
Remove the visible(WS_VISIBLE) style of the child dialog and try again....
|
|
|
|
|
My 5. thanks Naveen.. It was a simple mistake and i was checking this error for more than an hour.
thanks again
|
|
|
|
|
hi....
i want to take some files from my CD drive,and copy them to another folder in another drive....although its easy code but how can my code detect the drive name(i.e, G:,H: or ant thing else) as it varies in different machines.
plzzzzzzzzzzzzzzzz help me sooon....i need it!
|
|
|
|
|
Use GetLogicalDrives[^] to enumerate all drives in the system and then call GetDriveType[^] to check if it is a CD drive.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
ok thanks... bur would it be compatible with visual C++(MFC) ?????
|
|
|
|
|
Of course. They are all base Windows APIs.
Very compatible.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
ook.....i have tried to use it but i really dont know how it works...i mean if i write the method:
DWORD my_variable=GetLogicalDrives();
what is in my_variable n how can i fine the name if the CD drive in machine whereever my code runs???
plz help me
|
|
|
|
|
This is what the documentation says -
Bit position 0 is drive A, bit position 1 is drive B, bit position 2 is drive C, and so on.
You can get the available drives using bit manipulation.
if (my_variable & 1)
{
}
if (my_variable & 2)
{
}
if (my_variable & 4)
{
}
You could do this in a loop.
cout << "Available drives -\n";
for (DWORD i = 0; i < 26; ++i)
{
if (my_variable & (1 << i))
{
cout << char(65 + i) << ":\n";
}
}
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
thanks a lot....m gona try this now )) thnk again!
|
|
|
|
|
thanks problem has resolved...
|
|
|
|
|
how can i attach events with toolbar controls in SDI application?
|
|
|
|
|
|
solved the problem thanks
|
|
|
|
|
The toolbar sends the WM_COMMAND[^] which is the same as that for menus and accelerators.
Look at the last row of the table in the remarks section of the documentation.
The low word of wParam contains the ID of the toolbar and the high word contains the notification code like BN_CLICKED.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
|
Hi All
I am able to connect mysql through ODBC.But i want to know there is any method to connect Mysql without Odbc?
Plz help me
|
|
|
|
|
Here's[^] the list of connectors that are provided with MySQL - there's a C++ one...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hi,
I have seen a simple program which opens a browser, loads a login page and auto populate username and password... so it was like using DOM of a newly opened window from windows program. can i have the name of the topic under where DOM is covered in win32 or if i could get links to other resources regarding this then that will be nice...
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
You could either start at MSHTML Reference[^] or by looking at the IHTMLDocument2[^] interface.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Let me redefine my question.
I want to access any windows input elements from a win32 or mfc program.
i want to open browser from a win32 program and want to manipulate the contents...
this is my idea and i want to know which of the concepts does this work either in win32 or in mfc.
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
How to create context menu, that shows up when right mouse button was clicked on a file in Windows Explorer? It is important to do this using native Win32, without MFC, WTL, Afx or CLR.
|
|
|
|
|
shasa2009 wrote: How to create context menu, that shows up when right mouse button was clicked on a file in Windows Explorer
Explorer already creates a context menu when you right click on a file or folder. If you want to extend or interact with the context menu then you should read the article by Michael Dunn. It contains everything you need to know regarding shell extensions.
The Complete Idiot's Guide to Writing Shell Extensions - Index[^]
Best Wishes,
-David Delaune
|
|
|
|