|
includeh10 wrote:
, i just want to know if there are public holidays
Indeed this is a strange request. The topic of "public holidays" is rather vague. Some holidays are recognized by the federal government, some are recognized by the local government, some are recognized by certain religions, and some aren't recognized at all. Perhaps you could elaborate on what you are after (and maybe move this thread to the proper forum). You might just receive a better response.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
includeh10 wrote:
public holidays
What about protected and private holidays. Do you need to know about these too?
Chris Meech
I am Canadian. [heard in a local bar]
Gently arching his fishing rod back he moves the tip forward in a gentle arch releasing the line.... kersplunk [Doug Goulden]
Nice sig! [Tim Deveaux on Matt Newman's sig with a quote from me]
|
|
|
|
|
i can use WM_MOUSEWHEEL for capturing mousewheel actionz,but how do i know if i have moved the mousewheel clockwise or anticlockwise??.....
cheerz.....
|
|
|
|
|
no wait....i found it......
thanx.....
|
|
|
|
|
hi,
What is Iphlpapi.h?
To the reference of http://codeproject.com/internet/xLANInfo.asp?df=100&forumid=28893&exp=0&select=681299
i tried to run the program but i have encounter this problem, i tried to solve this problem.
Have this error code
fatal error C1083: Cannot open include file: 'Iphlpapi.h': No such file or directory
thanx
thanx
|
|
|
|
|
HI Buddy,
actually 'Iphlpapi.h' is part of PSDk or PlateFrom SDK.
you have to install the PSDK or you have to Dynamically load each and every funtion.
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Thanx Alok...
Where can i dl PSDK?
Where can i load the function manually?
Thanx
thanx
|
|
|
|
|
|
is it practical and possible without the header files?
-prakash
|
|
|
|
|
Mr.Prakash wrote:
possible without the header files?
Why not Sir!!!,it 100% possible to load function from a dll without header file using LoadLibrary and GetProcAddress apis.
Mr.Prakash wrote:
practical
Yeah that depends upon project,that howmnay function do you importing from dll or Memory related Issue,i.e. why to keep function in memory if it is not using frequently.
Hope you Understand my point
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
i did not doubt about loading the function without the header file. i asked if it is practical to load and use the function without the header file, how will u know the sig of the function?
Header file is not needed if you know the sig from other src.
-prakash
|
|
|
|
|
Does PSDK support win XP?
thanx
|
|
|
|
|
Yeah,My system is WindowXP based and i am using it.
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
where can i dl ipexport.h?
what is the function of it?
thanx
thanx
|
|
|
|
|
|
where can i dl ipexport.h?
thanx
|
|
|
|
|
I want fill a combobox with a dataadapter, can i do that in vc++ and how i do that? (in vb or c# is possible!)
there are some others way?
i want a key and a value for all the item of the combobox.
thanks a lot
|
|
|
|
|
What do you mean by data adapter ?
You can populate combobox easily and set their data by:
i = CComboBox::AddString( "your string" ); // function returns index of item
CComboBox::SetItemData( i, int_key_value ); // set the data
then retrieving the selected item:
i = CComboBox::GetCurSel(); // returns index of selected item
v = CComboBox::GetItemData( i ); // returns item's data
|
|
|
|
|
for examples with c# we can do somethings like this:
string sqlStr ="SELECT * FROM studentTable;";
dAdapter = new OleDbDataAdapter(sqlStr,myConn);
dset = new DataSet();
dAdapter.TableMappings.Add("Table","studentTable");
dAdapter.Fill(dset);
DataSet.DefaultViewManager property this.dviewmanager=dset.DefaultViewManager;
this.comboBox1.DataSource=this.dviewmanager; this.comboBox1.DisplayMember="studentTable.StudentID";
i want to do the same things with vc++ .net its possilbe?
thanks
|
|
|
|
|
Whoa thats some Sql database access (i dont know those), I cant help you with that, maybe if you look at CDaoDatabase, you can access databases with it.
But IMHO you have to get records from database and set them to the combo box one by one, there is probably not such command.
|
|
|
|
|
Hi everyone.
In my application, I use WebBrowser control to send HTTP request and get HTTP response. The response result is the HTML source(am i right?) which can be viewed by clicking View Source in the popup menu.
The problem is that the response is not the HTML code , but application-defined data. and I find that the following code works when the response is HTML code,but fails when my application-defined data:
IHTMLDocument2 * pDoc = (IHTMLDocument2 *)(m_ie.GetDocument());
BSTR str;
IHTMLElement * pElement = NULL;
pDoc->get_body(&pElement);
pElement->get_outerText(&str); //get_innerText
Because sometimes my application data is XML-like format , get_outerText(or inner) will remove the XML tags, that's not what I expect. get_outerHTML(or inner) will add some tags in my application data because there are tags in it.
I just want to implement a function that just like "View Source" menu item to get the full actual HTTP response.I use WebBrowser control because it can manage session automatically.
Thanks.
|
|
|
|
|
eXRange wrote:
I just want to implement a function that just like "View Source" menu item
Check this[^]...
|
|
|
|
|
i have a application that can be minimized to the system tray
what i want is whenever my application is minimized to system tray and user tries to run my application a second time the first app should pop out of the system tray and the second should exit
now i have used CreateEvent to prevent the application from running a second time but i cannot pop out the previous window from the system tray
i used FindWindow to find the previous window it returns NULL whenever window is in system tray
i tried to broadcast a registered message to all toplevel window didn't work either
please help, how can i obtain the HWND of the window in the system tray
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
i donno know abt above
but here i can help
mailMonty wrote:
i tried to broadcast a registered message to all toplevel window didn't work either
what is problem there Register message is not working or
you are not getting handle.
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
application minimized in tray is not getting my registered message
as i don't have the HWND of the minimized app
i use HWND_BROADCAST to broadcast my Registered message to all top level windows but my app never gets it
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|