64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tony75

Hi again I’m working with the text file and I need suggestions about 2,4,5? and mybe about 1 and 3 also. For example I have this text. “I love the python programming How love the python programming? We love the python programming Do you like python for kids? I like …

Member Avatar for tony75
0
505
Member Avatar for mksakeesh

why does code 1 gives segfault error whereas code 2 doesn't, both are basically same, do anyone have any suggestion? 1. #include <iostream> using namespace std; template <class T> class nodes { template <class U> friend class linklistchain; private: nodes<T> *adrs; T data; }; template <class T> class linklistchain { …

Member Avatar for mksakeesh
0
275
Member Avatar for doraemon

I made c# asp.net web form application with visual studio 2008 with oracle 10g database using Oracle.DataAccess. When I start debugging or start withoutdebuggin from visual studio, it workd fine. (visual studio and oracle 10g server and client are installed in my pc). I publish the application and use ftp …

Member Avatar for doraemon
0
1K
Member Avatar for chdboy

I'm using Sql Express in Eclipse here is the code import java.sql.*; public class Login { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("This is my new world"); //String url = "jdbc:sqlserver://\\SQLEXPRESS;databaseName=pay;integratedSecurity=true"; String url ="jdbc:sqlserver://SQLEXPRESS;databaseName=pay;integratedSecurity=true"; try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); } catch (ClassNotFoundException …

Member Avatar for chdboy
0
910
Member Avatar for game06

i have a Life class. which just prints a image of heart. i want to have 6 lifes so iam adding 6 classes in arraylist. 1st heart one left. 2nd heart next to it..... int life = 6; //LIFE - create 6 heats and store in arraylist lifeClass = new …

Member Avatar for game06
0
143
Member Avatar for Vongola_Takeshi

We have this subject called Computer Oraganization... we are now using dos debug commands but the problem with my laptop is that when I type debug command...it will prompt 'debug' is not recognized as an internal or external command, operable program or batch file. The C:\Windows\system32 do not have a …

Member Avatar for xiboom
0
688
Member Avatar for entropic3105

I have been working with numbers in tkinter using operators but I'm unsure on how to process the input and using maths on them. I also wouldn't mind knowing how to use words either for future reference. Reply if you know anything.

Member Avatar for bumsfeld
0
318
Member Avatar for Papa_Don

Group, I'm having an issue with SQL Server that has me baffled. I need help. When I originally loaded SQL Server 2008 Express and created my database, I called it "DataDesignSolutions". The tables were created through VB Studio 2010 Express. It's path was "C:\User\Don\Documents\DataDesignSolutions.mdf". I'm not sure how, but somewhere …

0
165
Member Avatar for AARTI SHRIVAS

is it possible to show alert box when mouse is on start button or on task bar or on menu bar means other place except website if any one have any idea about this plz reply me my client want this functionality in exam website

Member Avatar for LastMitch
0
246
Member Avatar for asifalizaman

Can any one tell me that which tool is the best for me for the mobile develoment also which language is the must for me to first learn thanks for reading guys

Member Avatar for peter_budo
2
211
Member Avatar for jaison2

well basically i have to draw a stick figure for which is my first question... i cant figure out how to draw a horizontal line and also a line at a angle for the legs... here is the code for the first one def drawStickFigure(): from graphics import * win …

Member Avatar for bumsfeld
0
10K
Member Avatar for cobaltbravo

I'm currently working on an assignment for my intro python class in school. The program is a "guess my number" variant, but its focus is on global variables and the try/except operation. I've managed to figure out most of it, but I'm having trouble calling my function that gives a …

Member Avatar for cobaltbravo
0
303
Member Avatar for chr.s

I'm trying to extract an element's children from an AJAX call, but am having difficulty isolating it. My code is as follows: function AJAXcomplete(data){ var result = $(data).find('#productDetails > *'); jQ('#productDetails').append(result); }; function getDetails(e){ e.preventDefault(); var addy = jQ(this).attr("href"); jQ('body').append('<div id="productDetails"></div>'); jQ('#productDetails').show(); $.get(addy, AJAXcomplete); }; jQ('#slides').on('click', '.slideLink', getDetails); The above …

