15,886,873 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 Ahmad_kelany (Top 43 by date)
Ahmad_kelany
19-May-22 5:33am
View
You're welcome
Ahmad_kelany
14-Feb-22 11:59am
View
Thanks for the reply,
Did that, didn't work, I am beginning to think that it is a missing feature in Blend 2022.
Ahmad_kelany
21-Aug-21 8:04am
View
Thanks for replying
I was able to get more info about the exception,
I added exception info to it..
Does this help?
Ahmad_kelany
23-Aug-20 18:14pm
View
Sir,
In the third line of my question I said that I referenced the .dll file produced by the 2.0 standard, and I still got the exception,
Me trying to use Nuegt package was just trying another approach to avoid the exception, not using it "just because" ..
And the .dll file and the Nuget package work fine in other projects, be it WPF or winForms,
So clearly the issue is not in the .dll file or in the Nuget Package,
As I said, there is an issue in the project situation, and I'am trying to figure it out, why does it give me that exception despite the package referencing 2.0 standard not 2.1?
Notice that the exception says that it couldn't find 2.1 standard, but the inner exception says it can't find 2.0 standard..
Verily it seems that I am missing something, but I still don't know what? or how to investigate further.. 😅
Ahmad_kelany
22-Aug-20 17:16pm
View
I tried it with a complete WPF project, and with a new Winforms project, and it worked fine in both cases, as I stated in the question,
As I said, probably the problem is not in the frameworks, but in the project's specific situation,
And I totally agree with your last line, I used 2.1 standard for a certain feature, but as it was incompatible with 4.8 framework, I foregone that feature and went back to 2.0..
My main question is how to investigate that exception and what causes it..
Ahmad_kelany
22-Aug-20 2:37am
View
1. yes, I did.. same exception.
2. 2.1 was a .dll file not a nuget, the nuget package is 2.0 from the start, and I deleted that .dll file.
Ahmad_kelany
28-Nov-19 7:06am
View
Thanks for the reply,
I tried that, but apparently this is very old and not how things work now, the code from Github simply doesn't work, it doesn't allow me to sign into my OneDrive, nor does it allow using the api without signing in.
Ahmad_kelany
15-Nov-19 10:28am
View
Yes,I am aware of that,
Maybe I didn't clarify my problem well, what I mean is the command's can execute which determines if the button is enabled or not, that method depends on the errors collection of the view model,
when a conversion exception occurs (like when you enter a text in a text box bound to deciaml) the errors collection is not affected (because the property setter is never called) and hence the can execute of the command doesn't return false..
Ahmad_kelany
14-Dec-18 15:13pm
View
This doesn't work.
Ahmad_kelany
6-Dec-18 8:11am
View
Thank you very much.
Ahmad_kelany
6-Jun-18 11:43am
View
Thanks for the clarification,
It makes sense now.
Have a nice day.
Ahmad_kelany
6-Jun-18 6:37am
View
That was what I did in the very beginning, but unfortunately that doesn't work either.
Ahmad_kelany
6-Jun-18 6:34am
View
Hello,
Thanks for replying,
Its type is decimal.
At first I wasn't doing all these conversions, but that doesn't work.. so I am just trying blindly here because I don't know precisely what causes the issue.
Ahmad_kelany
5-Jun-18 12:59pm
View
Alright,
Apparently my interpretation was a bit off. :)
I tried some other OpenType fonts and it printed normally.
So the problem is not whether the font is OpenType or TrueType, but still I can't identify what causes the issue.
Ahmad_kelany
5-Jun-18 11:28am
View
Hello Gerry,
Thanks for replying,
What fonts are the RDLC "files" looking for? (It's XML).
It is not missing fonts at all, so it is not looking for fonts,
the fonts are all installed on the PC, and the problem manifests when the font property of any element in the report is set to any OpenTypeFont (e.g. Diavlo,Fertigo).
What does "print" mean? To PDF? A printer? Which printer? Drivers up to date?
to PDF or to a printer raises the same issue, and all the drivers are up to date.
Recompiled the app with the latest release?
did that with no avail.
Which fonts? Installed?
the ones I tried are :
(TektonPro,Diavlo,Fertigo) all are OpenType fonts => raises the issue.
(Cairo , NotoNaskhArabic , ae_Alhor) all are TrueType fonts => no issue..prints normally.
All these fonts are installed on the PC.
Ahmad_kelany
30-Nov-17 16:49pm
View
Thanks very much!
You're a life saver :)
Ahmad_kelany
2-Apr-17 10:59am
View
That I don't know, the project builds and runs perfectly in debug mode with no errors,
and the failing installation attempt is done on the same machine that I develop on.
Ahmad_kelany
2-Apr-17 10:24am
View
Thanks for your reply,
Yes I checked and it's included.
Ahmad_kelany
16-Sep-16 13:45pm
View
a DataTrigger is required not a simple Trigger in the DataTemplate
setting a Trigger Property="IsSelected" Value="True" in the DataTemplate doesn't do any thing because the DataTemplate doesn't have an IsSelected Property
to make this work one need to use a DataTrigger that monitors an IsSelected property (or whatever one choose to name it) in the underlying class
Ahmad_kelany
16-Sep-16 12:15pm
View
I can
i was hoping to find an easier solution using XAML and blend only without having to change the class
because not always i will be in a situation with access or privilege to modify the underlying class
Ahmad_kelany
16-Sep-16 12:04pm
View
thanks very much , I kept updating the question not knowing what's wrong :)
Ahmad_kelany
28-Apr-16 14:34pm
View
works like a charm
thanks very much
Ahmad_kelany
7-Aug-15 16:17pm
View
I have been googling for the past couple days :)
the two solutions I tried above were all I got
I guess it is time to hit the googling road again and hope for a different outcome :)
Ahmad_kelany
7-Aug-15 16:10pm
View
I did ,
thanks
Ahmad_kelany
7-Aug-15 16:08pm
View
I saw the logs as you suggested but nothing interesting
the first log entry is when I manually start the sql server service
and then every thing is normal
the problem is that is does not start automatically as it should as its start up type is set to automatic
Ahmad_kelany
7-Aug-15 15:49pm
View
no I can start the service manually with out needing a password
the annoying part is that I have to do that every time the system restarts
Ahmad_kelany
7-Aug-15 15:46pm
View
I will and get back to you
Ahmad_kelany
7-Aug-15 15:45pm
View
I did that as I mentioned above
I set the start up type to automatic
but it doesn't start when the system start again
Ahmad_kelany
16-May-15 0:14am
View
thanks very much
have a very nice day
Ahmad_kelany
14-Sep-14 0:14am
View
thanks again,
i will try this out and keep you posted
Ahmad_kelany
14-Sep-14 0:12am
View
thanks for reply
having a specific printer is the business owner's decision , my job is to make it work.
as for the ZBI manuel the problem is not it is not understandable , but it does not provide any clues on how to use it in VB application.
Ahmad_kelany
14-Sep-14 0:09am
View
thanks for reply
i did research as i mentioned in the question , the problem was i couldn't find a way to bridge between vb and the printer directly i even downloaded a third party component but it was not a great help either , it only could hypothetically draw the barcode but with no apparent means to print it multiple times programmatically ,
Ahmad_kelany
30-Jun-14 11:45am
View
Thanks for your time & effort :)
i guess i will need to read more about Linq to entities behinde-the-scene operations to better right my queries.
thanks for pointing me to the right direction .
have a nice day
Ahmad_kelany
28-Jun-14 11:45am
View
i ran some tests & updated my question,
would you kindly give it another look please ?
thanks
Ahmad_kelany
23-Jun-14 9:27am
View
Thanks ,
i will try to modify my code & edit my question accordingly
Ahmad_kelany
12-May-14 9:43am
View
Thanks for reply , Shai ,
But still , this code isn't working with me !!
I use visual studio 2013 , does this have something to do with anything ?
Ahmad_kelany
13-Apr-14 23:51pm
View
Thanks Very Much
i will try studying those solutions and pick one that fills my needs
Ahmad_kelany
12-Apr-14 18:07pm
View
There is two copies because the application functionality is needed in two different places remote from each other ..and on the other hand i am not familiar with other methods to achieve this goal
Ahmad_kelany
6-Mar-14 14:59pm
View
thanks very much
my mind was so winform oriented that it completely passed my mind about bubbling events
so the solution for me was to handle the click event of the parent-most container directly
thanks again
Ahmad_kelany
6-Mar-14 14:57pm
View
thanks very much
that was really helpful
i glanced at the article , but i will read it more carefully after i go home from work
thanks again
Ahmad_kelany
1-Oct-13 9:14am
View
thanks for your reply
i don't understand your answer very well though,
thanks
Ahmad_kelany
17-May-12 5:04am
View
Deleted
thanks alot,
i tried your solution though but i still get the exception
the combobox cell is populated with data without problems,
the exception is thrown when it loses focus
the exact exception message is :
The following exception occurred in the datagridview :
System.argumentException :datagridviewcomboboxcell value is not valid
To replace this default dialog please handle the dataerror event.
Ahmad_kelany
17-May-12 4:58am
View
Thanks alot for answering,
i tried your solution though, but i still get the exception,
look,the combobox cell is populated with data with no problems,
the exception is thrown when it loses focus
the exact exception message is :
the following exception occured in the datagridview:
system.argumentexception :datagridviewcomboboxcell value is not valid.
To replace this default dialog please handle the dataerror event.
Show More