15,908,274 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 Samuel Corpuz (Top 9 by date)
Samuel Corpuz
4-Jan-18 23:57pm
View
Did you try to edit it?
Samuel Corpuz
4-Jan-18 23:56pm
View
go to the event of mousedown of your tabcontrol
then you will prompt to tabControl1_Mousedown
copy and paste this it will be fix
if (tabControl1.SelectedTab == tabPage2)
{
tabControl1.SelectedTab = tabPage1;
MessageBox.Show("You don’t have permission !!");
}
else if(tabControl1.SelectedTab == tabPage1)
{
tabControl1.SelectedTab = tabPage2;
MessageBox.Show("You don’t have permission !!");
}
Samuel Corpuz
4-Jan-18 22:40pm
View
upvote please
Samuel Corpuz
4-Jan-18 21:37pm
View
private void tabControl_MouseDown(object sender, MouseEventArgs e)
{
if (tabControl.SelectedTab == tabPage2)
{
tabControl.SelectedIndex = 0;
tabControl.SelectedTab = tabPage1;
MessageBox.Show("Action Denied!!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
else if (tabControl.SelectedTab == tabPage1)
{
tabControl.SelectedTab = tabPage2;
MessageBox.Show("Action Denied!!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
Samuel Corpuz
4-Jan-18 21:18pm
View
try to break and continue the program, it may help to see what is the null value and error.
Samuel Corpuz
4-Jan-18 21:10pm
View
drop and create the table
Samuel Corpuz
4-Jan-18 0:19am
View
https://drive.google.com/file/d/1nAUTFIF5gfnC5Y0g9y_tnVcq7ohTLvbu/view?usp=sharing
Samuel Corpuz
3-Jan-18 20:01pm
View
Use ^[a-zA-Z]{4}\d{7}$ this. to Maximize the Shorter code
Samuel Corpuz
3-Jan-18 19:58pm
View
Can you Share us the query you have used?
Show More