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 Chriss Miller 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. Clairvoyant1332

    Speed issue sending UDP data on XP SP2 vs XP SP3

    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...
  2. Clairvoyant1332

    Highlighting the text on a button in IE

    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...
  3. Clairvoyant1332

    How to "daemonize" a Java program

    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...
  4. Clairvoyant1332

    How to "daemonize" a Win32 program

    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...
  5. Clairvoyant1332

    100 Mb unicast, 10 Mb multicast??

    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...
  6. Clairvoyant1332

    Can't static link demo OCI program

    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...
  7. Clairvoyant1332

    Snooping local network traffic

    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
  8. Clairvoyant1332

    Hiding command line args from ps listing

    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...
  9. Clairvoyant1332

    VB.NET graphics methods slow compared to VB6

    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...
  10. Clairvoyant1332

    Exporting worksheet data to text file

    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
  11. Clairvoyant1332

    Tracing PPP trafic

    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...
  12. Clairvoyant1332

    Problem with prompts and datasets

    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...
  13. Clairvoyant1332

    Threading and DCOM

    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...
  14. Clairvoyant1332

    VB6 ActiveX EXE not exiting after call from VB.NET

    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 =...
  15. Clairvoyant1332

    Creating an EXE that exposes COM objects

    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
  16. Clairvoyant1332

    Can't create DCOM DLL in VB.NET

    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...
  17. Clairvoyant1332

    Creating a DLL for DCOM use

    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...
  18. Clairvoyant1332

    Working with bit arrays

    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...
  19. Clairvoyant1332

    Resetting PROM values on E250

    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...
  20. Clairvoyant1332

    Detecting number of CPUs

    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

Part and Inventory Search

Back
Top