« first day (1012 days earlier)      last day (3940 days later) » 

12:00 AM
anyone here who can help me with asp
one short question
 
I"m baaaaaaaack
 
@CCInc wb
 
I hate teachers. They are comment whores hahahah
 
12:15 AM
your comments should have comments
// the following comment explains the code after it
 
I actually did comment the code, @JABFreeware right? With thinks like // you suck ass teacher
// best practice my ass
// you'd better like this code
// i hate teachers
 
// i know where you live
 
lulz
 
I find comments a bit smelly
 
//especially
int i = 0;
// when you have to comment
i++;
// the whole f'kin
i = 4;
// thing
Console.Write(i.ToString());
 
12:18 AM
i like them on methods, and sparingly in code
 
^ perfect
 
i hate 'todo's' in comments
 
I'm writing a thing with richtextbox in wpf and it is painfully slow
 
from scratch?
 
no using the richtextbox, adding highlighting on text matched by a regex
can't believe how slow it is
 
12:21 AM
whats the regex look like?
 
it is dynamic, you read a file, write a regex and then the matches are highlighted
like in VS when you find
 
are the regex's themselves the slow part?
 
no the regex is ms
 
like if you do a simple regex like /johan/, is it quick?
 
it is some frameworkthing that is slow
 
12:23 AM
Why this isn't firing the e.Commandname == "OpenMessage" command?

<asp:LinkButton ID="lbOpenMessage" runat="server" CommandName="OpenMessage" CommandArgument='<%#Eval("MessageID")%>'>
<a href="#messageContent" role="button" class="btn" data-toggle="modal">
<%#DataBinder.Eval(Container.DataItem, "Title")%>
</a>
</asp:LinkButton>
 
range.ApplyPropertyValue(TextElement.ForegroundProperty, new SolidColorBrush(Colors.Blue));
range.ApplyPropertyValue(TextElement.FontWeightProperty, FontWeights.Bold);
 
can a link button contain an <a> ?!
 
profiled it and that is the culprit
 
@drch no need to open #messageContent link and can't do that without ahref -.-
@drch and need linkbutton for the Eval's
 
12:45 AM
so nobody
 
I have this silly fear that I'm doing a really terrible job even though really I know I'm not. It's frustrating.
 
hey I have a menustrip that I want to resize if the maximize button is clicked
and I tried doing this: mainMenu.Size = new Size(mainForm.Width - 1, 0)
but the size of the strip doesn't change/show updated?
how can I fix this?
 
1:14 AM
wpf?
try mainForm.ActualWidth
also dockpanel might be nice for a menu
 
1:46 AM
no, it's winforms
 
2:44 AM
hey Andre, Yul
 
Yul
Hi @CCInc
anyone implement oauth or oauth2.0?
is there any specific (recommend )algorithm to generate client secret?
 
3:27 AM
Hello Everyone :)
@Md.ParvezAlam Hello Parvez
 
Hello @pibcat
Good Morning Every one
 
how are you?
 
fine, Thanks
How about you?
 
doing well
 
great
:)
 
3:37 AM
where are you from?
 
India
and you
 
USA
 
hmm... so it must be there late night hours
 
yeah, working on some silverlight issue
 
3:39 AM
are u familiar with Silverlight?
 
Nah, sorry bro
 
its alright
 
so you are having night shift, or work from home
 
wfh
 
nice
I have all exp in plain asp.net only
 
3:42 AM
nice
which company u work for?
 
digital avenue
 
 
1 hour later…
4:46 AM
Hi @programmer1
 
5:30 AM
today is a good day. Also good morning everyone
 
morning @SteffenWinkler
 
@MRS1367 morning :)
 
hey @SteffenWinkler, @MRS1367
 
hey @CCInc
 
hey @CCInc
 
5:31 AM
I just pwnd the QA team of our customer...that feels so good
(sadly I can't say much more than that.)
 
can anyone check this for me
it's about Web pages in IE 7
it not works for me
 
 
1 hour later…
6:56 AM
Hi @LewsTherin
 
Hey bud
 
7:12 AM
@LewsTherin -> can u help me with this
it not works for me.
 
Me and CSS are not pals. Sorry dude
 
 
1 hour later…
8:45 AM
@MRS1367 your still there?
 
Hi @Elegiac
 
hello @MRS1367 ^^
btw sir you mention you wrote sample codes?
 
@Elegiac -> check ur question
sry
 
okk sir ill try it rightnow :)
 
