15,892,746 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by iampradeepsharma (Top 94 by date)
iampradeepsharma
2-Feb-23 7:14am
View
Your answer is really honest.
iampradeepsharma
24-Jan-21 0:46am
View
this too is not working .
iampradeepsharma
22-Dec-20 3:52am
View
that is already done but that does not help.
iampradeepsharma
20-Dec-20 23:23pm
View
In the windows forms application.
iampradeepsharma
20-Dec-20 8:52am
View
Richard I have updated the question. Thanks
iampradeepsharma
16-Dec-20 12:34pm
View
Yes, it worked. Thanks Richard ! you made my day. Thanks again
iampradeepsharma
16-Dec-20 12:17pm
View
Deleted
This gives error : No suitable method found to override.
iampradeepsharma
1-Aug-18 12:14pm
View
thanks
iampradeepsharma
6-Jul-18 4:37am
View
I have generated html code with some dummy data in its table .Now I want to create the html file with the actual data which is supplied through C++ code .So I want to write the same html with my data in the C++ .How do I do this ?Can u write a sample just for the simplicity.
iampradeepsharma
3-Jul-18 5:22am
View
Deleted
Richard I have found a property WM_EX_TRANSPARENT which is actually creating the control to disappear after it is restored from the task bar . Any thoughts on this ?
My original problem was that whenever I press window +D when the application was in the task bar then once it is restored then the control which uses this property disappears .
iampradeepsharma
2-Jul-18 5:07am
View
ok thnks Richard !
iampradeepsharma
2-Jul-18 4:04am
View
could you atleast tell me that which event is called whenever you press window + D ?
iampradeepsharma
28-Jun-18 2:31am
View
Right! does not seem to be a great choice.
iampradeepsharma
27-Jun-18 9:25am
View
this event is not gettting called as the application is not minimized or maximized using buttons but through window + D .
iampradeepsharma
27-Jun-18 6:58am
View
how to catch such an event ?
iampradeepsharma
25-Jun-18 4:48am
View
what is the event which is called when you restore your window but not necessarily activating that window ?
iampradeepsharma
14-Jun-18 4:15am
View
OnSize isn't even getting called . I just said it is happening upon pressing window+D as key for minimizing everything and then restoring it using the same key combination.
iampradeepsharma
13-Jun-18 10:07am
View
no this api is not present in the MFC dialog.
iampradeepsharma
4-Apr-18 4:18am
View
The Crash removes if I reset the datatable before I populate it but again a new issue comes in which is the datagrid does not show any data until its one of the column is clicked .
iampradeepsharma
2-Apr-18 6:25am
View
To my surprise first row gets populated but for second row onwards it crashes.
iampradeepsharma
2-Apr-18 5:49am
View
what does it mean " object reference not set to an instance of an object" in the case of adding row in the datagrid ?
iampradeepsharma
2-Apr-18 5:49am
View
what does it mean " object reference not set to an instance of an object" in the case of adding row in the datagrid ?
iampradeepsharma
2-Apr-18 4:11am
View
Yes it is ..sorry for the typo .But in actual code it is .rows only.
iampradeepsharma
17-Nov-17 4:28am
View
No even after I click on the ok button of messagebox the text remains there . Only in the case when the messagebox is not in place I do not get to see the text in the status column.
iampradeepsharma
17-Nov-17 3:48am
View
there is some issue I guess as when I put some message box soon after setitemtext displaying the return value of setitemtext it shows the text in that status column and when I remove the messagebox it does not show then ? Is there any refresh window sortof issue ?
iampradeepsharma
10-Oct-15 12:55pm
View
thanks for answering but this does not solve the problem .Actually I wanted to implement drag and drop where if I select a file say image file then when u drag it to some other place you can see some blur image of it and wherever you drop it it is is copied there.
iampradeepsharma
26-Sep-15 4:45am
View
Quite true ! this will enumerate all the parent windows running but how I able to match it with the exe name ?
iampradeepsharma
25-Jan-15 5:59am
View
So the problem was in the size of the window 24, 8, 137, 25 , this 25 was the reason ..I made it to 100 and found out that it can show 3 items in it . Thanks Richard for putting some help to me .
iampradeepsharma
24-Jan-15 14:32pm
View
okay thnx
iampradeepsharma
24-Jan-15 12:34pm
View
Richard it would be a great help if you can share your file with me (if you don't mind) so that I can run directly on my machine .
thnx
iampradeepsharma
24-Jan-15 11:59am
View
Do you actually see 3 items populated inside the combo box as with this code I tried on two machines but to no help .
iampradeepsharma
24-Jan-15 11:07am
View
does it have to do with where the code was executed I mean I have put this code inside WM_CREATE inside switch case . Although I see on several other websites , they have placed it under WM_INITDIALOG . Although I tried to put it under it also but WM_INITDIALOG is never called . Do you have any insights on it .
Thanks Richard
iampradeepsharma
9-Oct-14 4:27am
View
Windows7 and writing in visual studio Professional 2012
iampradeepsharma
16-Apr-14 0:33am
View
No i didnot read any document.i searched on google but i did not get any proper document for c++ or vc++ project, can you please provide the path of document
iampradeepsharma
22-Mar-14 2:24am
View
Upon using the script(.wsf)
Set wsc = WScript.CreateObject("WScript.Shell")
Set lnk = wsc.CreateShortcut(wsc.SpecialFolders("desktop") & "\Xyz.LNK")
lnk.targetpath = "C:\\ABC\\bcd.exe"
lnk.save
I got following error:
unterminated entity reference -matching ';'not found
iampradeepsharma
22-Mar-14 1:04am
View
It didn't help either .
iampradeepsharma
21-Mar-14 23:59pm
View
I have a program installed on my machine now what I want is to write a script(batch file ,vb script anything)which can serve the following purpose .
The target path of the shortcut on the desktop shows "
C:\XYZ\abc.exe"
Now I want to change it to C:\XYZ\bbc.exe
How can I perform that ?
iampradeepsharma
21-Mar-14 23:59pm
View
I have a program installed on my machine now what I want is to write a script(batch file ,vb script anything)which can serve the following purpose .
The target path of the shortcut on the desktop shows "
C:\XYZ\abc.exe"
Now I want to change it to C:\XYZ\bbc.exe
How can I perform that ?
iampradeepsharma
9-Dec-13 22:20pm
View
thnx but no help
iampradeepsharma
9-Dec-13 22:20pm
View
thnx but no help
iampradeepsharma
16-May-13 3:56am
View
Deleted
It seems as if nobody has any clue of the problem .:(
iampradeepsharma
10-May-13 23:24pm
View
Yes it does but how to get around this problem ..
iampradeepsharma
22-Mar-13 4:09am
View
thanks SA ...
iampradeepsharma
15-Mar-13 0:44am
View
okay SA
iampradeepsharma
15-Mar-13 0:32am
View
thanks SA ,i will do my homework..still if u would answer I would appreciate u ..
iampradeepsharma
7-Mar-13 0:33am
View
okay i ll try
iampradeepsharma
25-Feb-13 21:58pm
View
Brydon !! how would I know out of array of all those NIC 's mac address , how would I identify ... :(
iampradeepsharma
25-Feb-13 4:20am
View
thnx brydon , now as you have cleared that thr is no such thing like motherboard's mac address so no my question is how can i determine the mac address of the on board network adapter out of many others which are connected .
iampradeepsharma
25-Jan-13 1:26am
View
:-)
iampradeepsharma
24-Jan-13 9:28am
View
thanks SA
iampradeepsharma
22-Jan-13 21:50pm
View
Igot it you can do this by updating the manifest file by setting UACExecutionLevel =AsInvoker.
referance:http://msdn.microsoft.com/en-us/library/bb384691.aspx
iampradeepsharma
22-Jan-13 0:48am
View
but SA...see the problem is this we have so many programs which do not ask such message each time ...let alone during installation wizard...skype, my NetConnect programs ,Gtalk messanger to name a few..
iampradeepsharma
22-Jan-13 0:44am
View
thank you so much ...for your kind suggestion :-)
iampradeepsharma
22-Jan-13 0:35am
View
thanks
iampradeepsharma
21-Jan-13 22:34pm
View
it means from next time whenever you start the program should start without asking user " Do you want to allow this program to make changes to your computer "
iampradeepsharma
23-Dec-12 22:41pm
View
sure
iampradeepsharma
19-Dec-12 23:15pm
View
yes i m trying to parse the xml .
iampradeepsharma
19-Dec-12 5:55am
View
that does not help ..anyway thanx
iampradeepsharma
5-Nov-12 6:19am
View
How it is different from adding headerfiles . all i knw how to add header files .
iampradeepsharma
5-Nov-12 5:52am
View
how to add system.Io in cpp code it is giving errors
iampradeepsharma
4-Nov-12 22:51pm
View
thnx Santhosh !
iampradeepsharma
10-Oct-12 4:30am
View
Now I have provided some more information ,may be would help you to guide me in some direction.
iampradeepsharma
3-Oct-12 4:53am
View
sure Marius
iampradeepsharma
3-Oct-12 2:56am
View
LockBits() , this function throws the exception .
iampradeepsharma
3-Oct-12 1:00am
View
agreed...
iampradeepsharma
29-Jun-12 7:16am
View
thanks sandeep
iampradeepsharma
2-Mar-12 0:00am
View
Actually the real problem is that I am not able to replicate this case .
iampradeepsharma
1-Mar-12 23:57pm
View
Yeah ,I have checked it . Everything was damn proper .
iampradeepsharma
28-Feb-12 0:09am
View
thanx a lot sir !
iampradeepsharma
18-Nov-11 2:05am
View
Thanks for answering but there is no such property like selected on the item of the listview ...
iampradeepsharma
17-Nov-11 0:44am
View
System.Windows.Controls.Control
iampradeepsharma
16-Nov-11 0:07am
View
class ThumbItem
{
public int x, y, height, width;
public string sz_Original_Image_filepath;
public bool b_state;
public string sz_chkImage_filepath;
public Bitmap bt_Image;
public ThumbItem()
{
int x = 0, y = 0, height = 100, width = 100;
string sz_Original_Image_filepath = null;
bool b_state = false;
string sz_chkImage_filepath = null;
Bitmap bt_Image = null;
}
}
class Image_Thumbnail
{
public ThumbItem[] thumbitem ;
public Array Items = new Array();
public void DrawItem()
{
//
}
public void RefreshItem()
{
//
}
}
Now the question is I want to set the value of b_state to be true at seletedindex of the listview items ..I have mentained which index is selected in the listview and based on that index i want to change the state of b_state ...considering that the items collection is holding ThumbItem type objects ..
Now i think the question is very much clear ...
iampradeepsharma
15-Nov-11 1:07am
View
i mean to say that how one can take referance to a class which is a control like listview ....like ListView ref = &(Listview );
is it correct way or what ?
iampradeepsharma
13-Nov-11 23:18pm
View
my question to this is that I need such a custom listview which can hold a check box on its items so that the user can show the selection of the item ..
iampradeepsharma
13-Nov-11 23:14pm
View
This is exactly i want to know as well ....
iampradeepsharma
11-Nov-11 6:31am
View
http://www.akadia.com/services/dotnet_user_controls.html // may be a useful link
iampradeepsharma
10-Nov-11 0:07am
View
may be picture box as an image holder would do , what u say ?
iampradeepsharma
10-Nov-11 0:07am
View
I m not getting how can i do that ...yeah I tried but not succeed...
iampradeepsharma
9-Nov-11 6:02am
View
can I have some more answers on it ...
iampradeepsharma
8-Nov-11 6:22am
View
Need more insight on it ...
iampradeepsharma
8-Nov-11 6:05am
View
Not clear still
iampradeepsharma
7-Nov-11 23:24pm
View
windows
iampradeepsharma
28-Sep-11 2:59am
View
this worked thanks prerak..
iampradeepsharma
21-Sep-11 1:55am
View
well i guess this code is MFC code ....but i tried similar task in csharp but same errors occurs ..
iampradeepsharma
16-Aug-11 6:09am
View
windows application
iampradeepsharma
3-Aug-11 2:36am
View
thanx
iampradeepsharma
28-Jul-11 7:00am
View
i mean if i change the resolution the windows operating system then it should not have any effect on the dilog box .
iampradeepsharma
13-Jun-11 3:29am
View
actually I was asking if any other headerfile need to included or what ?
iampradeepsharma
13-Jun-11 2:10am
View
also i am building this app in VS2003
iampradeepsharma
8-Jun-11 23:15pm
View
now how to take that code in the ondraw method ....?
iampradeepsharma
8-Jun-11 4:21am
View
Deleted
very helpful article .
iampradeepsharma
8-Jun-11 1:15am
View
it is a free hand drawing , so far i can draw ellipse and rectangle by mouse drag .
iampradeepsharma
6-Jun-11 23:35pm
View
Image is not recognised ... so how to proceed then
iampradeepsharma
6-Jun-11 5:51am
View
Deleted
@John actually I am currently working such a task , so far what I have achieved is that : its an SDI App (in MFC) .
I can open a file through the direct tool and have managed to render a .jpg image onto the view . Now i can draw few shapes like ellipse thru the drag mouse event , ok that 's too done . Now I want to save that active view as an document on disk . How can i do that ?
Show More