I am starting a project that has been managed using a spreadsheet until now but needs to be converted to a mysql/php application. The amount of rows in the spreadsheet has exceeded something that can be easily sorted, filtered and edited. A particular field has a weak entity that is not worthy of its own field in the database. It concatenates data from other fields in the same database record plus some arbitrary text. I want to display this concatenation in a textarea for each record. The application will display anywhere from 1 to 10 rows on a screen page. …

Member Avatar
Member Avatar
+0 forum 11

Hi Group, I've imported an existing form into a new project that I'm creating (using Visual Studio 2015 Express/VB.net). When displaying the "Design" version (the user interface), it looks like a plain form and doesn't resemble the actual form in the original program. As per the directions, I added the existing item through the Solutions Explorer (Add > "Existing Item"). I added the programName.Designer.vb programName.resx programName.vb Where did I go wrong? What am I missing? In advance, thanks for your help. Don

Member Avatar
Member Avatar
+0 forum 1

Hi All, I have a simple form that I want to send me an email when the button is clicked. I have two questions, 1. How can I make the fields Name and Email mandatory? 2. It does not send an email to me when used with my smartphone, which is an Android. The code: <form action="MAILTO:michaelmvasas@shaw.ca?subject=LC"> <br> <input type="text" name="name" value="Your Name"> <br> <br> <input type="text" name="mail" value="Your Best Email"><br> <br><br> <input type="submit" value="Submit"> </form> Also, you can see I have a value for each field, however, I'd rather have the fields empty and have those values just above …

Member Avatar
Member Avatar
+0 forum 8

I'm having the below code which works fine. The code is for typing some text on a website text field. In my case my site only have 2 components( it one TextBox, and one Button) the app simply loads this site and then auto type in the textbox field then automatically click the submit button. Now what I want is to wait for the respond because normally the site verifies the keys you entered then if the keys match one on database then its redirects you to homepage so what I want now is to get the response if the …

Member Avatar
Member Avatar
+0 forum 3

Hi, I am Sergio and I am creating a website at the moment. You can Register and Login there. Now to my question: Witch maxlength values should I take for the different input fields, for example: - First Name - Last Name - Password - Email - Username I don't know the perfect size for the fields and would be very happy if somebody could help me best regards, Sergio Wagenleitner

Member Avatar
Member Avatar
+0 forum 3

> So basically I just started learning to use Windows forms with c++. I am creating an inventory/point of sale system. I have done the inventory part but now I want to do the sales part but I'm not sure how to go about it. I want to create a function that allows users to purchase items from the inventory. Any suggestions?? Thank you all in advance for your help. I am using sql server btw and I have a datagridview populated with data.

Member Avatar
Member Avatar
+0 forum 1

Hello. I have one question. I have a form which I wish to clear all fields upon refresh/reload (*except one field*). Using onload and onunload, all fields are cleared but I need to retain one field upon a User doing this action. Is there a method where I can perhaps loop through all the fields, choosing those I wish to clear, and the one I want to retain? Thank you in advance for any assistance or advice. Matthew

Member Avatar
Member Avatar
+0 forum 8

Is there a good pratice for naming form controls which are purely cosmetic? If not, any suggestions for variable names for these controls? E.g A label (which never changes) above a text box.

Member Avatar
Member Avatar
+0 forum 5

Hello, I'm trying to make an application with multiple forms. When a button is pressed 1st form hides and 2nd form opens. I have a combo Box on the first form. I want to get the text of that combo Box and show it in 2nd form. I tried it using FileStream and it worked well. I wonder if there is some other way to do it, an easy one. I mean, passing the String from one form to another.

Member Avatar
Member Avatar
+0 forum 2

I have the following form that I need the fields to be mandatory before submission: form name="application" id="applicatipn" method="post" action="send_mail.php" > <h2 class="title">form</h2> <p class="sub-text">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX </p> <table width="620px"> <tr class="bg-grey"> <td> <h3 >Personal Details</h3> </td> </tr> </table> <table width="600px" class="bg-light-grey" style=" margin-left: 10px"> <tr> <td valign="top"> <label>Title</label> <br /> <input type="text" name="title" size="5" class="auto-width" /> <br /> <br /> </td> </tr> <tr class="no-margin-bottom"> <td valign="top"> <label>Forenames</label> <br /> <input type="text" class="no-margin-bottom" name="forename" size="30" /> </td> </tr> <tr> <td valign="top"> <label>Surname</label> <br /> <input type="text" name="surname" size="30" /> <br /> <br /> </td> </tr> <tr> <td valign="top"> <label>Address</label> <br /> <input …

Member Avatar
Member Avatar
+0 forum 5

A common question that routinely comes up is how to share data between forms. I have outlined two common ways to pass data between forms, among many others. I have used a public property on the output form to accept a value and update the display. I also have a method accepting parameters from the input form, to update the display. On the first form there are three textboxes tbFirstName, tbLastName, and tbSample with a Submit button to redirect to the output form. I have the same layout on the output form to display the passed values.

Member Avatar
Member Avatar
+1 forum 7

