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...
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...
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...
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...
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...
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...
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...
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 () {...
(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...
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...
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...
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...
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...
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...
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...
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...
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 =...
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 =...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.