15,896,063 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 Nico_Travassos (Top 75 by date)
Nico_Travassos
8-Jan-15 9:58am
View
icons i have stored in xaml file
Nico_Travassos
8-Jan-15 9:54am
View
Looks good but how do i add {DynamicResource appbar_smiley_grin}
Nico_Travassos
8-Jan-15 9:50am
View
cant see the code?
Nico_Travassos
8-Jan-15 9:48am
View
Check my answer something like that but in status bar with text next to it
Nico_Travassos
8-Jan-15 9:44am
View
Deleted
No something like this
<rectangle width="13" height="13" fill="{Binding Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}">
<rectangle.opacitymask>
<visualbrush stretch="Fill" visual="{DynamicResource appbar_smiley_grin}">
Nico_Travassos
21-Oct-14 8:32am
View
It does have many person because if you look at my movies.cs i got --> public virtual ICollection<People> MovieProducers { get; set; }
Nico_Travassos
21-Oct-14 8:05am
View
Check my solution 2 see what i did is correct?
Nico_Travassos
21-Oct-14 7:31am
View
MovieProducer is many to many relationship in database so apparently i dont need the class i can just use below example to auto create the table for me is that no correct
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity().
HasMany(c => c.Students).
WithMany(p => p.CoursesAttending).
Map(
m =>
{
m.MapLeftKey("CourseId");
m.MapRightKey("PersonId");
m.ToTable("PersonCourses");
});
}
Nico_Travassos
21-Oct-14 7:25am
View
What i was trying to do is some like this but im not sure how to do it with the above example
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity<course>().
HasMany(c => c.Students).
WithMany(p => p.CoursesAttending).
Map(
m =>
{
m.MapLeftKey("CourseId");
m.MapRightKey("PersonId");
m.ToTable("PersonCourses");
});
}
Nico_Travassos
9-Oct-14 5:10am
View
Thanks alot man
Nico_Travassos
9-Oct-14 5:10am
View
Okay thanks i fixed it i used this url : '/Home/Contact' Lol had the wrong slash
Nico_Travassos
9-Oct-14 5:08am
View
Did that im getting this error --> Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:53871/HomeContact
Nico_Travassos
9-Oct-14 4:41am
View
I made no change to route config.
Nico_Travassos
9-Oct-14 4:20am
View
Both don't work :( Does not even hit the breakpoint i set in contoller.
Nico_Travassos
25-Sep-14 3:09am
View
The way i did it is incorrect
Nico_Travassos
25-Sep-14 3:09am
View
I need help adding the QuestionText to the database using above code
Nico_Travassos
12-Aug-14 4:22am
View
Problem solved
Nico_Travassos
12-Aug-14 4:22am
View
Thank you so much :)
Nico_Travassos
12-Aug-14 3:31am
View
Just checked now i'm getting a single value.
Key: 23
Nico_Travassos
12-Aug-14 3:17am
View
Line 24 : string active = @group.First() == item ? "active" : string.Empty;
I did use the debugger. Cant figure out why its happening.
Nico_Travassos
22-Apr-14 15:40pm
View
I know how to do a loop but this one is rather confusing i'm still a beginner at this.
Nico_Travassos
3-Apr-14 17:13pm
View
Perfect thanks
Nico_Travassos
3-Apr-14 14:52pm
View
i want one button that starts a console application and if you click the same button again it will close console application the code in button i placed on site is if the but is clicked "Start" then the text of button will change to "Stop" and if you click that it will close the console app
Nico_Travassos
30-Mar-14 14:17pm
View
so i must not use the foreach statement
Nico_Travassos
30-Mar-14 13:47pm
View
yes
Nico_Travassos
30-Mar-14 13:38pm
View
im not sure how to finish off the foreach statement because everything i try does not work
Nico_Travassos
27-Mar-14 11:58am
View
first loop is for ingredients and 2nd loop is for methods
Nico_Travassos
11-Mar-14 7:04am
View
Deleted
?? how does that help me?
Nico_Travassos
9-Mar-14 13:31pm
View
Im looking for a control that some has already created or someone can create for me i can show you a image but how on codeproject
Nico_Travassos
5-Mar-14 6:19am
View
page.php
ob_start();
include('Templates/Login/_header.php');
$buffer=ob_get_contents();
ob_end_clean();
$buffer=str_replace("%TITLE%","Login",$buffer);
echo $buffer;
header.php
<title>%TITLE%</title>
Nico_Travassos
5-Mar-14 6:18am
View
i found the problem thanks for your links :)
Nico_Travassos
5-Mar-14 6:09am
View
i have tryed most of those they don't work for some reason but i will do more research thanks
Nico_Travassos
20-Feb-14 17:58pm
View
I tried to understand it but was not certain about it.
Nico_Travassos
5-Feb-14 11:05am
View
Thank you
Nico_Travassos
5-Feb-14 11:05am
View
Thank you
Nico_Travassos
5-Feb-14 10:57am
View
so basically just remove TryParse and keep int
Nico_Travassos
22-Jan-14 5:52am
View
ya very helpful
Nico_Travassos
22-Jan-14 1:59am
View
Does not work um must you not add the picture so you can view where your mouse is pointing?
Nico_Travassos
22-Jan-14 1:30am
View
i am asking something like windows magnifier but it must not zoom in anything it must just display in picture box what your pointer is on
Nico_Travassos
22-Jan-14 1:27am
View
Deleted
okay but thats not what im asking for.
Nico_Travassos
22-Jan-14 0:51am
View
Does not work Error: Cannot implicity convert type "bool" to System.Windows.Forms.PictureBox
Nico_Travassos
22-Jan-14 0:34am
View
objPct.Image = Image.FromFile(@"~\abc.png");
Why is image being imported here
Nico_Travassos
21-Jan-14 23:36pm
View
Windows forms
Nico_Travassos
2-Jan-14 14:47pm
View
Okay i added a index.php which i never had which is the 1st script i added where if you not logged in it will show Page/cnp-login when it loads thats it still sits on index.php okay so if you login it still sits on index.php but it includes panel.php so when i click dashboard.php which is in same folder it does not replace the content it show 403 error its ment to show dashboard.php inside my container which is in the second script i put up.
Nico_Travassos
2-Jan-14 14:41pm
View
hey man would you like to try another auth system very secure?
Nico_Travassos
2-Jan-14 14:33pm
View
Yes thank you thats much clear
Nico_Travassos
2-Jan-14 14:19pm
View
Its showing 403 error it was working fine but since made those changes its not working
Nico_Travassos
2-Jan-14 13:01pm
View
Im not 100% sure what you mean and if i click close will the error close?
Nico_Travassos
22-Dec-13 10:34am
View
i am trying not to use jquery do you not have a solution for php
Nico_Travassos
18-Dec-13 2:54am
View
Hey man quick question in the nav what must i put in the href if im using this jquery script
Nico_Travassos
18-Dec-13 0:16am
View
Can i maybe email you my code and you can add it and test on it?
Nico_Travassos
18-Dec-13 0:15am
View
i have added the return false
Nico_Travassos
17-Dec-13 15:03pm
View
it does not work it takes me to my dashboard page
Nico_Travassos
17-Dec-13 12:07pm
View
hey man can i place this in my <head> ? and leave my container blank will it pick it up and will it pick up if it is a php file?
Nico_Travassos
17-Dec-13 10:07am
View
Yes Sure, is there any problems using ajax and how would i do it?
Nico_Travassos
13-Dec-13 16:11pm
View
thank you
Nico_Travassos
11-Dec-13 15:31pm
View
script updated
Nico_Travassos
11-Dec-13 15:31pm
View
i have given you the script
Nico_Travassos
11-Dec-13 14:56pm
View
its a basic slider
Nico_Travassos
11-Dec-13 5:11am
View
i could but every time the slider goes to next image every 30 secs it will reset the register form
Nico_Travassos
29-Oct-13 23:22pm
View
im am getting a error with imput checkbox
Nico_Travassos
26-Oct-13 18:02pm
View
im asking am i inserting the data in tables correctly or is there a better way?
Nico_Travassos
26-Oct-13 18:01pm
View
there is no problem im asking am i inserting the data in tables correctly or is there a better way?
Nico_Travassos
25-Oct-13 7:46am
View
is there no way u can do thru a application
Nico_Travassos
18-Oct-13 16:22pm
View
hi would i have to pull the link from database?
Nico_Travassos
17-Oct-13 11:38am
View
$query = "SELECT name, date, time, queue FROM sms_traffic_db.table_data WHERE date = CURDATE()";
Okay sorted it out CURDATE works i used it wrong
Thank you
Nico_Travassos
17-Oct-13 11:38am
View
$query = "SELECT name, date, time, queue FROM sms_traffic_db.table_data WHERE date = CURDATE()";
Okay sorted it out CURDATE works i used it wrong
Nico_Travassos
17-Oct-13 11:33am
View
i have tried CURDATE(Current date = today) and NOW and Date does not work
Nico_Travassos
17-Oct-13 11:31am
View
Does not work. it clears my table.
Nico_Travassos
17-Oct-13 10:43am
View
Sorry about it man i sorted it out thanks for showing me the way il post my code in solution
Nico_Travassos
17-Oct-13 8:43am
View
hey man it does not work
Nico_Travassos
16-Oct-13 18:21pm
View
sorted it out
Nico_Travassos
16-Oct-13 16:36pm
View
does not work because the if statment does not pick up $login failed
look at my login code below and tell me what should i put in if statement
Nico_Travassos
16-Oct-13 4:02am
View
Thank you it works
Nico_Travassos
16-Oct-13 3:03am
View
its fixed my mistake i forgot to set $_SESSION['name']
thanks
Show More