User Profile

Collapse

Profile Sidebar

Collapse
Fuzz13
Fuzz13
Last Activity: Aug 15 '12, 05:39 PM
Joined: Jun 27 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How can I write a web form filler that does not require displaying each step?

    I am trying to write a program that will go to a specific website, fill in 2 text fields, then submit them. The two text fields are listed as "name=webli nk" and "name=pictu re", the submit button is listed as :
    <input type="submit" value="Save Changes">

    I have read about using webbrowser tools in the form, and httpwebrequest and watin, but I'm so lost at this point.

    ...
    See more | Go to post

  • Gary that is awesome. I thought writing the location to the settings might be the only option but I wanted to check anyhow. I really appreciate those little "gotcha" notes you gave, it would have been extremely frustrating coming up against it later on. Thanks again!
    See more | Go to post

    Leave a comment:


  • How can I have my program start in the last position I placed it?

    I have a program that when I first run opens in the upper left hand corner of the screen. I will move it somewhere else on the screen, then close it. When I open it again it opens in the upper left hand corner again. I have the forms startposition set to Manual but that doesn't seem to be the solution. Can anyone offer any ideas on how to make it launch in the last place I had put it before closing the program?
    See more | Go to post

  • How to keep MenuItems open after checking a menu item?

    I have a settings feature in my trayicons menu items. I want the user to be able to enable or disable the various settings using the menuitems without it closing every time a selection is clicked. Is there a way to do this?
    See more | Go to post

  • What is the best way for a program to check for updates?

    I have re-released a program of mine about 5 times now to fix bugs that have come up. I know that under the publish feature of Visual Studio 2010 pro, I can tell it to check for updates at a location but I also believe the Install Shield set up has a way of doing this as well. I'm curious what the best or most preferred way to have the program check for updates is?
    See more | Go to post

  • When I say zone alarm is not running I mean the program is not active. The equivalent of it being shut down. I am still able to navigate online without zone alarm being on/running so there is still internet connectivity, however when zone alarm is turned off/shutdown my program no longer reaches the internet to request an IP address or to send smtp messages.
    See more | Go to post

    Leave a comment:


  • Fuzz13
    started a topic Is my program being blocked by windows firewall?

    Is my program being blocked by windows firewall?

    I have a program that sends a request online to get your routers IP address. I wrote the program on a machine that uses Zone Alarm as its primary firewall. When I run the program with Zone Alarm active it will ask me to authorize its access to the internet and when I do everything works fine. If Zone Alarm is not running however my internet calls are denied and I am uncertain why. It will continue to throw up a connection error until I start Zone...
    See more | Go to post

  • Fuzz13
    replied to How to change the closing action of a form?
    That was brilliant. I didn't know I could tell it to do different things based on how it is told to close. Thank you so much!
    See more | Go to post

    Leave a comment:


  • Fuzz13
    replied to How to change the closing action of a form?
    Ok I figured it out. Clicking my Form1 (main form) then in the Properties field I clicked the lightening bolt and found "FormClosin g" then chose in its selection box "Form1_FormClos ing". Next within my Form1.cs I used the following code to control what happens when the form is told to close:
    Code:
          //this deals with what happens when the form closes
            private void Form1_FormClosing(object sender, CancelEventArgs
    ...
    See more | Go to post

    Leave a comment:


  • Fuzz13
    started a topic How to change the closing action of a form?

    How to change the closing action of a form?

    I want to alter the effects of clicking to close the form (Using the "X" in the up most right corner). Is there a way to alter what that default button does?
    See more | Go to post

  • How can I read and seperate a variable into an array?

    I have a form where a user enters 4 separate integers of 1 character and then some math occurs leaving a variable of 4 digits. I am trying to then separate that 4 digit variable int so I have 4 members of the array again, each member consisting of 1 value from the 4 digit number. How do I go about this?
    See more | Go to post

  • Ok I got it all figured out. Here is what I did, very much thanks to you bentley as I just used your suggestion but did it a little different then the example.

    I use the same Form (passwordForm) for 2 different events (setting initial password, and changing password). When it is called to set the initial password i use this code in form1
    Code:
     public void StartForm2()//has value passed depending on which method calls this method
    ...
    See more | Go to post

    Leave a comment:


  • So PasswordForm is in this situation my Form2, so when I click a button in Form1 it needs to Form2.Show(), but also within Form2 it needs to set
    Code:
    lblOldPassword.Enabled = true;
    I am not understanding how this overloading the constructor is allowing me to do that especially where the code is used within the PasswordForm (my Form2). Wouldn't I need to instantiate an object of Form2 in order to access the values of i...
    See more | Go to post

    Leave a comment:


  • I am having a difficult time trying to understand how to overload the constructor so I can access form 1 within form2.cs

    Could you possibly give an example so I have an idea where I'm going with it?
    See more | Go to post

    Leave a comment:


  • How to change "Enabled" Value of form2 when clicking in form1?

    I have my main form, form1, and my secondary form, form2. When form2 is first launched it has two values that are disabled, however at a later time I want users to be able to enable those values and use them but I can't figure out how to either send a value to the form2 for a test or access the features of form2 in form1.cs (which seems preferable.)

    I was thinking something like this:
    [code]
    public void StartForm2(int...
    See more | Go to post

  • Can I bypass the need for the .net framework to run a program?

    I wrote a program for a work computer. The program is a very basic calculator to count our till however it writes its findings to a .txt log file and sends the results as an email to our manager. I wrote it using vs2010 on a win 7 machine. When I put the .exe on the other computer running win xp it says it requires an update of the .net framework. Is there a way in which I can bypass this by including files with the .exe or learning about making...
    See more | Go to post

  • Awesome. This is what I ended up with in case anyone in the future wants an example:

    Code:
    private void txtbxOnes_TextChanged(object sender, EventArgs e)
            {
                try
                {
                    AddValues();
                }
                catch (FormatException)
                {
                    //do nothing
                }
            }
    Code:
    if (txtbxOnes.Text
    ...
    See more | Go to post

    Leave a comment:


  • With regards to adding the values of decimals and verifying that they contain only numbers and a single decimal, I call a try on my method that adds the values, and a catch on the format error exception and that allows me to make sure it is acceptable numbers being used.

    Still need help with the live update in the total text box though.
    See more | Go to post

    Leave a comment:


  • How to add Multiple textbox values as they are updated?

    I have a several text boxes available on a form. At the bottom of the form there is a disabled text box for the total. I currently can add all the values upon a button click, however I would like to, if possible, make it so as a form is filled in, the total adds within the total text box.

    I thought maybe something like:
    Code:
    txtbxTotal.text = txtbxTotal.Text + (list of other text boxes)
    I am running...
    See more | Go to post

  • Perfect. I just wanted to make sure it WAS possible before I even try to start tinkering with it. Thanks Texmo.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...