199,114 Archived Topics
Remove Filter ![]() | |
I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked … | |
Can i put a flash aplication in on my program on python? | |
I launched the following scripts but only the "Auto Start Page Rotator" page appeared. Can anyone please check if the codes are correct? [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] … | |
Hello, I am having a problem getting variables in my function. Below is my code and an explanation of how it is being called. 1. I set the vars: [code=php] error_reporting(2047); require_once('XML\RPC.php'); define("SITECODE", 000000); define("REQUEST_URL", "/external/request.php"); define("REQUEST_SERVER", "domain.com"); define("REQUEST_PORT", 443); define("XML_DEBUG", 0); $software_name = "domain.com"; $messages = array(); $errors = … | |
How would I be able to check if a checkbox is checked from a childform and use that information on the parent? | |
Hey for some reason my rectangles are being drawn after the start variable has been incremented all the way through. This is causing them to go off the screen. What i wanted, is like in the code, i want it to draw, increment draw increment until the loop is finished.[CODE]import … | |
[CODE]def save_transaction(price, credit_card, description): file = open("transactions.txt", "a") # the "a" means you are always going to append to this file file.write("%s%07d%s\n" % (credit_card, price, description)) file.close() items = ["DONUT", "LATTE", "FILTER", "MUFFIN"] prices = [1.50, 2.0, 1.80, 1.20] running = True while running: option = 1 for choice in … | |
I'm trying to make a html editor. I need to set different colors for different words... I managed to the change text's background color, but not it's foreground. Can some one help me? this is my code [code=java] public class HEditorView extends FrameView { public HEditorView(SingleFrameApplication app) { super(app); initComponents(); … | |
hii i want to write dates in drop down menu/list and that dates i have to pick from calender. i need to have a calender in such a way that when i click drop down list calender appears and i select a date that goes in that drop down list. … | |
Hello, I have a SQL Server DataBase and have about 10,00,000 entries to be inserted into the database before the database becomes operational. I am currently performing an insert query for each entry, as they have to be read from a file and decided into which table they should be … | |
Hi I'm using python 3.1 and Windows. My program writes xml code to a text file, the problem is that windows needs to know that this file's encoding is utf-8. Right now it does write the proper code, but other programs (firefox, for instance) fail to read it because it … | |
There is an error , it is cannot find Symbol [CODE] import java.sql.*; public class Main { public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver"); String connectionUrl = "jdbc:mysql://localhost/mytestdb?" + "user=root&password=PHP"; Connection con = DriverManager.getConnection(connectionUrl); } catch (SQLException e) { System.out.println("SQL Exception: "+ e.toString()); } catch (ClassNotFoundException cE) { … | |
Hello, I am making a file comparing program, and I want it to display line numbers permanently, like any normal text editor does. Is it possible to do this with tkinter? thanks | |
Hi guys, I need an advice on a html-refreshing issue I have one html document containing three different forms with three submit buttons for each form. The first form has some input fields for personal information (name,surname, age etc). When the user fills in the fields, presses the submit button, … | |
Hello: Soon I will need to have my foriegn keys working. I have tried to set them up with no luck. Could someone show me how to set the payee_uid below? I am using an Apache Derby Embbeded Db 10.5.3. Thanks [code] <entry key="createStudentTable"> CREATE TABLE student ( stu_uid VARCHAR(11) … | |
Hi. For some reason the real_escape_string is not working. Here is a function that doesnt seem to work. function add_mail(){ $host = ""; $user = ""; $pass = ""; $database = ""; //this function assigns correct values to the variables to access the database. get_variables_db2($host, $user, $pass, $database); $db = … | |
Hey, Iv decided to tackle a bit off C++ before I start it in college in fall and Im sort of stuck on a problem. The book im reading is Accelerated C++ and its exercise 3.2. Basically the question asks to get values from the user and take for at … | |
Answered my own question. Wish I could figure out how to delete this post. | |
I had to write 10 objects of cars into an array and now my problem now is writing the array into a text file. I am able to get the correct output in the console, but when I open the text file I get part of the desired output, as … | |
In my webconfig file, I am using Forms authentication and I have: <forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30"> and my default.aspx page is protected as it should. After logging with the proper credentials I am directed to the protected default.aspx page, however when viewing other pages of my website in … | |
I am having problem in using a virtual function across several files. I have this code: myPlugin.h [CODE] #include "myprojPluginInterface.h" #include "myproj_export.h" class MYPROJ_EXPORT myProjPlugin : public myprojPluginInterface { public: virtual ~myProjPlugin(); virtual myProjPlugin * newInstance() const = 0; virtual int speed() const; virtual int direction() const; protected: PositionProviderPlugin(); }; … | |
| |
Hi, I'm at present working on extracting data from various online news sites, and then analyzing it. The code is given below. But when I'm writing this last code, the following error is coming: >>> import newsfeatures >>> allw,artw,artt= newsfeatures.getarticlewords( ) >>> wordmatrix,wordvec= newsfeatures.makematrix(allw,artw) Error: Traceback (most recent call last): … | |
this is my simple application , i try to updata ,but it is not working, in this example it shows only first reocrd and, try to update first record(i want to know the method of updating, so i can updates other records too) data base has only two fields id,name … | |
I have a multiview control with two views, with the first one loaded as default. On that form I have two textboxes which are both connected to a requiredfield control. I also have one submit button control for the textfields, and a linkbutton control to show the second view in … | |
Hello im having problems with my code. i wanted to make a program that would let me enter anything and then place each one of them inside the array. [CODE]import java.util.*; class charAt { public static void main(String[]args) { Scanner input=new Scanner(System.in); String[]sample=new String[52]; String enter; int x; System.out.println("Enter something"); … | |
i am having problems in reading the contents of my .dat file. the contents of my .dat file are the following: 10.20 60.20 70.20 25.25 1.1 2.2 3.3 4.4 my expected output should look like this: --------- --------- --------- --------- 10.20 60.20 70.20 25.25 1.10 2.20 3.30 4.40 but when … | |
Hi. I'm still learning how to use dbExpress, after using Zeos and Delphi 5 for many years. I wrote a small program to import data from a MySQL database to another MySQL database totally different in terms of layout. It worked all right, though I'm afraid some of my clients … | |
Hi, I am using Visual Studio 2008 and I am writing an MFC Dialog Based Application. I have two trobules - the program uses brushes to draw the lines throw the points from the CPoint table - but the density of points may be vary every time. So my idea … | |
java class files are not loaded into memory till the time they are referenced. If this is true, then the use of import statement is just to save a bit of typing. Is it the case ? | |
Hi i am looking to use a totally custom built UI with a piece of software i am writing in delphi. i have ofc seen this done many times in programs like itunes and windows media player etc, where the standard windows aero frame is not used... i have never … | |
Hello Guys, Right my problem is, I am creating a slider where in which each element is slid (using animate width) into place. This is how it works, the element currently displayed is give a margin-left: of 842px (same as my slider width) and then a margin-top: of 300px (height … | |
I tried renaming my .py file to .pyw. But compiling with py2exe does not make a difference. I tried using root.withdraw() but all it does is freeze the application, prevent the initial canvas from popping up, and fail to remove the command prompt window anyways. Does anyone have a solution? … | |
I'm trying to list a bunch of buttons vertically, but am having problems even getting that much done. I'm pretty sure I have the scroll pane working (it just isn't being used yet so I can't test it). This is part of an assignment so I'd prefer not to post … | |
Hey everyone, So, for my C++ course I am implementing a Binary Search Tree. In this Binary Search Tree we are to create a function to copy the values of a passed array into a Balanced Binary Search Tree that will render a correct inorder traversal. I.E. an array of … | |
Hi... file with extension vb(*.vb) can compile to exe using vb.net coding. could everyone help me how to compile to exe using vb.net coding if use own extension(not *.vb) ? thanx | |
Is there a method for checking which roles a user has in SQL using SMO? I can add a role via: [CODE]user.AddToRole("Administrators")[/CODE] But cannot see an obvious method to progmatically list them. | |
Please can one help me with a better way of Converting Date( in Hour and Minutes) in to Double or Integers. I want to use it for arithmetic purpose e.g, if the Date Input is 6 hrs:30min, then i want it converted in to 6.5, ....or 12 hrs: 15 min … | |
To start with I a am a newbie and I know I have done this wrong, probably in my webconfig file. These are my settings in the webconfig file: [CODE]<forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="30"> <credentials passwordFormat="Clear"> <user name="xxx" password="xxx"/> </credentials> </forms> </authentication> <authorization> <allow users="?"/> </authorization>[/CODE] For my login.aspx … | |
hello, I have created a web application using java,mysql I have to still write functionalities where in the functionalities need the current user name for a web application. The functionalities like view profile needs it. Can anyone please help me out in this. Thanks | |
i find this code in a forum [CODE]using System.ComponentModel; using System.Drawing; using System.Windows.Forms; static class Program { static void Main() { string pointText = "11, 19", rightToLeftText = "Inherit"; Point point = Parse<Point>(pointText); RightToLeft rtl = Parse<RightToLeft>(rightToLeftText); } static T Parse<T>(string text) { // might need ConvertFromString // (rather than … | |
3. Write a program to convert a number between 0 and 20000 (exclusive) into words. The program must use functions, and switch/case. Here is a sample run: This program will convert a number to words. Enter a number less than 20,000 : 18975 Number:18975 in Words: eighteen thousand nine hundred … ![]() | |
Hello, I Have a Lag Problem With my Code My Snake Game It Will Move With Timer Tick 100 interval And Each Timer It Move It Will Use A Lot Of Code In Procedure It LAGGY My Touch Code Use This [CODE] Function Touched(ByVal obj1 As String, ByVal obj2 As … | |
Hello, I have a Windows form I made in Visual Studio 2008. It has ten text boxes that allows the user to enter the proper information. I have a database setup that is empty that needs to be filled by this form. When I click submit, how do I make … | |
Hey everyone, I am completely new to this forum business so I apologize if I post something wrong or something. Anyways, I am writing this program for this class and I have a Start_Screen which allows the user to select their level of security (Administrator, Project Manager, Employee). Once they … | |
Well I am doing Computer engineering.. and doing a project on web crawler I am familiar with C and C++ only.. i need to make a program on how to search from my hard disk..can any one help..? | |
Hello,everybody.Would you please describe me about the differences between the(|=) ,(^= ) operators?Is it possible to use(&=)instead of the above two assignments and how? Thanks,[code]Assignment,compound operators;[ |=,^= and &=][/code] | |
i have a php code in a div. I'd like to cancel clicking on that div, until the page loads. i'm having the problem if i click on the div too fast which calls a popup div... it doesn't get the content from the php.. so it is a blank … | |
Hi. I need to get unique information of runnig programs. I dont want to get ProcessName or MainWindowTitle. Because im working on anti-cheat program. Im tried lot of method of GetProcess() but any of them give me the uniq. information. So is it possible to get uniq data of running … | |
I was writing a program and wanted to write a struct that's used to match an input string and print a corresponding output. However, I ran into a very unexpected problem. This code gave me the compile error below. [code] #ifndef MATCH_H #define MATCH_H #define TOTAL_WORD_PAIRS 2 typedef struct { … |
The End.