I've not enough time for writing better codes
I have only written a sample codes in a simple way
I have spent 12-13 hours to write codes for u, buddy and solve its problems and etc.
 
9:02 AM
@MRS1367 sir the one on 4shared i cant download ... im now trying to transfer to new form
really thanks for the big effort thats a lot of time sir
 
@Elegiac -> np
where is better place for uploading files?
 
try sendspace.com
your really a pro ^^
 
@Elegiac -> so, I upload the sample project in there and will update my answer.
 
ok sir thanks a lot :)
 
if u need the sample code for { character
plz let me know
 
9:05 AM
noted ...
 
and I will write it when I can.
 
hehe your really helpful sir^^ despite the fact that your a busy man also
really thanks for the help^^
im doing multitask now hehe
im assign to make c# and js c-editor at a time :/ hope i can do it
the time i transfer codes there only 1error exist which is 'rtbCodes' does not exist
within this line: AutoIndention(rtbCodes);
 
@Elegiac -> I update my answer now
 
ok sir
still same sir
is rtbControl should be rtb only?
 
9:23 AM
@Elegiac -> plz check again
 
ok sir
what a nice control ^^ ill remember all those words you inputted in script thanks a lot @MRS1367 ill accept it now :)
it worked for {}; yeah!
 
I upload the sample project file in SendSpace
@Elegiac -> I write codes in a way that you can easily change it to OOP
np :)
 
