15,949,741 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 .NET 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 fadi77_net (Top 41 by date)
fadi77_net
24-May-15 16:34pm
View
But it is a shortcut from the original .exe file, and the original .exe file is on the server, is not it?
fadi77_net
23-May-15 16:18pm
View
Dear friend
I want to let the user to save some information about his account in the .config file, and read it, and I want him to read the connection string from the .config file.
But I don't want to install the application on each client computer, I want to install it on the server and make a shortcut from the .exe file to each client computer, so in this case what should I do with .config file? Have I to copy it on the client computer or keep it on the server?
fadi77_net
22-May-15 17:15pm
View
regardless the name, I mean in case I want to create a shortcut from the exe file on the client, can I keep the .config and .exe files on the server and create a shortcut from the .exe on the client?
fadi77_net
22-May-15 15:00pm
View
Thank you very much, it is working with me
fadi77_net
21-May-15 12:32pm
View
I tried it but it is not working with me, because my form is not form type Form, I have another type, it is frmBasedChiled, so I want to get an instance of the frmBasedChiled class
fadi77_net
21-May-15 10:48am
View
I can see a.Name, Function(a), and a.BaseType
What is a?
fadi77_net
10-May-15 16:02pm
View
I tried the sample, it was working properly, and I checked the application configuration file during the run time and I found it saved my connection string settings, but when I close my application it deleted all settings that had been added during the run time.
can you help me please?
fadi77_net
10-May-15 16:01pm
View
I tried both samples, they were working properly, and I checked the application configuration file during the run time and I found it saved my connection string settings, but when I close my application it deleted all settings that had been added during the run time.
can you help me please?
fadi77_net
20-Apr-15 6:33am
View
Thank you very much, it is working as I wish.
Now I want to enter the username and password and check if it is correct, it will open the next page, otherwise it will display a message
can you help me please?
fadi77_net
9-Nov-13 16:44pm
View
dear
can you send me a complete sample for what I want?
fadi77_net
4-Nov-13 3:20am
View
which service??
can you be more clear please
fadi77_net
27-Aug-12 5:11am
View
yes, there is a table in the update panel and the button inside the table.
fadi77_net
27-Aug-12 4:54am
View
Actually I checked the code, I wrote the code in the click event of the button, and it is not working, but if I write the code in the load event of the page, it will work, so how can I run the code from the button?
fadi77_net
26-Aug-12 8:02am
View
No dilzz, it is not contained in any panel or update panel.
fadi77_net
23-Aug-12 5:46am
View
No, I did't write any code to hid the grid, and I followed your code, I set the Visible property to True, but there is nothing happened.
fadi77_net
17-Dec-11 14:27pm
View
No, it is not like what you understand, I searched in google but I did not find any result, I want to check if the value is date value then accept paste, else cancel paste.
paste should be by 3 ways:
1- by mouse
2- by pressing Ctrl + V
3- by pressing Shift + Insert
fadi77_net
17-Dec-11 11:56am
View
Ok, but in link (How To Disable Right Click In C# Textbox); it is cancelling paste if it fired from the mouse, but what about if (Ctrl + v) or (Shift + Insert) pressed?
fadi77_net
17-Dec-11 8:52am
View
Thatraja,I am using windows application, not web application, your updated answer is in java script
fadi77_net
17-Dec-11 8:27am
View
Guys; I know that, but my team leader do not want to use calender, date time picker, or masked textbox, he want me to create a user control by using textbox to prevent user to enter non date value either by using keyboard or past
fadi77_net
17-Dec-11 8:27am
View
Guys; I know that, but my team leader do not want to use calender, date time picker, or masked textbox, he want me to create a user control by using textbox to prevent user to enter non date value either by using keyboard or past
fadi77_net
4-Dec-11 2:08am
View
I don't want to use NotInheritable (vb.net) or Sealed (C#) key words, because if you have class A, and class B that inherited from A but it is NotInderitable, that means no class can be inherited form B.
That is not what I want, I want to prevent the developer to see the UserControl events, properties or methods when he is in view code editor (the events combobox in code editor). I want to display my own events only, not the UserControl events.
Did you got my idea?
fadi77_net
3-Dec-11 13:25pm
View
Sorry, but I am vb.net programmer
fadi77_net
1-Dec-11 15:06pm
View
Can you give me an example please?
fadi77_net
1-Dec-11 14:42pm
View
I mean, when you open the code view, you will find two combo boxes at the upper of the code editor, the right combo box is the event combo box.
the event combo box appears the UserControl events, I don't want to allow to display it, I want to display my own events only in the events combo box.
fadi77_net
1-Dec-11 13:00pm
View
Thank you very much, it is working properly now.
fadi77_net
22-Nov-11 17:08pm
View
This code is not working, there are some errors. Can you write it in C# please? I will change it from C# to VB
fadi77_net
20-Nov-11 16:31pm
View
yes, the white squires that appears on the control at design time.
fadi77_net
25-Oct-11 4:17am
View
thank you SAKryukov
but I want to give the developer the ability to set the color if he want, but if he dont want to do that, it is up to him.
fadi77_net
9-Nov-10 1:45am
View
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
LoadGrid()
Catch ex As Exception
End Try
End Sub
Private Sub LoadGrid()
GridView1.Columns.Clear()
Dim col As New BoundField
col.DataField = "Emp_no"
col.HeaderText = "No."
GridView1.Columns.Add(col)
col = New BoundField
col.DataField = "Emp_Name"
col.HeaderText = "Name"
GridView1.Columns.Add(col)
col = New BoundField
col.DataField = "DOB"
col.HeaderText = "Date of Birth"
GridView1.Columns.Add(col)
col = New BoundField
col.DataField = "Salary"
col.HeaderText = "Salary"
GridView1.Columns.Add(col)
col = New BoundField
col.DataField = "D_No"
col.HeaderText = "Department No."
GridView1.Columns.Add(col)
Dim colf As CommandField = New CommandField
colf.EditText = "Edit"
colf.UpdateText = "Update"
colf.CancelText = "Cancel"
colf.ShowCancelButton = True
colf.ShowEditButton = True
colf.ShowSelectButton = True
GridView1.Columns.Add(colf)
Dim con As New SqlConnection(ConnectionStrings("Test").ToString)
If con.State = ConnectionState.Closed Then con.Open()
Dim com As New SqlCommand("select * from tb_emp", con)
Dim da As New SqlDataAdapter(com)
da.Fill(ds, "emp")
ds.Tables("emp").PrimaryKey = New DataColumn() {ds.Tables("emp").Columns("emp_no")}
GridView1.DataMember = "emp"
GridView1.DataSource = ds
GridView1.DataBind()
End Sub
fadi77_net
8-Nov-10 4:38am
View
Thank you tamerqatar
I am asking about GridView not DataGridView, I am using Web Application not Windows Application, and the link is for C#, but my code is in vb
thank you for your help anyway.
fadi77_net
27-Oct-10 5:01am
View
it dose not work
I build my grid in a user control, and I am using vb, not c#.
fadi77_net
26-Oct-10 8:52am
View
I am using MS SQL
I build my grid from the dataset
gdEMP.DataSource = ds.Tables("TB_EMP")
gdEMP.DataBind
fadi77_net
26-Oct-10 7:18am
View
SQL server 2005
fadi77_net
26-Oct-10 7:16am
View
yes, when I click the employee number
fadi77_net
26-Oct-10 5:46am
View
I read it
that is no working.
fadi77_net
25-Oct-10 1:46am
View
I tried the code in login control, but it did't accept my password and displayed this message :"Your login attempt was not successful. Please try again."
I cannot access the next page.
do you have any idea?
fadi77_net
24-Oct-10 9:55am
View
dear sandeep
thak you for your answer, but I want to compare between text boxes values with UserID and Passwords of windows. Your function can ONLY get the user id, but it cannot get windows password, and it is not reading from the windows active directory.
fadi77_net
7-Oct-10 5:24am
View
Thank you Damian
but I dont want this way
I want to give them permissions by using roles at run time
ex:
if I want to create a role and name it "rlFoo"
and I want to give this role a permission to view page "CommingCalles.aspx" and prevent it to view page "Payments.aspx" at run time, is it possible to do that?
fadi77_net
15-Sep-10 7:08am
View
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
fadi77_net
15-Sep-10 7:08am
View
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
fadi77_net
15-Sep-10 7:08am
View
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
Show More