15,899,475 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 Nizar Belhiba (Top 12 by date)
Nizar Belhiba
19-Apr-20 15:37pm
View
Yes. And every thing is fine. Just the view dont show. And i get the message this function cant be load Http Error 415
Nizar Belhiba
19-Apr-20 15:16pm
View
Yep, you are right. BUT to be honest, as always had a breakpoint I did never noticed that the website didn't show up. I always just check if my List in my Controller get propper filled as I wished without continuing above that point.
And meanwhile, I had some other issue to deal with so when I came back and removed the breakpoint I've just noticed the issue
Nizar Belhiba
17-Apr-20 8:07am
View
Sorry @F-ES Sitecore I updatet the code
I tried within my click Funktion with $('#btnClick').click(function (e) {
canvasFields = [{
id: 1,
recStartx: 2,
recStarty: 3,
recWidth: 4,
recHeight: 5
},
{
id: 2,
recStartx: 2,
recStarty: 3,
recWidth: 4,
recHeight: 5
}];
$.ajax({
url: "@Url.Action("GetCanvasFields")",
type: 'post',
contentType: 'application/json',
data: JSON.stringify(canvasFields),
success: function () {
alert("yes");
},
error: function (errMsg) {
alert(errMsg);
}
})
});
and here it did work but as soon I keep canvasFields.push(canvasField); I get result null
Nizar Belhiba
17-Apr-20 8:03am
View
Deleted
Sorry I update my code, it was due that I changes several time the names to test. but that is the final version.
The thing is
If I delete canvasFields.push(canvasField); I get in my methode List count = 0..
but if I keep it I get null
so somehow the pb is with filling the canvasFields array
Nizar Belhiba
16-Apr-20 15:08pm
View
unfortunately that was not the issue, I know how to serials and deserials a json string/file in c#. Even if I change my method to get a string it's still empty.
Nizar Belhiba
14-Apr-20 18:51pm
View
Thank you :D
Nizar Belhiba
5-Apr-19 3:41am
View
Thaaaank you.. and yet learned something new
Nizar Belhiba
5-Apr-19 3:41am
View
Thaaaank you.. and yet learned something new
Nizar Belhiba
21-Mar-19 9:32am
View
thanks, I already have seen that post, but there isn't there much information (at least for me) on how to connect /add a new Filter.
Nizar Belhiba
21-Mar-19 9:23am
View
Sorry.. as I posted a tag "Directshow" I thought GSSF will be known.
I got the Sample from the DirectShow SDK
and Yes I've asked at DirectShow .NET, but a the same time here as well, as DirectShow.NET seems to be dead, there are only 3 posts over there from this year (two from me), all other are more than 1 year old.
Nizar Belhiba
10-Jan-19 4:16am
View
Deleted
unfortunatly the article you provided regarding c# was deleted
Kindly see my update above I've partially managed the task. still I have one issue regarding the processing time
Nizar Belhiba
8-Jan-19 8:39am
View
Sorry I have already found that Thread but the DirectShow sample Project is in c++, and I've been trying to convert it to c# since weeks.
Second, unfortunately I have to use DirectShow and not ffmpeg and in the second answer the hint to use IMediaSeeking SetPostion as I mentioned in my Question is maybe good but unfortunately not good enough to me, I need more explanation.
And unfortunately the article in the link you provided regarding c# has been deleted.
Anyway, I have found and a solution, I'have post what I have done so far. Still working to finish it, once it's done I'll post the code as an answer
Show More