@MRS1367 whats the use of ( sir?
 
@Elegiac -> we are here for helping each others.
when user hits Enter key after ( char
 
hehe right^^ ... but only few people are like you ... some here are good in programming also but not in attitude
 
9:32 AM
cursor must place right below of the ( char
 
i see
i try ( }; but it doesnt work hehe ... but its ok i just told its for opening list
 
@Elegiac -> can u help me for my problem?
it's about Web pages in IE 7
it not works for me
 
you can post this is code project btw^^ many will be happy with this ctrl ...
webpage?
 
yes
 
what do you mean not work sir?
 
9:35 AM
@Elegiac -> my English is not very well
do it urself and post it on the CodeProject
do u read that?
 
yes sir
 
2 mins ago, by MRS1367
http://www.htmlremix.com/css/curved-corner-border-radius-cross-browser
for simulating curved borders in older IEs (8-7-6)
I want to use border-radius.htc file
 
ill try to research hope i can help sir
 
I read it and wrote the code lines. even, I downloaded some sample project for doing that
but it not works for me
I add this lines to my CSS file for older IEs
border-radius: 7px;
behavior: url(scripts/olderIEs/border-radius.htc);
 
do you mean something like this sir?
23
Q: CSS rounded corners in IE8

kevynI'm having issues with rounded corners in IE8. I've tried a few methods without success. Here is my code: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Page</title> <style> BODY { font-family: Arial, Helvetica, sans-serif; font-size: 0.8em; padding: 2px; ...

 
user142019
9:42 AM
Hi.
 
sorry i got not much info bout I.E , but im aware a lil bit about css and php but more on desktop app. only ... not good in web :( but ill still research if you need @MRS1367
 
@Elegiac -> tnx
@Elegiac lemme check it
Hey @rightfold
 
user142019
What's up.
 
sun is up
wheather is HOT
I'm a little busy ;)
 
user142019
9:46 AM
Me too; at work.
 
aw
i forgot something lol
 
@Elegiac -> forgot what?
 
i use RichTextBox also but a control named RichTextBox also ... actually control was like RichTextBox just different with the separators ... (attributes: System.Forms.RichTextBox)
so i dunno what to replace with the RichTextBox rtb coz it conflicted
 
so, if I understand correctly, u named one of ur used controls to "RichTextBox", right?
 
9:59 AM
name = RichTextBox
 
yes sir
 
so u must write this
rtb_Separators.RichTextBox
 
rtb_Separators.RichTextBox rtb ?
 
yes
if u want to use those type RichTextBoxes
 
yeah it worked lol imma slow :/ sorry about that sir
 
10:01 AM
np :)
 
10:11 AM
@MRS1367 very nice script sir hope i can manage to improve this
if that happens ill post it to code-project to share to others .xD
 
it's good. If you write the article for CodeProject, please refer to my answer in below of your article buddy :)
 
yep thats already on my mind lol ...
 
;)
 
but i think this is close enough
just needed some adjustment
for alignment but all needed was here
 
you should write a preface and some descriptions with a conclusion for it
and then, you should add ur improved codes to it
 
10:18 AM
ok sir noted thanks^^
btw sir i got a question but you dont need to answer it with codes, just needed opinion about it
 
in the final part of your article, you can add a link to your question and my answer
 
right now im using 2controls (C# and javascript) with 1richtextbox on it ...
and a combobox which serve for testpurpose
 
@Elegiac -> I asked u in prev days do u need to a sample code
 
i got separate list of keywords for c# and javascript
 
and u told me, yes
 
10:21 AM
no sir its not about the indention ... this is about separate question sorry about that
 
so, I started to write a sample code for u buddy
aha
sry
 
:)
 
so ask it
 
ok sir ill continue my question
right now im using 2controls (C# and javascript) with 1richtextbox on it ...
and a combobox which serve for testpurpose (item was "C#" and "JavaScript" with separate void ctrl assigned to it)
i got separate list of keywords for c# and javascript
same as highlighting
 
so...
 
10:23 AM
problem was everytime i run program, select a pl (in combobox), i still needed to refresh it or reselect loadfiles ... then highlighting will appear .
sample, for the word "as" as program runs 1st its color white
then when i select c# it turns to blue (since i assign blue)
then when i select javascript it still remain to color blue (since c# was my 1st item to select)
but it shouldnt be like that
 
Hi guys
 
hey @Md.ParvezAlam
 
how are you doing
 
@Md.ParvezAlam hes doing great he helped me in my codes ... thats really a big help from a pro
 
thats great , appreciate
 
10:27 AM
lemme check
 
btw sir @MRS1367 i uses a ctrl for it
ill find it w8
^^
 
@Elegiac imo, we are here to do the best we can for helping each other
@Elegiac -> can u solve ur problem?
 
this is my script sir
i even try rtb.UnHighlight(); but it doesnt work
its like the 1st selected item to highlight stock till the end
specially when a keyword from c#list was also in the keyword in j.sList
 
wait @Elegiac
wait @Elegiac
do u want this:
or this:
 
ill post ss sir w8
@MRS1367 so highlighting doesnt overWrite but always stock to 1st selection highlight and that makes it bug :/
and this is my code:
 
10:49 AM
u want to set different highlighting for ur keywords in C# and JS?
 
pastebin.com/rNU3reGZ coz i uses a control but based on a normal RichTextBox still just added separators
yes
 
have u created a control based on RichTextBox control?
 
i got the list in the code problem was it doesnt update everytime i reselect ... it stock to 1st selection :/ ... sample if i select "Javascript" 1st in combobox... all keywords for javascript will be highlighted to lightblue, but when i select c# it doesnt update but highlighting was same as javascript ... specially when a keyword was both on c# and j.s ctrl
 
hi
 
yes sir
 
10:55 AM
how it going
 
busy,,, and stress,,, but still happy :)
@MRS1367 btw sir i need to go in few minutes
 
what s problem
 
@Elegiac -> I'm checking ur problem
 
ok sir
i use some codes for this ctrl sir:
but i update it ...
 
@Elegiac -> I'm a bit busy
I'll check it
can u help me in my problem?
it not works for me
 
11:14 AM
it worked sir? it can be edit
 
I add this to my CSS file
but it not still works
 
ur using what sir? notepad++? sorry not familiar of webapps on how it works
but im familiar with css
btw sir have you try to download fix css templates?
so that you dont need to design much anymore
 
border-radius: 7px;
behavior: url(scripts/olderIEs/PIE.htc);
 
good morning/evening guys
 
hey @Mico
 
11:22 AM
:-)
 
@MRS1367 i got to go now ... thanks a for the help sir . tc bye ...
 
@Elegiac -> I check ur new problem later
bye mate
I'm a bit busy now
 
n.p sir ... thanks again .bye
 
11:59 AM
hey guys...I've kind of a weird question: I want to find out if I've write access to a specific directory without actually writing/creating a file (could be a write-once medium and I don't want to ruin it with a testfile). The method has to work on Linux and on Windows operating systems and it should also detect writing capabilities over a network connection (for example if I'm connected to a NAS)
is there a way to do that?
 

« first day (1012 days earlier)      last day (3940 days later) »