hi alok, thanks for quick reply..I found it in planetsource bit it is on general C++.I want it in VC++..can help me out?? my problem is with time, otherwise I can manage by wriitng myself. thanks in advance. ThomasKennedyBose
Mr Bose Dayala
Posts
-
analog clock -
analog clockHi all, can anybody gimme the program with code to create a anolog clock. thanks in advance. Mr.Dayala ThomasKennedyBose
-
Sorting date with CListCtrlefficient means...some dates are not being sorted properly... ThomasKennedyBose
-
Sorting date with CListCtrlit is not working efficient...I have send the picture to u.please have a look.. BoseDayala
-
Sorting date with CListCtrlHi all, My List control displays Timestamp along with date (15/6/2004 12:02:02 AM).. My code to sort this data is.... int CALLBACK CBoseDayalaNewListCtrl::CompareDates(LPARAM lParam1, LPARAM lParam2, LPARAM lSortParam) { CString str1 = *((CString*)(((ItemData*)lParam1)->dwItemData)); CString str2 = *((CString*)(((ItemData*)lParam2)->dwItemData)); COleDateTime odtTime1; COleDateTime odtTime2; BOOL fSortAscending = BOOL(lSortParam); double dblResult = 0.0; odtTime1.ParseDateTime( str1, LOCALE_NOUSEROVERRIDE ); odtTime2.ParseDateTime( str2, LOCALE_NOUSEROVERRIDE ); if(fSortAscending) dblResult = odtTime1 - odtTime2; else dblResult = odtTime2 - odtTime1; return ( ( 0.0 < dblResult ) ? 1 : ( ( 0.0 == dblResult ) ? 0 : -1 ) ); } ....and this doesn't work fine it seems...can anybody gimme more efficient code so that I will be so grateful... thanks in advance. MrBoseDayala
-
FirewallsHi all, can anybody tell me abt a tool which will help me to download without caring firewalls. thanks in advance Thomas. ThomasKennedyBose
-
Single Instance restrictionHi, thnx for quick help....I don't have its code and even ProcessID...how to get the process ID for any EXE?? thnx and regards Bose Dayala. ThomasKennedyBose
-
Single Instance restrictionHi, From my application I am launchin another exe by calling thrugh WinExec("EXE path",SW_SHOW).But the problem here is EXE is getting opened every time when I click the toolbar butto.I want to restrict this for single instance. can anybody help me regarding this? Bose Dayala
-
Authenticate the remote user credentialsHi all, I need to programmatically (C/VC++) authenticate the credentials of a user which is on a remote machine. The machines (Win2000 Servers) are connected through LAN. The user is only local to the remote machine and not a domain user. Also, the user is a member of "Users" group (or it may belong to any group). I will use only IP address and not the DNS for connecting to the remote machine. I don't want to authenticate over the Internet. I tried the following approaches: 1) Using SSPI functions such as "GenClientContext", "AcquireCredentialsHandle", etc., which involves preparing client and server messages to negotiate, challenge and authenticate. But this works fine only for local users and domain users. 2) Mapping of a drive from remote machine. But this fails for certain conditions (e.g., when the logged-on credentials are same for both the machines) 3) Changing the password to the same value using NetUserChangePassword. But this fails if password policy restricts. Is there any other way to authenticate the remote user credentials? Bose Dayala
-
Using crystal reports with VC++:confused:We are using the 'Crystal Report Control 4.6' as an OLE component in VC++. While using the SetAction() function provided by the OLE component, we are getting an error "Unable to load Report". If some one has worked on the same or has any idea how to rectify the error please respond. Thanks ThomasKennedyBose
-
Grid like Excel Sheet:-D........................:~ ThomasKennedyBose
-
Grid like Excel Sheetyup.....thnxs...but it doesn't work like a Excel sheet right??(with this v can't add a comment for cell !)plz gimme more useful stuff:(( ThomasKennedyBose
-
Grid like Excel Sheet:((Hai... I need a Grid whcih should work like ExcelSheet..i.e at run time we should be able to add comments to text in a cell,sholud be able to insert a horizontal line in a cell...can anybody help me regarding this??? ThomasKennedyBose
-
MSFlexGridHai all, Can u plz tell me where can I getb the complete documentation with examples on MSflexGrid using VC++.This is very urgent !!! ThomasKennedyBose
-
Using FlexGrid control....I have Dockable Window...Iam placing FlexControl over it...when the user clicks on it(on a perticular cell),..it should be able to act as a EditControl and when the user leaves the cell or enters into next cell previous cell sholud be filled with the text and all the border lines should appear...I have created a Edit control and placing over the cell where the user will click..getting the string from it placing the on same cell(its border lines are not appearing properly)when the user leaves or enters the next cell. I couldn't find much documentation on this FlexGrid any where...can u please help me !thanks in advance. ThomasKennedyBose
-
Using FlexGrid control....Hai everybody.. I want to make the FlexGrid cell as EditBox...I have wtitten the code for this but when move out of that cell after editing cell is not getting its border back...can anybody help me??? ThomasKennedyBose
-
Sending text as popup message:-))))))) ok ....leave this scenario...I just want to know who has logged in on a perticular machine(I know the machine name)....then how it is possible through program?? ThomasKennedyBose
-
Sending text as popup messagesuppose I want to send personal message to my friend who is supposed to be on that machine...but unfortunately some other person logs in....!!!!in that case first I will check for the logged in user by giving the machine name....hope you can understand the situation..:-) ThomasKennedyBose
-
Sending text as popup messageok ..ok ....sorry for that scenario...actually what I want is I will give the machine number(or name like //mdpwksrnd64)and I want to get the user name who has logged in to that machine...is it possible?? ThomasKennedyBose
-
Sending text as popup messageya....I have already done that code.....any how I don't leave you :-)..now you tell me how to get the machine name(like "\\mdpworkstn64")by selecting the username....any APIs?? BR Thomas ThomasKennedyBose