15,904,346 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 LighthouseCall (Top 17 by date)
LighthouseCall
17-Apr-15 5:42am
View
You sir, are the man!
Thank you so much, works perfectly.
I wish you a great weekend!
LighthouseCall
17-Apr-15 5:36am
View
Not sure if this can help, so far what I understood is that we need some kind of HTML node rather than a text one.
http://www.w3schools.com/js/js_htmldom_nodes.asp
LighthouseCall
17-Apr-15 5:20am
View
Trying to debug and see what I can do, but I'm a bit clueless with all this new code.
with 'range.insertNode(span)' the selected text simply disappears.
I put alert(span); to check span is not somehow losing it's value, which is not the case.
LighthouseCall
17-Apr-15 5:05am
View
Hey! It's sticking to the selected/highlighted one now, but instead of making it bold I actually get the '<span style="font-weight:bold;">' in the text.
Once again, thanks for your answer. I don't want to take up too much of your time, you've been very helpful.
LighthouseCall
17-Apr-15 4:32am
View
Hi, thankyou for your answer, I had no idea about this. However, I tested your line of code;
document.body.innerHTML = document.body.innerHTML.replace(new RegExp(highlight , 'g'), span);
and now all the instances turn bold. (like in the example above, all hello's would go bold.
Thank you for you answer though.
LighthouseCall
3-Mar-15 10:18am
View
Yes I'll be using very particular features for my projects. Thanks for your reply, however help with JavaScript is what I need at the moment.
LighthouseCall
21-Jan-12 18:40pm
View
Works wonders! Thanks!
LighthouseCall
25-May-11 3:15am
View
using (SqlCommand command = new SqlConnection...
I think you meant new SqlCommand right?
I'll try the code in a minute. Thanks.
LighthouseCall
24-May-11 13:34pm
View
' DROP TABLE MS4 -- ? Didn't get that part.
By it doesn't work well for me, I mean that the table is fine, but the value does not increment as it should.
LighthouseCall
25-Mar-11 11:11am
View
If I save to C: (and not K: [for example] which is a usb drive, i get this error)
A generic error occurred in GDI+.
LighthouseCall
25-Mar-11 9:52am
View
Deleted
Works Perfectly, Thank you.
LighthouseCall
21-Mar-11 11:52am
View
Yes of course..
LighthouseCall
21-Mar-11 10:42am
View
Yes I did find this when I researched it a bit.
But when I tried to call "test" I was still getting an error saying cannot convert from string to stream..
Maybe it isn't test i have to call?
LighthouseCall
21-Mar-11 10:41am
View
Yes I did find this when I researched it a bit.
But when I tried to call "test" I was still getting an error saying cannot convert from string to stream..
Maybe it isn't test i have to call?
LighthouseCall
20-Mar-11 14:42pm
View
Hence why I needed them in the resources. Anyways it's fixed now.
LighthouseCall
20-Mar-11 10:44am
View
I'm building a simple piano. Therefore the sound file is like 2 seconds in length. The problem is portability, I work on it both at home, school, etc. If i leave the player.URL at K: drive, if the program is launched from another port, for example E: , the sounds won't load. Hence I need them in the resources. I don't know if I'm explaining myself enough.. Sorry if I'm not;
LighthouseCall
11-Feb-11 10:15am
View
Collection<chartime> charTimes = new Collection<chartime>();
gives an error:
Error 1 The non-generic type 'TimeCapturing.Collection' cannot be used with type arguments.
Show More