Member Avatar for chr.s
0
244
Member Avatar for jakewebb

Hi the problem I am faced with is after adding around 35 video files of both .avi and .mpg with a total file size of around half a gig to the resources of my project, I get an error message on debug telling me "Error 1 Unable to write to …

Member Avatar for tinstaafl
0
1K
Member Avatar for jessicam93xx

Im developing a web chat and was wondering, when Im displaying recent messages how do I get individual usernames to display. For example: when i log in as a user and send a message, it shows that its from me, but when I log in as a different user, all …

Member Avatar for skliz
0
924
Member Avatar for spowel4

Using this example json file: { "stores": [ { "storeName":"AUGUSTA", "company":"CC", "emailAddresses": ["spowel4@gmail.com", "spowel4@yahoo.com", "steve@compsysplus.com"] }, { "storeName":"CHATTANOOGA", "company":"CC", "emailAddresses": ["spowel4@gmail.com"] } ] } I have this code to try to parse the file: public static void main(final String[] args) throws Exception { // TODO code application logic here ObjectMapper …

Member Avatar for spowel4
0
9K
Member Avatar for clubberlangMayo

hi guys , im designing a c++ code for an assignment and im badly stuck.i have to create a programme word checker to change plurals to nouns. i have it completed but have to store it as statistics. so when the user selects the VIEW button at the end of …

Member Avatar for clubberlangMayo
0
993
Member Avatar for cssweb

hello, how are you, i have an idea and want to apply it. i have two tables the first one is called topics and the second is sections these sections contains these columns sections: section_name | sec_id topics: topic_name | topic_id and i want to select every section with their …

Member Avatar for cssweb
0
428
Member Avatar for ehpratah

Hi need some help suggestion I am trying to search data form two date range but it seems not working properly when i search for $from_date = "2013-04-01"; $to_date = "2013-04-04"; $query = mysql_query("SELECT * FROM date WHERE Date between '" . $from_date . "' AND '" . $to_date . …

Member Avatar for ehpratah
0
313
Member Avatar for savedlema

Hi all! I use VB.NET + Mysql. I have two tables (tblstudents & tblpayments). I want to view payments details of a selected student. Thus, I'd like to select some values (firstname,middlename,surname) from tblstudents and (all values from tblpayments WHERE class = @class -I know how to deal with @class, …

Member Avatar for savedlema
0
552
Member Avatar for game06

i have two classes, enemy class and level class. in level class i am changing the counter value. note i set up my if statment so it will only goes in onces and never again. so if u reach lvl 2 than it will go in lvl2 if statment onces …

Member Avatar for JamesCherrill
0
167
Member Avatar for IT_Techno

hi, i have agridview in desktop application, i fill it with data using dataset, how can i chose arow from gridview and make right click on that cell then do search for that info i chosed from gridview? Best Regards, IT_Techno

Member Avatar for IT_Techno
0
398
Member Avatar for hbm11

Hi I'm having got a problem with some of my code and can't figure out what it is. I'm receiving the following error: Parse error: syntax error, unexpected T_STRING in /home/a1907007/public_html/index.php on line 11 This is my code: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>31seconds</title> <link rel="icon" href="Images/Favicon.ico" url="image/x-icon"> <link …

Member Avatar for hbm11
0
247
Member Avatar for lauraroxi

Hello! I use the Serializable interface in one of my projects but I have a problem. I serialize some objects and when I try to deserialize them after I run the application several times, the only object that is deserialized is the last one that was serialized. Do you have …

0
84
Member Avatar for shahai.ali

hi i wan to add my `.xml` files into `database` and into the directory `uploads` . i have following done into the `php` if(isset( $_FILES["f_name"]) { $path = ""; if(file_exists("uploads/" . $_FILES["f_name"]["name"])) { echo $_FILES["f_name"]["name"] . " already exists. "; } else if($_FILES["f_name"]["type"]!= "text/xml") { echo "invalid type is tried …

Member Avatar for Daniel Claff
0
276
Member Avatar for M.S.

Assuming that every person has a National ID number, I am trying to check if the Entered number is a valid ID number, under these conditions: 1. ID number must be of 10 digits length. 2. If ID length is greater than/equal to 8 and less than 10 digits, add …

Member Avatar for M.S.
0
2K
Member Avatar for StefanRafa0

Hello guys i have started project that i want to translate text from Latin to Cyrillic so i have just this and i dont know how to continue any help will be appreciated - Thanks :) private void TranslateActionPerformed(java.awt.event.ActionEvent evt) { String TextToTranslate = textToTranslate.getText(); char[] latinica = { 'a', …

Member Avatar for StefanRafa0
0
177
Member Avatar for MuthuM123

Hello Everyone, I have a problem and looking forward for your kind help. I need the <select> tags option value to be set selected on the page load. The problem is that everytime the value which is to be selected may change on each page load. Thank you.

Member Avatar for IIM
0
253
Member Avatar for Papa_Don

Group, After asking what seems to be a thousand questions, clearly there is so much more to learn about Visual Basic. So this prompts my "Today's Question": Are there some good online courses or classes at a local college that I can take? By the way..... I live in the …

Member Avatar for Papa_Don
0
183
Member Avatar for IsaacMessi10

It sort of works - the thing is without clicking the picturebox or anything, the form, whenever I move the mouse, it moves any help? Thanks Public Class Form1 Dim drag As Boolean Dim mousex As Integer Dim mousey As Integer Private Sub CloseButton1_Click(sender As Object, e As EventArgs) Handles …

Member Avatar for IsaacMessi10
0
154
Member Avatar for mical700

C program that extends my.c to take file names as command line arguments. It will read each named file and write the first 10 lines to standard output. If there are no command line arguments, it will read from standard input. If "-" is given as a file name, it …

Member Avatar for mical700
0
148
Member Avatar for amith_ami

hi all pls help me... im trying to display categories and its sub categories... but i dont know how to display subcategory.. ijust only know to display the category.. i created two tables in the database named tbl_category and tbl_subcategory in both table the field cat_id is common.... here is …

Member Avatar for amith_ami
0
6K
Member Avatar for Tinnin

I'm trying to change an excel file to csv but the methods I've used so far have corrupted the file. I've tried renaming the file and using saveas from excel. Dim importsFileList As New ArrayList Dim sFile As String Dim extension As String Dim newExtension As String Dim file As …

Member Avatar for Tinnin
0
170
Member Avatar for Martin C++

Hello, I made a class to connect with database but now I have run into a little problem. I need to get the id of last inserted row, but I dont know how to accomplish it. Here is my connection class: <?php class Connection{ public function __construct($config){ $this->mysqli = new …

Member Avatar for Martin C++
1
155
Member Avatar for Violet_82

Hi chaps, what do we define as a client of a class please? I keep reading about "clients of a class" but I don't understand what that means. Maybe it is better to have some examples: take the following 2 files: //Employee.java public class Employee{ public static void main(String[] args){ …

Member Avatar for Violet_82
0
168
Member Avatar for imBaCodes

Hi, i have a form and i have 2 input box. Is there any way to restore the last input in reopening the Form. 'is there any code like this? userform1.input_date.value = userform1.input_date.lastValue Thank you in advance.

Member Avatar for imBaCodes
0
129
Member Avatar for nah094020

Ok so i have implemented a program that simulates a post offie, but now i cant figure out why my threads arnt join and printing, also not sure why my threads are not interleaving. Anyone care to take a look at my code?, its kinda long thats why i dint …

Member Avatar for bguild
0
130
Member Avatar for chdboy

How to know which version 1.Microsoft SQL Server 2008.(Express) 2.Microsoft SQL Server 2012.(Express) Both installed on my machine,am I running(using)?

Member Avatar for chdboy
0
106
Member Avatar for mical700

How to convert C++ code to C. Write a program in C that asks a user for the name of a file. The program should display the first 10 lines of the file on the screen (the "head" of the file). If the file has fewer than 10 lines, the …

Member Avatar for deceptikon
0
1K
Member Avatar for trishtren

Hello, Iv recently been having trouble with a java project im working on as i need a button to add a sentence to a Swing list box. The problem im having is it uses an observable class and an observer. Fundamentally the list adds the elements to an array in …

Member Avatar for trishtren
0
208
Member Avatar for Taras20

Hi everyone, I need to use integer that is typed into textbox to do some math functions. here is what i have: Private Sub btnDivide_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click dim x as integer dim y as integer dim tbox as integer tbox = (Textbox1.Text) x …

Member Avatar for TnTinMN
0
585
Member Avatar for Martin C++

Hello, I want to delete a user from database and destroy the session after he has been idle for some time, lets say 5 mins. How can I do that ? For starters, how to check if the user is idle? I need it mainly for when a user closes …

Member Avatar for pritaeas
0
212
Member Avatar for Frensi

Whenever I try to run this nothing happens. Does anyone know what's wrong? package hobbits; public class Hobbits { String name; public static void main(String[] args) { Hobbits []h = new Hobbits[3]; int z = 0; int x = 0; while (z < 4){ h[z] = new Hobbits(); if (z …

Member Avatar for thepastimer
0
201
Member Avatar for johndohmen1963

Hi hope someone can help me with the following I am creating a webpage in different language with ip2country. i use the following code COMMON.PHP session_start(); header('Cache-control: private'); // IE 6 FIX header('Content-Type: text/html; charset=UTF-8'); if(isSet($_GET['lang'])) { $lang = $_GET['lang']; // register the session and set the cookie $_SESSION['lang'] = …

Member Avatar for johndohmen1963
0
406
Member Avatar for BWASS

I want to read a datafile which consits of 5 coloums and 4 rows, which consists of numbers seperated by commas. The first line of the data file looks like this: 103343, 24, 55, 24,12. I have started my program by allowing to input the file in my program, however …

Member Avatar for deceptikon
0
106
Member Avatar for Sammys.Man

Hi Guys, wondered if someone could help please? in my customer form i have managed to pull in the data from the table to the right txtboxes, and i can move forwards and backwards ("happy days") but now im trying to update a record, this one has seem to thrown …

Member Avatar for Sammys.Man
0
257
Member Avatar for rwe0

I installed the new **pillow 2.0** on windows 7 python 3.3 using one of the installers with no problems. Apparently that installer provides the jpeg support necessary for Vegaseat's program (link below). However, I am having some kind of trouble getting the jpeg support to work on Ubuntu. After my …

Member Avatar for vegaseat
0
847
Member Avatar for bobrown101

Hey guys, I'm making a hangman project just for fun, and i was wondering if you could help me. * I have 5 classes * class 1- main (basically controlls everything except recognizing where the letters are located in the word and printing the hangman picture) * class 2- char_array …

Member Avatar for somjit{}
0
430
Member Avatar for ddanbe

I have no problem of putting a break statement in the default option of a **switch case** statement, just wondering why it is needed. Anyone any ideas? int a = 42; switch (a) { case 1 : case 2 : //statements for case 1 and 2 break; // probably more …

Member Avatar for ddanbe
1
366
Member Avatar for Vingklippt

I am trying to automatically resize the iframe to fit the content. Works great in chrome, firefox and opera. Fails in Internet Explorer. Ideas? <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Leontinas</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> var framefenster = document.getElementsByTagName("iFrame"); var auto_resize_timer = window.setInterval("autoresize_frames()", 20); function autoresize_frames() { for …

Member Avatar for Squidge
0
258

The End.