199,114 Archived Topics
Remove Filter ![]() | |
I was trying to array a string within a string. And I keep on receiving a compiler error. So I’m wondering if is even possible to string a string within a string? Because that’s the error I keep on getting. If not then what is another way to create a … | |
how to make a looping with a array? this is my program, it make a visual basic 6. this is program to input a many song to database, and the list song in a list box. if we selected one song in a list, otomatic specific song will appear in … | |
Hello everyone. I have successfully added an image to my JPanel, but what I want to do is this: I want to be able to mark a section of the image as clickable. Then when the user clicks within that section, I run some action. So essential I want to … | |
I have always had this question, but I couldn't quite find anything that answered it. I was hoping someone could shed some light on the question... Thank you in advance. | |
I learned a new technique (from Chris Coyier), and I thought it may be helpful for you guys. Some of you guys may find this helpful if your creating a preview/demo page and you want to go back to original page. This could help you guys. <?php $return = htmlspecialchars($_SERVER['HTTP_REFERER']); … | |
Hi, I've already posted a thread about this on stackoverflow, but nobody has said anything useful, and it's been a day since it has been posted. I'm trying to scan for a memory address in a targeted process, but it goes really really slow. Either that, or there's something wrong … | |
I have javascript:- when we click on the 'home' link it shows home stuff,then when we click the 'about' link it shows the about related things. How to make this only to have one button and that 1 button should be able to change links on clicks. Here is the … | |
Hello! I need help about fwrite option ,i have this script and need write everytime that $id , but my problem is when the script have another id delete the first one and rewrite the new one.i need to have old and write the new without rewrite the old $id.Thank … | |
Hi, I am using windows 7 sp1 32bit, try to install "Oracle 11g release 2" I am getting below errors and not properly installed help me to solve this errors thanking you file not found C:\app\I\product\11.2.0\dbhome_1\oc4j_applications\applications\em.ear file not found C:\app\I\product\11.2.0\dbhome_1\oc4j_applications\applications\em\em.war file not found C:\app\I\product\11.2.0\dbhome_1\ctx\admin\dr0ulib.sql.sbs file not found C:\app\I\product\11.2.0\dbhome_1\ctx\admin\dr0ulib.sql.sbs file not … | |
I have an abstract class CArticle and two derived classes CBook and CMagazine. I also have a class CLibrary where i want to add articles. Its members are an int variable to count the articles and a double pointer of CArticle. I have the following main function: int main() { … | |
Hello, I had really less experience in VB. NET (creating small and basic applications, working with progressbars, buttons and other really easy and basic stuff). I know that C# is more powerful (but hard, too) than VB. NET. So, I am deciding to create programs at a more pro level. … | |
Hello everyone, I am new to programming and I was wondering if anyone could help me out. I have hundreds of CSV files in a folder that I need to edit and resave. Can anyone give me a bit of code to start me off properly? | |
I am reading a CSV file and need to add the information into an existing database. I am able to read and display the information correctly. When I try the code below, I get the error *"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING on line … ![]() | |
I want to write a script that logs an user into Facebook and initialize oauth dialog to get the access_token(*I don't want to log in into a website using facebook account!*). I don't want to use facebook-sdk,pyfb etc. This is what I've tried: import sys, urllib2,json,urlparse,webbrowser, os, cookielib, re class … | |
Hello Good day. I have an interesting question as it relates to adding a background image to a JPanel (or whichever component is best for what I'm trying to achieve. Hopefully I'll get some help here.) I have a large picture that I want to use as a background image … | |
i am new to study web development..can anyone help me to how i can connect my website with the database..what are the requirements..very basic please.!! | |
Hello, I was just noticing that the 'const'ness of references often causes me to rewrite a large chunk of my code with pointers. For example if I have a class that needs access to a large amount of data from another class I would love to use a reference. However … | |
HELP !! THis is driving me insane, I already spent 2 hours on this and can't seem to resolve it. Here is the problem: I have a backgroundimage for my listview in vb.net I programmatically (see below) add items to the list. All items have a white or other solid … | |
I have the following code but when $newstring echos out as '.-ucwords(strtolower(-['First.Name']))-.-'-'.-ucwords(strtolower(-['Last.Name']))-.-.php It should echo out the fields from the database noy just that code. If someone could help please $txtname = "'. ucwords(strtolower($row ['First.Name'])) . '-'. ucwords(strtolower($row ['Last.Name'])) . "; $newstring = str_replace(" ", "-", $txtname); while($row = mysql_fetch_array($result)) … | |
Hi , I am new to hibernate and facing issues with composite key mapping.Please help,.While running class name Example,At line 36:- **List sites = session.createQuery("Select h from SiteStageDto h").list();** code is returning null pointer,the hql is returing right query but unable to fetch data to list. I am also posting … | |
![]() | I am string to convert a string to a constant as the `StringChangeEx` function takes the second argument as a const but i have it as a string and am unsure how to get this function working as i am new to pascal. The problem is in the BackupFile function … ![]() |
hi i would like to know how i can stop multiple form insertion. What i mean is after you submit a form if you refresh the browser sends the script again. I done this with the header() function to resend the user but i also need to show a message … ![]() | |
Hi, I'm modifying a login script; I added an avatar system and now I get an error: Parse error: syntax error, unexpected 'if' (T_IF), expecting function (T_FUNCTION) in /home/promanx2/public_html/include/session.php on line 455 The whole code of that page is here. <?php /** * Session.php * * The Session class is … | |
Hey everyone, Having a few problems: 1. It's not populating the dropdown with all the entries (But in the delete function it is, which is a somewhat copy) 2. It doesn't post the Employer name, the result I'm getting is "Editing user: *BLANK*" Here is the code: function JobBoard_admin_edit() { … | |
This is what I try to achieve: *serialize a class to a binary file *get a BindingList(of class) or List(of class) from the binary file *display the list in a DataGridView I get InvalidCastException when I try to get info from the file. My class: Imports System.ComponentModel Imports System.IO Imports … | |
I have been looking at the code below and it is driving me nuts. Can anyone explain the error and resolution? When I compile to code below I receive the following compilation error: cannot find symbol symbol : class User location: class com.atlassian.jira.rpc.soap.beans.RemoteUser package com.atlassian.jira.rpc.soap.beans; import com.atlassian.jira.user.util.UserManager; import com.atlassian.jira.user.util.UserUtil; public … | |
In our college we practice python on ssh. This command prints all the computers ( processes ) logged in. ps -A | grep bash I was wondering how to obtain my process ID for that session. | |
i have 3 textbox text1 & text 2 for input & text3 for sum of text1 and text2.plss help me guysss | |
<?php $query = "SELECT studinfos.lname, studinfos.fname, studinfos.mname, studinfos.suffix, studenroinfos.yearLevel, studenroinfos.sy FROM studinfos INNER JOIN studenroinfos ON studinfos.idNumber=studenroinfos.idNumber WHERE (studinfos.idNumber='$searchString') OR (studinfos.lname='$searchString') OR (studinfos.fname='$searchString')"; $result = mysql_query($query); echo "<table border=0 style='border-collapse: collapse' width=95%>"; while ($record = mysql_fetch_array($result)){ $name= $record['lname'].', '.$record['fname'].' '.$record['mname'].' '.$record['suffix']; /* when sql is modified already i can insert … | |
Hi All, I'm fairly new to using Linq but I thought I had a handle on it, apparently not though. I'm processing an XML file sent out as an error report by a third party. I have no control over this file and it has been developed to an industry … | |
Hi all i Want To Create menu like Flipkart and Amazon in asp.net So any budy have any idea Please Post answer Thank In Advance | |
I am getting this error "The program is still running! Do you wan to kill it?" from the python IDE when I run the following code. Any ideas why this is happening? #!/usr/bin/python import sys ######################################################################## # prints program usage ######################################################################## def printUsage(): print "** Print part of Bible **" … | |
I am attempting to make a Dictionary like software. The way this software will work is that You will be able to enter a word into a search bar, and the dictionary will search for the word. It will display the word, the pronunciation and the meaning of the word … | |
I am working on MS ACCESS database and I have to combine multiple entries in the table into one as for example, min 1 2 3 8 9 11 max 2 3 5 9 10 12 and the result should be min 1 8 11 max 5 10 12 How … | |
Dear list, i have problem, i was going through with python programming and found there is something missing in case of float data types. what i am trying to do is: i am writing a simple program in which i asked user to input salary, i want to ristrict user … | |
I want to sort it by not using Array sorting. import java.util.Scanner; public class practice5 { public static void main(String[] args) { Scanner p = new Scanner(System.in); int i,j,temp = 0; int min=0, max=0; String w; System.out.print("Enter a Number to sort:"); w = p.nextLine(); String[] m = w.split("\\s+"); int [] … | |
How to make [Java Websocket](http://java-websocket.org/) work with [Hessian protocol](http://java.dzone.com/articles/hessian-web-service-protocol)? I need both server and client using Hessian to communicate, but I don't know if it is possible and what to do. Thanks. | |
Hi All, I am trying to write a small app that reads a logfile in the form of: 01/07/2013 07:40:12 => Start of process. 01/07/2013 07:40:17 => Preparing authentication token 01/07/2013 07:40:17 => Attempting authentication with supplied credentials 01/07/2013 07:40:20 => Authentication successful! 01/07/2013 07:40:20 => Using BinarySecurityToken: a9d4e88c077e342d 01/07/2013 … | |
hello, I want to write a cybercafe application using java that allows users to login wit a preconfigured password that also reflect different time the cafe client wishes to spend. I dont know how to start and would be glad if you guys could show me where to start from. … | |
Hello Guys. I need your help, I dont know why the input of my code like this, I have a database which is upload, then categorize by Personal, Animals, And Natures. When I choose Personal i want to show all image in Personal, but my code doing like this, when … | |
Traceback (most recent call last): File "C:/Users/James/Desktop/hugevar.py", line 2, in <module> class var(tempfile.TemporaryFile): TypeError: Error when calling the metaclass bases function() argument 1 must be code, not str Why does this happen and how can I fix it? | |
I've been reading through this introductory book on Python, and I've been following along fairly well. Compared to C++, Python seems to make more sense to me. That is, until I reached a section on Logical Operators. I don't completely understand what I just typed in to IDLE, and the … | |
Hi everyone, I'm getting the following error: Cannot apply indexing with [] to an expression of type 'System.Array' I'm trying to print out the first element of the array as a string. Can someone explain what the error message means? using System; using System.Collections.Generic; public class MyClass { public static … | |
Hello, I am having a strange behaviour with jQuery slideToggle. When I click the link with class "tracking" I want the div under it to slide down if it is "closed" and up if it is "open" The problem I have is that when I click the link, the div … | |
Hi All, I am currently working on a MySQL database, and am using mySQL Workbench to create a local server. From this computer(the one that is hosting the server) i have no problem connecting to the mysql server through 127.0.0.1:3306, however when I try to connect from another computer, I … | |
in my dev c++ i'm not getting the window at the bottom of the screen which shows our errors after compilation..how do i find it..? | |
This is the code I am using but it keeps giving me this error: Failed to run query: SQLSTATE[42000]: Syntax error or access violation: 1064 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 … | |
hi every body , i have recently developed a system using vb6 forms but i need a help o f how to save and view a file with the pdf and .dwg and view it in a form , any help plz ?? |
The End.