199,113 Archived Topics
Remove Filter ![]() | |
Our Day cares have a program called procaresoftware. We have 2 sites 47 and 35 From what little I know everytime you add a child, parent etc it puts it into an .MBD FILE. Lately the 35 center has been having issues that they cannot save any new customer. They … | |
When my event driven functions are called many repeat themselves. Looking at debug I can see the functions being run more than once. For instance the code below will produce: First time: one original and one duplicate record added. Second time: one original and two duplicate records added. Third time: … | |
SOMEONE HELP ME line 23, in <module> class Yakudi(ch.RoomManager): AttributeError: 'module' object has no attribute 'RoomManager' | |
Please I need a complete Dev c compiler with most intersting hearders like the graphics hearder. Or complete method to add them, cause i have added lately and had no good results. I have stormed the net but cant find one. | |
Hello, I'm writing the simple code as below #include <stdio.h> #include <stdlib.h> int main() { FILE *fp; float x,y; int n; int errno = 0; int i; fp=fopen("test_numbers.dat","w"); for(i=1;i<=10;i++) fprintf(fp,"%d %d\n",i,i*i); fclose(fp); fp=fopen("./test_numbers.dat","r"); if(fp==NULL); printf("File cannot be opened\n"); fclose(fp); return 0; } and save it as main.c I'm compiling the … | |
I am sitting in front of a brandnew 27 inch Apple Macintosh running on OS X Yosemite, trying to compile a timed insertion sort from my Windows days. The Xcode app is a sweatheart, but there are some Windows things in the code that cause a problem. This line ... … | |
Hello. How can i get the html tags and texts of a web page in php? | |
<?php $this->user_id = $_SESSION['user_id']=$user->id; //create a database connection mysql_connect("host","user","pass") or die("Error:".mysqlerror()); //select database mysql_select_db("db"); ?> <html> <body> <link href="tab.css" rel="stylesheet" type="text/css" media="all" /> <table id="box-table-b"> <tr> <th>User ID</th> <th>Status</th> <th>I.P</th> <th>Offer Id</th> </tr> <?php $result = mysql_query("SELECT * FROM clicks where userId='$id'"); //return the array and loop through each row … | |
Hi, I'm trying to upload an image but ir gives me error on 'move_upload_file'. > Warning: move_uploaded_file(http://localhost/administrador/images/projects/54031d9e94d63a24dba816ddacbf315e.jpg): failed to open stream: HTTP wrapper does not support writeable connections in C:\wamp\www\administrador\includes\uploadImage.php on line 38 > Warning: move_uploaded_file(): Unable to move 'C:\wamp\tmp\php5E59.tmp' to 'http://localhost/administrador/images/projects/54031d9e94d63a24dba816ddacbf315e.jpg' in C:\wamp\www\administrador\includes\uploadImage.php on line 38 This is my … | |
Hey everybody, I'd like to get some specific, but not all rows of a MySQL DB into an array, like those I get if I use mysql_fetch_array(). But feth_array, fetch_row, fetch_object, etc... just returns one row. There are many search functions in the internet, so it must be possible. I … | |
Hello, I am another newbie, trying to finish an assignment, and I would need some help in splitting a string from serial. I use the demo code for eZ430-RF2500 Wireless Sensor Monitor, where I changed only the tx of the access point's temperature(by commenting it), with the purpose of displaying … | |
function getRandomNode($file, $numOfQue) { $xml = simplexml_load_file($file); foreach($xml->main as $main) { //Here I want to Get Ramdom Node using $numOfQue. //$numOfQue is a random node Number } $xml->asXml($file); } guys Help me... | |
Hi I am building this website for a small hotel. The user interface is ready and I have a form as shown below: If I click on submit I can insert the data from the form into the database.My question is where do I go from here? Is my database … | |
![]() | Hello everyone, was looking to see what was availble in listview1.columns.add.... and found this ListView1.Columns.Add("ID", FontDialog, HorizontalAlignment.Center) how would i use this to change the font in listview columns.? the rest of the code... ListView1.Columns.Add("Weekday", 100, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Date", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Time", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Location", 60, HorizontalAlignment.Left) ListView1.Columns.Add("Pump", 50, … |
Hi, I have a projectile and a target. Both objects have: Vector2D velocity and Vector2D position. How do I find the predicted position just using the target's position and velocity, together with the projectile speed? | |
I would like to create a series dropdown boxes, each containing the same listing content. However, when one option is selected from the preceeding dropdownbox, that element is removed from the remaining boxes. I would like this process to continue until all selection have been selected. 1 <select name="box1"> <option>value … | |
Hello, I created a query insert query everything is in right order but dont know whyy its not working function submit_report() { global $connection; if(isset($_POST["submit"])) { $id = 215; $name = "myname"; $uname = "myusername"; $date = $_POST['date']; $campaign = $_POST['campaign']; $t_leads = $_POST['t_leads']; $c_leads = $_POST['c_leads']; $open_acc = $_POST['open_acc']; … | |
how to put `where clause variable $didno` in following code: $pdo = Database::connect(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "SELECT * FROM misscall WHERE did_no = ?"; $q = $pdo->query($sql); $mobile1 = array(); while ($mobi1 = $q->fetchColumn()) { $mobile1[] = $mobi1; } $mobile1list = join(",", $mobile1); Database::disconnect(); thanks in advance ![]() | |
Okay, so I have a program that lets a user input information about dvds...it's a dvd library basically. I'm having a bit of trouble with nice output. I have data members for part of the info and vectors for the others. The output should show a movie title,length, year, actor/actresses, … | |
I gave a call in this way: print("-L", str(cfg.project["phenotype"][0]), str(cfg.project["phenotype"][1])) This will read the below one phenotype: - embryo: [SAMN00990702-1] - larva: [SAMN00990702-2] And it should give: -L embryo,larva But it is giving like: -L {'embryo': ['SAMN00990702-1']} {'larva': ['SAMN00990702-2']} Can anyone help me in solving this problem. Thank you !! | |
So im doing a MMO, wich will have a lot of entities, monsters, players etc .. So i want opinions from you experts, wich a aproch should i go for... create the entity when its near the view port so that the game dnt struggle updating each entity or will … | |
Hello, I am writing a small 'program' using MS Visual Studio 2013. I would like to read in a few tags from the ID3 headers of media for each file to be written to an XML file. I've used taglib and a few other ID3 libraries but I cannot use … | |
I've searched extensively for this, but failing to arrive at a proper solution, I had to proceed with this question. I have just recently started learning JavaFX/Java and I am trying to build a table which, along with some other columns, would have a single ProgressIndicator column. This means that … | |
Am having a awful time trying to get this to work I googled it and even asked few friends about it, but it seams it more difficult than I expected it to be. basicly what am trying to do is capture if or when a user clicks on a button … | |
Hi I have a timer so that when it goes off it will access the database however it doesn't appear to be working. I've never used timers before so not sure if I've written it correctly. The code for the timer is: public void timer_method() { int heartbeat = Convert.ToInt32(textBox1.Text); … | |
Hi, I have some value at column named "data". I need to scan the value at that column, if more than "2", then column named "1" will be "1 = data -2" Then at next row and still in current column named "data" , if more than "2", then column … | |
Hi I would like to ask. I have one dropdown list control. What are the different between this 3 in dropdown list. 1. Dropdownlist.SelectedValue 2. Dropdownlist.SelectedIndex 3. Dropdownlist.SelectedItem Thank you :) | |
Hi , In a form I have two funtions using that two ajax functions I retrieve values from mysql database. My problem is both functions are not working at the same time, only neither one nor working. Here I inserted the sample code, tell me the solution <?php include('./include/Connection.php'); ?> … | |
Hi everyone, why my 2nd,3rd,4th line arent working in js source ? $(document).ready(function(){ $('.cls').click(function(){ $('.mwindow').hide(); }); $('.frnd').on('click', function(){ var name=$(this).attr("id"); var div_mwindiow = document.createElement('div'); var div_hwindiow = document.createElement('div'); var span_hwindiow = document.createElement('span'); div_mwindiow.className ="mwindow"; div_hwindiow.className ="hwindow"; span_hwindiow.className ="cls"; var x = document.createTextNode('x'); span_hwindiow.appendChild(x); div_hwindiow.appendChild(span_hwindiow); var t = document.createTextNode(name); div_hwindiow.appendChild(t); div_mwindiow.appendChild(div_hwindiow); … | |
I'm sorry I keep having these strange problems but there's little I can do about them, they are unpredictable. I managed to fix the last one and I've been able to compile and run my programs. Now however I've run in to the *strangest *of problems, the one described in … | |
Hi guys, My application Cannot insert Record into Table more than once. There are 3 textboxes on the form in which the user enters data to be inserted in the table. And a command button holding the code to perform the action. What is happening is, when data is entered … | |
Modernizer makes a JS object, I've been researching as to where I can find this object to review ? | |
Hello, I was offer a project to record Loan of equipment using a keyboard wedge Barcode scanner to scan ID barcode from the Equipment, But i had a hard time control the textBox of the Form for the barcode input, the Input keep jumping away from the textbox that set … | |
Hello, I am developing a system where in I want to use 2 USB Barcode Readers attached to a single PC. I want to capture input from both of the readers. When barcode is showed against a barcode reader, I want to store that value in a variable and then … | |
How to grand total in grouping Command in VB 6.0 | |
#!/usr/bin/env python3 tm = open('./timemachine.txt', 'r') Dict = {} for line in tm: line = line.strip() line = line.translate('!"#$%&'()*+-./:;<=>?@[\\]^_`{|}~') line = line.lower() List = line.split(' ') for word in List: if word in Dict: count = Dict[word] count += 1 Dict[word] = count else: Dict[word] = 1 for word, count … | |
I have a array of string I will call a method on this array for each of the element of it ,the method will return one integer,but some of the elements are the same then I do not want to call the method . for example this is the array:{aa … | |
Recently i have come up with the scenario where i need a single class to handle a few different interfaces and i have found a few different approaches to take. I was wondering if anyone has encountered the same situation and can give me any suggestion(s) as to if there … | |
I am writing a program that reads a fiel and displays the contents in hex values. The problem is that there are some very strange characters in my output. Code: #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX_BUFFER_LEN 512 typedef enum cbool { ctrue = 1, cfalse = 0 } … | |
Hi I am creating a program in which I have 2 tabs. I want to make my tabs bigger in size so they can take whole panel space. Is there any way I can make both tabs size bigger. thanks import java.awt.*; import static java.awt.Font.BOLD; import java.awt.event.*; import java.awt.event.*; import … | |
so my problem is that I want to find a way of using canvas tags that are created at runtime. I went about this by trying to change the id of the tag, ONLY to find out that javascript did not like the fact that I was using numbers, even … ![]() | |
I've essentially copied a small project from another computer to this one. This one is running windows 8.1. What happens when I try to compile even a hello world cpp project I get this error: 'Fatal error: "iostream" No such file or directry' . I know this means the compiler … | |
I want to add a node at ith position. I added a head node and a node at position 4, 5 and 3 in sequence with value of 1,2,3,4 respectively. I also have a print function to print the values of the nodes. But my print function only prints the … | |
Hi guys i have simple problem that i can't seem to solve and has been frustrating me for some time i am a newbie when it comes to Codeigniter so be kind hahah, okay so on to my problem i have form validation on a subscription form that seems to … | |
i want to do the following :- transfer file from client to server using sockets in a windows based application. I am stuck at the server side code. Server side : ------------- my problem : how to receive file from multiple clients and save file on server c:\folder following is … | |
OK, here it is. It looks to me as if the variable I'm trying to return is assigned in the switch, but I'm getting the error from VS13 that "classChosen" is unassigned. Thank you for taking a look. private static string ChooseClass() { string choice, classChosen; int classChoice; Console.WriteLine("Please choose … | |
Hello, I am developing a database system and as part of a project I have been asked to look into fault tolerance. From what I understand a fault tolerant program is a program that is not vulnerable to errors. Any ideas how I can ensure that the program I am … | |
I tried writing an clock applicantion but it did not work, the number is static, how to make it change. And how to remove minimal, maximal button and icon of windows, for the icon I tried: wcex.hIcon = NULL; wcex.hIconSm = NULL; But it showed a default icon Thanks for … | |
how to file handling e.g read and write file ,with window form application in visual studio | |
Hi I am trying to read the datas from mysql using php in json. but i am not getting my expected output. Please help me to fix the issue. **code** <?php include('../config.php'); //mysql_query("SET NAMES 'utf8'"); $tdate = date('d-m-Y'); $url = 'url'; $sql = "SELECT * FROM pimage where date<='$tdate' and … |
The End.