64,152 Solved Topics
Remove Filter ![]() | |
Hi everyone , i hope someone helps me out. im working my way up step by step learning Java . but no one at the University is helping , they just give us the homework and we have to learn alone.and give the soltution at the end of the week. … | |
hello, my appreciating, if you give example code in my problem i have 1 file csv with dilimited only column A example column a name | address | phone | birthofdate deby | jersey | 123456 | 01-March-1990 my case is I want to convert to txt with delimited | … | |
Hi, Been working on this PHP snippet and it was fine until I changed one line. I am doing this inside Wordpress so I can't echo the problems out. "Server error" Hopefull you guys can see where my snippet has gone wrong :)) <?php //Create connection //new mysqli("localhost", "user", "password", … | |
Hi I have the file copy statement to copy a sourcefile = App.Path & "\PhoneTel.mdb" destinationfile = App.Path & "\backup\PhoneTel.mdb" FileCopy sourcefile, destinationfile sourcefile1 = App.Path & "\backup\PhoneTel.mdb" destinationfile1 = App.Path & "\backup\backup\PhoneTel.mdb" FileCopy sourcefile1, destinationfile1 how can I get the backup file from backup\backup with the old data, not … | |
I want to get the total sum of the amount column. How can I display the total sum to the textbox total? Any possible way to do it? Please help. Thanks! | |
int xml_validation(char *xsd_file, char *xml_file) { xmlDocPtr doc; xmlSchemaPtr schema = NULL; xmlSchemaParserCtxtPtr ctxt; char *temp_buf = malloc((strlen(xml_file)+1) * sizeof(char)); char *XMLFileName = malloc((strlen(xml_file)+1) * sizeof(char)); char *XSDFileName = malloc((strlen(xsd_file)+1) * sizeof(char)); strcpy(XMLFileName, xml_file); strcpy(XSDFileName, xsd_file); xmlLineNumbersDefault(1); ctxt = xmlSchemaNewParserCtxt(XSDFileName); xmlSchemaSetParserErrors(ctxt, (xmlSchemaValidityErrorFunc) fprintf, (xmlSchemaValidityWarningFunc) fprintf, stderr); schema = xmlSchemaParse(ctxt); xmlSchemaFreeParserCtxt(ctxt); … | |
like sqldatadapter qwerty=new sqldataadapter(); how is memory allocated? | |
Hi group, If you've seen my posts before on SQL Server stuff you know I'm a "raw rookie" with this. Again, I need some help. I'm going to need SQL to create an order number for me. I've created a datatable with two fields: OrderNoID (key) and OrderNumber. I've already … | |
i have a problem with uploading files to db using openFileDialog, i have to upload five files with *.TIF another with *.PDF , then i use five openFileDialog (openFileDialog1,openFileDialog2,openFileDialog3,openFileDialog4,openFileDialog5) i notice that all five fields upload the same *.TIF file what is the problem ? this is the code : … | |
![]() | Hi, I have a very specific issue that I'm unable to work out a solution to. It's related to WordPress, but that's for context and isn't otherwise relevant. I have a table named wp_options. It's used to store various option information using 2 fields - option_name and option_value. These are, … ![]() |
![]() | I'm trying to add in data validation for my program so it doesnt die when a user input the wrong type of data. eg. My program collects numbers and stores them against the selected name but if i input say fish instead of 2000 in the textbox my program dies. … ![]() |
I have an error showing up in IE 10 and in Chrome: The chrome version: Uncaught TypeError: Object function ( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'format' Unfortunately, I'm not … | |
Hi Guys I'm using a form which sends data to a php file so that ti can be sent to a database. However some of the data passed are dates for the start, end of teh event and when sign ups expire. I want to stop the from data been … | |
READ a text file line by line and store it into string if a particular pattern is found ,then output the pattern into differnt string ? | |
hello i am working on a simple panting project that allow the user to select a shap from ComboBox then draw it on the panel but problem is when is choose any type of shapes and drawing it on panel no shape appear on the panel ?! here is my … | |
I have a small site that is not too data intensive, but requires the user to login to access pages that handle data and pages that interact with the database. To enhance the site security I am hoping to that I do not need to use cookies, instead handle all … | |
Hullo, I am working on sam php code that captures users' details, depending on their choice. If the user selects "No", then the products will not be delivered to him, and so; the form collecting details will not be displayed. However, if he selects "Yes" option, then the form to … | |
Hi Guys I have been asked to make an online sign up sheet system by my boss. I have almost finished but have encountered a problem. To sign up to the created activity I have use a previous form to add a "page name" which is then used to generate … | |
Hi group, I already build a program with vb6. The problem is when the program is running and user click the exe file again then it makes program running twice in same time. Is there a way to restrict this happened? Thank you. | |
Ive been working on pathfinding algorithms for a couple weeks now and A Star has me stumped. Right now i am attempting to Pathfind over a maze in a matrix of the form boolean map[x][y][5]; where index 0-3 are the walls on the cells starting on the right with 0, … | |
I'm writing a code to build a advance calculator, I got everything BESIDES putting a message error that says: "Cannot divide by zero." in the dividebutton I just have a really hard time coding a message error... Thanks! | |
I create a membership website on website that required registration to see full website. I also want users register from specific country. To archive this goal, I also add SMS verification on my registration page and restrict phone number field only for country that I want i.e. `923`. If Phone … | |
It seem to be I have a problem on that code as this only go though the first one and then stopped...so other file extension is not allow... //Check the file extension if (($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/doc") || ($_FILES["file"]["type"] == "application/docx") || ($_FILES["file"]["type"] == "application/ppt") || ($_FILES["file"]["type"] … | |
Hi Group! I suppose this should be titled, "Everything You Wanted to Know about ListViews, but were Afraid to Ask". Here are my questions(s): I've used ListView with "Details". This has been great when getting smaller bits of information to easily display and edit. However I'd like to use it … | |
Hello, I have a set of fields which I need to save into my database, my problem is that the format with java and mysql doesn't match. I converted everything to String which works but I need to store the data as Date. As I will need to retrieve information … | |
Hello, I am creating a GUI program with PyQt4 in python. The purpose is to be an efficiency tool for my company. I have a GUI, but put all the code in one thread. I have not dealt with threads yet and after 2 weeks of reading up, I still … | |
The connection and setting are fine as I can insert things into the same db with different tables. Long story short below is the value that I want to insert into the db but it give me no error and nothing insert. I have use the echo and checked every … | |
I want to update a colume using results from an select query but its not working :( my code: UPDATE goods SET goods.wagons_needed = (SELECT (goods.QUANTITY * WEIGHT) / max_payload as wneed FROM GOODS INNER JOIN wagon_type ON goods.wagon_type_id = wagon_type.wagon_type_id order by goods.goods_id) where goods.goods_id = goods.goods_id; Thanks for … | |
Hi Any one know how can I install pyHook module?I get just error Im using python 2.7.3 >>> import pyHook Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> import pyHook ImportError: No module named pyHook C:\Users\bt\Desktop\pyHook-1.5.1\pyHook-1.5.1>python setup.py install running install running build running build_py running build_ext building … | |
I am trying to install pyHook 1.5.1 for my windows 7 64 bit operating which has python 2.7 installed , but i get this error " python not found in registry" , when i try to type the python path,it does not allow me type into the modal gui ,please … | |
i want to redirect all .html file in subdirtories into root directory with .htaccess file,it does not manner that how much directory is complicated or long. example1: http://www.example.com/folder/folder2/folder3/folder4/main.html to http://www.example.com/main.html example2 http://www.example.com/folder/manyfolder/main.html to http://www.example.com/main.html | |
Hello, I want to create tables in database (using SQL) and add foreign keys to each table refering to the other one. For example: CREATE TABLE ONE( ID INT NOT NULL, NAME VARCHAR(20) NOT NULL, TWOID INT NOT NULL, PRIMARY KEY (ID), FOREIGN KEY (TWOID) REFERENCES TWO (ID) ON DELETE … | |
I have a table called `DUTY` (columns: `dutyid, dutyname, staffid`) and a table called `STAFF` (columns: `staffid, staffname`) In order to be fair, each of the staff will be auto assigned to each duty entry (record). So what should I do whenever I would like to insert a duty entry, … | |
I have a datagridview and I want to print my datagrid but the problem is I want to remove the horizontal line of the table. How can I do it? Here is my code Module DataGridViewPrinter Public DataGridViewToPrint As New DataGridView Public DefaultPageSettings As PageSettings = New PageSettings() Public WithEvents … | |
It seems like a simple problem but I can't seem to find the solution. Basically I have a wx.TextCtrl on a wx.ScrolledWindow and I want to expand the TextCtrl to fill the window - a simple editor if you will. I have the "Proportion" as "1" and I've used a … | |
Well at this point I think it's safe to say coding is not my thing, have another problem I am working on, have the code close to correct I believe, problem, when one of the radio buttons is selected, there should be another groupbox that shows (depending on which radio … | |
I am trying to make a histogram that represent the number of letter grades that are calculated. So the program reads in a csv file, pulls out the name, average grade and letter grade. From there it creates a histogram based on the letter Grades. Input: Alicia Marks,89,90,100,95,75,85,94,100,90,92 Bobby Ricks,98,79,87,79,9,98,7,19,98,78 … | |
#include <iostream> #include <ctime> #include <cstdlib> #include <iostream> using namespace std; For all 6-digit numbers from 100000 to 999999, find the numbers that, if you add the top three digits to the bottom three digits, and square the result, it will equal the original number. For example, for 123456, you’d … | |
I have a few code snippets from a tutorial Im reading my friend gave me to learn c++, and a lot of it is written in shorthand but I cannot fully understand the shorthand code. return c < Cnt ? &foo[c]:NULL;; this: return (cc > 0 && cc <= mCnt)?&foo[cc-1]:NULL; … | |
i have multiple users who need to update a table into mysql with a csv file they will need to do this by pasting the csv file into a text area on the website the first row of that file contains the name of each feild and i need to … ![]() | |
Hello good sirs. I'm currently working on a project where I'm simulating a patientmonitor. Im using background worker to update the values every second. I got a treshhold on the values receives, so lets say that pulse = 140, its > 120, so it sends an alarm message to the … | |
How to create website like, [URL="http://www.paktvlive.com/"]http://www.paktvlive.com/[/URL] [URL="http://www.freetv-watch.com/"]http://www.freetv-watch.com/[/URL] | |
I could not get c function calls to work inside of nasm so i wrote my own read integer procedure. Im sure its inefficient and could be greatly imporved but right now I'm interested in where the negative sign went. Any help is greatly apreiciated. ;---------------------------------------------------------; ;reads a 64 bit … | |
can someone please help for me to change this function to iterative? int recursive(int n) { int total = 0; if(n>=3) return recursive(n-1) + 2*recursive(n-2) + 2*recursive(n-3); else if(n>=2) return total + recursive(n-1) + 2*recursive(n-2); else return total+1; } | |
![]() | Hi guys I've been making a simple program using arrays and would like to add a function for a password instead of it being stored in one chunk of my button code. I'm not real good at functions yet and was wondering if someone could help me out. My code … ![]() |
Hello everyone, I am trying to set a global variable in a module so that I can call it from any form or command button. I thought that I would declare the vairable by "public x as double" then set "x = 45" But how do I use "x" in … | |
I'd like to figure out how to (if there is a way) to have 3 dependent dropdown boxes with a submit button that could filter my blog by label. It's for athletes who want to be recruited. I'd like for coaches to be able to select a sport, then select … ![]() | |
I am in the process of updating a website, which uses Highslide and a thumbnail strip on the bottom. The old website works ilke a charm but the new one fails. On my test website (newer layout) the thumbnail strip shows the last picture five times. [Page on original website](http://www.onderwaterwereld.org/library/nl-zout/anthozoa/alcyonium%20digitatum) … | |
Hi all, I have just finished with my tict-tac-toe program, and I thought I'd post it here if anybody fancy giving me any feedback. Also, I have a problem with printing the board, probably due to my lack of knowledge in using `printf` as opposed to `println`. Anyway this is … | |
Hello, I have been messing around and writing more and more intricate calculator programs on MVE C++. The issue I am having right now is my program is not running unless I give my add, sub, etc. a value. When I try to just leave them as int add; or … |
The End.