15,744,817 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 Javascript questions
View C++ questions
View Python questions
View Java 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 Yasser El Shazly (Top 116 by date)
Yasser El Shazly
28-Jan-16 6:58am
View
Okay i get your point , put i am thinking to scanning in an specific folder like C:\\Scanning --- then scan in this folder and read all files by JavaScript in this folder , but the point how can i scan using .Net ?
Yasser El Shazly
28-Jan-16 6:37am
View
yes but it is a must to apply this functionality to my website , and i have no problem to have all rights and permissions to use client resources ... but how?
and i have no problems with scanning files on local machine in a specific folder and some how upload the file automatically ... thanks.
Yasser El Shazly
30-Jun-14 19:50pm
View
How can i use this Jquery AutoComplete With .Net MVC 4
Yasser El Shazly
27-Jun-14 19:07pm
View
how can i make autocomplete ?
Yasser El Shazly
27-Jun-14 18:35pm
View
how can i make a server side filtering ... what i mean user type 3 characters then i go to my DB Select items that contains these 3 characters and show them in the dropdownlist how can i do that ?
Yasser El Shazly
27-Jun-14 17:01pm
View
yes Exactly i want to Searching/Filtering First but i didn't knew how can i do that with DropDownlistFor , can you help me ?
Yasser El Shazly
27-Jun-14 16:45pm
View
Ok, but My question was what is the best way to do that ?
and i wanna make Server Filtering Over DropDownListFor and i didnt knew how can i do server filtering ... any help ?
Yasser El Shazly
27-Jun-14 16:20pm
View
you are right but what is the good design in your point of view
Yasser El Shazly
27-Jun-14 16:19pm
View
i am trying to give the user the power of filtering the comboBox to fetch required item faster , but i didnt knew how can i do that?
Yasser El Shazly
27-Jun-14 16:18pm
View
Deleted
so what is the good design ?
Yasser El Shazly
5-Dec-13 13:29pm
View
it is question about Facebook graph API it is fit forum's guidelines
Yasser El Shazly
29-Jul-13 9:38am
View
just mention me and don't show your smartness because not only you the smarter one
Yasser El Shazly
29-Jul-13 6:34am
View
no it is a list of customers friends some thing like that , but daily we have to send message to 50.000 customer i didn't know how can i do that , develop an app and if yes , which type of application
Yasser El Shazly
29-Jul-13 6:34am
View
no it is a list of customers friends some thing like that , but daily we have to send message to 50.000 customer i didn't know how can i do that , develop an app and if yes , which type of application ?
Yasser El Shazly
23-Feb-13 11:37am
View
yes , i do , and still any one can copy and attach my database without asking for password during attaching
Yasser El Shazly
23-Feb-13 11:33am
View
i mean password on database level not on account level
Yasser El Shazly
23-Feb-13 11:17am
View
so i want to put a password when some one coming to attach my database ask for password
Yasser El Shazly
23-Feb-13 11:15am
View
many peoples does not respect law and or license that is make me wary
Yasser El Shazly
23-Feb-13 10:59am
View
what about a desktop application
Yasser El Shazly
23-Feb-13 10:22am
View
so your schema any one can steal it , that is doesn't make you wary ?
Yasser El Shazly
23-Feb-13 9:45am
View
i want to protect my database schema not data if any one can copy and attch my database so he will be able to see my data base schema ....
Yasser El Shazly
5-Oct-12 7:29am
View
this is an Example :
///
/// Load Report With Date Time NOW
///
public void LoadReportWitDateNow()
{
//string fullpath = System.IO.Path.GetFullPath("..\\..\\Reports\\Inventory\\SelectTotQtyForEveryMedInAllInventories.rpt");
rptdc.Load(this.FullPath);
rptdc.DataSourceConnections[0].SetConnection(Cls_Utility.UserName, Cls_Utility.PassWord, Cls_Utility.ServerName, Cls_Utility.DataBaseName);
#region ParameterField , s
ParameterField PF1 = new ParameterField(); // Creating the parameter field for the firs parameter
ParameterDiscreteValue PDV1 = new ParameterDiscreteValue(); // Creating discrete value for Parameter field one
DateTime dt= DateTime.Now;// add Value to discrete value
PDV1.Value = dt.ToString("MM/dd/yyyy");
PF1.ParameterFieldName = this.ParameterOne;// seting parameter name to parameter field as it found in Stored Procedure.
PF1.CurrentValues.Add(PDV1);// adding discrete value to parameter field
//====================== Creating ParameterFields ===========================================
ParameterFields PFS = new ParameterFields();
PFS.Add(PF1);
#endregion
rptViewer.ParameterFieldInfo = PFS;
rptViewer.ReportSource = rptdc;
this.reportviewer.Child = rptViewer;
}
Yasser El Shazly
5-Oct-12 6:56am
View
thanks for your attention ... yes it work well with reports that have no Parameters and the problem still fired with reports that has parameters any solution for this ?
Yasser El Shazly
29-Sep-12 17:42pm
View
yes , when i click in any control can write in it like text box
it re-enabled
Yasser El Shazly
28-Sep-12 21:22pm
View
hi Bill , it is Routed Command and buttons Disabled when i click any where in the User control, that is my problem
Yasser El Shazly
28-Sep-12 21:20pm
View
it is Routed Command and buttons Disabled when i click any where in the User control that is my problem
Yasser El Shazly
28-Sep-12 16:40pm
View
oh yes sorry
Yasser El Shazly
20-Sep-12 17:17pm
View
because i use bar code reader when i try to raed the code and during the text box or any other element focused the code typed in the text box and also the Key pressed is Fired and i did not want to type nothing in the text box .
Yasser El Shazly
20-Sep-12 17:17pm
View
because i use bar code reader when i try to raed the code and during the text box or any other element focused the code typed in the text box and also the Key pressed is Fired and i did not want to type nothing in the text box .
Yasser El Shazly
15-Sep-12 9:00am
View
it does not work for me , hey the problem is i am trying to differentiate between barcode key press and keyboard press some one told me i can do that depending up on the speed of reading the code
that is the link of the Example http://codereview.stackexchange.com/questions/15570/differentiate-a-keyboard-scanner-from-keyboard-timeoutbuffer
but it does not differentiate between Keyboard and barcode have you a solution for my problem
Yasser El Shazly
14-Sep-12 21:05pm
View
so it will converted like that
if (this.Dispatcher.CheckAccess())
{
try
{
if (value.Length == 13)
{
System.Windows.Forms.MessageBox.Show(Code.ToString());
Code = null;
}
else
{
string temp = this.buffer.Get().ToString();
if (temp.Contains('D'))
{
this.Code += temp[1];
}
else
{
this.Code += temp;
}
}
}
catch
{
// do nothing
}
}
else
{
this.Dispatcher.BeginInvoke(new Action<string>(buffer_TimedOut), new Object[] { value });
}
Yasser El Shazly
14-Sep-12 18:25pm
View
so what should i use Sergey ?
Yasser El Shazly
14-Sep-12 18:24pm
View
how can you convert my code using Dispatcher sorry i am new in using dispatcher and threading
Yasser El Shazly
13-Sep-12 23:31pm
View
i downloaded the source code and tested it nothing happen when i scan a barcode or press button from keyboard
Yasser El Shazly
13-Sep-12 23:15pm
View
how ?
Yasser El Shazly
8-Sep-12 17:42pm
View
i need the source code too that is my mail Eng.Y3MN@Yahoo.com
Yasser El Shazly
8-Sep-12 17:40pm
View
is that a C# code
Yasser El Shazly
1-Sep-12 15:25pm
View
the text box need to be focused every time that is my problem with textboxes
Yasser El Shazly
1-Sep-12 15:02pm
View
i just want to create a specific event fired only when the character come from the reader and get all the character to get this code and select it's corresponding data from my data store that is all my problem
Yasser El Shazly
1-Sep-12 15:01pm
View
i just want to create a specific event fired only when the character come from the reader and get all the character to get this code and select it's corresponding data from mu data store that is all my problem
Yasser El Shazly
1-Sep-12 14:57pm
View
it is a usb barcode and i did not know how can i solve my problem
Yasser El Shazly
1-Sep-12 14:43pm
View
if i used textbox i must be sure it is focused and active be fore i scan so the user must give it the focus by mouse click or keyboard tab and i did not want that so i created this event for the MainWindow if the window active the event will be fired (no need to mouse click or keyboard tab )
Yasser El Shazly
1-Sep-12 14:33pm
View
i think it is 12 char , but how can i do that i think the event fired once the first key is pressed and ignore the other keys right me if i wrong
Yasser El Shazly
4-Jul-12 17:04pm
View
how can i create these required script from sQL server 2008 to achieve these steps and what is the scripts required and its order ? , thanks
Yasser El Shazly
20-Jun-12 15:09pm
View
i log in to my http account and i can access Cpanel there is no problem about that
Yasser El Shazly
19-May-12 10:30am
View
Deleted
That is for blind :)
Yasser El Shazly
18-May-12 20:40pm
View
I'd like to Make three one to many relation but Only one FK of Table One With Other Three PK of the Other three Tables , When i did that i found that
when i Enter New Row in table 1 The FK column must be ID Found in Table2 or 3 or 4 but that does not happen as he check if the Value i Entered Found in Table2 PK Or not if yes The Row added well , if no Throw Exception although this Value Found in table3 may be in table4 i think he just Take Care with The First Relation ... (Table1 - Table2) and the others not , although they already Exist
Yasser El Shazly
17-Feb-12 17:03pm
View
thanks for your answer
Yasser El Shazly
6-Feb-12 10:17am
View
I try to do that , Not solve the problem .
Yasser El Shazly
4-Feb-12 11:51am
View
no syntax error appear to me
Yasser El Shazly
5-Jan-12 9:33am
View
i do what you mentioned but this error appear when i try to add Order by in the end
Msg 104, Level 16, State 1, Procedure SP_Med_SelectAllDisease_ActiveMatByMedID, Line 20
ORDER BY items must appear in the select list if the statement contains a UNION, INTERSECT or EXCEPT operator.
Yasser El Shazly
5-Jan-12 8:24am
View
Sorry For Delaying on my repond as problems in my internet connection ,
Crystal Report Version is 13.0.1.220
I use Visual Studio 2010
and no i havent any crystal report features installed on the machine that throw the error
"The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception."
so what is feature i shell install to remove this error ?
thank you ...
Yasser El Shazly
3-Jan-12 3:50am
View
that is not a diployement it is just moving the report from a developer machine to another dev machine to connet the report With the Actual System this second machine has no Sap crystal report installed and throw this errror when i try to show the report and search for a soultion for this error on this machine that does not make me install all this M.B programm , is there is asolution for that or i shell install all sap component or there is a specific Sap component can solve that without needing to install all sap crystal report component ..? thanks
Yasser El Shazly
2-Jan-12 9:58am
View
i can not understand what i shell to install , is i shell install all sap crystall report component or what i shell install...!!?
Yasser El Shazly
9-Nov-11 5:39am
View
For some reasons i want all positive and negative rows in one collection
Yasser El Shazly
8-Nov-11 2:24am
View
this is the reasons of the Errors so how can i Solve them?
Yasser El Shazly
3-Nov-11 10:43am
View
i want to make the binding direct to the Text , in order to any changes on the data immediately bonded to the data table attached to the data grid without needing to press enter after editing to affect the data table
Yasser El Shazly
3-Nov-11 10:33am
View
i think there is A problem in the Visual tree , or some thing make it does not see the data is right if so can be resolved ..?
Yasser El Shazly
13-Oct-11 9:49am
View
I just Want To add Row To Count Rows Added deleted to from the data grid
and i make a column with the properties i mentioned in previous but when i delete row as you say it becomes 1 , 3 not updated to 1 , 2 as you Mentioned in the column Row which updated from 1 , 2 , 3 --> and after deletion it became 1 , 2 in my case if i delete it became 1 , 3 (that is the problem and i do not know how can i solve it )
Yasser El Shazly
13-Oct-11 8:31am
View
it is just an index for Rows which added / deleted to the grid
Yasser El Shazly
13-Oct-11 6:20am
View
how the solution will be different
Yasser El Shazly
13-Oct-11 6:18am
View
in my Example i have DataGridComboBox Column not ComboBox
Yasser El Shazly
22-Aug-11 17:35pm
View
i do not know how can i do that can you see me an example ?
Yasser El Shazly
28-Jul-11 1:53am
View
there is no Property called ISDisposed
Yasser El Shazly
27-Jul-11 5:24am
View
can you send me some code for more explanation , thanks
Yasser El Shazly
27-Apr-11 1:22am
View
OK thanks
Yasser El Shazly
27-Apr-11 1:13am
View
I think the Second Solution , Reduce Redundancy and Keep track with data Consistency but increase the number of tables , I am really Confused between the Two Solution can any one help me and give me his opinion i am in a bad need of opinions about this situation
Yasser El Shazly
21-Apr-11 2:45am
View
my question about how can i pass the data from the child window to the main window when button clicked
Yasser El Shazly
8-Mar-11 11:20am
View
You mean I draw Them in Any IDE and then take Screen shoots for these forms and edit them..?
Yasser El Shazly
8-Mar-11 9:42am
View
what do you mean by IDE..?
Yasser El Shazly
4-Mar-11 9:13am
View
so for now how can i solve it..?
can any one help me please..
thanks
Yasser El Shazly
4-Mar-11 9:12am
View
Simply that is my problem
Yasser El Shazly
4-Mar-11 9:11am
View
Yasser under the column Student name , and 98 under the column Student Grade ...etc
Yasser El Shazly
4-Mar-11 9:10am
View
how can i add each value of these in it is related column in the data grid..?
Yasser El Shazly
4-Mar-11 9:00am
View
how
Yasser El Shazly
4-Mar-11 7:34am
View
when i try that this error is comen
Msg 155, Level 15, State 2, Procedure SP_add_crossrefernce71111, Line 21
'FAST' is not a recognized CURSOR option.
Msg 102, Level 15, State 1, Procedure SP_add_crossrefernce71111, Line 52
Incorrect syntax near 'cursorForView'.
Yasser El Shazly
3-Mar-11 20:44pm
View
SQL
Yasser El Shazly
1-Mar-11 4:24am
View
how can i use my debugger to solve that..?
Yasser El Shazly
1-Mar-11 4:24am
View
how i can use my debugger to solve that..?
Yasser El Shazly
1-Mar-11 4:21am
View
this is the procedures
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
GO
ALTER proc [dbo].[SP_selectall_medarabicname]
as
begin
select Name_arabic from Med
end
Yasser El Shazly
27-Feb-11 3:18am
View
can you help me more in how can i do that..?
Yasser El Shazly
18-Feb-11 22:39pm
View
this is my code
any help now..?
Yasser El Shazly
18-Feb-11 22:38pm
View
#include <iostream.h>
#include <conio>
#include <string>
#include <fstream.h>
//using namespace std;
using namespace std;
void main()
{
ifstream inFile("t.txt");
string line;
if(inFile.fail())
{
cout<<"Error hapen when trying to open the file"<<endl;
}
else
{
while(!inFile.eof())
{
getline(inFile,line);
cout << "> " << line << endl;
}
}
getch();
}
Yasser El Shazly
16-Feb-11 1:03am
View
#include iostream.h
#include string
#include fstream
using namespace std;
Yasser El Shazly
16-Feb-11 1:02am
View
#include <iostream.h>
#include <string>
#include <fstream>
using namespace std;
Yasser El Shazly
16-Feb-11 1:02am
View
#include <iostream.h>
#include <string>
#include <fstream>
this is the header is there is any thing missed..?
Yasser El Shazly
15-Feb-11 23:29pm
View
Error: check valid night shift.cpp(31,27):Could not find a match for 'std::getline(ifstream,std::basic_string<char,std::string_char_traits<char>,std::allocator<char>>)'
Yasser El Shazly
15-Feb-11 23:27pm
View
when i use getLine(ifs,Line)
an error coming the error is
Could'nt fina a match for STD::getline(istream,std::basicstring
Yasser El Shazly
14-Feb-11 7:29am
View
now a fter i install Xampp i want to install Word press can you help me in doing that..?
thanks
Yasser El Shazly
14-Feb-11 7:22am
View
you really helped me thanks
Yasser El Shazly
13-Feb-11 2:11am
View
i want to Do that in access
i mean using VB
Yasser El Shazly
11-Feb-11 20:51pm
View
does not work
Yasser El Shazly
10-Feb-11 23:07pm
View
any one can help me in Solving that..please..?
Yasser El Shazly
10-Feb-11 22:50pm
View
i have another question i try to call Sql stored procedure From Access and i Make the connection
but this message comes
"[Microsoft][sql native client][sql server]OLE DB Provider Microsoft.Jet.OLEDB.4.0', Fro Linked Server AccessDBServer returned message the data base has been placed in a state by user 'Admin' on machin hp-pc that prevent it from being opened or blocked"
can you help me in solving this error
thanks..
Yasser El Shazly
10-Feb-11 22:40pm
View
yes i did
Yasser El Shazly
10-Feb-11 22:37pm
View
Fine
You really helped me
thanks
Yasser El Shazly
10-Feb-11 22:32pm
View
but this property does not give me the File name With the path
For EX: if i put the file in the path C:\Good\Nice\yaya.xls
the path returned will be Just C:\Good\Nice
and i want to get the full path that is my question
thank
Yasser El Shazly
10-Feb-11 15:25pm
View
i already Call it in side this Procedure i now change the Connection String
<p>
Dim ConnectionString As String
ConnectionString = "server=localhost;uid=Phil;pwd=ItsASecret;InitialCatalog = MyDb"
cmd.ActiveConnection = ConnectionString
</p>
this is the error
[Microsoft][ODBC Driver Manager]Data source Not Found and no default driver specified
can you help me in doing that..?
Yasser El Shazly
7-Feb-11 4:14am
View
sorry
Yasser El Shazly
5-Feb-11 15:08pm
View
i do your steps i create a new database and try to restore it but this error happen TITLE: Microsoft SQL Server Management Studio Express
------------------------------
Restore failed for Server 'HP-PC'. (Microsoft.SqlServer.Express.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476
------------------------------
ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing 'SQL' database. (Microsoft.SqlServer.Express.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
Yasser El Shazly
4-Feb-11 17:40pm
View
ItemsSource="{Binding}"
Cls_Medications Med = new Cls_Medications();
DataSet ds = new DataSet();
#region ---binding med Latin Names in Cmx_Latin---
ds = Med.List_AllMedLatinNames();
this.Cmx_Latin.DataContext=ds.Tables["Med"].DefaultView;
//-----------------------------------------------
this.Cmx_Latin.DisplayMemberPath = ds.Tables["Med"].Columns["Name_latin"].ToString();
//------------------------------------------------
this.Cmx_Latin.SelectedValuePath = ds.Tables["Med"].Columns["Name_latin"].ToString();
#endregion
Yasser El Shazly
23-Jan-11 16:44pm
View
i neeed pesudo code not explanation about what is vector qunatization..?
Yasser El Shazly
23-Jan-11 16:37pm
View
yes i have.. nothing i get
Yasser El Shazly
19-Jan-11 2:49am
View
thanks
i would like to say i will use it for exchange money just for that
but for now it is a good vision thank you
Yasser El Shazly
1-Dec-10 7:25am
View
yes it Save but no changes Saved on some photo but others Saved with changed Well can you gues why..?
Yasser El Shazly
1-Dec-10 0:40am
View
how can i do that..?
Yasser El Shazly
4-Nov-10 21:47pm
View
there is no .net4.0 in the combo box there is just .net 2.0 , 3.0 and 3.5 what i will do...?
Yasser El Shazly
9-Oct-10 11:16am
View
not much if you voted it
Yasser El Shazly
24-Sep-10 7:45am
View
ok I will try To write it in obvious way
Yasser El Shazly
22-Sep-10 7:00am
View
but What a bout Object Recognition in a given Image
Yasser El Shazly
22-Sep-10 6:59am
View
SO SO Thanks
Yasser El Shazly
22-Sep-10 5:02am
View
Explain Your Idea Again Please
Yasser El Shazly
21-Sep-10 19:40pm
View
Thanks
Yasser El Shazly
21-Sep-10 16:41pm
View
Thanks
Yasser El Shazly
21-Sep-10 15:56pm
View
I Just Ask if I want to Make Auto generation Code Project That is Required from Me Be Familiar With Operating System Or No ,Simply Just My Question
Yasser El Shazly
20-Sep-10 12:09pm
View
i know Tools What I gonna To use but my question is must i know Operating System To Continue Go ahead in this project and bout what i mean by auto generation Code For an image i going to Make Tool Help Programmers in Design there Web bages and Forms and ...
by graphical presentation can you help me and answer my question if you know ?
Show More