Search results for query: *

  1. T

    How to serialize a zip file into custom file format?

    Duh, didn't even review my own code! The output path has to be a filename! Problem solved I think, now how would I go about reading it? I can get all the strings out of th file, but how do I convert the array back to the zip file?
  2. T

    How to serialize a zip file into custom file format?

    In this case would it be easier to just make a zip file containing something along the lines of a "properties" file and then all the contents, and unzip it to a working directory? Right now, i'm using this code: Public Sub test() Dim settings As New Ingredient.Properties()...
  3. T

    How to serialize a zip file into custom file format?

    So, currently i'm using a binary serialization code snippet that I found. I want to know if it's possible to serialize (that's how I store the rest of the info) a zip file into the file? Basically, my file has a few strings serialized into a file created by the program. I want to store a...
  4. T

    Question Find specific text from html files?

    Ok, so I had an idea today while modding a game I play. I decided to make a mod-manager. In order to start the game with mods, you have to go to the website, log in, click playnow and view the source of the html file. From there you get the sessionID variable and add it to a shortcut on your...
  5. T

    Save from a MDI Child?

    mycelcius: I have a MDI parent form, the backbone for this section of my app, and one form to be used for ALL MDI childs that contains a rich textbox. When I call the save routine, I save the contents of the currently active form's rich text box. I got it working now. Thanks for all the help guys!
  6. T

    Save from a MDI Child?

    I am re-doing part of a GUI for my project, The Windows Alias Generator, and decided to switch to MDI. The child forms consists only of RichTextBox1. Here's the generate routine called when the save is clicked: Private Sub SaveAsToolStripMenuItem_Click(ByVal sender As Object, ByVal e As...
  7. T

    Registry reading problems?

    got same exception untill I changed it to: My.Computer.Registry.LocalMachine.GetValue("7-Zip", "Path", Nothing) but that only returns the text in the second field, ie: "Path", not the actual value of "Path"...Used this code and got the same result with my key from the pic above...it only...
  8. T

    Registry reading problems?

    I forgot...I don't want to use the startup path method, because the console app will be called from the windows directory so it can be called from any directory... as for the retistry, here's a snapshot of what I'm trying to get to...
  9. T

    Registry reading problems?

    I am trying to launch another executable from a path stored in the registry. When testing my code, I get an error: "Object reference not set to an instance of an object." My code is: Module Module1 Sub Main() Dim readValue As String readValue =...
  10. T

    Question Console application help screen?

    yeah, i'm thinkin that also XD might switch over. I miss the better intilisense lol. SharpDev's really messy. Thank you for the reply!
  11. T

    Question Console application help screen?

    Soo...how would I go about doing this? I'm not sure I understand the whole buffer thing... By the way, my IDE is SharpDevelop, had some licensing issues with VS2010 pro from dreamspark XD
  12. T

    Question Console application help screen?

    I know with the windows default programs you can add the /? option after the program name and get a nicely formatted help screen. What i have right now is that when the program is called with the /? or -h option, the console simply writes some text. But the problem is that it is all...
  13. T

    Execute Raw commands typed in a textbox?

    I am working on a "de-bugging" back-end sorta thingy for my program, and I have a "dll" that executes most of the work for the program. For the ease of tech-support, I plan on trying to impliment a hidden back-door into the engine that is password protected and activated by a key-press. What I...
  14. T

    How to open a form at a specific point?

    I have a small "options" form that when shown, the user submits some changes, clicks a button, and then it fades out. I want the form to open at the mouse location. How would I do that?
  15. T

    Question How would I correctly call a form from a different project in the same solution?

    I wanted the user to be able to launch that "Form" from inside the main project or by just clicking on the .exe, so I think i'll keep it how it is. Thanks for the advice!
  16. T

    Question How would I correctly call a form from a different project in the same solution?

    It's a WinForms app. How would I start it, like: System.Diagnostics.Process.Start(Project2)?
  17. T

    Question How would I correctly call a form from a different project in the same solution?

    OK, so now it's doing different things :( now, whenever I add a reference to the project, I get an error saying "Could not locate file or assembly" in the RESX file for the main form (the one that calls the second project). As soon as I take away that reference, everything's all happy except...
  18. T

    Question How would I correctly call a form from a different project in the same solution?

    I can have all the projects existing in the same solution, and it builds fine. I can have a reference added to the project that I want to show a form from and still builds fine, every time I do something like this: Dim form_to_show as new Project2.Form1 form_to_show.show() It appears to...
  19. T

    Question Muti-Project Solution won't build?

    Ok, so here's what I did. Made new blank solution named master. added project 2 and 3 from previous project, and built, worked fine. added project 1 and built, worked fine. as soon as I added the line under a button click: Dim other_gui as New ext_gdg.Form1 other_gui.Show() it won't build...
Back
Top