199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for divyakrishnan

Hi.. I am using tinymce editor for mathematical and graphical functions. The graph in editor content which is inserted into the database is not showing in firefox and chrome. But it can be viewed in Explorer. I have downloded script from http://www.imathas.com/editordemo/demo.html There is demo is provided in the above …

Member Avatar for Larry_Singleton
0
208
Member Avatar for djcrab

Hello. I'm hoping someone will be willing to help me out. I'm pretty much done except for one part I've been scratching my head over. I'm sure this headache I have is not helping. Below are the instructions and the code for my problem area. Output the sum of all …

Member Avatar for djcrab
0
248
Member Avatar for cyberdaemon

Good day, I have a module that upload a record using excel file, and that excel file will be save into the table.. actually i already created that but one ofmy requirement is to clear first the record in excel before it will be uploaded.. how could i clear the …

Member Avatar for cyberdaemon
0
391
Member Avatar for jemartalaban_1

i was planning to convert my vb6 program to vb2010 but sometimes the codes from vb6 was unable accept in vb2010. like adodc.recordset.xxxxxxxx help me please

Member Avatar for Reverend Jim
0
180
Member Avatar for ms061210

Hello, i'm kinda starting to feel out of my mind now. I am creating a simple web game. I am now in the process of putting some php codes here in game to have scores.My problem is that, My game's top score is the person who played the game very …

Member Avatar for ms061210
0
275
Member Avatar for ret801

I am have been tring to get my app to just display a string from another class forever! Here is part of the main class I have that has a sensor manager, I want to be able to shake it and display the string from my Jconnect class. From my …

Member Avatar for ret801
0
298
Member Avatar for stacey.sell.3

Hello I am having problems completing thi code in C# can someone please tell what I am doing wrong.I ge Error Error 1 Program 'C:\Users\stacey ann loretta\documents\visual studio 2010\Projects\EmployeeEceptionDemo\EmployeeEceptionDemo\obj\x86\Release\EmployeeEceptionDemo.exe' does not contain a static 'Main' method suitable for an entry point EmployeeEceptionDemo using System; using System.Collections.Generic; using System.Linq; using System.Text; …

Member Avatar for tinstaafl
0
265
Member Avatar for Greyhelm

