Search results

  1. XL Jedi

    Region to Path or Path Union

    Ya know, the GDI is nice; and at the same time extremely aggravating! Case in point... I have two polygons that I wish to add together (union). The polygons exist in paths defined by point arrays. So far so good... Paths do not have methods for things like: union, intercept, xor, etc. The...
  2. XL Jedi

    Custom Shaped Usercontrols

    I'm trying to build a custom usercontrol for a graphical "node" type control. The node will serve as connector points for lines in a 2D graphical application. Presently, I have figured out how to create the control, draw the node image and have it display properly when dropped on a container...
  3. XL Jedi

    Convert String to an Object Reference

    What's the best way to convert a string to an object reference? For instance, if I have 3 string variables defined as: Dim MyString1 as String = "" Dim MyString2 as String = "" Dim MyString3 as String = "" ...and then I have a config text file that I read when the application starts that is in...
  4. XL Jedi

    Language Config File

    Hey what would you all recommend for setting up a language config file? I was thinking of allowing the users to modify a simple text file like: Language.cfg I wanted something that would be easily editable from outside my app that they could copy/paste over the default English Language.cfg...
  5. XL Jedi

    Compiler Builds Something Different?

    It's like me and the compiler are working on two different projects... :( I run my code with the "play" (debug) button in the IDE and it's working as expected. I click the "Build" button and in the /Bin/Release/ directory for the project it creates a new .exe and associated files. I run the...
  6. XL Jedi

    Allow User to Resize at Runtime

    Another simple requirement with an oddly ellusive solution... :mad: What userform properties do I need to adjust so I can allow my users to resize the userform at runtime? Maximizing wasn't a problem and I was able to easily figure out how to anchor the controls such that they resize...
  7. XL Jedi

    Userform ArrowKey KeyPreview Issues

    This one's been an annoying thorn in my side... I've developed a graphics based application on a userform with the GDI. I've set KeyPreview to True so I can add shortcut hotkeys to my app on the keydown event. So far so good... I've built a "Nudge" tool that moves selected graphic shapes one...
  8. XL Jedi

    Simple Sounds

    ...wondering if there's a way to generate simple sounds at run time without having to play a WAV file? I'm aware of the "Beep" command, but I would think there must be some way to alter the tone, duration, octave of a sound. I just need some little tick-tick-tick sounds that I can apply to an...
  9. XL Jedi

    GDI Text Rotation

    I've developed a vector-based navigation app using the GDI. I draw multiple vectors while using the app and I have code that assigns text to the lines I create. Presently, I'm using the Graphics.Drawstring command to create the text and before I issue the command, I hit it with...
  10. XL Jedi

    Code Window Grouping

    In VB2005, I really like the way the code windows allow you to collapse subs and functions into groupings at design time. However, now that my project has grown to a considerable amount of code and modules, I find that when I reopen my project some modules maintain the collapsed groupings and...
  11. XL Jedi

    CustomEndCap Fill

    I'm building a collection of CustomEndCaps to use with Pens to draw various lines and vectors in my application. I have one CustomEndCap that I just call "Circle" and it looks like so: r = 3 path.AddEllipse(New Rectangle(-r, -r, r * 2, r * 2)) CustCap = New Drawing2D.CustomLineCap(path...
  12. XL Jedi

    Retained Mode Graphics

    ...interested in applying some concepts related to retained mode graphics systems. In particular, creating and managing collections of graphic objects. I know about hit testing and the basics already. I've already reviewed Bob Powell's FAQ as well, but unfortunately his example for...
Top Bottom