Search:

Type: Posts; User: sapator

Page 1 of 13 1 2 3 4

Search: Search took 1.48 seconds.

  1. Re: Trying to use a service and service list only once.

    Yes if it doesn't involve writing hundred lines and lines of code that I saw in some examples and is hardly worth the try.
    P.S. The class would be passed as a ListOf(theclass)
  2. Re: Trying to use a service and service list only once.

    Yes there url is there.
    But how would I point to a single url?
    Servers are something like \\100.100.1.15:8080 , \\100.100.2.15:8080, \\100.100.3.15:8080 etc , I cannot point ,let's say. server...
  3. Re: Trying to use a service and service list only once.

    No I'm not responsible.
    But how would the configuration work. I'm curious.
    From what I can think of is a common dll on all servers with the class needs to be involved or that dll on the GAG of...
  4. Re: Trying to use a service and service list only once.

    Hi.
    Yes that would be a good solution. The issue here is that the servers are not in parallel, not communicating with each other or accessing a common reference server, so I do not have a "middle...
  5. Re: Trying to use a service and service list only once.

    It doesn't have to be a Local class.
    I just want a Class that will intercommunicate with all the services.
    If I pass a known type like List(Of String()) or a dictonary or an arraylist then there...
  6. Re: Trying to use a service and service list only once.

    But local.copyer will not work with remote copyer as you said it will not be polymorphic.

    Edit:

    I can also do this:


    Dim x As New List(Of String())
    Dim x11() As String = {"arg1",...
  7. Re: Trying to use a service and service list only once.

    Hi.
    It appears that I can do that in VS2015: List(Of Tuple(Of String, String, String))
    I could check this out tomorrow..
  8. Re: Trying to use a service and service list only once.

    getdata1() can be any function that will fill up the copyer class

    The getdata1 will fill up a copyer class nomatter from which service reference it is called.
    I put it there so I can show that...
  9. Re: Trying to use a service and service list only once.

    Hi.
    OK.
    So instead of this:





    Dim sr1 as new servicereference1.
    Dim sr2 as new servicereference2.
  10. Re: Run form with responsive control with no async functions

    Hi Karen.
    Unfortunately only as far as vs 2015, I don't think the work PC can handle a forth Visual Studio, let alone a new 2019.
    Is there a vb file I can just read so I can understand or an...
  11. Re: Trying to use a service and service list only once.

    Hi.
    Yes I understand it won't work but isn't there is a way to it?
    For example somehow creating a new known type?
    Also If I had vs 2017 (I have 2015). Is creating a tuple an option or...
  12. Thread: C++ DLL to VB6

    by sapator
    Replies
    41
    Views
    4,046

    Re: C++ DLL to VB6

    I don't know vb6 but the VB.NET equivalent is this:



    <DllImport("usb_relay_device.dll", EntryPoint:="usb_relay_device_open_with_serial_number", SetLastError:=True, CharSet:=CharSet.Ansi,...
  13. Replies
    33
    Views
    1,027

    Re: Can't Find SQL Server-REVIVED

    So, Does it come back after?
  14. Run form with responsive control with no async functions

    Hi.
    I have a form and I want it's controls to respond while running a long function.
    The function is synchronous and I do not have any async functions to call at it.
    I needed to make the interface...
  15. Re: Trying to use a service and service list only once.

    Hi.
    C# WCF Service:



    namespace MYVWOL
    {
    // Define a service contract.
    [ServiceContract(Namespace = "http://MyDataServices.foo.com")]
    public interface IDataService
  16. Re: Trying to use a service and service list only once.

    That what I thought.
    But it says something of Cannot Convert List(of copyer) to List(of servicereference1.copyer)
    Meaning I recreate the copyer Class in the Local program and try to pass it in the...
  17. Re: Trying to use a service and service list only once.

    Hi.
    Exact same WCF services on different servers.
    copyer is a class with properties

    Public Class copyer
    {
    Public string Something {get; set;}

    Public string SomethingElse {get; set;}
  18. Re: Trying to use a service and service list only once.

    Yes.
    The only thing I haven't tried is directcast but now I have changed the service so any attempts will be done tomorrow.
    Although the service works fine now so I will probably let it pass but...
  19. Re: Trying to use a service and service list only once.

    Different WCF services on different Servers
  20. Re: Trying to use a service and service list only once.

    I'm searching for a day now struggling with enumerations generic types etc without finding anything so instead of doing a 10 select case for the servers, I'm using a list(of string) and I'm splitting...
  21. Replies
    10
    Views
    544

    Re: Safely discard old system

    Well if we are going to a destructive suggestion I believe that the boiling water one is a weak option.
    I stand by my suggestions at #6, especially the hadouken !
  22. Trying to use a service and service list only once.

    Hi , I have multiple services that are called like:
    Dim m_client As ServiceReference1.DataServiceClient
    and a list that is called like:
    Dim copyerlist As List(Of ServiceReference1.copyer)

    I...
  23. Replies
    33
    Views
    1,027

    Re: Can't Find SQL Server-REVIVED

    How about removing all routes, networks etc and see if it fails again?
  24. VS 2012 Re: help needed calling function in C++ unmanaged DLL

    If from what I understand you need a function that accepts unsigned integers (DWORD) and that is a tricky one on the (TCHAR).
    So something like:



    <DllImport("@@@***.dll", SetLastError:=True,...
  25. Replies
    33
    Views
    1,027

    Re: Can't Find SQL Server-REVIVED

    The problem vanished when you read my post. That was the reason!
    That also happens at work, some colleague calls me on the phone and in a few seconds, the problem vanishes!! (usual try plug in the...
  26. VS 2012 Re: help needed calling function in C++ unmanaged DLL

    Hi.
    Please read on the DLL import statement in >net. You can call a C++ dll that way.
  27. Replies
    33
    Views
    1,027

    Re: Can't Find SQL Server-REVIVED

    I found this article , maybe it can help a little? https://support.microsoft.com/en-us/sbs/topic/solving-connectivity-errors-to-sql-server-ae23c94b-b64b-5056-8b62-22e1694bb889

    Now. Do you have any...
  28. Replies
    2
    Views
    788

    Re: IP Address control (v4)

    Yes.
    That was the exact reason I did not use a masked textbox and did this one.
    I can't remember exactly what was the issue as I really erased the whole idea from my memory the minute I saw that...
  29. Replies
    53
    Views
    1,210

    Re: Do you use ()'s for your IF statements?

    It's a habit but I never use () and never use += , as this remind me the C# syntax and I insistingly taste a little puke in my mouth when i go on to put parentheses in there :D
  30. Re: Matching Local (javascript client) timezone name to a TimeZoneInfo DropDownList i

    Well the standard is the ISO 8601 format.
    From there onward it's up to you.
  31. Replies
    18
    Views
    957

    Re: Receiving replies part 2

    Fine but I did not get either your reply or 2kaud reply and I was not logged in when either of you replied.
    Are you sure you are not blacklisted on yahoo?
  32. Replies
    18
    Views
    957

    Re: Receiving replies part 2

    Hm.
    Haven't received an email from 27/12 and forth. I have participated in a couple of thread since then.
  33. Re: Add functions to Windows Service that include WCF service

    My bad, the service is shared in 2 servers but the main server name is centralized for whichever server is online at the moment so I was calling server x that will either be x1 or x2. At that moment...
  34. Re: What's teh use of canceling an async token if the function has already run?

    Hi.
    The problem seems to be that I am sending a list of task of functions down the hatch to the async , if i tried with looping it would probably work and no timeout or task.delay needed but I would...
  35. [RESOLVED] Add functions to Windows Service that include WCF service

    Hi.

    Not sure if this is WCF or windows service issue or visual studio issue so I'm posting here.
    I have a windows service that includes a WCF service that runs on a remote server and works fine...
  36. VS 2017 Re: Changes in CSS file not showing up when running code in VS

    I don't know you exact solution but I assume for aspx pages you can try these:
    1)If it is an external file, delete the href from you page , run the page, re add the href
    2)If it is on the server...
  37. Replies
    10
    Views
    544

    Re: Safely discard old system

    As stated before, I would go with either putting the disk in the new PC or do a re-write x times. Just for recycle reason. Else I would really love to power drill or burn or bomb or hadouken the...
  38. Re: Do you all worry about obfuscating a password in an AJAX POSt over SSL?

    Again:
    https://stackoverflow.com/questions/18338890/are-there-any-sha-256-javascript-implementations-that-are-generally-considered-t
    and here...
  39. Re: What's teh use of canceling an async token if the function has already run?

    This is a vb forum , task of is a pain to translate.
    have you tried accessing a list of IP's like I do and cancel them in time when GetHostEntryAsync is run?
    Does it work?

    Anyhow how would I go...
  40. Re: What's teh use of canceling an async token if the function has already run?

    Hi.
    Why C#? Did i do something wrong to you? :)
    Tried Task.Delay before but regardless it will still go though the GetHostEntryAsync , process all the loop and then cancel.
    That will not do as...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width