64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Dendei

Hello all nice coders :) i have a question about a function i have that uses an class as input. hmm prob easier to explain after i show some code! class customer { public string number, name, phone; public void newcustomer(customer custom) { //write to a database //using the strings …

Member Avatar for nmaillet
0
183
Member Avatar for daniel36

I am working on a project in which video streaming is required .In this project i used flowplayer.Is it possible in flow player to hide the video url? I am also needed to view pdf files in iframe.In it,is it possible to hide url of pdf file?

Member Avatar for daniel36
0
425
Member Avatar for Dizzy Noob

Hello, I am struggling to find out what im doing wrong in this code. I am new to programming and i am stuck. Ive altered my original code after finding great help online but i am stuck...again. any help will be greatly appreciated. public class CreateDelivery { public static void …

Member Avatar for stultuske
0
121
Member Avatar for dean.ong.14

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in G:\xampp\htdocs\Thorndon.php on line 57 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, …

Member Avatar for jwer
0
93
Member Avatar for softswing

Hi, How to do the custom FindBugs in Eclipse. I want to catch the specific bus from code

Member Avatar for peter_budo
0
82
Member Avatar for bdl365

So i'm having troubles writing the codes for the following exercise - Write a C++ program that does the following. 1. Asks the user to enter some positive integers. 2. Reads the positive integers from the user. 3. Stops reading the positive integers once a non-positive integer is entered. 4. …

Member Avatar for bdl365
0
2K
Member Avatar for lulu79

Hi, i'm a newbie and get stuck with this problem for a few days. I have datatable with two column, line and duration. I want to sum the duration based on the line group. For example: LINE DURATION A1 00:05:20 A1 00:07:00 A1 00:02:10 A1 00:01:50 A2 00:02:01 A2 00:03:45 …

Member Avatar for lulu79
0
9K
Member Avatar for dmose13

So I'm just getting started in C++ and need some help. I want to right a program that inputs a number as n and then outputs digits 0-9 based on n. Also each row adds one more number until the last number is the number of digits of n. For …

Member Avatar for dmose13
0
140
Member Avatar for littleEuler

def main(): celsius = float(input("What is the Celsius temperature? ") fahrenheit = (9/5) * celsius + 32 print ("The temperature is ", fahrenheit, " degrees Fahrenheit.") main() error output: Syntax Error:(line 8) fahrenheit = (9/5) * celsius + 32 This makes perfect sense to me. How can i fix this …

Member Avatar for hughesadam_87
0
110
Member Avatar for chuyauchi

My Android preference (menu) is not opening a new activity. When I click the 'menu' button on the emulator, I can see my 'Setting' option. However, when I click the 'Setting', the setting page is not showing. There is no error and warning. Thank you for your time. I am …

0
66
Member Avatar for daniel36

Can anybody tell me another good file uploader than blueimp and plupload?

Member Avatar for diafol
0
168
Member Avatar for k9huey

I want to make an online measurement converter for my company’s intranet page. I am torn about how to handle the converting and wanted some opinions. Basically the user would enter some random measurement and select what type of measurement that is and what they want it converted to. For …

Member Avatar for k9huey
0
133
Member Avatar for Michael27

How to print portion of the List<int>, it contains 30 elements but i only want to print first 7 elements? List remains unchanged but is should only prints first 7 elements of the list

Member Avatar for Michael27
0
109
Member Avatar for nickg21

Hey everyone, I'm using CTEs to try and get the totals of two different criteria queries that I want to group by Month depending on the associated Inquiry Date. Here is what I have right now; ;With CTE(total, InitDate) as ( SELECT count(Inquiry.ID), Inquiry.Date from Inquiry Inner Join Inquirer on …

0
82
Member Avatar for niladri.prima

Hi All, In a table (dbo.UnquotedContacts) I have few columns from where I am trying to extract few columns. But My crcern is as follows IF the field 'Date_ABC_Updated' is NOT empty AND the field 'subscribed_to_Business_XL' = 'SUB', the contact has an ACTIVE BXL subscription IF the field 'Date_ABC_Updated' is …

Member Avatar for BitBlt
0
112
Member Avatar for london-G

Hello, I have my JFrame and I want to ve a sliding menu on the side that will not be visible until someone click on a button. I have divided my JFrame into two containers but don't know how to proceed. Something a bit similar to this: http://www.andrewsellick.com/examples/sliding-side-bar/#

Member Avatar for Majestics
0
200
Member Avatar for DelilahDemented

I'm learning as I go here, but I'm stuck at the moment. I am trying to dynamically create a datagridview and populate it from a database using SQL. I have created my columns, but I don't know how to assign the data coming out of my sql query to its …

Member Avatar for DelilahDemented
0
1K
Member Avatar for HibaPro
Member Avatar for AndreRet
0
423
Member Avatar for tom.vardy.12

include '../../snippets/connect.php'; $orgid = $_GET['orgid']; if(!isset($orgid) || empty($orgid)){ die("Please select your image!"); }else{ $query = mysql_query("SELECT orghomepic FROM org_home_pic WHERE orgid='".$orgid."'"); $row = mysql_fetch_array($query); $content = $row['orghomepic']; if (empty($content)) { **$image = imagecreatefromjpeg('http://www.ineed.org.uk/dev/media/images/nohomepic.jpg'); header('Content-type: image/jpg'); imagejpeg($image);** } else { header('Content-type: image/jpg'); echo $content; } } So this was working previously …

Member Avatar for tom.vardy.12
0
223
Member Avatar for rahul.ch

Given: Sour extends Blue extends Pan `Pan p4 = new Sour();` Then set of 6 new statements given and asked to choose which ones will compile. They are: 1. `Pan p5 = p4;` 2. `Pan p6 = (Blue)p4;` 3. `Blue b2 = (Blue)b4;` 4. `Blue b3 = (Sour)p4;` 5. `Sour …

Member Avatar for JamesCherrill
0
200
Member Avatar for Bremen Emeth

Dear Users, I've been trying out with the JavaScript code to hide the textarea when a radio selection-value fulfilled the textarea will hide. So far I can't get the script right; maybe these forum can share me some information to correct my code. **JavaScript function to Hide:** function disable() { …

Member Avatar for Bremen Emeth
0
3K
Member Avatar for complete

How do I do a get/post for an array in c#? In C#, you get and set variables like this: `public int ID { get; set; }` How would one get and set an array in C#? This will not work: `public uint [5] BIG_Hash {get; set;}`

Member Avatar for ddanbe
0
544
Member Avatar for king03

hi guys just wanted to ask how I can add numbers in string form, I tried to add them but instead of getting 9 I get 36. here's how I tried it: Compute comp = new Compute(); comp.Bet = betTextbox.Text; comp.Funds = fundsTextbox.Text; betTextbox.Text = "6"; fundsTextbox.Text = "3"; Convert.ToInt32(betTextbox.Text); …

Member Avatar for laurachaitow
0
127
Member Avatar for linabeb

hi... i would like to ask im using vs 2010...and i would like to create a vb.net with it... i have google everything n everywhere about this one particular thing... i create my project as below open vs 2010 > new project > i choose windows form application(as shown on …

Member Avatar for linabeb
0
121
Member Avatar for prnjn

Hi , I am not able to start "apache tomcat 7.0.22" I have double clicked on "startup.bat" file in the bin folder of the apache tomcat folder after that i typed http://localhost:8080/ in my web broswer but i get the following error " Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the …

Member Avatar for prnjn
0
261
Member Avatar for kipslem

Please help, I have a small application which has a MS Access as backend, and the front end is developed using VB.Net 2008. When I click on the listview item and then click delete button to delete a particula list and its content on the database, it is giving me …

Member Avatar for klooonhie
0
2K
Member Avatar for Koji01

i want to know how to read all the message inside the file including their spacing,indents if possible using File Handling... can that be done? content of data1.txt: First Name: (TAB)John Doe Last name:(TAB) Manly Height:(TAB) 5'7 Weight:(TAB)164 kls Address:(TAB)Somewhere but here, (TAB)but not to far City. here is my …

Member Avatar for Koji01
0
236
Member Avatar for ShEeRMiLiTaNt

Hello, I need to write a program that takes a string and reverses it via pointers. I have a function called Reverse and what it does is take to pointers (*front and rear*) and intializes them to the front and back of the char array respectively. Then what it does …

Member Avatar for ShEeRMiLiTaNt
0
201
Member Avatar for horserider
Member Avatar for demafioso
0
522
Member Avatar for cmstoner

In my program, I have a section to insert information about a customer into an Access database. I get the error below at the .ExecuteNonQuery. Message: System.Data.OleDb.OleDbException (0x80004005): Field 'Customer.Business_Phone' cannot be a zero-length string. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& …

Member Avatar for cmstoner
0
841
Member Avatar for O_mini

Hello, thanks for taking the time to read this. I'm working on (what should be) a simple, simple java program, I am very new to java so please bear with me. I'm writing code with a method that takes an array of int values and determines if all the numbers …

Member Avatar for Taywin
0
3K
Member Avatar for JavaPrograms

How do I put the following output in a table format as shown below in the code?

Member Avatar for JavaPrograms
0
263
Member Avatar for Majestics
Member Avatar for daniel36

Can i restrict a file to direct download.suppose in my domain i am having a upload folder in which i am having a exam.pdf file then it should not be downloaded by accessing url http://www.mydomain.com/upload/exam.pdf . If it is possible then please tell me the way.

Member Avatar for sDJh
1
109
Member Avatar for khalidshakar

** Please Help. When I call this class, it causes the program to stop responding? Actually I used a button must be clicked to start call the class in another class to run it. after I press that button it causes the program GUI to stop responding. I am developing …

Member Avatar for JamesCherrill
0
3K
Member Avatar for eburlea

Hello, Is it possible to use a PHP code to create a drop-down list that automatically inserts a word from MySQL table after writing a character? For example when I type "a", all the entries beginning with "a" show in order, then I type "n", then all entries begins with …

Member Avatar for eburlea
0
599
Member Avatar for Venom Rush

I'm trying to create an xml document without converting html entities but when I create and save the file with DOMDocument the < and > characters are converted to &lt; and &gt; so trying to wrap copy within <![CDATA[]]> is proving problematic. Example of my code below: // Initiate the …

Member Avatar for Venom Rush
0
977
Member Avatar for maybach_hp

Hello, I am newb to c# and I am working on an example. The challenge is to dynamically set the text of the label using the textboxes' text. - There are 3 textboxes and a label. All are asp controls. - The text should be displayed in the label as …

Member Avatar for gopaltiwari2012
0
6K
Member Avatar for ss123456

i have a database consisting of a table PROJECT(p_id,p_name,P_manager) i am using oracle 9i as my backend and auto increment is possible only through triggers and sequence. instead i would like to retreive the data p_id onto a combo box. simply put- when i add data into my table PROJECT …

Member Avatar for AndreRet
0
2K
Member Avatar for HibaPro

i have two row in my dataGridView one store the labour working hour (Time) and the other one is store the cost of one working hour , i need to multiply these two row but its give me this error : operator * is not defined for type timespan and …

Member Avatar for HibaPro
0
620
Member Avatar for parthibanrock

how to convert vb.net and sql server 2005 into .exe file the exe file can be run in the another system but it cannot be save the data. the connection string can be errored because my computer name and another computer name is different . how to solve this problem. …

Member Avatar for Ashish salve
0
272
Member Avatar for Dendei

Hello, i am programming an API so far i've coded so i can create new customers but my taughts here is that i have a function (i think that is the right word for it) public void writeCustomer (string CustomerNumber, string CustomerOrgNumber, string CustomerName, string PostAdr, string PostAdr2, string GLN, …

Member Avatar for Dendei
0
248
Member Avatar for shahai.ali

hi am using a tab control. in which i have already 3 tabpages. now the problm is that when the form is loaded the first tabepage must be enable while other will be disable to access untill i press the button that first tabpage is contain. is their solution for …

Member Avatar for AnnieCalvert
0
1K
Member Avatar for bryceburry

Well, I'm making a tic-tac-toe game in Python **2.7**, and I need a code snippet to "make" the AI want to get a Tic-Tac-Toe, and make the game end if there's a **draw**. What can I do? This is the code as it is: # Python Tic Tac Toe import …

Member Avatar for TrustyTony
0
446
Member Avatar for kny_jay88

# Hello,# ##I'm new at this forum.The problem is that my footer is gone when i click the submit botton because of the die function in my php script. I want it to prompt for empty fields and if not empty, it will insert values into my database. I found …

Member Avatar for kny_jay88
0
376
Member Avatar for bladelord76

Hello, everyone! I just have a simple question, I think. I have created three unique classes, and each of these classes use some of the others as member variables. However, because of the way the code is organized, I often receive the error "CLASSNAME is not declared" when trying to …

Member Avatar for bladelord76
0
266
Member Avatar for dre31ex

hey guys i am trying to send email using php mailer but the problem i think i have is the smtp whenever i changed in php.ini is not updated in the phpinfo (it still shows localhost) so i assume that i would have a problem connecting to a host and …

Member Avatar for dre31ex
0
112
Member Avatar for junehrndez

Hello, My slider doesn't work on IE7. I ran out of solution. Im hoping you could tell me the problem. Here is hte website link: [Click Here to see the slider](http://67.23.238.162/~agranexc/timberlane/services.php) Note: Im using coin slider jquery plugin [Click Here to go to the plugin](http://workshop.rs/projects/coin-slider/)

Member Avatar for junehrndez
0
229
Member Avatar for ome2012

i just want to know from you guys about the use of finally in Try Catch code????

Member Avatar for ome2012
0
203
Member Avatar for fcvolunteer

I know there are jquery snippets all over the internet showing how to show/hide <div> text based on whether a checkbox has been checked. Jquery is not a strong point of mine so I've really researched a lot to figure out how to do this. So far I'm able to …

Member Avatar for ome2012
0
1K

The End.