« first day (417 days earlier)      last day (4537 days later) » 

8:10 AM
@username yes. I recommend NLog (although I use log4net). Log4net is no longer developed
 
8:45 AM
Hi @yas4891 . NLog is what I use now =)
 
@username good :)
 
8:59 AM
log4net has been resurrected. There has been tremendous activity in the past 4 months.
 
@PreetSangha indeed ?
 
Yes I was lurking on the dev mailing list until two months ago. The clr 4 version was kicking along. Lots of bugs were being fixed too.
 
9:18 AM
good
I'll have a look. thanks
 
9:39 AM
 
 
2 hours later…
11:15 AM
hi all,
how do i know that the svg is valid?
thanks
 
you think i didnt look before i ask
 
11:36 AM
Captain Obvious to the rescue...
If you don't say what you did or what your constraints are, you will just get help which is not useful for you. And in the process annoy your helpers.

First google result for "svg validation" gives you http://jiggles.w3.org/svgvalidator/ .
This tool has been discontinued, sure, but the source code is available for download.
So, you download the source code and use the tool to validate your SVG.
Does this not solve your problem?
*what you did = what you already tried
 
0
Q: convert svg to image programatically

astrocybernauteim trying to convert my svg to an image i ve been looking into several tools and still cant make this hapen :( now im trying SVG rendering engine but im having trouble with it since it has no documentation this is my code: using (FileStream fileStream = File.OpenRead(@"C:\sample.svg")) ...

that is all the details about my problem
and i did try to download the source .;it doesnt work either
i havent found something else yet
 
So much better. :)
I guess svg.Draw() is returning null?
 
i guess so..or svgDocument that is null
 
Can you debug it and check what is null? Either svgDocument or the result of .Draw() .
You need to know which is null, to pinpoint the problem.
Maybe changing the line to
var bitmap = sampleDoc.Draw();
bitmap.Save(imagePath);
This way you get the NullReference in one line and you know which is null.
 
gives error on svgDocument.Draw();
line
 
11:51 AM
So svgDocument is null.
> im having trouble with it since it has no documentation
The best documentation is the source code... it never gets outdated. ;)
http://svg.codeplex.com/SourceControl/changeset/view/63210#1540864
I'm at a loss, sorry. Maybe you can download the source and debug it.
It seems it would set the svdDocument when finding the first Xml node... which is definitely there.
 
ok thanks :)
 
np
 
 
2 hours later…
2:10 PM
can somebody answer this question stackoverflow.com/questions/8323131/…
 
That question already has an accepted answer.
Does it not answer the question after all? Or?!?
 
it answers some part but not all of them T_T
I really want to make a dynamic datagridview filter but there is no existing tutorial for it
T_T
 
I don't understand, from my point of view it seems to answer everything.
Which part is not answered?
 
2:27 PM
i dont know what to put in the update datatable method ==_==
 
That is a different question, then. :p
 
and the SetMainForm(this) doesn't work
 
But, well.
How do you populate the datatable?
The process of updating should be similar.
 
ill also use this?
conn.Open();
MySqlDataAdapter MyDA = new MySqlDataAdapter();
MyDA.SelectCommand = new MySqlCommand(sql, conn);
MySqlCommandBuilder cb = new MySqlCommandBuilder(MyDA);
DataTable table = new DataTable();

MyDA.Fill(table);
return table;
 
It would most likely work just fine. You would need to update the SQL to filter by your keyword, of course.
But this approach is probably less than ideal. Perhaps after you get it to work you can look into how to do it properly.
 
2:31 PM
ok i'll try
 
I can't help you with that though, not my area of expertise. :)
 
T_T
I have a syntax error oh my god
is there a tutorial for this or something? problem which are similar?
 
Probably. I can't help with that though.
What sort of syntax error? SQL, or C#?
 
c#
i followed this format
mainForm.UpdateDatatable(txtSearchWord.text);
but it gives me an error
system.windows.forms.textbox does not give definition to text
 
That's too basic an error to find tutorials.
You probably want .Text , with PascalCase.
What are you using for editing? Visual Studio?
 
2:44 PM
yes
Mr. ANeves do you have any suggestions on how to search/filter my datas in the datagrid w/c is simple?
 
You have intellisense then.
put the cursor next to the dot and press ctrl+space to get the autocomplete.
Suggestions? You should search a bit by yourself, it's not too hard to find something useful.
Here, I think this might help: http://stackoverflow.com/questions/1239525/c-sharp-winforms-datagridview-with-sorting-filtering-like-ms-excel
(Also, please drop the "Mr."... it feels so awkward on the internet, when not used jokingly!)
 
Thank you very much for your help! :))
 
You're welcome.
 
3:06 PM
Oh! YES!
I've already found the answer thanks mr aneves
 
 
3 hours later…
5:45 PM
hi all
plz help with my roblem
0
Q: convert svg to image programatically

astrocybernauteim trying to convert my svg to an image i ve been looking into several tools and still cant make this hapen :( now im trying SVG rendering engine but im having trouble with it since it has no documentation this is my code: using (FileStream fileStream = File.OpenRead(@"C:\sample.svg")) ...

thanks
 
 
2 hours later…
7:46 PM
Hello! Is there any C# collection that allows strings as indexes?
 
dictionary ?
 
Like Dictionary<string, object>?
 
Hola amigos!
Como estan?
 
dobre
and hating this legacy code
theory / approach question -- say for instance you have a unit test that has something like this ...
_classUnderTest = new SomeClass(mockedDependency1, mD2, null, null, null)
does that scream code smell?
 
8:25 PM
That looks like something I just wrote which accidentally turned out to be clever.
 
doesn't "clever" typically end up being "a huge pain to maintain"?
 
Or the winner in some "obfuscated <insert language> code" contest
 
hehehe
 
8:41 PM
@jeriley Okay, so it didn't really look like that.
 
@mootinator I hope not ... I'm wondering if its doing too much
 
Could be.
 
9:01 PM
Speaking of clever being unmaintainable.
 
mm?
 
I just spent an inordinate amount of time tracking down the fact that my IDE converted a tab separated value to four spaces.
All because I wanted to copy/paste from Excel instead of using normal syntax.
 
hhehehehe -- copy/paste code, the best kind!
unit tests didn't pick that up? :-)
 
Unit what?
This is just a small app I'm trying to slap together in an afternoon =)
I won't regret not writing unit tests until it somehow becomes the program which does everything.
 
isn't that how it always starts?
 
9:07 PM
Exactly.
I know my excuse sucks.
 
wasn't going to say a -word-
 
9:24 PM
good evning
to all
 

« first day (417 days earlier)      last day (4537 days later) »