Search:

Type: Posts; User: Techno

Page 1 of 13 1 2 3 4

Search: Search took 0.59 seconds.

  1. Replies
    1
    Views
    1,697

    4.0 UDP - Receiving in background

    Hi.

    It has been a REALLY long time so I would appreciate guidance here.
    I am using UDPClient to send and receive data.
    I have a simple example working but its lifetime is only for 1 time where I...
  2. Replies
    2
    Views
    1,414

    Re: ASP.NET COM Error

    believe me, ive googled and nothing came up.
    I eventually solved it. There was a culprit of the DLL but an older version in C:\windows\system32. After unregistering it and deleting it from the...
  3. Replies
    2
    Views
    1,414

    ASP.NET COM Error

    I have an ASP.NET website I migrated/converted from classic asp to v4.0 There is a 3rd party DLL which is used and I need to register it using regsvr32.

    Now all of this works just fine on my local...
  4. Replies
    5
    Views
    1,820

    Re: Converting code - different output

    true but the point here is this:

    works fine in VB.NET but not in C#
  5. Replies
    5
    Views
    1,820

    Converting code - different output

    Hi. im trying to convert this from VB6/classic ASP to C# but the result for some areas are different:



    strPassword = LCase(strPassword)
    For iIdx = 1 To Len(strPassword)
    ...
  6. Replies
    2
    Views
    1,312

    Re: Circular referencing and seperation

    Cannot do that either as it breaks everything...and moves it out of the focusgroup, for the lack of a better word.

    Believe me I've exhausted all the options with lots of trial and massive...
  7. Replies
    2
    Views
    1,312

    Circular referencing and seperation

    so this big project I have, I'm not able to really make it cleaner. Its VERY tightly coupled together.

    There is a "coreframework" project which contains heavily type of subclasses and...
  8. Re: Circular references/dependencies and WCF Services

    yeh. The problem with that though, is that the java webservice is being used to send and receive data from, which gets mapped to the objects in question which is causing this headache, and that...
  9. Circular references/dependencies and WCF Services

    This is a beast.

    The solution I am working on is very tightly coupled. The WPF app uses a "Framework" (its own framework) project which includes its DAL (which is calling an external webservices,...
  10. Replies
    4
    Views
    1,371

    Re: Architecture and references pain

    trying all that but so difficult :)
    this is in test environment but the actual code is so lengthy and confusing. it just makes no sense and so many calls just to do something small at times....
  11. Replies
    4
    Views
    1,371

    Re: Architecture and references pain

    lol yes. i am trying but so many loops and hoops to jump through, you get confused yourself very easily!
  12. Replies
    4
    Views
    1,371

    Architecture and references pain

    im just taking over a project and this is really extremely difficult to understand and explain.

    This project has dependencies to one another in some way. I am trying to seperate it out in...
  13. Replies
    0
    Views
    1,041

    classic asp to .NET

    So I am involved in doing a MASSIVE conversion from classic asp with embedded SQL to ASP.NET, C# and SPROCS.
    the code is massive and badly written as that is how things were done "back then" and...
  14. Replies
    5
    Views
    1,260

    Re: new string what?

    indeed. I figured it out earlier and forgot to post!
    so really, it is just MMddyy... wow... what a way to do it :)
  15. Replies
    5
    Views
    1,260

    Re: new string what?

    unfortunately doing it in VB.NET does not quite work - compiler error:





    Dim strCalDate As DateTime = Me.DateTimePicker1.Value
    Dim strNoWOCalDate As String =...
  16. Replies
    5
    Views
    1,260

    Re: new string what?

    thanks.
    yes indeed. I thought the code would work with VB.NET as well and compare it using that. just wanted to make sure I understood what was going on rather than comparing like for like.
  17. Replies
    5
    Views
    1,260

    new string what?

    strNoWOCalDate = string(2-len(month(cdate(strCalDate))), "0") & month(cdate(strCalDate)) & string(2-len(day(cdate(strCalDate))), "0") & day(cdate(strCalDate)) & right(year(cdate(strCalDate)),2) ...
  18. Replies
    7
    Views
    1,471

    Re: Create plugin for VB6 app within VB6?

    please explain how with examples :)
  19. Replies
    7
    Views
    1,471

    Re: Create plugin for VB6 app within VB6?

    just a custom plugin for my custom application.

    so lets say if you made a VB6 app....
    now you want to make a plugin for it where others can create their own thing and your app should be able to...
  20. Replies
    7
    Views
    1,471

    Create plugin for VB6 app within VB6?

    In VB6, is there a way you can create a custom plugin for your VB6 app using VB6 to create that plugin?
    if so - how?
  21. Replies
    2
    Views
    1,280

    Re: Schema fill throws an exception

    not sure....
    but I found another workaround for it. not the best though. Basically I appended a parameter into the SPROC which will spit out the SQL string it is generating, so then the client can...
  22. Replies
    2
    Views
    1,280

    Schema fill throws an exception

    First time I have seen this when filling a schema for a DataTable using the SqlDataAdapter.

    I have a SPROC which internally creates a SQL String and uses sp_executesql to execute that SQL String....
  23. Re: Flatten list problem - cannot be inferred from usage

    Thanks. must be the lack of sleep i have had showing my errors.

    my data from a simple hierachical tree does not have any circular references.
    So how can I flatten the list?

    so my MenuItem...
  24. Flatten list problem - cannot be inferred from usage

    So I have a List<> of items.
    each item has a list of other items (grandparent > parent > child > children etc...)

    I want to now flatten the list so all the items are in just one list.

    how can...
  25. Replies
    1
    Views
    1,067

    Re: Converting to a Repeater

    I guess no one...
    anything similar in that case where I can take my currently correct hierachry list and bind that to the UI with styling and fly outs?
  26. Replies
    1
    Views
    1,067

    Converting to a Repeater

    im trying to convert this into a repeater but finding it a little difficult trying to figure out how to seperate it and make it work.
    Basically the original code is HTML, and I want to use that but...
  27. Replies
    14
    Views
    2,146

    Re: Recursion - so simple [but my head fails]

    yes I do. but what im saying is that this is how the DB TABLE structure is, and a DTO has been made from it.
    The table structure is self referencing. ParentID is linked to MenuID
    a Menu can have...
  28. Replies
    14
    Views
    2,146

    Re: Recursion - so simple [but my head fails]

    huh? It's there. I posted it :)
  29. Replies
    14
    Views
    2,146

    Re: Recursion - so simple [but my head fails]

    Right :)

    ok, so here is the code for the DB SQL Statement:




    SELECT m.MenuID, m.MenuName, m.ParentID, m.URL
    FROM Menus m
    INNER JOIN UserMenus um ON
  30. Replies
    14
    Views
    2,146

    Re: Recursion - so simple [but my head fails]

    not sure I follow.
    there is no way the DB end can do what I am wanting to do :) (And I cant touch the DB).

    Sure, the MenuItems class can add a Collections property - done. But now what? how can I...
  31. Replies
    14
    Views
    2,146

    Re: Recursion - so simple [but my head fails]

    Sure, my apologies.

    What I want to achieve is to have a collection of menu items and each menu item can have x level deep submenus.
    The menu item is populated from the DB and mapped to the...
  32. Replies
    14
    Views
    2,146

    Re: Recursion - so simple [but my head fails]

    so let me clarify (still to test and alter your code):

    we have a collection of MenuItems. Each item represents a parent menu and also a submenu.
    Where the parentID is not null, that is how you...
  33. Replies
    14
    Views
    2,146

    Re: Recursion - so simple [but my head fails]

    thank you. I will give this a shot.
    It isnt quite a MenuStrip or toolstrip collection as such but rather just a simple custom object (MenuItem I guess or another type of a collection of a custom...
  34. Replies
    14
    Views
    2,146

    Recursion - so simple [but my head fails]

    So I have this schema in the DB:

    ID (PK, int)
    ParentID (nullable int)
    MenuName

    I can select all records and thats great - populates an object for me with the above details (no SQL...
  35. Replies
    8
    Views
    1,000

    Re: Reversing this code?

    yes but what im getting at is what character could those be?
    I want to be able to decrypt it into a readable format, then encrypt it again to make sure that the encrypted before and after are...
  36. Replies
    8
    Views
    1,000

    Re: Reversing this code?

    I don't know how it was created. All I know is that the way it was created was using the code that was posted in my original post :)
  37. Replies
    2
    Views
    918

    Re: Caching and algorithm

    i meant in terms of an algorithm to use to store key information and not the entire bloated object in memory
  38. Replies
    8
    Views
    1,000

    Re: Reversing this code?

    hmm. ok on a few of them did not quite work. it gives me square type characters and not sure what the original string was.
  39. Replies
    8
    Views
    1,000

    Re: Reversing this code?

    Thanks. seems to work for the first handpicked set.
    almost have it done another way too but reversing the for loop. Didn't think it was that simple but.. it was!
  40. Replies
    8
    Views
    1,000

    Reversing this code?

    looking at some legacy code, this is trying to "encrypt" an input string. Not the best way:



    rawData=lcase(rawData)
    encrypted=""
    for iIdx=1 to len(rawData)
    encrypted=encrypted &...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width