- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
Ok so I have started to create an metro application using dotnetbar within visual studio its all working apart from 'CloseModalPanel' my problem is when I try to close the panel from the usercontrol.cs to return back to my main form I am told 'UserControl does not contain a definition … |
|
OK so I have already created many pages with my paging all working correctly however I have just created a new paging page that allows the user to use a search criteria. With the paging and search when you click on page 2 it dosen't load and dosen't display any … |
|
Ok so what I want to do is only execute the folowing code when the user enters a postcode to be within Greenwich according to the Latitude and Longitude of Greenwich how do I do this? As each time the postcode changes both the latitude and longitude changes? $val = … |
|
Ok so I have three tables Customers,Invoices,and Delivery with the fields: Customers: CustomerID Address ........ Orders: OrderID DeliveryID ....... Delivery: DeliveryID DeliveryToAddress ...... So what I want to do is update my delivery table for the DeliveryToAddress for when the customers address changes within the customers tables. To get the … |
|
Ok so for my register.php page I want to use https however the code that I am using makes my whole site use https how do I make it so only my register page uses https? Code I'm using: if(!isset($_SERVER['HTTPS'])) { header("location: https://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']); |
|
Ok so i'm trying to validate my input string for location however its working if input is empty but i'm trying to validate the input for 'Greenwich' but that isn't working. Can anyone see what is wrong with my code: <div class="elements"> <label for="location">Location:</label> <input type="text" id="location" name="location" size="25" /> … |
|
Ok so I've created a random captcha that uses integer numbers however I wish to only used char's. Therefore what must I do to this code: <?php session_start(); $code=rand(1000,9999); $_SESSION["code"]=$code; $im = imagecreatetruecolor(50, 24); $bg = imagecolorallocate($im, 22, 86, 165); $fg = imagecolorallocate($im, 255, 255, 255); imagefill($im, 0, 0, $bg); … |
|
Ok so I have created my own register and login which is connected to my sql database, however what I now wish to do is create memberships for the users so they can access their account pages. So is this possible without using the Login template? If it is possible … |
|
OK so what I want to do is create an infinite loop scanner that will add up all the values from the previously entered values which will then produce after each entered number the total value. How do I do this? |
|
So what I want to do is extend my class 'TheTemplate' from my 'Squarer' class and override my abstract methods which will change the method 'isEnd' from 12 to 20. How do I do this? Code can be seen below: public class RunTemplateExample { public static void main(String[] args) { … |
|
Ok so I have a class for all my database connections, what I want to do is populate my gridview from my select statment within my database class. How do I do this? Code can be seen below: Database.cs public static string DeleteChild(string Ssession) { string surname = string.Empty; cmd … |
|
ok so I have been given the following question: Your team is required to build a working SAR system. The system should reflect the following: 1. It should be built using any appropriate technology you are familiar with. However i'm not sure what is meant by SAR system, can someone … |
|
OK so I have two classes in the first class is where the database is handled, in the second class is where I want the output from my database select statment in be displayed on a label. How do I get the result to a label on Invoice.aspx? DBdatabase.cs public … |
|
Ok so I have a class called DBdatabase.cs which stored all my sql queryies, what I am trying to do is execute an update statement that updates the users password through the session however when I execute the statement nothing occurs what am I doing wrong? Also Please note that … |
|
OK so what I want to do is filter my sql query for people from ages: 14-16,11-13,and 6-10. How do I do this? Also is it possible to be achieved from a dropdownlist or radiobutton |
|
ok so my problem is that my program will run however if you do not type in any values for my first page then try to load my second page I get the following error:'Object reference not set to an instance of an object error message' How do I fix … |
|
Ok so my problem is everytime I click my button it re-populates my dropdownlist of my entries, but it also keeps the entries from my previous page_load therefore i get double entries within my dropdownlist. How do I solve this problem as I cannot seem to find where my problem … |
|
Ok so what I have is a textbox on one page and a dropdownlist on another page, what I want to do is send the textbox value which has been entered to my dropdownlist on my second page. How do I do this? |
|
Ok so I have created a page where the user enters their details then they click a button which produces their results in a ListBox. However what I want to do is when the user clicks the button it produces the results on another page in a Listbox. I have … |
|
Ok well I have three LinkButtons that all work that execute when clicked, however what I want to do is instead of the LinkButtons being executed individually for them all to be executed within Button1_click. Therefore how do I do this? Code can be seen below: protected void Button1_Click(object sender, … |
|
Ok So I have two classes that share the same instance variables, the variables have been declared in 'Dog', however I cannot seem to get the instances to work within my other class 'DogChorus'. Therefore what must I do to get the instances to work within 'DogChorus' constructors? The variables … |
|
Ok guys I need some help why I am getting this error and how do I fix this:'Handles clause requires a withevent variable defined in the containing type or one of its base types' Code below Error occurs on line 14: Imports System.ComponentModel Imports System.Text Imports DevComponents.DotNetBar.Metro Imports DevComponents.DotNetBar Namespace … |
|
OK so what would I need to change to the following code so it would produce the following: xxx xoo xoo As at the moment it is producing: xxxooo xxxooo xxxooo My code that I have used can be seen below: import javax.swing.*; public class test { public static void … |
|
Ok so when I run the following code nothing occurs so could someone look at the code and tell me where I have gone wrong? public class somee { public static void main(String[] args) { somee f = new somee(); } public void f() { int anInt = g(7); System.out.println("ffff"+anInt); … |
|
Hi Sorry i was doing a little program and i need helps i would like to something similar to that [url]http://i42.tinypic.com/2mys23d.png[/url] this is my code so far [code] private void makeFrame() { frame = new JFrame("Jubilee Estate Agency Property"); makeMenuBar(frame); Container contentPane = frame.getContentPane(); JLabel label = new JLabel(); contentPane.add(label); … |
|
How did you learn Java? I just watched the basic and intermediary video tutorials from thenewboston.com and I'm still not 100 percent. I've moved onto the android application development tutorials which deals with a lot of java, and I still don't totally understand it. It started off with a bunch … |
|
Hi guys well I am trying to create a UML diagram and what I want to know is am I doing it correctly so far? First of I have a main class called 'Class1' which has two buttons 1 for 'class 2' and the other for 'Class 3'. So have … |
|
Hi there I was wondering if their is anyone who can convert this statement from 'INSERT' to 'UPDATE' as I cannot seem to do is. Code can be seen below: [CODE]public static void COUNT2( ) { try { ResultSet res = stmt.executeQuery("INSERT INTO TABLE2 (VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT) SELECT VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT FROM TABLE1" ); … |
|
Hi guys I have a loop that increases my setsize to 1100 which works fine. My question is is it possiable for when I click my button the loop executes then if I click the button again it does not execute the loop and carry's on with the rest of … |
|
Hi guys what I want to do is set a new setSize which I can do but it just appears. Therefore what I want is for the setSize to move over time instead of just flicker and appear. Any help would be appriciated: [CODE] if (e.getSource() == set) { setSize(1000,1000); … |