199,112 Archived Topics
Remove Filter ![]() | |
Hi I want to figure out a way to update multiple rows that depend on a couple of variables. I don't really know the syntax in SQL, but I know what I would do in C, so maybe if you could translate this... [CODE] switch (x) case 0: switch(y) case … | |
hi again, I think I installed Java 3d correctly... I can compile code, but the code won't run. this is the error I am getting: [QUOTE] # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0949c964, pid=3832, tid=3604 # # JRE … | |
ok so i have a project for school, and i finished so the teacher wants it to read for a .dat the parameters for the java class here is what i got: [CODE]public void cargarCurso(){ try{ BufferedReader fileIn = new BufferedReader( new FileReader("c:/cursoSem2.dat")); String dataRenglon = fileIn.readLine(); while(dataRenglon !=null){ StringTokenizer … | |
I am new to VB.Net but have a strong background in C# so it isn't that hard to learn it. One issue I have noticed is how enums work. In C# a public enum is considered static, for example: [code] public class foo { public enum bar { enum1, enum2 … | |
hi guys im beginning in php im using dream waver and php my admin i have problem for insert when in insert it give me two record i want to be in same record to insert for my form :[CODE] <table class="table"> <form action="11.php" method="post" name="form2"> <input type='hidden' name="ORDER_DESC" id='hidden' … | |
EDIT* Sorry I didn't mean to add that error message in the topic title. Hey guys, I'm new to PHP and MYSQL and I have been searching for hours for a way to copy the data from a row in one table (all columns) and insert it into another table … | |
![]() | Hello, Im trying to make a simple equation solver with tkinter. Originally i built it without using classes and it worked fine however I am now trying to use a class. [CODE]from tkinter import * import math class RootFinder(Frame): def __init__(self, master=None): Frame.__init__(self, master) self.grid() self.create_widgets() def create_widgets(self): self.root1lbl=Label(self.outputframe, text='') … |
Hi everybody, I'm trying to write a program to simulate a solitaire game that my math teacher showed me so that I can eventually get an approximate probability of winning. Although I eventually plan to simulate the game many times, I'm only going through it once at this point with … | |
I am a beginner with win32 programs, and am trying to integrate my console into a window. My console program starts a new thread which creates a window. [CODE]DWORD dwThreadID = 0; HANDLE hThread = CreateThread(NULL,0,ThreadProc,argv[0],0,&dwThreadID);[/CODE] i want to create a miniature output textbox within my window, which reads the … | |
Hi I have always seen many softwares having a customized look, for example, PuTTY software has two computers icons in a network. Others, such as NetBeans IDE, when double-clicked first show some sort of a window before showing a real software environment. So I am just curious about how this … | |
Hi, I am a beginner in programming of python , in python to view all the functions and other objects of 'keyword' module,i used the command ,dir results the some objects like __file__,__package__,__doc__ but these are not the functions of keyword module,could u please tell me the reason................. :D >>> … | |
So the "this" eh, handle.. in C#, in what ways is it different from "Me" in the latest version of VB ?? | |
hai i have used adrotator in top of the page and left i have link buttons which is in panel . Then right i have iframe..tat iframe shows the page which is clicked by link button. but my adrotator picture is not changing.but when i refresh the page its changed.. … | |
Hi folks, this is my first post in danniweb, please excuse me if I am in the wrong place or the thread title lacks self explanation. I am very disoriented in the field since im new in MS SQL. Before going into the problem, I'm going to give some context: … | |
I have this code: [CODE]def welcome(): '''========Welcome to Jaron's======= ====Video Game Rental Service====''' def menu(): while True: print '''0-\t Exit 1-\t Register 2-\t Log-in 3-\t Browse 4-\t Read-me''' try: menu_choice=int(raw_input('Please make a selection by number: ')) global menu_choice break except ValueError: print "Oops, it seems like you made a mistake. … | |
I need to join 3 tables (superseller, adexmart and generictable) and fetch following fields from above 3 tables: 1. url, price from table superseller, and 2. url, amount from table adexmart where 3. pid='somevale' from generictable a. superseller table url, price, id (fields) b. adexmart table url, mount, id (fields) … | |
Hello to all Actually I am on web project with html and java script and my problem is that I have send feed back form as E mail, is there any though which can I send My feed back as an email without using php or asp because I know … | |
I am going through a tutorial and have come to opening a file. I'm running it in Command Prompt, but I know there is no problem with that because I have been running code in it without problems. Here is the code I'm supposed to be typing: [CODE=Python] f = … | |
I am creating a program that will install multiple programs, because I build new computer quite often. For example "MyInstallProgram" will launch and allow the user to select which programs (MSOffice, Acrobat, WinZip etc.) to install. When compiling the program, what code can I use that will insert a time … | |
One solitaire game practice until the first win or 'q' after game. | |
I have a datatableof string values.one of the column name target attribute(that column will have maximum 4 different strings ,but all repeated in several rows,repetition of the four strings also not equal) is already known.I had found out which column number it has.again i have to find what are the … | |
I am learning visual c# and am having trouble subscribing to an event. The book says, [B]"Now you create the handler for the two text boxes that must be checked to see whether they are empty. You do this by subscribing to the Validating event of the text boxes. You … | |
Hi. i didnt actually find the exact place to start this thread. I ,and my friends, are doing a major project on HIDS(host based intrusion detection system). I think i know the sources of information i need for the analysis but i dont know how to get them. These are … | |
Hi. I am trying to send the name of a file which is going to be launched for execution using a script from a *.js file. So in the original *.php file i have imported the *.js file like this: [CODE] <script type = "text/javascript" src = "getListsInfo.js"></script> [/CODE] Then, … | |
Hey guys, creating a simple script for registration and login. Managed to get the registration form working and adding users to a simple 4 table database. Having problems with the login form. I am not sure how to write the code that validates the user and password because every time … | |
Hi ,I am trying to implement stack with linked list ,but when I run it show up NullPointerException How can I avoid that with try and catch Thanks [CODE]public char pop() { try{ ListNode returnNode = top; top = top.next; } catch (Exception e){} return returnNode.value; }[/CODE] | |
This is what I have, How would I declare the array based on what I already have? [CODE]#include <iostream> #include <fstream> #include "tempFns.h" using namespace std; int main (void) { // DO: declare an array of type double called temperatures // Use the constant MaxDays for the number of rows … | |
hi, I have created a drop down box and have added the data from my database. Now i have repeated values inside drop down since its being retrieved from database directly.I want those repeated values to be removed. For instance, My drop down values are retrieved from database called fruits … | |
Hi, this is my first post. I'll try to keep it short. Basically, I'm trying to solve a one-way wave equation using finite differences. I'm trying to put the values in an multidim. array, where a column represents a time step. The first column is the initial condition. I calculate … | |
Im thinking about taking on a chat room php based project. I want to make sure my logic is right though. This is very raw so please feel free to contribute if you see any problems that might occur. [B][U]MYSQL[/U][/B] [U]TABLES[/U] Username chatroom1 chatroom2 etc.. [B][U]PHP[/U][/B] [U]Sign up.php[/U] Insert username … | |
Hello I want to make cron job for php page Every day at 12 am how can i do that? | |
Hello, Can anybody help me for connection to multiple database dynamically. Its means I wann to connect the respective database by choosing of the user , Tell take an exmple we have 3 clients namely C1,C2,C3 and having respective databases namely D1,D2,D3. I want to connect the database D1 if … | |
[CODE] <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery-1.3.2-vsdoc.js"></script> <script type="text/javascript"> $(function() { $("#Button1").click(function() { $.getJSON("ticketPriceInArray.js", function(json) { var ticketPriceArray=[json.tickets[0].price, json.tickets[1].price, json.tickets[2].price, json.tickets[3].price, json.tickets[4].price, json.tickets[5].price]; alert(json.tickets[0].type); var inputWord =$("#keyword").val(); if (inputWord=="A"){$("#result").text(ticketPriceArray[0]);} if (inputWord=="B"){$("#result").text(ticketPriceArray[1]);} if (inputWord=="C"){$("#result").text(ticketPriceArray[2]);} if (inputWord=="D"){$("#result").text(ticketPriceArray[3]);} if (inputWord=="E"){$("#result").text(ticketPriceArray[4]);} if (inputWord=="F"){$("#result").text(ticketPriceArray[5]);} }); }); }); </script> [/CODE] Here is "ticketPriceInArray.js" [CODE] { "tickets":[ … | |
Hi all, I have been trying to remove the URLS with [url]http://www.CHickenHead.com[/url] that have areguments ?s= and ?sul= fromt some text. I can remove them but it is not case insensitive on the domain name part. How can I modify this regex? I have tried (chickenHead.com)i but this doesen't work. … | |
i have a radio button and a text box. when i select the radio button, then will come out the text box to let user fill in. may i know to show the text box? below are my coding. [CODE] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
Would appreciate any ones help or advice!! We have a website for our business where customers log in and book their children on to an activity course. At the moment they have to re enter the childs data every time they want to sign up for the course, however what … | |
[url]http://www.myu2sig.com/checkit.php[/url] The below code is from the above URL, what I would like to have done is have some code added that takes the (Delete) beside each name and turn it in to a clickable link that deletes ONLY the mage it's attached to. So if delete is hit for … ![]() | |
Guys i m developing an application. I gt the problem while executing the code. [CODE] Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).[/CODE] Any 1 know the solution? I have been stucked for … | |
hi.... im getting this error "Syntax error converting datetime from character string" when im trying to insert values into the table in sql server 2000....here is hw my code goes... insert into vw_student(RegNo,StudID,StudName,FathName,Sex,DOB,Department,DOJ,Yr,ContactNo)values('0001','1101','Abilash','Ramankutty','Female','1989-02-03','B.com','1styear','2006-06-16','90451299098') pls help me in solving dis.... | |
hello! i need to know how u can add a doc or rtf file to Resources. I need to then open the file and show with same formatting in a rich text box. i need to do it urgently..please help me. i am using VS 2010,c sharp. ThankYou all | |
[CODE] int x,y; while(cin>>x>>y) { if(x>y)cout<<x<<"\n"; else if(y>x)cout<<y<<"\n"; } [/CODE] This seems clear,but when I entered this: [CODE]2 4 6[/CODE] and hit enter, I get this: [CODE]4[/CODE] after which I am being asked to enter something again. I put 8, and it prints 8. But what is exactly happening here? … | |
I'm creating a form: Page 1 has multiple input fields, as well as dynamic form fields (using jquery load to add additional inputs as necessary). Page 2 reads these inputs and sets the values to a session variable (the only values I'm storing in the session are the dynamic inputs). … | |
Hello! This is my first post. I've put this up on several other forums, but this one seems slightly more active (python-forum.org is a snooze-fest). I have been learning python for a few months and decided to make a chat server that you connect to through telnet. It's working fine … | |
So I have this code for my webpage but whenever I put in the "include" php code [CODE]<?php include('include/mysqli.inc'); ?>[/CODE] everything below that disappears. Basically I'm trying to enter in the appropriate variable data from the quotes database that I'm using into the correct table fields. But I can't do … | |
I was wondering how you take a value given by the user via textbox/form/etc, and propagate it to other links within my webpage. For example, I'm building a website that retrieves stock quotes. I have a form where the user can type in a stock symbol (i.e. GOOG, MSFT, KKD, … | |
I have this structure: [CODE] typedef struct nodo{ int dato; struct nodo *izq; struct nodo *der; }nodo; typedef struct nodo *avl; [/CODE] I have this method: [CODE] void insertar(avl *r, int dato){ if (*r==NULL){ *r=(nodo*)malloc(sizeof(nodo)); (*r)->dato=dato; (*r)->izq=NULL; (*r)->der=NULL; [/CODE] All this code works perfectly. My question is about the line: … | |
Hello all In my table mytable I have Date column. how is the query to find the nearest date in mytable to current date ? thank you denny | |
Hey All, I'm making online simple fighting game, this script is the attack.php which calculate the atk from the primary weapon and secondary weapon and calculate the def from the equipped armor and get them from the db what i want is if i add new item like Shield and … | |
Hello, I have just been added to a VB.Net Windows Application project. I have downloaded projects from Source Safe and I am runnning into problems viewing various forms across all th projects. When I try to view various forms in VS2008 I get this error: [I]The designer could not be … | |
I am trying to add a border around the base they select and then when they select another one, I want the previous one to go away and then high light that one. This is my PHP code that outputs the bases: [code]$gender = $_GET['gender']; // SQL Injection here? $sql … |
The End.