199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jcl1290

hi, i havent been able to retrieve a random row from my database hourly, daily and weekly. i need to display a row (doesnt matter if it repeats) but i need to make it change in one page hourly, another daily, and other weekly. For promotion. how could the code …

Member Avatar for blocblue
0
217
Member Avatar for nesa24casa

Hello, i have created borderless form with transparent png as bacground image but i have issue. Border edges isnt smooth [image](http://www.tuxmachines.org/images/openoffice_31_antialias.png) Its like in this picture on the left and i need it to be smooth. How can i make it smooth? Thanks in advance

Member Avatar for nesa24casa
0
178
Member Avatar for Divinedar

I'm still having a problem with this. Can someone help? Let me explain a little more of what I need. Range("G3:G" & Cells(65536, "A").End(xlUp).Row).Select Selection.FormulaR1C1 = _ "=IF(ISNA(VLOOKUP(RC[-6],SUMMARY2!C[-6]:C,7,0)),35,VLOOKUP(RC[-6],SUMMARY2!C[-6]:C,7,0))" Sub Compare() Worksheets("SUMMARY2").Visible = True I'm still having a problem with this. Can someone help? Let me explain a little more of …

0
153
Member Avatar for dwhite12

I am running into a strange error everytime I use lxml.etree and was wondering if anyone else has ran into this problem before. It was not until, what I believe happened my lxml was updated to a new version, that I started to get this problem. the error is "File …

Member Avatar for dwhite12
0
306
Member Avatar for nyfan68

I am working on a phonebook application and I am having trouble implementing the add and find functions in the phonebook class. I am not sure how I am suppose to implement the functions using the prototypes provided. Any help would be appreciated. #ifndef Name_H #define Name_H #include <iostream> #include …

Member Avatar for Schol-R-LEA
0
158
Member Avatar for bradly.spicer

Hey all. I FINALLY GOT MY PLUGIN TO *WORK*. Apart from one element... <?php /* Plugin Name: Minepress Minecraft Dynmap Plugin Plugin URI: http://minepress.co.uk Description: Minepress Minecraft Dynmap Plugin Author: Bradly spicer Version: 0.0.1 Author URI: http://minepress.co.uk */ /*Installation of Plugin */ /* What to do when the plugin is …

Member Avatar for LastMitch
0
173
Member Avatar for ObSys

Ok so im writing a small java application using Zellers Algorithm to work out the day of the week for a given date. I have never compiled a java program before because i'm still moderately new to the language and IDE's etc. I am using netbeans. I have tried to …

Member Avatar for NormR1
0
172
Member Avatar for jongiambi

Hi im writing a fill-in-the-blanks program and I am stuck on how to delete a node from a liked list. I am suppost to follow this psuedocode to finish the program. I think I am close to a solution, can anyone point out what im doing wrong? The list already …

Member Avatar for Ancient Dragon
0
282
Member Avatar for sunrise2008

Hi, At first I'm really sorry for my bad English :icon_redface: I really want to simulate a ImageButton click for an ASP.NET (.aspx) file via [B]curl[/B] (or simplate HTML file, but I very tries for it and finally I didn't get it! [B]More explain...[/B] I have this snippet code on …

Member Avatar for dirtfox
0
2K
Member Avatar for Vish0203

Hi, I'm working on a small project and i'm stuck in a part where I need to replace the existing word in file with a new one. I really have no idea about it.. I'm posting the function block where i'm facing the problem void team::team_list() { string str = …

Member Avatar for sbesch
0
157
Member Avatar for G_Waddell

Hi, I'm updating an application to .net from VB 6.0. It uses crystal reports to display reports but we get issues around versioning and having to have the client install Crystal so we would prefer not to depend on Crystal. I was originally going to use an XMLReader object to …

Member Avatar for G_Waddell
0
505
Member Avatar for mitesh.24jain

# Asp.net with c# language # I have 3 table let say table1 ,table2 and table3 Table1 with 2 columns pid and productname pid(P.k) productname 1 abc 2 qwe 3 ewre 4 jui Table2 with 2 columns fid and imagename fid(P.k) imagename 1 a 2 b 3 c 4 d …

0
120
Member Avatar for kaizen202

In my project, I have created around 12 custom controls(checkbox,radiobutton,editbox,progressbar,scrollbar,button etc...). Custom painting is done in all controls for the extended look and feel using Pen,Brushes,Graphics, GraphicPath,Images,Region and Bitmaps ect. After the use of these objects, I have disposed the objects using the Dispose() method. I am using these controls …

Member Avatar for kaizen202
0
412
Member Avatar for tmohney

Hello, I am taking my first basic computer programming course. We are learning how to use C# in Visual Studio. Recently we started learning about classes and how they work in OOP. I get the idea of what they are and what they do. I am having a problem writing …

Member Avatar for Mike Askew
0
147
Member Avatar for Avicii

final public function result($sql) { return $this->mysql['result']($this->mysql['query']($sql, $this->connection), 0); } Anyone got any idea how to best fix this error ?

Member Avatar for diafol
0
271
Member Avatar for lior.mor.73

hi! i started my programming studies not a long ago. we work on c++ and somehow the program is not compiling on my computer. the software is legal, i installed and started it with no problem but when i do debug or build i always recieve this error at the …

Member Avatar for Lucaci Andrew
0
82
Member Avatar for vicky30312

I cannot get the math right for the higher option. When you run the program, the program will go lower, but it wont go go higher. What is it i need to change? this program is due by the end of my class today and i can't figure it out. …

Member Avatar for Reverend Jim
0
286
Member Avatar for wmarquez

Hello! I have a question that I think might be simple to answer but I haven't found any documentation anywhere to confirm my suspicions. I pasted only the relevant portions of my code below to the question that I'm asking. My program is supposed to multiply two square matrices. The …

Member Avatar for deceptikon
0
205
Member Avatar for ProgenitorVirus

Hi there, I'm reading the contents of a text document and saving all of the values (csv) into an array. My issue is that the very first article in the document is always being saved with "" appended to the beginning. eg. Text document reads: Hello,Doctor,Name,Continue,Yesterday,Tomorrow When it is brought …

Member Avatar for Reverend Jim
0
132
Member Avatar for mmathew

I need to do the following: input First and Last name Output initials. Output however many letters Input Middle name Output Full initials. then redo the process. input First and Last name Output initials. Output however many letters Input Middle name. Output Full initials. Example: Enter your first and last …

Member Avatar for Ancient Dragon
0
5K
Member Avatar for samiyahg

This is a sample of the string of data that i need to extract the price of. "Price Rs 475 000 - CHEVROLET AVEO LS // SEP 11 6,000 kms - Red.. full options.. MANUAL 5 door // hatchback Contact me on 786 8394" I have many such strings after …

Member Avatar for samiyahg
0
567
Member Avatar for FUTURECompEng

This was in the game development section and I think I accidently put it there (or an admin moved it, if so then next time can you let me know, thanks). So I am posting it here (java forum community is of higer quality when giving responses) , I hope …

0
202
Member Avatar for coder91

I have a drop down list with various options. When the user has selected an option and hit submit the data is stored in a database column relating to that drop down. however one of the options is 'other' and if they user chooses this the drop down list disappears …

Member Avatar for coder91
0
97
Member Avatar for bandurao

Hello friends, This is my first port so please bear with me. I am developing a simple software in Vb.net 2010. In this software you can add, edit, delete, print records. I have done everything except print option as I dont have any idea on how to do this. I …

Member Avatar for dinhunzvi
0
293
Member Avatar for Avicii

<?php if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); } ?> <?php $vouch = mysql_query("SELECT * FROM cms_vouchers"); while ($voucher = mysql_fetch_assoc($vouch)) { $username = $voucher['user_id']; if(($_SESSION['user']['username']) == "$username") { ?> <div id="page-content-text" class="left"> <div id="contentTitle" class="red">%hotel_name% Alert: Enter the voucher code <?php echo $voucher['code'] ?> to receive <?php echo …

Member Avatar for Avicii
0
109
Member Avatar for jackbauer24-2

My friend and I want to test a page which I am creating. He is going to suggest the design bits. But I am not willing to put it online yet. How can we share it? It will require HTML, CSS, PHP and MySQL. These are all the problems, in …

Member Avatar for AleMonteiro
0
90
Member Avatar for anukavi

Hi, I have got an integer as 0010000001. I need to remove the last 4 digits ie 0001 and the remaining digits is 001000(this is expected) The truncation of last 4 digit is standard. ie the size of last digits is always 4. can anybody help me to code this …

Member Avatar for Lucaci Andrew
0
1K
Member Avatar for Inshu

I have this programme to discuss and I think its a challenging one.. Here I have a yml file which contains the data for an image. The image has x,y,z values and intensity data which is stored in this yml file. I have used opencv to load the data and …

0
154
Member Avatar for noahjonesnoah

Im trying to convert a procedure from using sql plus to mysql but cannot get it to work. **SQL Plus:** CREATE OR REPLACE PROCEDURE PRC_CUS_BALANCE_UPDATE (W_IN IN NUMBER) AS W_CUS NUMBER := 0; W_TOT NUMBER := 0; BEGIN -- GET THE CUS_CODE SELECT CUS_CODE INTO W_CUS FROM INVOICE WHERE INVOICE.INV_NUMBER …

Member Avatar for urtrivedi
0
535
Member Avatar for code_r

**Requirements** Write the following function: void splitDate(int dayOfYear, int year, int *month, int *day); dayOfYear is an integer between 1 and 366, specifying a particular day within the year designated by year. month and day point to variables in which the function will store the equivalent month (1-12) and day …

Member Avatar for Gonbe
0
138
Member Avatar for Eggstraordinary

I can't seem to hide my paragraph the way i wanted it to be. I checked my code a lot of times and it seems correct. I don't know why it's not running. <!DOCTYPE html> <html lang="en"> <html> <head> <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/toggle.js"></script> </head> <body> <input type="button" value="hide" …

Member Avatar for Eggstraordinary
0
206
Member Avatar for amith_ami

hi all,.... plz help me..... hi guyz... i just know how to insert a file into database, but i dont know how to update that file.... here is my code.... <?php $resume=$_FILES['resume']['name']; $file=$_FILES['resume']['tmp_name']; $ext=strstr($resume,"."); //echo "file".$file; //echo "<br>"; //echo "resume".$resume; $sql = "SELECT MAX(cnd_id) FROM tbl_candidate"; $res = mysql_query($sql); $data= …

Member Avatar for amith_ami
0
133
Member Avatar for giturman810

Heello, I was having problems with this php script. I am trying to echo a statement on a contact form depending on the data entered, but when I hit submit, I get a blank page. I belive the error is something small, but I can;t put my finger on it. …

Member Avatar for simplypixie
0
305
Member Avatar for navi18

How to search for a filename in Php?? Even if i put a substring of a file,it display the full file name?Is there a direct function in PHP?

Member Avatar for DarkMonarch
0
104
Member Avatar for andyy121

hi all i cant see my erron in the code i have followed the tutorial but i cant see it i wont some help. here is my code. $to = 'andi_138el@hotmail.com'; $subject = 'Contact from submitted'; $body = $contact_name."\n".$contact_text; $headers = 'From: '.$contact_email; if (mail($to,$subject, $body, $headers)){ echo 'Thanks for …

Member Avatar for Squidge
0
349
Member Avatar for tscina

I'm new to phpmailer and I tried to follow their example. I'm using php mail() function to send emails and I'm getting an error: "Invalid address: $toYou must provide at least one recipient email address. Mailer Error: You must provide at least one recipient email address." What email address is …

Member Avatar for tscina
0
975
Member Avatar for prakhs

#include <stdio.h> #include <ctype.h> #include <string.h> #include <stdlib.h> int compare(const void * a, const void * b) { return strcmp(a, b); } struct node { char name[51]; int index; }; /* 1.Sort the Array cities (which was copy of A) and Array B2 (which was copy of B). 2.Do binary …

Member Avatar for prakhs
0
164
Member Avatar for shujat132

**My academic assignmentt ** **Please help me in coding for this assignment** In Linux Ubuntu flavor, write a program in C language to do the following tasks. 1) Use fork ( ) system call to create a child process. 2) Child process should first take student name as input and …

Member Avatar for khudayar
0
2K
Member Avatar for tpickett

I am developing a script that takes an article, searches the article for a "keyword" and then randomly replaces that keyword with an anchor link. I have the script working as it should, however I need to be able to have an array of "replacements" for the function to loop …

Member Avatar for tpickett
0
213
Member Avatar for nyfan68

I have been working on this phonebook application for a few days now. I am suppose to Create classes Name, PhoneNumber, and PhoneBook that are employed by the provided phone book program, PhoneBookProgram.cpp. Class Name Represents the name for a listing in a phone book (example: Phil’s Pizza) Overloads stream …

Member Avatar for vijayan121
0
204
Member Avatar for chris.vargas.773

i'm having trouble with this assignment for my cs class the directions say "Make operator+ combine together the contents of two TrashCan, as long as the contents does not exceed the size. Make operator- subtract one TrashCans contents from another, as long as the size or contents don't go negative. …

Member Avatar for chris.vargas.773
0
121
Member Avatar for MarkieJye

So, I've been trying this multiple delete thing with a checkbox and I did look on the internet for some code snippets and up to now, I have this: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Intrious Website</title> <link rel="stylesheet" href="tablestyle.css" type="text/css" /> </head> <body> <?php include('includes/header.php'); ?> <div id="main"> <h1>Hardware Delete<h1> …

Member Avatar for MarkieJye
0
237
Member Avatar for belber

hallo all.. i have question about connecting barcode scanner to vb6 how to connecting barcode scanner to vb6... i use usb barcode scanner... did i must set port or some code in vb6..??? or it works automatically..??? i need some code reference plsss...

Member Avatar for ChrisPadgham
0
1K
Member Avatar for jlmeyer43

So I'm currently working on a program that does the following tasks: Read the encoded message from the attached MessageIn.txt file using StreamReader Count the instance of each character in the file, The most common character in the message should be an "E". Use this information to calculate the amount …

Member Avatar for jlmeyer43
0
240
Member Avatar for Morbs

I keep recieving an error on lines of code 77-80 and I'm not really sure what I'm doing wrong. They're all the same error and goes as follows: ----jGRASP exec: javac -g Program5.java Program5.java:72: error: cannot find symbol adultTickets = adultTicketPriceTextField.getText(); ^ symbol: variable adultTicketPriceTextField location: class Program5.buttonListener Program5.java:73: error: …

Member Avatar for Morbs
0
626
Member Avatar for codechrysalis

Hi everyone, I need some help with Homework I have to create this rudimentary Minesweeper game where I have a HTML page with 100 buttons in a 10 x 10 Table with a value of '1' . My Question is , is there a more efficient method of generating a …

Member Avatar for AleMonteiro
0
145
Member Avatar for jg1405

I am struggiling to correctly put together these two constructors, one adds an instance of an array class and the other searches for an int passed-in. public void Add(Appointment a) { Scanner s=null; for (int i=0; i<this.m_Appointment.length; i++) { m_Appointment[i]=a; a.Read(s); m_NumElements++; } } public Appointment Find(int appointmentId) { for …

Member Avatar for NormR1
0
158
Member Avatar for FUTURECompEng

I am going to be honest here, I am completley lost on trying to figure this out. I am trying to create a sudoku solver using sat4j for a 9x9 puzzle. I am trying to read a partially filled board and, by using a Satisability solver it finds a legal …

0
208
Member Avatar for rebang
Member Avatar for mr.white

Dear forum members, I am capable of finding the coordinates where sun rays come with a direct angle at a given time/day of the year. I would like to, just as a hobby, create a flat world map with day / night shading line layered on it. So, how do …

Member Avatar for vdavid
0
486

The End.