Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

il_manti

@il_manti
About
Posts
41
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Facebook API and Client-Side Apps
    I il_manti

    Hey guys, I've seen a couple apps (client apps, not websites) that enable you to update your twitter, facebook, etc statuses all at once. I'm trying to develop a simple application to share a url from my pc instead of having to go to the website. Can anyone PLEASE direct me to some tutorial in C#... I've been scouring the net but all I can find are ASP.NET examples :/ Thanks guys.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# csharp asp-net json tutorial announcement

  • Is there any technique available for copying one object of class A to another object of class B ?
    I il_manti

    Hi, This is looking great. Quick question, is there any way to modify this code to allow for inner class conversions too? My classes have inner classes and these too differ by name space. I have no idea how reflection works so if you could be kind enough to point out a solution for me it would be great. If not, I'll try to figure it out :/ Thanks a lot for your time.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# tutorial question

  • Unable to cast object from webservice
    I il_manti

    What I ended up doing is serializing from one type to a file, then de-serializing that file to the other type. Messy, but worked. I'll try to see if I can serialize to a memory stream instead.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# help wcf tutorial learning

  • Unable to cast object from webservice
    I il_manti

    Hi guys, I have a huge problem and I have no idea how to fix it. I have two different web services - one we'll call LibrarySearch and one we'll call LibrarySorter. These are two different projects. Both have a class called Book and it's the same exact class. But when I call each of them they return as LibrarySearch.Book and LibrarySorter.Book ... and I have no way of converting these to some generic item which I can use (without having to create two objects, one for each result depending on whether the user did a search or a sort). Please help. I even tried to serialize to a stream, and de-serialize back and it still didn't work. Thank you for your time.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# help wcf tutorial learning

  • Returning data from web service piece-by-piece
    I il_manti

    Thanks a lot for your reply. I understand what you mean and will try to suggest it :) Thanks.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    ASP.NET tutorial question learning

  • Returning data from web service piece-by-piece
    I il_manti

    Sup guys. I'm 99% sure this is impossible but my boss keeps asking me about it so I've been researching but to no avail. I really need to verify whether it's possible or not so here goes: I have a webservice which returns a LOT of data in a list of a complex object. Is it even possible to have the webservice push returns? For example: The webservice loops all objects and does something awesome with each. When it finishes with each object it adds it to the final list. How possible is it to push the objects to the front one at a time? Thanks guys.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    ASP.NET tutorial question learning

  • Updating parent from iFrame
    I il_manti

    Hey guys, I need to develop something but I'm not even sure if it's possible. Basically, I have an iFrame and a parent page on different domains. On the parent page I have a booking engine progress bar with the steps and I need to highlight the step on which the user is. I have tried calling javascripts from the iFrame but I get permission denied. I also tried sending an anchor in the url to the parent and have the parent page check the anchor every X seconds. But that didn't work either. Is there any way I could do this? I realize it might not be possible but thought I'd ask here as a last resort. Cheers.

    In life truth does not matter. What really matters is what others believe to be the truth.

    Web Development question

  • Web Service Threading and State
    I il_manti

    Hi all, I have an issue and I'd like to find a cleaner solution (as, right now, my work around is dirty beyond recognition ;P ). This is the structure "Search" (A web service method) is called by Web Site "Search" calls two other Web Service methods Asynchronously Each Async method calls a "Completed" method (one each) and each "Completed" method checks if the other one was finished before it Once both Async calls have been finished another method ("Connect Results") is called by the last finished "Completed" method "Connect Results" gathers data from two files (saved from each async method) and joins them into one instance of a class "Final Result" which needs to be returned BUT since the method "Search" needs a return and because the return line is reached before any of the threads have finished executing, the return is always empty. So I inserted a while loop (which checks that "Final Result" is not empty) before the last "return" line of "Search" which does nothing except wait for the class to be filled! I'm sure there's some other way to do this... something cleaner but I can't seem to find it. Thanks for your help and sorry for the long post...

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# help learning

  • RealTime browser games
    I il_manti

    Hey all, Me and a couple of friends are developing a browser game similar to Travian (as in, jobs are tackled in real-time not turn-based). Now, we have been trying to see what's the best way to do this real-time thing online where the user can logout and whatever is queued will still be executed once the time passes. The only way to solve this that we thought of is to: - have a table with logs as to what is queued and what event to fire when the time ends - every second have some software running on the server which will check if any logs have expired and execute their event then delete from the queue The problem with this is that we need to have some software hitting the database every second, which doesn't make much sense. What do you all think? Is there a different way of doing this which we're not seeing?!?! Thanks a lot

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    ASP.NET question database game-dev sysadmin data-structures

  • Cross-Domain Scripting
    I il_manti

    Guys, We've been wrecking our brains over this and nothing's working! After searching every page on the net and trying all solutions we decided to post here so maybe you can come up with an answer... So, we've got multiple clients each of them having their own domains. We want to give them one line of script which will in turn render a box with details in their website. These details are stored on our own domain. The problem is, when using an iFrame is not flexible enough so we went for an XMLHTTPREQUEST in Javascript to render the result from a URI into a div on their own website. Problem is we're getting permission issues with domains (since the URI of the data that will be included is not the same as the URI of the page no which it will be included). Does anybody have any idea or solution on how this should be solved? Thank you very much for your time...

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    Web Development javascript algorithms tools help question

  • Time Dependent Events in Browser Games
    I il_manti

    Or I could have a javascript timer to display a countdown and then once that is over the page would refresh?

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    Web Development question database game-dev tutorial announcement

  • Time Dependent Events in Browser Games
    I il_manti

    I've been designing a browser game and things will take some (Real) time to complete in-game. I've checked out Travian and that's how it works too so I've been thinking of a viable way to do this. I came up with the following solution... maybe you can give me some tips (whether its viable or not, and if there's any other way to do this). Have a windows service running all the time. Whenever the user does something which will need time to complete, it is inserted into a table with the action and the time of completion. Every second (I was thinking of having 15 second increments in event completion time so I don't need to hit the database every second) the service checks the table and accomplishes any events which are past their completion time. Additionally, on the user's end there will be an AJAX timer that updates the page whenever needed. I dunno, I'm seeing some problems with this (like for example, how can I update the user's page when the event completes if its completion is not actually being done by the page?). Cheers.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    Web Development question database game-dev tutorial announcement

  • Javascript problem please help me?
    I il_manti

    Are you looking for the code to check if agents are online? Or are you looking for code to disable and enable image buttons?

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    Web Development help javascript agentic-ai tutorial question

  • Debugging gone crazy
    I il_manti

    no ... it's just a webservice.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# debugging help lounge learning

  • Debugging gone crazy
    I il_manti

    Hi all, I have a problem. I'm using VS2005 and I'm writing a web service. It's been working fine so far. Now, when I try to debug the code whenever I step over/in a line of code it goes to some random line elsewhere in the code. Sometimes, when I stop the program and then run again it automatically stop on a breakpoint without even Invoking the web service!! I tried Cleaning the solution, removed all .pdb files but nothing helped. Does anybody have a solution for this because it's driving me crazy!

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# debugging help lounge learning

  • Navigating using Cursor Keys
    I il_manti

    sweet ... thanks for the detailed reply man

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    Web Development help csharp javascript php algorithms

  • Navigating using Cursor Keys
    I il_manti

    Hi all. I'm having a slight problem to which I can't seem to find a solution on Google (obv because I'm not searching right) so I thought you might point me towards a link with a solution. I have a textbox. Using Javascript, whenever the user enters a key, javascript iterates through a predefined array and returns a list of matching items in a Div. The result is :

    • item 1
      ......* item n

    Then the user can click on one of the items and the selected option is automatically inserted into the textbox. So far so good. But, how is it possible to let the user use the cursor keys on his/her keyboard to select an option? :/ I have no idea how can this be done but I'm sure it can be. Could someone direct me to a tutorial on this? Coz I'm sure it wouldn't make sense to give the code here (sure it will be too long). Thanks a lot for any help provided. PS: I'm using ASP VB but I can translate from PHP and .NET code if need be. I'm sure this is purely Javascript but still ;) In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    Web Development help csharp javascript php algorithms

  • Send Cookie in HTTP Header Request
    I il_manti

    SOLVED. If anyone else has this problem just visit this link.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    ASP.NET xml help question lounge learning

  • Send Cookie in HTTP Header Request
    I il_manti

    Hi all, At work we are using a third party web service. The web service works in two tiers. First you request general information. The XML returned contains various IDs. It also contains a JSESSIONID field. In the second phase, another method in the web service requests one of the IDs returned. Now, here's the problem. If we just give the web service the ID requested in the parameter, it asks for the JSESSIONID value. We dug some more and found out we need to pass this JSESSIONID value as a Cookie in the Header section. The actual instruction was: Also the 'jsessionid' given in the preliminary response has to be handed over in the HTTP-Header 'cookie'. Multiple requests can be performed in one session. So I created a CookieContainer and appended it to the HTTPWebRequest object I'm passing to the webservice (thanks google) but to no avail! What can there be wrong? We're at a total loss here...

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    ASP.NET xml help question lounge learning

  • Web Service XML Tag Rename
    I il_manti

    Hi Chris, Yes thanks a lot. The enum was exactly what we needed, especially since we are able to expand the responses whenever needed now.

    In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)

    C# wcf xml help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups