199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Daemon_CC
Member Avatar for nadiam

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: …

Member Avatar for nadiam
0
7K
Member Avatar for ahmadzina85

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 …

Member Avatar for Reverend Jim
0
389
Member Avatar for mrkm1188

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?

Member Avatar for Reverend Jim
0
188
Member Avatar for Vikram Sehgal

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 << …

Member Avatar for jkhippie
0
261
Member Avatar for riahc3

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

Member Avatar for diafol
0
264
Member Avatar for castajiz_2

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); } } …

Member Avatar for castajiz_2
0
1K
Member Avatar for Tina_5

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 …

Member Avatar for iamthwee
0
258
Member Avatar for Tina_5

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 …

Member Avatar for iamthwee
0
276
Member Avatar for nitish.mohiputlall

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 …

Member Avatar for jkhippie
0
297
Member Avatar for rouse

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 …

Member Avatar for rouse
0
307
Member Avatar for Goldfinch

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 …

Member Avatar for iamthwee
0
197
Member Avatar for Manisha_2
Member Avatar for Manisha_2
0
173
Member Avatar for geneh23

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 …

Member Avatar for radhakrishna.p
0
375
Member Avatar for t_thakar

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 …

Member Avatar for t_thakar
0
178
Member Avatar for Wiebren

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!

Member Avatar for Ancient Dragon
0
156
Member Avatar for wayne.nishant

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 ?

Member Avatar for Daemon_CC
0
2K
Member Avatar for Doogledude123

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. …

0
191
Member Avatar for Daemon_CC
Member Avatar for Daemon_CC
0
98
Member Avatar for Doogledude123

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 …

Member Avatar for Doogledude123
0
15K
Member Avatar for PerplexedB

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?

Member Avatar for PerplexedB
0
176
Member Avatar for DawnofanewEra

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 …

Member Avatar for slate
0
495
Member Avatar for dizzydaz

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??

Member Avatar for xrjf
0
117
Member Avatar for varshaholla

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!

Member Avatar for varshaholla
0
120
Member Avatar for sidfarkus

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 …

Member Avatar for diafol
0
310
Member Avatar for bibiki

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 …

Member Avatar for bibiki
0
223
Member Avatar for DkgMarine

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 …

Member Avatar for Banfa
0
262
Member Avatar for momonq1990

my hosting directory permissions is writeable but still i recieved in 0kb files came form my upload page.

Member Avatar for momonq1990
0
741
Member Avatar for ravi142

I am Learning so Can suggest some code. How can i add Multi select Box in Codeigniter. Thank You

Member Avatar for liamfriel
0
6K
Member Avatar for yuvjeeth

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

0
203
Member Avatar for sammy1231

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 …

Member Avatar for JamesCherrill
0
143
Member Avatar for silent lover

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> …

0
123
Member Avatar for tbuchli

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 …

Member Avatar for tbuchli
0
560
Member Avatar for alagez

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.

Member Avatar for alagez
0
195
Member Avatar for danyalempire

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 …

Member Avatar for ddanbe
0
361
Member Avatar for chris con

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. …

Member Avatar for delonline_1
0
134
Member Avatar for vizz

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** …

Member Avatar for vizz
0
269
Member Avatar for shehata07

'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(); }

Member Avatar for shehata07
0
327
Member Avatar for mxwarning

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 …

Member Avatar for mxwarning
0
635
Member Avatar for jtjudge

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 …

Member Avatar for Ancient Dragon
0
324
Member Avatar for Pyler
Member Avatar for Bchandaria

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 …

0
145
Member Avatar for cambalinho

"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: …

Member Avatar for cambalinho
0
290
Member Avatar for rwe0

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 …

Member Avatar for rwe0
0
215
Member Avatar for FelineHazard

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; …

Member Avatar for FelineHazard
0
391
Member Avatar for jack_7

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

Member Avatar for untio
0
357
Member Avatar for android_gl

**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 …

Member Avatar for android_gl
0
647
Member Avatar for Transcendent

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 …

Member Avatar for Ancient Dragon
0
273
Member Avatar for XodoX

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 …

Member Avatar for JamesCherrill
0
181
Member Avatar for TarkiB

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, …

Member Avatar for PerplexedB
0
1K

The End.