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 TouchToneTommy 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?

    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...
  2. 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...
  3. 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...
  4. 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...
  5. thesleepylizard

    What are the real advantages of Citrix?

    I'm helping set up a Citrix-based system. (Though Citrix engineers are doing the tricky parts relating to Citrix.) I've never actually used it before. However, from what I've heard, I'm not very impressed. From my basic understand, it seems to me that there are significant disadvantages to...
  6. thesleepylizard

    Binary searching routine. Any thoughts on this code?

    Part of my program needs to do something relatively simple: remember a list of numbers. So I have an class called CNumberTracker. It has one member called CheckAndAdd(int). This checks to see if the number has already been added - if so it returns true. If not, it adds the number, and returns...
  7. 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...
  8. thesleepylizard

    Easy way of deleting linked lists?

    Seems to me that an easy way of deleting linked lists is like this: struct Item { Item () { Next = NULL; } ~Item () { if (Next) delete Next; //...which calls the destructor for the next object, which call the destructor for... etc } Item* MakeNext () {...
  9. thesleepylizard

    Raising COM events in C++?

    (Posted this to the "DCOM/COM" 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...
  10. 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 ("Bingo!") . . . Private Sub ImportantObject_SomethingImportantOccured(Data as string) ' End Sub In C++, I...
  11. thesleepylizard

    Simplest, most efficient way to store bit fields?

    How good is this C++ bit-fielding-code? 1) Firstly, on generic bit fielding code. I'm writing some bit fielding code which needs to be as fast as it gets, as it gets called zillions of times a second on a server responding to requests in real time. I'm reluctant to use any of the standard...
  12. thesleepylizard

    ??? Autosizing a TEXTBOX vertically?

    Hi guys, The VB Label control has an "autosize" property. If this is true, then the label will automatically resize itself horizontally to snugly fit the text it's given. Now, I want to do a similar with with a Textbox. And, I want it to keep the WIDTH the same, but, resize itself...
  13. thesleepylizard

    PROB: IIS keeping my .DLL files open and caching them

    I am writing some DLL files to place on my website. They are written in VB6 using the "IIS applicaton" template. It compiles beautifully and it works really well. But, IIS is caching the .DLL files that are created, and, when I sihp another copy, it's not letting me compile it...
  14. thesleepylizard

    Recognize incoming SMS messages with eMbed. VB

    HI. I am a reasonably experienced VB6 programmer and I'm starting to write programs for Windows CE (Pocket PCs specifically) using eMbedded VB. I've got it linked up and I have written several simple programs and run them on the Pocket PC and it works OK. This Pocket PC receives SMS messages...
  15. thesleepylizard

    How to insert graphics in Access DB through SQL

    Hi everyone, I have an Access database which has a OLE object field containing a picture. In my program, I use Crystal Reports, which then uses that pictures as a BLOB field to display the company's logo. Now, this program will be used by a variety of people who could potentially want...
  16. thesleepylizard

    dynamically resizing controls when screen resized

    As the subject suggests, I want to be able to dynamically move and resize controls whenever a window gets resized. So if the window is made bigger, the contents will become bigger to fill out the space. I have done this before simply by hard coding it in - editing .Top, .Height, .Left, and...
  17. thesleepylizard

    Retrieving ALL properties and values for unknown control type

    Hi, here's the scenario. I have a subroutine: Public Sub DumpProperties (c as Control) As the name of the sub suggests, I want to be able to dump all of the properties for "c" into, say, the debug window. I imagine the code would be something like: Dim i as long for i =...
  18. thesleepylizard

    Retrieving ALL properties and values for unknown control type!

    Hi, here's the scenario. I have a subroutine: Public Sub DumpProperties (c as Control) As the name of the sub suggests, I want to be able to dump all of the properties for "c" into, say, the debug window. I imagine the code would be something like: Dim i as long for i =...
  19. thesleepylizard

    handling all runtime errors everywhere. how to do?

    Hi, I have a large VB6 program. I want to handle every error in every subroutine and event. So, whenever it crashes, it can call a public sub Handle_Any_Error which will calmly tell the user what's happened. I've tried several methods. The obvious one is to edit every subroutine in the project...
  20. thesleepylizard

    supertecho prob. VB changing Object IDs on compile

    Hi everyone, I have an ActiveX Control which I wrote and maintain in VB6 - it compiles to a OCX file which I can include in the components screen in other programs. (I'll call it SuperGrid.OCX, containing a UserControl called SuperGrid) OK. Here's the visible problem: If I need to make a...

Part and Inventory Search

Back
Top