199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for violette

Hi all. i have a problem on my coding here. it should insert the new triggered alert into database but it does not work. please have a look and tell me which part i've done wrong. thank you :) [CODE]Protected Sub repeaterAlert_ItemDataBound(ByVal sender As Object, ByVal e As RepeaterItemEventArgs) Handles …

Member Avatar for bluehangook629
0
158
Member Avatar for lxXTaCoXxl

I've noticed that while programming sometimes a tool tip window pops up beside the selected class in the drop down window while typing. This tool tip often contains a description of the class or variable that is highlighted or selected. I was wondering how to do this for my own …

Member Avatar for lxXTaCoXxl
0
94
Member Avatar for lscamaro

I'm writing a pig latin program and am having problems moving onto the next word and printing the words. I have to print from the first vowel onto the end of the word and then from the beginning of the word to the first vowel including the vowel itself. [CODE]#include …

Member Avatar for YourGamerMom
0
490
Member Avatar for violette

[CODE]Protected Sub updatedata() Dim strSQL As String strSQL = "UPDATE company_alert, company_financial" strSQL = strSQL & " company_alert.alert_value = (company_financial.receivable * 360 / company_financial.revenue)" strSQL = strSQL & "WHERE company_alert.alert_id='DSO' AND company_alert.stock_code = company_financial.stock_code AND company_alert.year_id = company_financial.year_id AND company_alert.period_id = company_financial.period_id" cmd = New MySqlCommand(strSQL, conn) cmd.ExecuteNonQuery() End Sub …

Member Avatar for bluehangook629
0
165
Member Avatar for violette

[CODE] Protected Sub updatedata() Dim command As New MySqlCommand("UPDATE company_alert, company_financial SET company_alert.alert_value = (company_financial.receivable * 360 / company_financial.revenue)WHERE company_alert.alert_id='DSO' AND company_alert.stock_code = company_financial.stock_code AND company_alert.year_id = company_financial.year_id AND company_alert.period_id = company_financial.period_id", conn) command.ExecuteNonQuery() End Sub Protected Sub insertdata() Dim strSQL As String strSQL = "INSERT INTO company_alert (stock_code, year_id, …

Member Avatar for bluehangook629
0
306
Member Avatar for AsifBhatti

when i install sdk setup take lot of time after few hours stop setup please guide me about sdk setup all api already install in one zipfile..

Member Avatar for Awais Ali
0
122
Member Avatar for kpeckly

have been trying to display on my data grip view but is not. i want a situation where by it will display on the datagrip view base on the invoice number, below are the code Private Sub getLastID() Dim oleDBDR As SqlDataReader Dim oleDBCommand As New SqlCommand With oleDBCommand .Connection …

Member Avatar for bluehangook629
0
176
Member Avatar for BorisBox

I get this error im trying to setup my PTC site :S Parse error: syntax error, unexpected T_CASE in /home/a9378945/public_html/index.php on line 72 [CODE]<?php # CHECK SESSEION COOKIE if($_SERVER["SERVER_NAME"] != 'localhost'){ if($_SERVER["REQUEST_METHOD"] == 'GET'){ if(strpos($_SERVER["HTTP_REFERER"], 'google') !== false){ if( isset($_COOKIE['r']) || isset($_GET['r']) ){ setcookie('r', '', time()-3600); header("HTTP/1.1 301 Moved Permanently"); …

Member Avatar for diafol
0
140
Member Avatar for A.D.M.I.N

I want to take a function and repeat it by an amount which a user will input. Thanks in advance!

Member Avatar for Ene Uran
0
87
Member Avatar for ilovejava

hey guys I need help to implement a array list I have the skeleton structure written out but some of the methods do not work and I have troubles with the remove method please help and how do you do isEmpy method [CODE]//tried my best dont get some stuff public …

Member Avatar for Slimmy
0
201
Member Avatar for Nachodsk

[CODE]class Personaje(object): def __init__(self,vida,posicion,velocidad): vida = None posicion = None velocidad = None recibir_ataque = None def recibir_ataque(vida): recibir_ataque in range(1,100) vida - recibir_ataque print "La vida actual del personaje es de", vida, " Luego de haber recibido", recibir_ataque, " de dano" def excepcionVida(vida): if vida <= 0: print "El …

Member Avatar for SgtMe
0
248
Member Avatar for shurshot

I have this bit of python code that imports pygames to draw lines. It auto creates lines when two or more points are clicked on. I'm bad at explaining but you'll see when you run the code. It's pretty simple but I find it kind of fun to mess with …

Member Avatar for Ene Uran
0
3K
Member Avatar for That_Dude

Hi, all. I am a undergraduate computer engineer major, and I am currently learning Bode plots. I am very fluent with C++ but have been out of the game, as far as creating something goes. I am looking to implement a program that can construct a Bode Plot. A bode …

Member Avatar for mike_2000_17
0
726
Member Avatar for alarifth

Hi everyone! When i compile my small piece of code it gives me the error [COLOR="Red"]C2512 : No appropriate default constructor available[/COLOR] this is my definition of class person: [CODE] // Person.h // A class defining a person #pragma once #include <iostream> #include <string> #include <functional> using std::cout; using std::endl; …

Member Avatar for mzimmers
0
10K
Member Avatar for luweegee

Hello Guys! I'm looking for a javascript that will expand the list and collapsing of this menu... [CODE] <ul id="menu"> <li>Menu Item 1 <ol> <li><a href="#">Sub Item 1.1</a></li> <li><a href="#">Sub Item 1.2</a></li> <li><a href="#">Sub Item 1.3</a></li> </ol> </li> </ul>[/CODE]

Member Avatar for AleMonteiro
0
352
Member Avatar for rajeshpodder007

I made a downloader.i need it can run multiple time a moment.i mean to say when we click on vb.net application icon it runs only one time.if we again click on vb.net application it cant run second time. We need to stop the first application and then run again . …

Member Avatar for Reverend Jim
0
166
Member Avatar for lxXTaCoXxl

I'm trying to get the Physical Address of the user's computer but having no luck. I developed a method that was working but isn't anymore. I'm also having trouble getting the IP Addresses Broadcast and Loopback. [CODE] string ip = IPAddress.Broadcast.Address.ToString(); string ipl = IPAddress.Loopback.Address.ToString();[/CODE] The physical address is the …

Member Avatar for sknake
0
199
Member Avatar for hindu times

Hi there, I'm working on someone else's site, and I need to add something to their form to make sure that the email address people enter is the correct format (i.e. it has a @ sign and a "."). It currently only checks if there is anything in the field …

Member Avatar for MeSampath
0
157
Member Avatar for McLaren

Hello, I am having trouble in starting apache. I had vista before and it worked well. Now I installed win 7, and have trouble. When I want to start, I get messages: Busy... Apache started [Port 80] I tried turning off skype, because it was causing problems often. But didn't …

Member Avatar for McLaren
0
3K
Member Avatar for Akill10

Hi, Been looking about and cannot find an answer to this. Is it possible to view the class diagram for your project in the express edition of VS? If not, are there any plugins etc. for it which would allow me to do so? If not, does anyone have any …

Member Avatar for Akill10
0
110
Member Avatar for slygoth

