15,903,175 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 Bhavin Jagad (Top 34 by date)
Bhavin Jagad
2-Jul-14 0:10am
View
Deleted
Create proper layouts which are required,
Bhavin Jagad
17-Jun-14 1:12am
View
I am not much clear about your requirements, but this may helps you http://forums.phpfreaks.com/topic/120028-solved-how-to-generate-a-product-serial-number/
Bhavin Jagad
19-Apr-13 3:31am
View
Hi,
In my first gitst, CodeModel is not working so I use another option which FileCodeModel and write another code.
But in this case, I got exception while running macro.
And occurrence of this exception is not fixed. It comes randomly.
I can't figure out the cause of exception as some code is being executed.
Please help.
Below is link of another gist.
https://gist.github.com/AnishGhumara/5418693
Bhavin Jagad
19-Apr-13 2:52am
View
Hi, I need to do rename my whole solution.
Thus I surfed regarding that and I came to know this can be achieved through macro programming.
I also found some sort of code to do this.
So I have done code as my requirement using the found code.
But when i run this code it gives exception when it is going to call RenameSymbol().
I am new to macro programming. I surfed around to overcome this exception, but still can't get any solution.
Please help.
Below is link of my gist.
https://gist.github.com/anonymous/5418569
Bhavin Jagad
5-Feb-13 8:12am
View
Actually I was trying to build directshow plugin in QtCreator. Letter i come to know that qedit.h file is no longer shipped with VS2010 package. So I solved in this way. I have post answer below. Thanks a lot for reply.
Bhavin Jagad
3-Jan-13 9:48am
View
Thanks, Your solution is helpful to me. i got another thing from internet. http://msdn.microsoft.com/en-us/library/gg699485(v=vs.85).aspx trying to utilize this. Facing problem because i am not much aware about javascript. I will let you know if i get success using this way.
Bhavin Jagad
3-Jan-13 8:55am
View
Thanks for pointing that. I don't have server script access(.asp file).but i can change .js files.
Bhavin Jagad
9-Jul-12 9:14am
View
Thanks for the solution,Manfred
Bhavin Jagad
9-Jul-12 8:29am
View
Thanks for the view,
when i declare "var me", is it considered as member variable? or its a local variable?
Bhavin Jagad
20-Mar-12 10:26am
View
Thanks, Its perfect that i needed.
Bhavin Jagad
20-Mar-12 7:08am
View
Oh!! sry.. there was my mistake in DDXing control.
Thanks Resmi..Its working as i need.
I had a second problem also,
Bhavin Jagad
20-Mar-12 6:47am
View
hey, its changing color but not making edit box disabled.
because commented code:
//CRichEditCtrl::OnEnable(bEnable);
I need disabled too, so i uncomment it but it is reverting background color.
so its similar as removing WS_DISABLE style from Create() function.
Bhavin Jagad
20-Mar-12 6:17am
View
i do this,
void CMyRichEdit::OnEnable(BOOL bEnable)
{
SetBackgroundColor(FALSE,RGB(255,0,0));
//CRichEditCtrl::OnEnable(bEnable);
}
but not worked.
Bhavin Jagad
20-Mar-12 5:05am
View
yes
Bhavin Jagad
20-Mar-12 3:05am
View
Thanks,
ya, you are right but i want red background even when the richedit control disabled. do u have any idea?
Bhavin Jagad
28-Feb-12 5:06am
View
whenever you don't want to seek pointer position inside called function, call by reference is preferable or pass the pointer as "const datatype* ".
Bhavin Jagad
9-Feb-12 1:53am
View
i have already mention in my question that i want to mimic a "OK" button click when radio button double clicked and on "OK" button click dialog get closed. there are many practical examples in application like MS Word where dialog get closed on Radio button double click.
Bhavin Jagad
8-Feb-12 13:26pm
View
Thanks for your reply.
my purpose is to only know the ip of the computer which made RDP connection request to my computer. i dont want to block RDP connection. i don't want to use system log info.
Bhavin Jagad
8-Feb-12 13:21pm
View
ya, its right. since, 3389 port is reserved for RDP connection there might be windows service which is listening that port for incoming RDP connection. i just want to know the ip of the pc which made request for RDP connection;
Bhavin Jagad
9-Nov-10 4:31am
View
i need to read from http.
actually whatever updates are done on the web page is written in the text file.
i just need to read that file and prompt "xyz is updated" on my computer on start up.
can it be done throw following way??
// First, create a WebRequest to a URI.
HttpWebRequest req = (HttpWebRequest)
WebRequest.Create("http://www.mywebaddress.com");
// Next, send that request and return the response.
HttpWebResponse resp = (HttpWebResponse)
req.GetResponse();
// From the response, obtain an input stream.
Stream istrm = resp.GetResponseStream();
can i use ip instead of the site name??
thank you
Bhavin Jagad
9-Sep-10 0:17am
View
ya you are right.
But i tried following but it doesn't work
CMenu* pSystemMenu = GetSystemMenu (FALSE);
pSystemMenu->EnableMenuItem (SC_CLOSE, // Disable it.
MF_BYCOMMAND ¦ MF_DISABLED);
pSystemMenu->DeleteMenu (SC_CLOSE, MF_BYCOMMAND); // Delete it.
Bhavin Jagad
8-Sep-10 11:32am
View
Thanks
I found a simpler way to do this.
write following in OninitDialog
ModifyStyle(WS_SYSMENU,0,0);
Bhavin Jagad
8-Sep-10 6:37am
View
thank you this is what i exactly want.
thanks a lot
Bhavin Jagad
6-Sep-10 1:58am
View
hello every one,
You may check My grid at Follwing
http://hotfile.com/dl/64505005/51f6799/Excel.exe.html
Its only 86KB
thank you all for support.
Bhavin Jagad
26-Aug-10 11:36am
View
Hello, thanks for your supports.
I have created some what smiler to excel.
You may check it over here.
http://hotfile.com/dl/64505005/51f6799/Excel.exe.html
its only 86 KB.
i started programming with Visual c++ last month.
its supporsts
1) resizing of columns and rows
2) scroll bar(only click and thumb movements)
3) writing content in the cell
3) copy on Ctrl+c and paste on Ctrl+v of cell matrix
4) Rows selection, columns selection and cell matrix selection
5) Multiple selection
6) Key board threw movement in cell
7) Selection with Shift+(arrow key)
8) mouse hover effect on the Rows and Column title.
i know there is much more laking but this is my first SDI application and .
Please suggest me the improvements can be done in this application.
thank you
Bhavin Jagad
25-Aug-10 2:17am
View
Hello, thanks for your supports.
I have created some what smiler to excel.
You may check it over here.
http://hotfile.com/dl/64505005/51f6799/Excel.exe.html
its only 86 KB.
i started programming with Visual c++ last month.
its supporsts
1) resizing of columns and rows
2) scroll bar(only click and thumb movements)
3) writing content in the cell
3) copy on Ctrl+c and paste on Ctrl+v of cell matrix
4) Rows selection, columns selection and cell matrix selection
5) Multiple selection
6) Key board threw movement in cell
7) Selection with Shift+(arrow key)
8) mouse hover effect on the Rows and Column title.
i know there is much more laking but this is my first SDI application and .
Please suggest me the improvements can be done in this application.
thank you.
Bhavin Jagad
20-Aug-10 11:03am
View
Sorry, i have already done Message mapping etc etc but doesn't works...
Bhavin Jagad
3-Aug-10 6:11am
View
thanks a lot,
ya, you are right.
this is self study subject for us. So i am little bit confused with which book is preferable. Would you suggest any book or any internet source.
Bhavin Jagad
3-Aug-10 5:00am
View
here is my source code..
i don't know what to next..
help me
http://hotfile.com/dl/59489401/c9b5da6/SDIApplication.zip.html
Bhavin Jagad
2-Aug-10 9:58am
View
actually i am trying to make application as follow
Create an SDI application that incorporates the following object
hierarchy.
(CVeiw|(Class derived from CWnd))
• The CWnd class should response to all size notifications and resize
accordingly. It should maximize itself to utilise the entire client
area.
• The class should be able to support the following interfaces.
• ShowRectangle() - A rectangle should be drawn anywhere within
the client area.
• ShowCircle() - The first parameter being a structure that
defines the dimension and colour of the circle.
• Erase All – Clears the canvas.
• The above methods within the class should be invoked when the user
chooses Draw -> Circle, Draw -> Rectangle, Draw -> Erase from the
menu.
Now my next thing to learn is How I can draw in the client area of the child window(Created by Class derived from CWnd) when i click on the Menu item???
Bhavin Jagad
2-Aug-10 9:48am
View
thanks you,
i finally get my code and it works..
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{ /* ...........here auto generated code...........
.........................*/
// Following code add Menu dynamically
CMenu mainMenu;//this object hold main menu
mainMenu.CreateMenu();
CMenu PopUpMenu;//this will hold sub menu
PopUpMenu.CreatePopupMenu();
PopUpMenu.AppendMenu(MF_STRING|MF_ENABLED,ID_RECT,"Rectangle");//MF_STRING
PopUpMenu.AppendMenu(MF_STRING|MF_ENABLED,ID_CIRCUL,"Circle");
PopUpMenu.AppendMenu(MF_STRING|MF_ENABLED,ID_ERASE,"Erase");
mainMenu.AppendMenu (MF_POPUP, (UINT)PopUpMenu.Detach (), "Draw");
SetMenu(&mainMenu);
mainMenu.Detach();
return 0;
}
Bhavin Jagad
2-Aug-10 7:49am
View
thank you.
I tried following but it doesn't work
CMainFrame::CMainFrame()
{
Create(NULL, "Menus Fundamentals");
VERIFY(this->m_wndMainMenu.CreateMenu());
VERIFY(this->m_wndFileMenu.CreateMenu());
this->m_wndMainMenu.AppendMenu(MF_STRING, NULL, "File");
this->SetMenu(&m_wndMainMenu);
}
where m_wndMainMenu and m_wndFileMenu are object of type CMenu.
anything wrong with this?
Bhavin Jagad
28-Jul-10 7:24am
View
thanks,
But what book should i use??
any online resources??
Bhavin Jagad
28-Jul-10 7:23am
View
what book should i preferred?? any online resources??
Show More