15,885,998 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 Jackie00100 (Top 81 by date)
Jackie00100
17-May-14 22:59pm
View
Yes, I read somewhere I needed to add the cookies to the request my self but it still failed
Jackie00100
15-May-14 16:07pm
View
Yes but doesn't really seem to give a clue on what/how to fix it
Jackie00100
16-Jan-14 14:59pm
View
okay, I'll try an other approach, maybe use a html document and invoke the JavaScript that way, even that it sadly feels like a big hack around.
Jackie00100
16-Jan-14 13:49pm
View
I see, so there is really no way of doing the same in C#?
Jackie00100
26-Nov-13 12:24pm
View
Well you could always write a algorithm running in polynomial time to decide whether a given comment is sarcastic ;)
Jackie00100
26-Nov-13 6:47am
View
I'll give that idea a shot Thanks mate :)
Jackie00100
26-Nov-13 6:44am
View
The dots made it seem like you didn't meant it :D but nvm
Jackie00100
25-Nov-13 21:54pm
View
Thanks, Another thing I though about was to simply use datamining, and store data about where the most people would prefer sitting which is another fun idea I've been trying to put on the drawing board. But for now it seems I'm going for a sort of weights, either by masking or by a simple "length" calculation.
Jackie00100
25-Nov-13 21:46pm
View
Magic! got it :D - hehe all seriously - I do have a bit knowledge about this but never really understood how to calculate it probably, and never really have much interest in it either which I will agree on is sad and really lazy to say. I kinda get that tree structures run at log(n) if I remember correctly, binary search and such. I've tried to read on it multiple times but I tend to forget it fast afterwards. I'll have another look in near future, probably worth the while!
Jackie00100
25-Nov-13 21:33pm
View
Deleted
Sarcasm??
Jackie00100
25-Nov-13 21:33pm
View
Sarcasm?
Jackie00100
25-Nov-13 19:11pm
View
Well I guess I'll stick with some sort of weights - I'll give it a shot :)
Jackie00100
25-Nov-13 19:08pm
View
Well, I've always been glad to have all the cards on the table, I feel sometimes it's better to take the extra time needed to think about an optimal solution rather than the fast (and maybe even less optimal), also the calculation is needed to be calculated on a server where from my knowledge a lightweight solution is preferable.
Jackie00100
25-Nov-13 18:47pm
View
Time complexity have never been my cup of tea so sorry for any mistakes made :) but any how, it does right now run in what i believe should be N^2 (a for loop with a nested loop yes?) but it does check multiple seats each time as it check both up, down, and the sides. I read what you've wrote, but still doesn't seem completely obvious to me.
Jackie00100
25-Nov-13 18:41pm
View
I did think about doing this too but I tried to wrap my head around if there were any better solutions - that's what caused this question in the first place :)
Jackie00100
25-Nov-13 18:36pm
View
I kinda did define which we've chosen as the "best place" Quote: the best place is always right in the middle and as you move forward/backward or left/right the place slow.y becomes worse. eg the worst place would be in a corner.
Jackie00100
25-Nov-13 18:33pm
View
It do wanna give the customer the option to change but I'm also thinking of trying to give it a test run where the system should be able to assign everything automatically. I know there is no such thing as the "best" seat, some prefer sitting closer of further way to/from the screen, but the idea was to have some sort of automated process to assign what would be the ideal "best" seat from knowledge, from your link for instance :)
Jackie00100
7-Nov-13 14:46pm
View
Thanks a lot! :D
Jackie00100
7-Nov-13 13:51pm
View
Understood just for the sake of it could you maybe give some search word to get an idea how to work with this unique, so it is impossible to add 2 equal resevations? - Sorry for keep going, as say never worked with SQL in such advance manner.
Jackie00100
7-Nov-13 12:01pm
View
Ah, I see I'm no near an database expert, I barely knew how joins worked into very recently, but if what you're saying does apply to SQL Server as well, I guess I can just make a check on whether a reservation is matching an other one before writing it to the database?
Jackie00100
9-Dec-12 23:45pm
View
it's more about memory management since i'm getting out of memory exceptions when generation these large images, and the app is running at 1,5 GB (arcording to the task manager) and I've heard there is a way to split the app into multiple processes (yet something i have to learn) like a browser have a process for each open tab/url/fan (not sure what it's called in english).
Jackie00100
9-Dec-12 23:34pm
View
Improved/edited a little, I'm sorry, didn't reread it before post, was kinda dumb of me, what i meant was that i want to split the app up in multiple processes, but the new process should only run a single wished method and then exit then it's done. I've seen some uses appdomains and methodinfo, but i try to keep it simple but still strong, and i know from previously experience that assemblyinfo and appdomains etc. is not too fun to play around with.
Of cause i know everything needs a process to run and i know the you shouldn't poke to much to the garbage collector. as said earlier, even that it sounds arrogant, i'll try to avoid to use these simply to keep it simple and i personally don't like to work with it, so it is a "last call" if no one else could give any suggestions.
hope this makes some clarification.
Jackie00100
16-Nov-12 19:07pm
View
both classes is in the same namespace above code was just for "show" the base type/super type is mammal and cat is derived from that. so i wanna put the base type into a derived class.
Thanks anyway
Jackie00100
16-Nov-12 18:48pm
View
I see so i do need to convert everything manually? the whole point of a downcast is that i'm making some sort of game where you can make your own additions and some items are by default set to a class called "Item" (to save space and memory) but in some cases you want to transform this item into a "dark-relic" (a hexed/cursed item) but you'll never know what item it is or when it happens and therefor i needed a way to convert it, i do think I've found a solution but it only seems to work 50% of the time, never the least, thanks for your answer :)
Jackie00100
10-Oct-12 22:42pm
View
It wasn't to be rude, I think you took it in a wrong way, what is meant by it is that i read what the article say etc, and try to understand it and apply it but in the end it all seems like "bla bla bla" (AKA makes no sense) because no matter how hard i try to understand it, it doesn't work/make sense in the end.
So I don't think this is stupid, or you're trying to sell me the idea or anything, and what would the point even be for me asking if i wasn't interested in the help? to be honest i really appreciate sites like this and people like you that actually trying to help people out for free, and well, "wastes time on losers"... I really try to get my head around it but cant seems to figure it out, and then that happens i prefer to look at others solutions to learn how its done, then go for a better result afterwards.
My apologies for the misunderstanding, (English isn't my native language either) but hope I've cleared some things out here.
Jackie00100
10-Oct-12 20:13pm
View
Can you maybe link to some code or whole project using this type of serializer? Might help more to have some useful code to look at and get an idea how everything works rather than say do bla do bli, (normally i have much easier to learn stuff by looking at others work and use either a debugger with step in or touch the code my self)
I've been reading on it more intense but cant get it to work properly for now...
Jackie00100
10-Oct-12 19:13pm
View
Sounds very complex, maybe i should just save the data to a text file and manually load/save it, probably more work but easy to do...
Jackie00100
10-Oct-12 17:49pm
View
Don't really get it, isn't XML suppose to be able to save a whole dataset/class data down to a XML table? that's what i understood then i read about it?
Jackie00100
2-Oct-12 8:51am
View
I'll try and see how it goes thanks, more ideas are welcome.
Jackie00100
2-Oct-12 7:22am
View
Thanks for your help, can you be so kind to provide some sample code or links to both of them? i've seen the DrawToBitmap but i can't find the refference to it for some reason, im using 4.0
The 2nd one have i looked on too but it seems to have a lot of work to it (i might be wrong)
Jackie00100
2-Oct-12 5:32am
View
Ow god, so I'm really in need to calculate the font size and line length for every word? That is exactly what i would like to avoid if there was a easier way around...
Jackie00100
2-Oct-12 5:20am
View
wont this save the background too? only thing i want is the text, not any white background.
Jackie00100
2-Oct-12 5:18am
View
I know but the DrawString only accept one font type/style at the time, i want to write the whole thing without the white background from the control.
Jackie00100
9-Jul-12 9:52am
View
Yaeh was to tired yester day to do anything and now im lazy so just uploading source code
Jackie00100
2-Jul-12 20:48pm
View
well I'm thinking of a more overall way to do it like DLLImport which i know you can use in unity and I've got some finger points that i should do this but the problem is i cant find the functions and values needed to import to get the wished result so if someone knew what to import and stuff that would help me out a lot
Jackie00100
2-Jul-12 18:03pm
View
So do you know any way of doing this then?
Jackie00100
2-Jul-12 8:26am
View
.NET API is due to sources from unity3D not compatible... one source said that you could use DLLImport as mentioned, and i need to remove the borders to have the "Fullscreen maximized window" effect (like seen in lots of game) where you can have windows above your actual "fullscreen" window (windowed maximized mode) i did know that fullscreen still have borders but some how they're "hidden"
Jackie00100
29-Jun-12 17:40pm
View
internal will do yea, but my thinking is that the form/designer/Class etc. is in a single class and there by it should be internal or public and not protected as in the code? unless the above is inherit from somewhere of cause
Jackie00100
29-Jun-12 17:18pm
View
Dosen't event normally suppose to be public?
Jackie00100
3-Jun-12 9:00am
View
do you know a way to execute/compile code on the fly in mono then? what i get from google is codedom is not an option in mono.
Jackie00100
3-Jun-12 8:57am
View
"but not "extend" a type" aaah okay thanks for answer
Jackie00100
3-Jun-12 1:43am
View
Ow yea i all forgot, im using mono for this game so the solution should be multi platform useable.
Jackie00100
3-Jun-12 1:41am
View
i do know how partial works, you ca split classes up in multiple files, but i wanted to know if you from you program could load and use a class that just add user diff. stuff into an already existing file that way... :)
Jackie00100
1-Jun-12 9:14am
View
dont get it... what is it you want? your question seems very wierd?
Jackie00100
31-May-12 11:35am
View
Glad it was useful :)
Jackie00100
30-May-12 19:06pm
View
i most honestly say i cant see any thing wrong so i don't know if it is the control that doesn't work as it should but i cant see what is else would be just now, sorry but i hope you'll figured it out and you found my code above useful.
Jackie00100
30-May-12 9:00am
View
not really sure what you're trying to tell me if you have some sample codes of where the problem(s) may occur i will try to look into it. but what i understand is that the previously number is displayed even that you choose another one? in this case it might be the event handler that have some fail? otherwise try to see if the "new" keyword will do you any good?
Jackie00100
27-May-12 22:05pm
View
Reason for my vote of 1
I think there was a huge lack of content and samples here... Sorry but doesn't find this very useful
Jackie00100
25-May-12 15:44pm
View
in other words you cant directly use that API in C# because its PHP based. So either you will need to make a html site and link that site to a webbrowser control in a form, or maybe you can make a ASP.NET application that maybe can work around it. Remember all .net libraries is usually .dll format. good luck anyways :)
Jackie00100
16-May-12 15:14pm
View
its silly you cant cast it as i tried... but lists of generic types have always been a pain... i wished i've seen oftype earlier haha :D anyway thanks again +5 from here for great help chat and support have a nice day/evening :)
Jackie00100
16-May-12 15:05pm
View
WOW! made it work just using the "oftype" thanks a lot :)
Jackie00100
16-May-12 15:02pm
View
The problem with this is that tl MOST be list of maintestclass, sorry...
Jackie00100
16-May-12 14:55pm
View
almost same error as above with that code :)
can not implicitly convert bla bla...
Jackie00100
16-May-12 14:46pm
View
as following: (see source above for details):
List(maintestclass) tl = new List(maintestclass)() { new testclass("test"), new testclass("test"), new testclass2("test") };
List(testinterface) ti = new List(testinterface)();
those greater/lesser thing wont work it takes it as HTML...
Jackie00100
16-May-12 14:39pm
View
keep getting "Error: Cannot convert type 'System.Collections.Generic.List<interfacetest.maintestclass>' to 'System.Collections.Generic.List<interfacetest.testinterface>'"
this code is the problem: ti = (List<testinterface>)tl.Where(x => (x as testinterface) != null).ToList();
Thanks alot for helping :)
Jackie00100
16-May-12 13:53pm
View
Thanks is there a way to do this by using .where on a list?
Jackie00100
14-May-12 16:00pm
View
aah thanks alot, i've been looking into synthesizer today and sound banks and i have a base idea of how it works with RSE thanks alot for your help :)
Jackie00100
14-May-12 15:59pm
View
Deleted
Thanks i've also done some research on synthesizer and how to use it with midi thanks alot for everything :D
Jackie00100
14-May-12 4:38am
View
Thanks i didn't get what you ment with the midi thing, but as said what i basicly want is to convert the midi to sound like RSE (like the sounds in this link: http://www.youtube.com/watch?v=NOe4wLv3Tj0) but thanks :)
Jackie00100
16-Mar-12 10:30am
View
yes i looked at it but idk what to think about it
Jackie00100
29-Feb-12 11:32am
View
damn, and you're sure that there is no weird thing to be able to bypass it?
Jackie00100
14-Dec-11 13:33pm
View
okay thank you very much you have been very help full :)
Jackie00100
14-Dec-11 10:41am
View
okay thanks so mysql is running separate application that is a server with a database i understand?
Jackie00100
13-Dec-11 10:20am
View
well what i've normaly seen you need to run a mysql server in some sort of console application that you then connect to from deference applications (i've run some private servers for wow that used mysql a few times) and for those you needed to start the mysql server and then start the server application for wow i dont know if that is how it always work with mysql but that is my personally experience with it so im kinda asking does mysql need to run in a separate application or can i run the database inside or implement it in my chatserver app? also can you try to lead me to some maybe useful references? also do mysql also support special sign from china, japan and so on? (utf32 i guess?).
thanks for you fast answers :)
Jackie00100
13-Dec-11 5:40am
View
okay thanks for the answer can i store "images" and large strings as i would like to have? and is it posseble to run mysql server inside my C# app instead of running it in its own app?
Jackie00100
12-Dec-11 20:17pm
View
thanks but didn't really help much im afraid, im still confused about what might be the "best" solution for me or witch solutions i can choose between after reading it
Jackie00100
30-Nov-11 22:14pm
View
not sure i understand this rigth but is it adding/editing keys and values in regedit you wanna do?
Jackie00100
19-Nov-11 9:31am
View
if you would find the simple code i would really appreciate it, its a semi importen part of the system :)
Jackie00100
18-Nov-11 16:33pm
View
cos i know they have suport for rippingbut i just cant make it work and i am already using those 2 libs all over the code in my system so if i could keep my self to those 2 i would preffer that but if you know some easy to use libs let me know :)
Jackie00100
4-Nov-11 12:06pm
View
dont get it can you explain it better?
Jackie00100
25-Oct-11 13:15pm
View
okay i see im trying to look more into NetworkStreams they seems to be able to do what i want but i cant make it work still sadly.
Jackie00100
25-Oct-11 11:48am
View
is it just me or are those for asp.net? im currently doing it winform based ptherwise it seems nice you're link ^^
Jackie00100
22-Sep-11 9:47am
View
okay ty alot what way would you say is the best to use? i guess running in a separate window may end up in being very messy to work with over time?
Jackie00100
6-Sep-11 19:54pm
View
hey i've found a volume control but cant change it to anything it saying wrong vaule on everything but 0 any idea? :S
Jackie00100
6-Sep-11 17:10pm
View
yeah, tryed to look at that in the start but it seems very complex and also it is written in C++ but i may have an additional look at it :)
Jackie00100
6-Sep-11 16:36pm
View
Ty alot all the links you linked to are awsome im already looking into the "QuartzTypeLib" it seems okay but havn't yet found any way to play multiply songs or add "fades" but otherwise ty very help full :)
Jackie00100
15-Jul-11 22:50pm
View
Well mainly what im making is for the fun of it so i can be even better to programing but thanks for the link of ad blocking it was... kinda interresting and yes i know about ads are very deferent but alot of ads does always contains some html code that you can look at, also it could be nice to scan for melisious scripts this way.
Jackie00100
20-Jun-11 17:24pm
View
Aaah i see thank you very much bro, very helpfull take care :)
Jackie00100
20-Jun-11 16:04pm
View
ty SO much friend i owe you one its works very well now so tyvm :) even that it does work now may i please ask you one last thing; what is this part: "new Action<string, string="">" of the code do that the only thing i haven't figured out what does if you can tell me i'll be glad, but again thanks alot! :D
Jackie00100
20-Jun-11 12:42pm
View
well i must be blind or it isn't there cos i only have "forms" under system.windows but i guess i can download the dll from somewhere and still use it yes?
Jackie00100
20-Jun-11 8:29am
View
Ty for answer but i cant find the dispatcher tool/reference in threading any where...
Show More