In this code i would like to store the values that are being outputted. [CODE] fstream filestr; char check[4]; filestr.open("D:\\bio.pdf", fstream::in | fstream::binary); if(filestr.is_open()) { int i; char check[4]={0}; for(i=0;i<4;i++) { filestr.read(&magic[i],1); [COLOR="Red"]cout<<hex<<static_cast<int>(check[i])<<endl;[/COLOR] //<-- This LINE } } [/CODE] The numbers that are printed here i would like to save …

Member Avatar for slygoth
0
107
Member Avatar for c.uetn

Help with java Button How about I'm making a music player but I like the look of the button you added the image as ImageIcon because for example the play button is round and I want to lose those edges rectangular button and wanted to find a way to insert …

Member Avatar for c.uetn
0
513
Member Avatar for Tortura

Hey guys, I created a main GUI for a measurement program. Beside all existing controls, there are two important buttons. START and ABORT. By pressing the START button, a method for measuring is run. Now I can not press any control on the form. That's okay, but I need the …

Member Avatar for Tortura
0
223
Member Avatar for bilal_fazlani

I have tried this : [CODE]update customers set customers.acc_balance = (select sum (invoices.inv_amount) from customers left join invoices on customers.cust_id=invoices.cust_id group by customers.cust_id)[/CODE] this [CODE]update customers set customers.acc_balance = (select sum (invoices.inv_amount) from customers inner join invoices on customers.cust_id=invoices.cust_id group by customers.cust_id)[/CODE] error is : Subquery returned more than 1 …

Member Avatar for bilal_fazlani
0
264
Member Avatar for avgvstvs

I have just completed my first program in c++.I am an ultra newbie,have only been doing c& c++ for 12 days,so please forgive me if my program is shit.Anyways i would like the experts on this forum to evaluate my work and give me tips and hints to make myself …

Member Avatar for avgvstvs
0
339
Member Avatar for BlackRocker

Write a program that uses two parallel arrays to store student names and their grades. It should use an array of strings that hold the names and a two-dimensional array of integers for grades. Use nested loop to add individual student grades and get the average grade of each. The …

Member Avatar for BlackRocker
0
204
Member Avatar for MrJody

Hello, I would like to use a button as a link and pass the session variable in a jsp! The below code should work. Any help is appreciated. Thanks. I use encodeURL if the user has cookies off. This works with links but not when using an input button with …

Member Avatar for sarathpetec
0
1K
Member Avatar for jdh1231

So, I am suppose to make the bar chart looking like the picture attached below using Array and for loops. It suppose to output a bar chart (using "*") of temperatures for the hours. Range of temperatures should be from -30 to 120. Each * should have amount of 3 …

0
140
Member Avatar for a.oprea

Hello. I want to ask you all how to remove an element from an arraylist? Let's say the arraylist is made of the Integer elements: 23, 43, 40, 10; I want to remove the number 43. How do I do that? And don't tell me arraylist.remove(1); because this removes the …

Member Avatar for JamesCherrill
0
214
Member Avatar for low1988

I'm going to do my graduate dissertation this year .My title is develop a forensic tools which is able to detect and analyse the file signature then compare it with the extension.If the extension is wrong match with the file signature then there is a feature in the tools that …

Member Avatar for akkbkht
0
1,000
Member Avatar for nickg21

Hey everyone, I'm fairly new to .Net and I am just starting to write some queries to begin using my database files, and I keep running into these errors. I have stepped through numerous tutorials and reference guides and still cannot seem to get things working properly. Basically I have …

Member Avatar for nickg21
0
173
Member Avatar for calebcook

Hi. I'm trying to make a site where people can purchase zip files. The zip files will be made on-the-fly. My question is: [B]how do I restrict access to the files? I need to make it where the zip file can only be downloaded once, and it can only be …

Member Avatar for calebcook
0
187
Member Avatar for Arjunah

This is a program which i am making of a quiz in which there are lifelines for helping the user solve his question. this function is to chose from whichever lifeline the user wants to chose. but my problem is that it is not inputing the string i.e not using …

Member Avatar for WaltP
0
185
Member Avatar for slim1_1

Very new to C# and this forum. I'm not asking anyone to do this for me, but some hints would be very much appreciated. Assignment states that you retire at age 65 and deposit the same amount of money each year from the time you are 20 years old. Your …

Member Avatar for slim1_1
0
144
Member Avatar for nsyncpilu

Hy , Is there any way to remove the windows borders (the upper with the name and (space) close , minimize , maximize ,the right one , left , down) from an java app? I develop the app in NetBeans , so here is my code for opening the "main" …

Member Avatar for nsyncpilu
0
906
Member Avatar for sammry

I have a registration form where I need to prevent people entering bad usernames. For example, people when they enter their username as virus, then the form should not be accepted. How can I prevent bad usernames in my Registration forms. Is there any function to do the same? Please …

Member Avatar for diafol
0
762
Member Avatar for bangla

Hi, [CODE]<html> <body> <?php $file=fopen("welcome.txt","r"); ?> </body> </html> [/CODE] I have the code. Where would i save welcome.txt file. Will I save it on desktop or server side same directory as what i am currently working on? Thanks.

Member Avatar for nalini@121
0
77
Member Avatar for user543820

hi! i want to move a character A on the screen by using arrow keys. i know that there are 25 rows and 80 columns.i take a character input as follows: char input; cin>>input; int put=input; here, the ascii value of input goes in put. i am using the ascii …

Member Avatar for Ancient Dragon
0
925
Member Avatar for domh87

Hi, I am building a site and i need to move the contents from one form to another on a different page. The code i have used worked fine when i was testing, but since i put it on my live site i get syntax errors which i think is …

Member Avatar for Airshow
0
149
Member Avatar for markdean.expres

I have this control named axWindowsMediaPlayer. Everything is going smooth. Just have one concern - I have been really figuring out how to get the file information of the media files that I am playing. I mean, what I want is that, I can display the length of the music …

Member Avatar for markdean.expres
0
69
Member Avatar for Dakot

hello , i made a election program , here it is [CODE]#include <iostream> #include <cstdlib> #include <string> #include <conio.h> #include <iomanip> #include <fstream> using std::ofstream; using namespace std; string users[4]; char choice2; int votes[100] = {0}; int choice; int totalVotes=0; void votes1() { cout<<"Voting! : "<<endl; cout<<setw(21)<<left<<"(1) To vote " …

Member Avatar for StuXYZ
0
183
Member Avatar for stanley87

Hi,pleasure to meet you all.I wanna to ask how to write a javascript code to connect with php api authentication located at my server(eg. [url]www.mydomain.com/api/index.php[/url]). 1.I wanna put a javascript code to call the api authentication function at my website server so that other people can access through the api …

Member Avatar for Stefano Mtangoo
0
355
Member Avatar for cvanithakpm

hi i need the help that how to calculate the bytes of datatypes in java...? if it in c/c++ we will use sizeof.. but in java.. how could?

Member Avatar for JamesCherrill
0
115
Member Avatar for maynardjk13

Hello! I was given the following problem: Define the function f(x; y) as: f(x,y) = sqrt(x^2-y^2) Write a program that produces a table of f(x, y) for integers x and y from 0 to n where y <= x. The value of f(x,y) appears in row (x+1), column (y +1) …

Member Avatar for selina12
0
166
Member Avatar for javaAddict

This is not much of a question, but a discussion and searching for opinions. I have seen that many use the Scanner class for getting input from the keyboard. Some, like myself, use the BufferedReader. Why will someone use one over the other? Or they both do the same thing …

Member Avatar for StephNicolaou
0
553
Member Avatar for Shodow

help me update my database.. when i click edit it will add a new record.. i want to update a record.. to edit a new record it will be base on the cutsomer's nameu [CODE]Dim conn As ADODB.Connection Dim RS As New ADODB.Recordset Set conn = New ADODB.Connection conn.ConnectionString = …

Member Avatar for Shodow
0
2K
Member Avatar for iamcreasy

I am trying to print my stack trace on a file. So far I am successful. But, when I try to create the log file name using current time and date, the main program throws exception in the Output(NetBeans) window instead allowing my code to handle it. I am using …

Member Avatar for JamesCherrill
0
164
Member Avatar for gunjannigam

Can anyone suggest a open source llibrary for plotting 3D graphs . More precisely dynamic graphs. I was using jfreechart but that is only for 2D plots. I need a library so that I can plot 3D graphs.............

Member Avatar for AppB
0
144
Member Avatar for Mirfath

Hi! i want to deselect a few menu items depending on the user! For example the administrator can have access to all the menu items in the form , Manager access to an additional few items and the data entry person to have access only the data entry menu item! …

Member Avatar for Mirfath
0
216
Member Avatar for aliyesami

hi ! below is a simple html code which lets a user input a value and then passes it to a php program which runs a sql querry againt an oracle database displaying the result set. what I would like to do is to be able to offer a drop …

Member Avatar for sarper
0
898

The End.