Hi, I'm a web development newbie. I was wondering if this was possible: Say there's a page where you submit a value in a form, and when you click submit it links to another page. Then that page links to a few more pages. Would you be able to retrieve (and print) the value you submitted in the form on the first page from a page that's not directly connected to it? Would using cookies or sessions work? I'm not sure where to start.

Member Avatar
Member Avatar
+0 forum 3

using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace book { public partial class login : Form { SqlConnection conn; SqlCommand cmd; SqlDataReader reader; public login() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e)//MY login button { string constr = @"Data Source=PRAVEEN\SQLEXPRESS;Initial Catalog=travelbooking;Integrated Security=True"; conn = new SqlConnection(constr); conn.Open(); cmd = new SqlCommand("select *from travelregi where name='" + username + "' and password='" + pwd + "'", conn); reader = cmd.ExecuteReader(); if(reader.HasRows) { { MessageBox.Show("sucessful"); } reader.Close(); conn.Close(); } } I am trying to check if username and password match from database. But when i hit login ion form nothing hapens …

Member Avatar
Member Avatar
+0 forum 10

Hello, I googled this and didn't found any good results. I found "GUI Toolkits for C++"... I need a C++ eBook to teach me to use the windows library...

Member Avatar
Member Avatar
+0 forum 9

Hi, I am new to php and html, so I need some help with a problem: I am trying to make a form where you can select from a dropbox, but thae data from the dropbox should be retrieved from a sql database. If I save the code bellow as php, the dropbox is created and retrieves the data from sql, but then the submit button (together with everything else I put after the while loop) disappeares. If I save it as a html file, the form and submit button works, but it doesn't retrieve any data from sql database. …

Member Avatar
Member Avatar
+0 forum 4

pls help me i need this code to view my excel data in vb6 forms only.

Member Avatar
Member Avatar
+0 forum 1

I need advice to run oracle 10g forms on linux clients one of the problem is forms icons not appear

Member Avatar
Member Avatar
+0 forum 1

I have a form for editing a user record. Its updates the record for the first time but when i press the update button again, it shows me an empty screen and it unsets the picture as well. I cannot figure out what I am doign wrong Below is my code public function actionEditProfile($affusername = NULL) { $this->layout = 'layout_home'; if ($this->VarifyUser($affusername) && Yii::app()->user->id) { $model = new Users('edit'); //apply rules if user comes directly to signup page // uncomment the following code to enable ajax-based validation if (isset($_POST['ajax']) && $_POST['ajax'] === 'editprofile-form') { CActiveForm::validate($model); Yii::app()->end(); } if (isset($_POST['Users'])) { …

Member Avatar
+0 forum 0

I am trying to create a program in windows forms and i am almost done by my array will not store numbers. It will only use the last number entered. Please help, i did this program in c sharp without a problem but cant figure out windows forms application. public partial class Form1 : Form { int[] vars=new int[5]; int integersEntered; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { vars[4] = int.Parse(NosArray.Text); Integer.Text = integersEntered.ToString(); integersEntered++; NosArray.Text = String.Empty; NosArray.Focus(); } private void Integer_TextChanged(object sender, EventArgs e) { …

Member Avatar
Member Avatar
+0 forum 8

Hi I'm facing a problem with having two forms in the same page.The problem is that the action is taken from only the first form. For example : <html> <body> <form action='test.php' method='POST'> <input type='submit' /> </form> <form action='testme.php' method='POST'> <input type='submit' /> </form> </body> </html> when I hit on submit (both buttons will send me to the page : test.php )! so how can I make each form send me to it's page ? I hope you were able to understand me.

Member Avatar
Member Avatar
+0 forum 12

What I am trying to do is create a form that is automatically generated and then the values from that form are then used to proceed in the program. Currently to generate my form I am using this function `real_names=["Jason","Casandra"]` this portion of the code is not static it is generated with the names of the previous part of the form. form = """ <h2>What fields do you want your employee's on?:</h2> <dl> """ def form_creator(name): print name dt = "<dt>" dt_1 = dt+name.title()+":" dt_kill = "</dt>" input_basic_1 = '''<input name="''' input_basic_2 = """" size="1"> </input>""" generated_input = dt_1+ input_basic_1 …

Member Avatar
+0 forum 0

Hi my name is vishal. For the past 1 week i been in the process of creating a dashboard using listview in c# windows forms with sql server 2008. I created listview named lstDashItems and populate it from a table named USERACTIVITIES in sql server 2008. The design of USERACTIVITIES table in sql server 2008. Column Name Data Type Allow Nulls user_id int yes row_upd_date datetime yes activity varchar(50) yes type int yes ref_id numeric(18,0) yes I have created a method in MdiParent Form named updateUserActivities() Given below is the code in my MdiParent Form of Method/function updateUserActivities: public void …

Member Avatar
Member Avatar
+0 forum 2

I need to change the default page a C# application redirects to when the current authenticated user doesn't have permission to reach that page. I looked through the application and found the following code: <authentication mode="Forms"> <forms timeout="525600" loginUrl="~/login/" defaultUrl="~/unauthorized/" /> </authentication> It did not have a defaultUrl before, so I added one, tested it, and saw no change in behavior. As a test I also changed the loginUrl to another page, rebuilt the site, cleared my browser cache, and still saw no change. No matter what I put in loginUrl and defaultUrl, I couldn't get the default page to …

Member Avatar
Member Avatar
+0 forum 3

I have an update form where there is a student record that has a picture as well as other info. It is with the picture that I am having a problem. The form has a file field with id="picture" name="picture" and then a simple dynamic record call to display the picture right below this file field. The problem is, if I am not updating the picture itself, the entry for the picture in the database gets removed, presumably because I had not entered anything into the file field. The code that controls this is: ((isset($_POST["picture"]))?$_POST["picture"]:"") It appears that this code …

Member Avatar
Member Avatar
+0 forum 7

I've tried the methods from http://stackoverflow.com/questions/11498308/getting-values-from-two-or-more-forms-c-sharp http://stackoverflow.com/questions/3552169/sharing-a-variable-between-two-winforms http://stackoverflow.com/questions/10675872/get-value-from-parentform?rq=1 and http://stackoverflow.com/questions/14504210/passing-username-to-form-but-username-returns-null-c-sharp?rq=1 But i couldnt get mine to work as i will get some random argument error. [the two forms](http://i.imgur.com/gTwo3dZ.png) From the picture , i just want the username on Login form to be put into label1 on User form. But also be able for other f[Click Here](null)orms to use later as well. Can someone help with this? Login Form Code : public partial class Login : Form { UserForm _userform = new UserForm(); Admin _Adminform = new Admin(); public Login() { InitializeComponent(); } private void loginscs_Click(object sender, EventArgs e) { try …

Member Avatar
Member Avatar
+0 forum 2

Hi How can I pass value of my radio buttons to my form.php code? I will be very thankfull for your answer. <form action="form1.php" method="post"> First name: <input type="text" name="fname"><br><br> Last name: <input type="text" name="lname"><br><br> <h3>What is the best programming language to learn for hacking</h3> Python <input type="radio" name="rb_python" value="Python"><br> Perl <input type="radio" name="rb_perl" value="Perl"><br> Java <input type="radio" name="rb_java" value="java"><br> <input type="submit" name="submit" value="Submit"><br> </form>

Member Avatar
Member Avatar
+0 forum 7

Hi All having a problem with the following statement " Notice: Undefined index: Username in C:\wamp\www\david\remoteaccess\index.php on line 6". I have tried defining Username in a number of ways, but I seem to missing something. Any help would be great Thanks in advance Thanks <?php session_start(); include("includes/utilities.php"); include("includes/functions.php"); $username = $_POST['Username']; var_dump($_POST); $Errors = ""; $_SESSION['LoggedIn'] = false; $_SESSION['UserID'] = ""; $_SESSION['UserAdmin'] = false; $_SESSION['Username'] = $username; if (isset($_POST["Username"])) { SQLUser(); }else{ loginForm(); } ?>

Member Avatar
Member Avatar
+0 forum 8

There is a form that i want to submit and url rewrite at the same time. I can change url by adding onsubmit="rewrite_form(event);" option in form : function rewrite_form(e) { var form = document.forms[0]; // .getElementById("form1"); window.location = '/search/' + form.f.value + '_' + form.t.value + '.htm/' + form.amt_from.value; if (e && e.preventDefault) { e.preventDefault(); } return false; } Url changes but other values of form not posted to url generated page.

Member Avatar
Member Avatar
+0 forum 3

Hello! I am having a bit of a hard time figure out how to code this thing.. I have just started coding by using windows form application and need some help.. I have successfully coded so that I can open a txt file without any problem, but it is reading it and giving the text in the file some values to use for this windows app.. What I have done so far is to make a window with a Combobox and adding 4x textbox. I have added the following into the comboBox: Item Name Thing The text.txt file contains: Item …

Member Avatar
Member Avatar
+0 forum 14

I am trying to do some web scraping on [this](http://www.ncbi.nlm.nih.gov/pmc/pmctopmid/) site. So far I have tried the following but the output it gives me is the source code of the site which is different than I expect. I am trying to follow [this](http://nsaunders.wordpress.com/2013/09/17/web-scraping-using-mechanize-pmid-to-pmcidnihmsid/#more-3520) link which has done webscraping in ruby. Any help is greatly appreciated. Here is the code so far: import mechanize import shutil br = mechanize.Browser() br.open("http://www.ncbi.nlm.nih.gov/pmc/pmctopmid/") br.form = list(br.forms())[1] br.form.find_control(name='PAFAppLayout.AppController.Page.PMCToPmidC.MainPortlet.from_db').items[0].selected = True br.form['PAFAppLayout.AppController.Page.PMCToPmidC.MainPortlet.Ids'] = "21707345\n23482678" br.form.find_control(name='PAFAppLayout.AppController.Page.PMCToPmidC.MainPortlet.ToFile').items[0].selected = True br.form.find_control(name='ConvertButton').selected = True with open('output_converter.csv','wb') as f: shutil.copyfileobj(br.submit(),f)

Member Avatar
+0 forum 0

The End.