199,112 Archived Topics
Remove Filter ![]() | |
What is REST API ? can any one explain it with example simply. | |
Dear All, im testing out a way to get data from database depending on the drop down selection and displaying the data into a table by using php. now my first issue which is really really frustrating me because i've done this dozens of time is that i get `Notice: … | |
hey,I have two buttons Start button and Stop button .I run my program by clicking on start button. I want to stop the program during the start button . But the program will not responde until the start buttun finish its job. How i can do check the stop buttun … | |
![]() | I'm looking to remove an individual NTFS permissions from a folder without removing or affecting the other permissions set on the folder. Is this possible? |
So i have a code for a menu and i am facing some problem.. code:- do { ch = getch(); switch(ch) { case 'W': case 'w': system("CLS"); cout<<" MOD v1.0\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; cout << " --> PLAY\n\n"; cout<<" HELP\n\n"; cout<<" EXIT\n\n"; break; case 'E': case 'e': system("CLS"); cout<<" MOD v1.0\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"; cout << … | |
I have a bunch of insert querys running and some of them fail with a duplciate entry. I want to see a log where it says "Error: Duplicate key" and that tells me the EXACT INSERT query that fails so I can see what keys are duplicated. Thanks ![]() | |
public string Data() { string dohvat_podatka = ""; using ( MySqlConnection con = new MySqlConnection("Server=xxx.000webhost.com;Port=3306;Database=xxx;Uid=xxx;password=xxx;")) { con.Open(); using (MySqlCommand cmd = new MySqlCommand("SELECT ime FROM `nastavnik` WHERE prezime=@prezime", con)) { cmd.Parameters.Add(new MySqlParameter("prezime", "Carić")); using (MySqlDataReader dr = cmd.ExecuteReader()) { if (dr.HasRows) { while (dr.Read()) { dohvat_podatka = dr.GetString(0); } } … | |
I want to send an email only if the field name 'Active' has changed in my database table bus_status.. It is a boolean field (TRUE or FALSE) so if it is False and changes to TRUE upon update I want it to send the email or if is TRUE and … ![]() | |
This is a bit complex. I have two tables *bus_status* and *routes* routes has a foriegn key look up from bus_status called UnitAssigned in routes table and it is pulled from the BusNumber field in the bus_status table. Right now when I send an email and include the field in … ![]() | |
Question:write a function append that takes as input two queues Q1 and Q2, appends the content of Q2 to Q1 and returns Q1. The protoype of the function is: queue<float> append(queue<float> Q1, queue<float> Q2); My problem here im completly stuck i do not understand how to work it. here are … | |
I was taking a tutorial on PDO with PHP and MySQL and noticed I could not generate an exception from this code. I wonder what setting I need to put in place to generate the exception. If I shut down MySQL I can generate an error but with MySQL running … | |
Hi, I'm having a major problem with an algorithm for Java. I am building a program that recursively parses a simple programming language that follows obvious production grammars. My main issue is nesting. For instance, the pattern might be something like this: Create Jpanel1:{ Create JButton1 Create JPanel2:{ Create JButton2 … ![]() | |
Can anybody please help me create a address book which can add delete edit etc.. | |
Hey everyone, I have a couple of questions and I'm not sure the best way to ask them..I have a "slideshow" feature on a site I'm working on and when I place the jquery external links for the "tabbed" section, the slideshow doesn't work. It just places the images on … | |
Basically I am woking on this project where I have been given an api. the maximum number of times i can access is 20 calls per second I need to call this api say 500 times I can do simple loop which is foreach($test as $call){ //call api using $call … | |
Hello all, I made a texteditor, and i want to make it when i drag and drop an .txt file onto my .exe file of the texteditor the texteditor opens and the data of the .txt file is in a richTextBox. Please help! | |
C Program - to accept 'n' strings from user and store it in a char array I am currently using Turbo C++ Version 3.0 (one with blue screen) Can any one help with the C Code of the subject ? | |
Alright, so I found a tutorial on how to use lists to make a "TreeList" type thing, basically a list, ordered or unordered, that has a nested list that is collapsible. However, it doesn't seem to be working for me. Here's some code that I'm sure you will figure out. … | |
Need a proper development model for a Car Racing Game.Can any one provide it.... | |
Alright so I want to Display a Browser Not Supported Message if the user is using IE 9 or less. Yes, I am limiting the users, I know. I want this done in JavaScript ONLY. Anyway, I have found a way that checks for IE. If 'ie' = null the … | |
I have a textbox and a label bound to the same member via a bindingsource. I would have expected that at some point when the user changes the textbox, the label would be refreshed, yet it is not. What am I missing here? | |
Hello guys..!! I'm new to python and I have a task which require me to write a simple TCP server which will interact with the web browser. I have done some coding as well as researching over the internet to find relevant notes and materials but none helped. What I … | |
got an application written in vb.net, contains 2 webbrowsers. is there a way of telling webbrowser2 to navigate to a set url when the postdata is sent from webbrowser1?? | |
how to subtract the background in an image. i need only the object and the background should not be present. is it possible to get only the object? Any suggestions are welcome! | |
I using Phpredis and am trying to get information from the following key called "statHistory" I am new to redis and not sure how to call each value individually. I am able to connect to redis using php and have tested it using the ping command. It has been two … ![]() | |
Hi there, I am having difficulties with integrating [datatables](http://datatables.net/). Somehow, my data is being lost/weirdly modified when putting it in my response variable. foreach($aaData as $aData) echo "-".$aData."<br>"; foreach($aaData as $aData) $response['aaData'][] = $aData; My first foreach loop outputs data, and what I see is what I expect. However, when … | |
So i'm new to C and i have a problem with struct, so when i run the program it goes to the_struct2 asks for first name and thats it. why does it stop working? is there a way to make the code more efficient? and is there a way to … | |
my hosting directory permissions is writeable but still i recieved in 0kb files came form my upload page. | |
I am Learning so Can suggest some code. How can i add Multi select Box in Codeigniter. Thank You | |
Hi, I wanted to know if I could search for a file in the application's folder, just by checking with the `File.Exists` method. I am searching for a DLL file in the app's directory. Thanks in advance, Yuvjeeth | |
Create a grade calculator which allows a user to input a mark out of 100% and displays the grade F, P, C, D, or HD. Here are the grade cutoffs: F means Fail and is the mark is from 0 but less than 50 P means Pass and is the … | |
COMBINATION_ACIL contains column: id (primary) prodcode [group] alias lastupdate updateby and here is the steps when i import xml to sql DECLARE @COMBINATION_ACIL AS xml SET @COMBINATION_ACIL = ' <Product> <product> <PRODCODE>CADB</PRODCODE> <GROUP>CADB</GROUP> <ALIAS>ADB</ALIAS> </product> <product> <PRODCODE>CI50</PRODCODE> <GROUP>CI50</GROUP> <ALIAS>I50</ALIAS> </product> <product> <PRODCODE>CI80</PRODCODE> <GROUP>CI80</GROUP> <ALIAS>I80</ALIAS> </product> <product> <PRODCODE>HOSBA</PRODCODE> <GROUP>HOSB</GROUP> <ALIAS>HOSBA</ALIAS> </product> … | |
I'm trying to make a hit counter. I have it working but when I add it to my website, I get a web config. error... <%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Import Namespace="System.IO" %> <script language="VB" runat="server"> Private Sub Page_Load(ByVal sender As System.Object, ByVal e … | |
hi there, is there any type of small/mini project which deals with serial communication interface based on object oriented approach? Because later, I will use QT designer to build it. Thanks. | |
Dim temp As Translator Using sr As IO.StreamReader = New IO.StreamReader("text.dll") For i As Integer = 0 To 15 trans(i).english = sr.ReadLine trans(i).arabic = sr.ReadLine Next For i As Integer = 1 To 15 For j As Integer = 1 To 16 - i If trans(j - 1).english > trans(j).english … | |
Hi all, I really hope that someone can help. I work in a number of primary schools and one of them have several digital display screens around the school. What I am looking for is a piece of free software that displays 'dynamically' all photos placed within a designated folder. … ![]() | |
Following code of animated menu is working well,little bit, but when mouse pointer is over one list element, items inside all other list elements are animated. I want to animate, items inside hovered list element only. if mouse pointer is over **about us**, animate => div items inside **about us** … | |
've created this code to find Sqrt without math.h but gives me wrong values ! So what is wrong ?? #include <iostream.h> #include <conio.h> main() { double n,end,start=0,mid; cin>>n; end=n/2; while(start<end) { mid=(start+end)/2; if ((n-(mid*mid)<=0.001) && (n-(mid*mid)>=0)) {cout<<mid;break; } if(n>mid*mid) {start=mid+0.001 ; end=end;} if(n<mid*mid) {end=mid-0.001; start=start;} } getch(); } | |
Hello I am having trouble calling my addsomethingup() function. It keeps saying too few arguments in the function call. Can anyone let me know what I am doing wrong. I also can only get part of the output to work. I thought it was because of not calling the add … | |
Hello, Working with structures and C++. Our teacher in class attempted to show us how to over load an "<<" operator. I've tried to do that here in the program below without much luck. I have commented out some parts of the code while I am trying to debug this … | |
public class SongIterator<T,L> implements Iterator<Song<T, L>> {} | |
Below Code is not working. it is not displaying any thing on web browser can any one help me out? css file code: car_catlog { background-color:#FF0000; width:100%; background-image:url(car1.jpg); } car { display:block; border:solid; color:#FFF; margin-left: 10pt; } make,model,year,color,engine{ display:block; margin-left: 10pt; } number_of_doors,transmission_type,accessories { display:block; margin-left: 30pt; } XML FILE … | |
"MFC is not a language; it is a native (unmanaged) class library which is a thin wrapper around the Win32 API." now see these header function: void CMyAxUICtrl::OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& /*rcInvalid*/) i belive the CMyAxUICtrl is the instance\object name but it's used outside of main function: … | |
Hi, Is there a Python 3.x library that does mostly what a File Manager (Nautilus, Windows Explorer, PCmanFM, etc) does? I would like the typical features, mime programs launch in the native os, navigation and some GUI file pickers provide some of this. I don't think I can just invoke … | |
Hi all, I've started to get acquinted with Perl's HTML::Parser, which does a really good job at parsing html (duh ;-) But for the life of me, I can't get it to return the actual text from subroutine! I keep getting references to it :\ :\ use HTML::Parser; package MyParser; … | |
hi , please convert this block code to intel syntax ( nasm) xorps %xmm0, %xmm0 movaps %xmm0, -64(%rbp) movb $2, -63(%rbp) movl $3103850762, -60(%rbp) movw $20480, -62(%rbp) leaq -64(%rbp), %r14 | |
**I am using software to create tile map. on map there are different objects ex circle, rectangle, ellipse, polygon etc... I have problem creating ellipse shape. other than that every thing works fine.** ** //loop though map objects and store in 'shape variable'. //so if its circle than store in … | |
I'm trying to create a table but I keep getting errors: Here are the errors: mysql> source Tables3.sql; Database changed ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at … | |
Hello, Billabong is just a small board game. You have kangaroos that you move clockwise around a lake. It looks like this: http://www.deskovehry.com/fotky/billabong/billabong-06.jpg First you need to draw the board etc. The example looks like this: static private void printField(String[][] field) { System.out.print(" "); String letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; for (int … | |
Hi guys, I'm using a very simple database and dataset and it appears to be working, except I can't actually save any data. Here's what I did: I created an empty database with a corresponding empty dataset. I filled it in with 4 rows of dummy data (ID, name, address, … |
The End.