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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by werjocks

  1. werjocks

    How To: Convert String of Unknown Length into a Unique Value

    The easiest thing to do would be somthing like the following: String test = "This is a test."; System.Console.WriteLine(test.GetHashCode().ToString()); As the previous poster noted, you can't guarantee uniqueness when mapping from a larger domain to a smaller domain. But you may take comfort...
  2. werjocks

    virtual functions

    sorry guys, Im an idiot. Someone stuck a #ifdef in the middle of my file. None of the new functions were actually being compiled. Heres to stupidity at its finest. Thanks for the help.
  3. werjocks

    virtual functions

    theres alot of code that was already working, but I'll include the relevent stuff....syntactically, I don't see anything missing... //From parent header (ElectricComponent.h): class ElectricComponent { public: ... virtual void test(); ... }; //From parent (node.cpp): #include...
  4. werjocks

    virtual functions

    I'm having a strange problem getting virtual functions to work... I get an "unresolved external symbol" error. The virtual function is declaired and defined in the parent, and in one of the children it is overwritten. If I simply move the overwritten function definition of the child into its...
  5. werjocks

    very old excel macros

    Hi, I've been tasked with converting very old excel macros to vba, as they are not supported by excel 2000. But to my surprise, they seem to work in excel 2003. Now have I gone crazy and am interpreting this wrong, or is 2003 really backwards compatible? Also, does anyone have a good...
  6. werjocks

    graphics conversion

    is there a simple way to convert a gif to a bitmap? I haven't had alot of luck with the command line freeware stuff, and would prefer to do it directly in my script anyways.
  7. werjocks

    Export an excel chart to a bitmap

    ok I can't figure out a good way to get the picture off the clipboard and into a file. Any suggestions?
  8. werjocks

    Export an excel chart to a bitmap

    yeah I had been trying to figure out what to do with that also... maybe I should give it another look. btw through a little experimentation, the filters also support gfa and png file formats, although I couldn't get the tiff filter to work. an odd collection I guess.
  9. werjocks

    Export an excel chart to a bitmap

    Hi, I am trying to export an excel chart to a program that only accepts bitmaps, but haven't had much luck. What I've tried so far is the following... ActiveChart.Export Filename:="e:\MyChart.bmp", FilterName:="BMP" but apparently BMP isn't an acceptable filter. GIF and JPEG work ok (I...
  10. werjocks

    hidden array modified by javascript

    Im trying to figure out how to use a hidden variable as an array, modifiable from the client side via javascript calls. What I would like to do is something similar to this this... <input type="hidden" name="test[]" value="None"> <script type="text/javascript">...
  11. werjocks

    pwd

    how do I get a string containing the present working directory in fortran?
  12. werjocks

    Implementing Arrays

    Hi, I'm a new C# programmer trying to figure out how to implement arrays of instances for classes I generate... I tried something that barfed like this: bar [] foo; public void initializefoo(){ for(int i=0; i<5; i++) { foo[i] = new bar(); } } I understand I might have to implement...
  13. werjocks

    dynamically modify text

    Yeah that seems to do the trick. Thanks!
  14. werjocks

    dynamically modify text

    Im trying to modify text and links on a page without reposting to the server. I've been trying to use innertext to change a paragraph element with some success, but the links dont evaluate as html elements. Is there a good way to achieve this? Example code: <html> <head> <script...
  15. werjocks

    DirectX

    Nope that was it. Thanks for helping a newbie get started. =)

Part and Inventory Search

Back
Top