I have a strange problem, I have written a for loop to check a list of words for a match and it is not checking all of the words: I am using two files to check for matched words (Enwords.txt - a list of English words and Encontract.txt - a …

Member Avatar for Greyhelm
0
420
Member Avatar for helloworld1234

Hello, I have a school assignment that i really need help with. I am supposed to create an X shape with asterisks using for loops. I am terrible at for loops so i was wondering if you guys could help me out a little in figuring out the best solutions. …

Member Avatar for tinstaafl
0
3K
Member Avatar for supertechnewbie

I tried to make a try-catch block in a program but when an exception occurs, it doesn't do what I intended int num = 0; boolean noException; Scanner keyboard = new Scanner(System.in); while (true) { noException = true; System.out.print("Enter a number or 0 to exit: "); try { num = …

Member Avatar for tux4life
0
149
Member Avatar for 2mhzbrain

Sirs, please suggest a good way to handle large amount of data. This is my newbie idea: - create a database on one of high powered pc(dedicated for whole company) - then sync every changes to another copy of this database to the online hosting service with security note: theres …

Member Avatar for drjohn
0
418
Member Avatar for ke3r4

Hello Every one i'm a newbie in vb.net and i am facing a little problem i hope that someone can help me. i made a little programme that i need at work witch have 15 textbox and in each textbox we will enter a data that will be saved in …

Member Avatar for adam_k
0
607
Member Avatar for lewashby

I have been told that in C++ the concept of a string does not exist. A string is just an array of type char. So in the following code, is message an array because it doesn't really look like one? char *message = "I am having trouble understanding pointers"; std::cout …

Member Avatar for lewashby
0
246
Member Avatar for strizh

I'm having problem with passing argument to the linked list. I wait for user input then I parse this user input and put parsed tokens into dynamic array (char **c) After that I need to write ceratin user input into linked list (for example I need to pass c[1] to …

0
138
Member Avatar for StefanRafa0

anyone know how to split the text in txt file i have this... try { String newaccount = NewAccount.getText(); String newaccusername = NewAccUsername.getText(); String newaccpassword = NewAccPassword.getText(); FileWriter filewriter = new FileWriter(newaccount + ".txt"); BufferedWriter out = new BufferedWriter(filewriter); out.write(newaccpassword); out.write(newaccusername); //out.write(newAccount); out.close(); LabelInfo.setText("Account Registered !"); } catch (Exception ex) …

Member Avatar for stultuske
0
205
Member Avatar for gsfdg

Please help. I have an illegal start of expression at line 65 where it says "public static void p(Object...args)" /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.io.*; /** * * @author Minh */ public class Dna { …

Member Avatar for stultuske
0
233
Member Avatar for dana2292
Member Avatar for longtomjr

I have been playing around a bit and I want to know if you can update a global varaible... rowA = [] def printSeat(): global rowA print "A", rowA = ['*', '*', '*', '*', '*', '*', '*', '*'] print rowA print "B", rowB = ['*', '*', '*', '*', '*', '*', …

Member Avatar for woooee
0
225
Member Avatar for lukas.vandendijssel

Hello, My script uses the user 'www-data' (my webserver) when connecting to the MySQL Database, while I tell it not to. <?php include ('config.inc.php'); $connection = mysql_connect($host, $user, $password); mysql_select_db($database, $connection); $shorturls = mysql_query('SELECT shorturl FROM `' . $prefix . 'urls`'); $shorturl = rand(100000, 999999); foreach(mysql_fetch_array($shorturls) as $row) { if($row['shorturl']==$shorturl) …

Member Avatar for Larry_Singleton
0
401
Member Avatar for mehnihma

Hi I have problem getting XML file with curl. I get empty XML and error: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "1" in /home2/public_html/xmlupdate.php on line 62 xml 1 not loaded. the code for curl: $ch =curl_init(); curl_setopt($ch, CURLOPT_URL,$xml_url_1); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); …

Member Avatar for mehnihma
0
2K
Member Avatar for GottaLove

Suppose I have a code: Class A have items which is pushed into a vector...I want to access Class A element from class B through A's vector.. class A { friend class B; vector<A> data; //store info in vector }; Class B { void showDataInClassA(); A a; } void B::showDataInClassA() …

Member Avatar for Ancient Dragon
0
935
Member Avatar for oishi

I am trying to load php file with jquery into div. The php file contains pagination. However, when i tried it, it seems that, the jquery is not working. But, when I access it in website directly, its working. Do you have any idea how can I load the php …

Member Avatar for oishi
0
266
Member Avatar for atikah8890

Hi all. I hope I chose the forum to post in, it's an in between kind of question. I'm looking into options to develop my final year project. It's a formative assessment of a theoretical course to grasp students' understanding. The focus is on the ability of students to relate …

Member Avatar for atikah8890
0
445
Member Avatar for Rahul47

Hello people, I need to do this: I have Form1 having textbox1. I want to display text entered into textbox1 into Label1 of Form2. Suggestions Welcomed. Thanks

Member Avatar for azareth
0
351
Member Avatar for swaroop.striker
Member Avatar for shama.shirva
0
3K
Member Avatar for abelingaw

Was having trouble printing special characters using Ascii codes for this two characters: **Ñ and ñ. ** I'm trying to enable inserting them on textboxes using Keypress event but to no avail. But since the Alt key doesn't have Ascii equivalent, I can't figure it out. I would want to …

Member Avatar for TnTinMN
0
351
Member Avatar for chandnigandhi

I am creating a project in turbo c++ and it is based on kids and i want to implement the speech like it will speak(a for apple).so is it possible to do this?and if possible then please help me out.

Member Avatar for nova37
0
217
Member Avatar for Blousey17

This procedure is called just before the answer is written to a binary file to ensure it is in the correct format. It works but I need it to repeat until it is an integer. I was trying to use a 'repeat','until' but wasnt sure what the 'until' condition woudld …

Member Avatar for pritaeas
0
240
Member Avatar for castajiz_2

Hi guys, I m making an small aplication for buses but i got stuck with the string array conversion to a timespan array, i have to convert it i order to compare times later on but i don t know how... Here is the code string line; TimeSpan [] array; …

Member Avatar for castajiz_2
0
1K
Member Avatar for rishif2

hello expertes i have 2 tables , both having same table structure (i.e. same fields ) but having different Records. First Table for Male Candidate and another for Female Candidate. both tables have 2 fields namely :- name and marks. Now i wanna write sql statement using adodb to perform …

Member Avatar for AndreRet
0
317
Member Avatar for amiralirezaei

Hi guys i was trying to integrate a very basic Client/Server chat software with Caesar Cipher. i just wanted to encrypt the communication using Caesar cipher. the Client/server chat software is using TCP sockets.i tried and integrated the cipher on client side but it encrypted all texts and its not …

Member Avatar for ddanbe
0
2K
Member Avatar for swiss21

#include <stdio.h> #include <string.h> int InformaticsPayrollSystemMenu(); int main() { char fname[100],lname[100],sex[100],con[100],dob[100],ans; int empnum[100],pay[100],payrollSystemMenuChoice,choice,emp,edit; int i=0,found=0; float rate,week,weekyear,ot,abs,weeksal,monthsal,annal,sss,pagibig,phl,tax,netpay; system ("color 0A"); system("title INFORMATICS PAYROLL SYSTEM"); do { payrollSystemMenuChoice = InformaticsPayrollSystemMenu(); switch(payrollSystemMenuChoice) { case 1: { found = 1; printf("\n\t\t******************************************"); printf("\n\t\t********* REGISTER NEW EMPLOYEE **********"); printf("\n\t\t******************************************"); printf("\n\t\tNOTE:Please fill up the form properly …

Member Avatar for Adak
0
209
Member Avatar for GlenRogers

Hi So I have a div with 6 links(categories of products), the beside this I have another div which I want to fill with the products for a chosen category when a link is clicked. I have a mysql table containing all the products with each category having a unique …

Member Avatar for GlenRogers
0
421
Member Avatar for sarah.mathieson.7

I am trying to write a program that creates a new file every time I use the application. Right now, this is what I am doing: outfile.open("Application.txt"); outfile<<"First Name: "<< firstName <<" "<<"Last Name: "<< lastName<<" "<<"Student Number: "<< studentNumber << endl; outfile<<"Email Address: " << emailAddress <<" "<< "Major: …

Member Avatar for vmanes
0
3K
Member Avatar for ScarWars9

Hello, I have been fiddling around with this and no luck so far. So I am hoping someone can help me. I am making a time clock application. When you add an employee it creates a new directory using their name along with a .txt file used to store their …

Member Avatar for ScarWars9
0
188
Member Avatar for unikorndesigns

Hi, I am developing a CMS in PHP, MySQL for a company in partnership. As you all know PHP is an open source language and it is really easy for a user to resell my software to another client or even publish it online for free. I have an agreement …

Member Avatar for chrishea
0
122
Member Avatar for yaragalla_mural

I am interested to know how styles work in textarea. when i am posting a question on this site, I type my text in the text area and i am adding styles to it like making selected text bold and also displaying the same on the html page. how does …

Member Avatar for LastMitch
0
116
Member Avatar for Niner710

I want to convert a Pandas DataFrame series to a List. In [63]: bayFails Out[64]: 0 [0, 1, 4, 5, 6, 8, 9, 12, 13, 14] In [63]: type(bayFails) Out[64]: <class 'pandas.core.series.Series'> Can someone show me how to convert bayFails into a list?

Member Avatar for dashing.adamhughes
0
1K
Member Avatar for iamthwee

Does anyone have a sample fully working code, that demonstrates how to change the mouse cursor picture when moved over a certain area in a program? [edit] just to clarify change it to a mouse cursor I designed myself[/edit] ThanQ

Member Avatar for maquaree
0
623
Member Avatar for dendenny01

As for my assignment I had to write a program to swap 2 digit number Example:- If user input 12 the swaped number Would be 21. Along with ALgorithm, and a short description on this program(As how will you solve this program or what measure you'll take to get desired …

Member Avatar for tux4life
0
4K
Member Avatar for Noth

Hi guys. I am seriously confused with this issue. I've set up some pages to ban, unban and approve a user. On localhost, it works fine. I can ban them and their record is updated to show that. I can unban them and again, it's updated. I can also approve …

Member Avatar for digital-ether
0
176
Member Avatar for mehmud

Implement in Java a class Coin that describes a coin with a name (e.g. dime) and a value (e.g. 10 cents). Also implement a class Wallet that describes a collection of coins. Supply a method add() to add a coin to a purse, and a method printContent() that prints out …

Member Avatar for tux4life
0
937
Member Avatar for donkatsu

Hi, I'm new to Python and am having trouble with this. Here's my code: import urllib, urllib2, re import xml.etree.ElementTree as ET from bs4 import BeautifulSoup # The get_zipcode(address) function will be called with an address string with # no zip code, such as 'Lowell Observatory, Flagstaff, AZ', and it …

Member Avatar for donkatsu
0
281
Member Avatar for salty11

I have this issorted code to sort elements of an array. It's very slow as it is right now due to a lot of memory access, number of branch instructions per iteration of the poorly written loops, and unorganized instruction/register usage causing dependencies between instructions. I'm not sure on how …

Member Avatar for salty11
0
247
Member Avatar for longtomjr

I am making a basic comand line program that does conversions in python and i want to add more conversions to it without scripting. so you can command the program something like (you command the PC) add new_conversion (The PC ask) name the new_conversion: *here you enter your function name* …

Member Avatar for ZZucker
0
216
Member Avatar for adishardis

Hi, I use this script to extract and insert the desired variables to mysql.It does the job. $xml = new SimpleXMLElement('file.xml'); foreach($xml->loanaccount as $mess){ $account_number= mysql_real_escape_string($mess->account_number); $main= mysql_real_escape_string($mess->main); $type= mysql_real_escape_string($mess->{'application-array'}->{'application-type'}), $date= mysql_real_escape_string($mess->{'application-array'}->{'application-date'}), //insert into databse mysql_query("INSERT INTO account (account_number, main) VALUES ('$account_number', '$main')") or die(mysql_error()); echo "inserted into mysql<br /><br …

Member Avatar for adishardis
0
219
Member Avatar for Niatia

Hi, I'm a bit of a newbie to Pascal and I'm trying to create a simple program to convert binary numbers to decimal, I'm unsure of how I can disallow an input that is not binary, this is my code: var Validation : boolean; Binary, Number : String; Decimal, index, …

Member Avatar for pritaeas
0
332
Member Avatar for serkan sendur
Member Avatar for Mauricio Feijo
0
1K
Member Avatar for mpc123

HI , I basically have made something that I require work in html but now trying to convert to get the results from data base but get this error and cant work out how to change it, if someone could help unexpected T_STRING, expecting ',' or ';' on line 69 …

Member Avatar for mpc123
0
153
Member Avatar for maytham

hi guys .. i have problem in this code . it dose not work am trying to make gaussian filter in spatial domain. is this possible ??????? pls, any help #Const gauss_width = True sumr=0 sumg=0 sumb=0 Dim gauss_fact() As Integer = {1,6,15,20,15,6,1} Dim gauss_sum As Integer = 64 For …

Member Avatar for TnTinMN
0
411

The End.