Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. thesleepylizard

    How to determine the local IP address a client behind a router?

    For the record I've found an alternative solution which is quite complex, but does the job. Involves the server sending a random identifier number on each response (all responses are encrypted) and the cilent provides that on the next request to identify itself. Much more complex than that, but...
  2. thesleepylizard

    How to determine the local IP address a client behind a router?

    At work I'm behind a router. That means when our remote web server handles an ASP.NET request, it looks like it's from ther router's IP address. Say I need to determine the IP address of the actual requester, not the router. Or something that securely identifies them (IP address, MAC address...
  3. thesleepylizard

    How to maintain session+application state over web services?

    For reference: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service08062002.asp Also going to try putting my web services within the context of a web application and see if it helps. I understood that basically anything could be stored in the cache -...
  4. thesleepylizard

    How to maintain session+application state over web services?

    Hi guys, Prototyping .NET system for our corporation and ran into an issue. I'm sure there's a solution. We currently have a VB6 client, and can't change that in the immediate future (trust me). Plan is, however, to introduce .NET web services as the middle tier and keep the interface (just...
  5. thesleepylizard

    Ha, wierd. (2.3 - 2) <> (.3)

    Figured that. What was wierd was that 2.3 - 2 was only reproducable with the code as above, ie .if i removed dateadd() it seemed to work OK. Anyway, no biggie.
  6. thesleepylizard

    Ha, wierd. (2.3 - 2) <> (.3)

    debug.print Format(DateAdd("s", (120) + ((.3) * 100), Date), "h:nn:ss") outputs: 0:02:30 debug.print Format(DateAdd("s", (120) + ((2.3 - 2) * 100), Date), "h:nn:ss") outputs: 0:02:29 El-wierd-o. I can get around it, it's just a curiosity. Probably a Double type rounding error at the 40th...
  7. thesleepylizard

    Help! new ICA session hijacking another ICA session?

    Oh by the way - we have the ICA deployed in different offices throughout the internet and stuff. Plus, we're near our client license limit (not sure if we may be getting bumped over it and that's causing the problems or something...)
  8. thesleepylizard

    Help! new ICA session hijacking another ICA session?

    Sorry, has been an issue for ages, users are constantly screaming at me, and I have no training or official experience with Citrix, and my Citrix support guy is too busy to look at it right away. =sob= But here's the problem. One ICA client logs onto the server, and hey presto - they get...
  9. thesleepylizard

    What are the real advantages of Citrix?

    ...I consulted with and the software developers who wrote the actual software, and have deployed systems in the past. (ie. I trust their advice ;) * Expensive, for server farms, but also for licensing and hiring Citrix engineers >By hiring citrix engineers, you will probably double or...
  10. thesleepylizard

    What are the real advantages of Citrix?

    ...from what I've heard, I'm not very impressed. From my basic understand, it seems to me that there are significant disadvantages to Citrix: * Programs run slowly, beacuse it's key presses, mouse movements, and screen shots getting transmitted - instead of just the raw data * Large data...
  11. thesleepylizard

    Binary searching routine. Any thoughts on this code?

    Thanks Per, Sorry - I haven't used Templates much so I don't know how to get this working. I entered the following code to a MFC console program: typedef std::set<int> CNumberTracker; And got these errors: : error C2039: 'set' : is not a member of 'std' : error C2143: syntax error : missing...
  12. thesleepylizard

    Binary searching routine. Any thoughts on this code?

    ...function in C++? I looked everywhere but couldn't find one, so I had to write my own.) So here's the basic code. &quot;List&quot; is a &quot;int*&quot; containing all the numbers, ordered. &quot;ListCount&quot; says how many &quot;ints&quot; there are in &quot;List&quot...
  13. thesleepylizard

    Help! Opening files from XP is SLOW, but 95 is fine!

    We run Windows 2000 server as a file server (also acts as internet gateway). We've got some XP machines and some 95 machines which run exactly off the same hub and log into the same domain. Now here's what gets me. On XP, very first time I try to open up a mapped drive (mapped to...
  14. thesleepylizard

    Easy way of deleting linked lists?

    Sure I can delete the linked list the &quot;orthodox&quot; way, it's just that the code is messy and difficult to read! My proposed way results in neater code (I think) but is not suitable for enterprise situations or long lists. Oh well...
  15. thesleepylizard

    Easy way of deleting linked lists?

    ...~Item () { if (Next) delete Next; //...which calls the destructor for the next object, which call the destructor for... etc } Item* MakeNext () { return Next = new Item(); //This is just a nicety too } Item* Next; int Member1; int Member2; }...
  16. thesleepylizard

    Raising COM events in C++?

    (Posted this to the &quot;DCOM/COM&quot; forum, but I'm not sure which one is appropriate why are there two??) In VB6 it's really easy to write COM objects, and to raise events: Public Event SomethingImportantOccured (Data as string) . . . RaiseEvent SomethingImportantOccured...
  17. thesleepylizard

    Raising COM events from C++?

    In VB6 it's really easy to write COM objects, and to raise events: Public Event SomethingImportantOccured (Data as string) . . . RaiseEvent SomethingImportantOccured (&quot;Bingo!&quot;) . . . Private Sub ImportantObject_SomethingImportantOccured(Data as string) ' End Sub In C++, I...
  18. thesleepylizard

    Simplest, most efficient way to store bit fields?

    ...instead of performance, and performance is top priority in this situation. So, I've written the following routines, which basically work: char* PrepareBitField (int Length) { //Quickly convert Length to how many BYTES we need for the bit field. If the bits is divisible by 8, then we...
  19. thesleepylizard

    ??? Autosizing a TEXTBOX vertically?

    Today is NOT my day for writing superb code. The complete code should be something like: With MyForm For CharacterIndex = 1 To Len(pText) If Mid(pText, CharacterIndex, 1) = &quot; &quot; Then LastSpace = CharacterIndex If .TextWidth(Mid(pText, LastBreak + 1, CharacterIndex - LastBreak...
  20. thesleepylizard

    ??? Autosizing a TEXTBOX vertically?

    Sorry, that block of code should be enclosed in: With MyForm . . end With

Part and Inventory Search

Back
Top