Search results for query: *

  • Users: techwiz24
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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 =...
  5. 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...
  6. 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...
  7. 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?
  8. 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...
  9. T

    Question Muti-Project Solution won't build?

    I keep getting this dang error every other time I try to build my solution! I have to remove the problematic project and add a new one and clone the forms! Error is: Error 1 Could not load file or assembly 'file:///C:/Users/Administrator/Documents/Visual Studio...
  10. T

    Extract path from file path?

    I have a VB.net application in which I am using a 3rd party .dll to create a file and save it. Currently, it throws exceptions if I try to save it in a non-existing directory. What I'm trying to say is if the user enters a place that it saves to, it checks if it exists and then if it does not...
  11. T

    View files inside of zip files?

    This one might be tricky. I want to be able to read, lets say a text file, from inside of a zip file. How would I do this without un-zipping the file? could I do something like "C:\test.zip /test.txt"? or would I have to do other things? Edit, I tried, but IF System.IO.File.Exists("C:\test.zip...
  12. T

    Command Line Args in Windows Forms?

    I was playing a game recently and saw that they could use args in the shortcut, and I decided to try to impliment this into my application...so far, I got: (runs this sub on load) Sub startup_args() If Environment.GetCommandLineArgs.Contains("+game") Then Dim path As Array =...
  13. T

    Make web browser accept only file paths?

    How would I make my web browser accept only file paths? It's a little import manager for a program that I am making, allowing the user to import files, but I dont want but reports that say that they can access google or something through it.
  14. T

    Question Copy an entire directory with sub directories and files to another location?

    Hello. I am trying to copy a directory with sub directories and files to another location on my computer. Whenever I try, I get the following error, through my "console": $>Error: System.IO.IOException: The directory is not empty. at System.IO.__Error.WinIOError(Int32 errorCode, String...
  15. T

    command line like interface in a windows form?

    I am working on an application and I want the user to be able to enter commands into a textbox, and when they press enter, the command is printed in a rich text box, executed, and the output is printed. For instance: the user types move{file1}, {location} into the text box and this happens...
  16. T

    Question How do I make an update feature?

    I am trying to inpliment an update feature where the program pulls the information from the <version></version> tag in an xml document on the users machine AND on my server, and then prints the values in two labels, and then compares them. If they match, then the update button remains disabled...
  17. T

    Question How do I add items to a combo box depending on what the user selects in the other?

    I have 2 combo boxes. One is in a form called subcat_selector.vb on the button Pick Sub Catagory.click event it shows the subcat_selector form. form there, the onload event: Dim button As DialogResult button = MsgBox("Please select the sub-catagory that the game you want to play is...
Back
Top