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

    Windows Service in Java?

    Does anyone know if you can get Java code to run as a Windows Service? How about as a Windows Control Panel plug-in? Thanks!
  2. drdad5727

    env variable not being set?

    I thought I'd answer my own question. I never did find out why it wasn't working, so I developed a workaround. I put all the values I wanted in the environment into the Tcl env array by hand using code like this, before calling Tk_Init for (i = 0; i < arrCt; i++) { char * value =...
  3. drdad5727

    env variable not being set?

    Ok I made a teeny tiny little change :o) to the C-executable I use to launch my Tcl/Tk application and it stopped working. The problem seems to be that changes I make to the environment before I call Tk_Main/Tk_Init via code like this: sprintf(tk, "TK_LIBRARY=%s\\tk", loaddir)...
  4. drdad5727

    Reading a C extract from Java

    Oooh this can be tricky. Let's assume the files were written on the same machine type as they're being read on, so there's no Endian problem. Have a look at java.io.DataInput. It should do what you want.
  5. drdad5727

    Take an application program &amp; convert to an Applet

    Print statements directed to standard out from an applet show up on the Java console. You can open it from the Java Control Panel widget (among other places.) The perl comment is a red herring. Perl runs on the server and produces output that is then rendered on the client. Java applets run on...
  6. drdad5727

    jarsigner: Certificate chain not found

    The full error message is: jarsigner: Certificate chain not found for: mykey. mykey must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain. Here's the situation: I got a certificate (an .spc and .p7b file) from my company and I'm...
  7. drdad5727

    Catching COM object event

    Yes Indeed! Yes Indeed! You are a wonderful person. May all your bits line up neatly and do just what you want them to.
  8. drdad5727

    Catching COM object event

    Thanks for the reply. I completely buy the explanation that a message loop is needed. So I guess that means a form is needed. But, the object's not a Component, so I can't draw it on a form. Can you give me a quick example of how to create "instances of [my] objects created WithEvents in a ...
  9. drdad5727

    Catching COM object event

    I have a COM library written in C++ not VB that exports three COM objects, one of which fires Events. These objects are not controls/components. The (first) question is: How do I catch those event in VB? I emphasize that they're not controls because I know how to deal with events fired by a...
  10. drdad5727

    X as percent of Y (runtime grouping)

    I want to present, in a Group Footer, the percent that(the sum of) X in that group is of (the sum of) Y in that Group. Now that should be calculated by Sum(X,group)/Sum(Y,group) Trouble is, I want to change the grouping condition at run time. (This is Crystal XI, VS2008, by the way.)...
  11. drdad5727

    Building the GUI at run time

    It seems the MS GUI designer is really bad at building GUIs at run time -- although may be I just don't know how to do it. My particular problem should be simple. I've got a simple, SDI Form, part of whose contents depend on other parts. Simply put, if the user makes selections on the left part...
  12. drdad5727

    Popup Menu from Button not right click in .Net

    Nothing like describing the problem to someone else to help you find your problem. I'm actually too embarrassed to admit to what I was doing wrong.
  13. drdad5727

    Popup Menu from Button not right click in .Net

    I'm trying to popup a menu from a Button, or something that looks like a button in .Net 3.5. I tried creating a ContextMenuStrip, since it has a Show method, but the menu disappears immediately. ContextMenuStrip doesn't have a ShowDialog method. Then I tried using a ToolStrip, so I could use a...
  14. drdad5727

    Tutorial on runtime programming of CR? in .NET

    I'm looking for a tutorial on the run time programming aspects of CR. I am not looking for help on writing CR reports, but rather modifying their behavior at run time. I have an example that uses the COM/ActiveX interface to Crystal, but I want to do it in .NET. So, a tutorial or advice on how...
  15. drdad5727

    Commit error driving me mad

    I get the following error from CVS (I'm in Eclipse, but I think the problem is CVS). The server reported an error while performing the "cvs commit" command. Aggregation: cvs commit: sticky tag `1.5' for file `graham/TraderBackTester.java' is not a branch Aggregation: cvs [commit aborted]...
  16. drdad5727

    biffview for .xlsb??

    Is there something like biffview for displaying the logical structure of .xlsb files? Context: I've been asked to adapt some old code that can produce Excel spreadsheets to produce one with more than 64K rows. B-( Am I right that I have to write .xlsb? And that .xlsb doesn't look much like...
  17. drdad5727

    STL problem? or dll issue???

    I wrote a DLL that does this: __declspec( dllexport ) wstring * myFunction(); wstring * myFunction () { wstring result; // add stuff into result return new wstring(result); } which I call like this, from another dll: wstring * mem = myFunction(); // do stuff to mem delete mem; //...
  18. drdad5727

    DLL's out of Visual Studio 2005??

    A question out of ignorance: I mostly use C/C++ to code DLL's for use by Java programs (it's called JNI) to access services, whatever, that don't have Java interfaces. So, my question (which I'm too lazy to research myself [blush]) is: Can VS 200x produce ordinary DLLs that look just like any...
  19. drdad5727

    Substitute STL in VS 6.0?

    It seems my problem is more complex than I thought. The project I'm working on hosts an ActiveX control using ATL. The errors I'm getting when I use the SGI STL implementation all come from the comip.h header file, which is "Native C++ compiler COM support" according to it's comments. I...
  20. drdad5727

    Substitute STL in VS 6.0?

    Has anyone tried to use an STL other than Microsoft's with Visual Studio 6.0? I tried using SGI's by putting the include directory as the first in the "additional include directories" list and got a ga-zillion error messages tagged to Microsoft header files I'd never heard of. Anyone have...

Part and Inventory Search

Back
Top