CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: emirc

Page 1 of 7 1 2 3 4

Search: Search took 0.15 seconds.

  1. Thread: Extract Username

    by emirc
    Replies
    7
    Views
    2,574

    Re: Extract Username

    darwen,
    this doesn't give the desired information always.
    I had some serious trouble with relying on this information.
    For example, I had a situation where a notebook user logs on as a local...
  2. Thread: Extract Username

    by emirc
    Replies
    7
    Views
    2,574

    Re: Extract Username

    Maybe the WindowsPrincipal.IsInRole method can help you.
    Here's the link to MSDN, see example.
    ...
  3. Re: How create 2 client apps that use web services without ASP.NET

    poochi's suggestion is good lead.

    you can use TcpChannel with SoapFormatter for you remoting objects.
    since you do not want to host your remote objects in IIS, my suggestion is to create Windows...
  4. Re: How create 2 client apps that use web services without ASP.NET

    Correct me if I'm wrong, but are you trying to write a Windows Forms application that acts as a web service?!?!?! :eek:
  5. Replies
    3
    Views
    776

    Re: Iniatialize DateTime vars

    I had the same problem, and also used the approach with the DateTime.MinValue acting as null.
    The other approach is to actually build a wrapper class (not structure) as suggested and then you'll...
  6. Replies
    5
    Views
    1,265

    Re: Help in C# Remoting

    So, Andy - it's "Not really..." for your elaboration, ha? :wave:
    The experience was speaking out of me. :D
  7. Replies
    5
    Views
    1,265

    Re: Help in C# Remoting

    this could be easily related to security problems
    check the permission of the client user on the server machine
    just my 0.02 cents...
  8. Replies
    2
    Views
    765

    Re: DataSets and performance

    i'm using oracle's odp .net.
    tried with ms driver, but no significant improvement.
    it's strange, because if i remove my code and leave only fills and updates i still have poor performance...
  9. Replies
    2
    Views
    765

    DataSets and performance

    is there some benchmark of ado .net's dataset performance.
    i'm trying to use it in a system where we (should) have about
    20-30 FIll() and Update() operations in second.
    Current performance is...
  10. Thread: thread

    by emirc
    Replies
    2
    Views
    1,271

    Re: thread

    see this:
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html#interrupt()

    it depends... you can never be sure to kill in every situation

    if it's I/O blocked then the state will be...
  11. Replies
    4
    Views
    987

    Re: Is this a Memory leak issue?

    if you intend to follow cjard's advice
    and leave leak all night long
    i suggest you sleep the night at your friends
    just in case :D
  12. Thread: IPC in Java

    by emirc
    Replies
    6
    Views
    3,284

    Re: IPC in Java

    aha!
    for that purpose look into JNI - Java Native Interface
    it's a way to load perform native calls from java

    one way to do this in your situation (if I understand your problem)
    is to build a...
  13. Thread: IPC in Java

    by emirc
    Replies
    6
    Views
    3,284

    Re: IPC in Java

    do you have some experience in using java RMI (remote method invocation).
    see javadocs for java.rmi package.
  14. Replies
    1
    Views
    776

    Re: Programmatic interaction with web page

    see classes in System.Net namespace.
    look at WebClient class...



    if you find it useful - rate it
    if not - don't rate! :)
  15. Replies
    5
    Views
    1,734

    Re: Help in Programming AI

    google for A* pathfinding algorithm

    here's the first link:
    http://www.policyalmanac.org/games/aStarTutorial.htm


    this should get you started
  16. Replies
    8
    Views
    2,053

    Re: overriding static methods

    that is the right approach, i believe. even in c++.
    i know that you're a java guy, but java is 'all-virtual', so... :)
  17. Replies
    8
    Views
    2,053

    Re: overriding static methods

    yes, of course. i forgot to mention it.

    but you can not utilize polymorphism with this approach.
    all you can do is hide the base class implementation.
    so, if you're going to access 'child'...
  18. Replies
    8
    Views
    2,053

    Re: overriding static methods

    by your description i assume
    you're trying to implement Factory Method pattern from GoF
    in C# factory method can not be a static method

    as you probably know, methods in C# are not virtual by...
  19. Replies
    8
    Views
    2,053

    Re: overriding static methods

    answer is pretty simple:
    you can't do that in c#.
  20. Replies
    29
    Views
    4,154

    Re: hashtable newbie

    blah blah blah
  21. Replies
    21
    Views
    12,406

    Re: Set-like collection in C#/.NET

    there are some interesting collections that NHibernate uses...
    the DLL is Iesi.Collections.
    I don't know the licensing policy, but i think they're ok generally. :)
  22. Re: this is probably a really simple question, but..

    cjard,
    i agree with others that this is probably due to another error detected on a preceding line.
    i've seen this situation and it's really can be annoying, but maybe it isn't bad at all... like...
  23. Replies
    1
    Views
    578

    Re: HELP - (directx - kind of)

    You need to add reference to the required assemblies in your project.
    Go to Solution Explorer, right click References in the tree under your project item and then Select required assemblies in the...
  24. Thread: J# to C#

    by emirc
    Replies
    2
    Views
    751

    Re: J# to C#

    I don't know about the target project, but this shouldn't be such a big problem.
    Firstly, try Microsoft's conversion assistant.
    It's referencing J++ and Java, but it's general and could help....
  25. Replies
    1
    Views
    730

    printing files from a windows service

    hi,
    I would like to build a service that will send plain text files to a (line) printer configured on the host where the services runs.
    what's the best approach to achieve this with .net?
    can i do...
Results 1 to 25 of 166
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured