I have a multicast file transfer program which seems to be having some issues with speed on particular versions of Windows.
I had a user of the software email me saying he was unable to get efficient file transfer speeds when running the sender under Vista SP2 or XP SP3, but good speeds on XP...
This is something I stumbled across once while trying to cut and paste text in IE. This trick works in IE 5.5 and IE 6.0.
Open up any web page in IE that contains a standard button. Drag over a portion of the page so that a button is highlighted (or press ctrl-a to select all). Now drag over...
I'm trying to find a way to have a java program put itself in the background, rather than having the shell do it via "nohup java class" or "java class &". I tried creating a sample program that calls setDaemon() as follows:
public class jthread extends Thread
{
public void run()
{
int...
In UNIX environments, a process can be put in the background by first calling fork(), which creates a new process identical to the caller. The new process then calls setsid() or setpgrp() to detach from the terminal, and the parent process exits. This results in the command issued by the user...
I have several Sun SunFire V240 servers running Solaris 8 plugged into a 100 Mb switch. I was running a test of a multicast file transfer application that I wrote, which also has the option of doing the transfer in unicast mode. I found that, with one machine in particular, any multicast file...
I'm looking to create a staticly linked OCI program, and I'm having trouble just getting the demo programs to work correctly. I'm running Oracle9i on a Solaris 8 system. Here's the output of the make command:
# make -f demo_rdbms.mk build_static OBJS=cdemo81.o EXE=cdemo81
cc...
Is it possible to snoop between two ports if both are on the same server? It seems that the snoop command goes down to the physical network layer, where IP packets destined for a local port never reach.
Dennis
I have some programs that can take a password as a command line argument. Probelm is, if you pass the password that way you can see it in a ps listing. Not very secure.
How do you go about altering cleaning up these arg so ps doesn't see them? I know that the crypt command does this, but I...
I have this app originally written in VB6 where I loop through each pixel in a picture control and set the color, doing a refresh after each line. When I converted this to .NET it was considerably slower.
Here's a simplified piece of the VB6 code:
mypicture.autoredraw = true ' set at design...
I'm trying to get the contents of an Excel worksheet exported to a text file, but the default formatting isn't what I'm looking for. Is there some way to open an external file so I can loop through the cells and write the data the way I want it, or should I be using some other method?
Dennis
I have an NT 4.0 box at home that uses a PPP dialup connection. On a fairly regular basis, if the connection is closed I'll see an Auto-Dial attempt pop up and reconnect to my ISP, after which I see some TCP port 80 connections under ipconfig. I've even seen this happen shortly after a reboot...
I have a report that selects a list of customer transactions entered into the system on a certain date such that the customer has no other transactions entered within a year of that date. I use a dataset to select customers that have transactions within a year of the date, and my main report...
I've written a VB.NET program that spawns off several threads for a CPU intensive job. Each thread then creates a COM object on another server and calls a method to do some work.
Since you can't make a COM EXE in VB.NET, I made that piece in VB6.
Here's my problem: If I want to abort all...
I have an EXE (given to me from a vendor) that exposes some COM components which was written in VB6. I'm accessing this COM object in VB.NET. If I do the following in my VB.NET code:
sub callobj()
dim myobj as vendor.comobject
myobj = new vendor.comobject
myobj.function_call()
myobj =...
I know how to create a DLL that exposes a COM object, but I can't figure out how to make an EXE file that exposes a COM object. The "register for COM interop" flag is grayed out.
Any ideas?
Dennis
I've been trying to create a DLL in VB.NET that contains a class that I can call remotely. I've created a public class with a public constructor in the DLL. The class shows up in the list of COM objects you can reference in VB, but when I run dcomcnfg.exe I don't see the class I created.
Any...
I've trying to create a DLL in VB.NET that contains a class that I can call remotely. I've created a public class with a public constructor in the DLL. The class shows up in the list of COM objects you can reference in VB, but when I run dcomcnfg.exe I don't see the class I created.
Any...
There have been a few times when I've found it usefull to define what is essentially a bit array. For example I'll define a variable like char flags[100]; and treat it as an array of 800 bits. This is usefull if you want to send a large number of binary flags over a network.
Accessing a...
We have several E250 servers out in production using RSC for console access. On a few occasions, we've had motherboards go bad. However, since the RSC settings are on the motherboard, there's no way to access the console. In some cases we've been lucky enough for the server to come up so we...
I've searched through the VB.NET documentation, but couldn't find any way of detecting the number of CPUs (logical or physical) on a system. Anyone know how to do this?
Dennis
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.