199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 86fallen#2019!

Hello friends! I have 2 problems! I built an e-shop local and... 1) when I add a product and then publish it, it doesn't appear in it's category. Does anyone have an idea about what might goes wrong? 2) Sometimes, when I either click "Save" or "Save & Close" buttons …

Member Avatar for 86fallen#2019!
0
142
Member Avatar for ayat abukhadra

Hello, Is there's a way to detect the browser re size on the client side using the java script ? Thanks in advance for helping =)

Member Avatar for ayat abukhadra
0
84
Member Avatar for happyHacker

Beginner question about these intents and activities... If I plan to do something with the phone hardware or file system, is it necessary to use an activity for doing so? What is the purpose behind this system?

Member Avatar for NardCake
0
106
Member Avatar for AquaNut

Hi Everyone, I am trying to read in a block of xml using the following code, but it always jumps over the foreach loop: XDocument doc = XDocument.Load(sourceFile); XElement root = XElement.Load(sourceFile); var DataRecords = doc.Elements("DATA_RECORD"); foreach (var dr in DataRecords) { //build up the values we're interested in string …

Member Avatar for nmaillet
0
358
Member Avatar for rotten69

Hi everyone, we were taught about Generics and Interfaces at uni and I wasn't sure what the perfect situations are to use interfaces because they don't have implementation in them so they work as a contract to other classes where everyone can implement their methods as long as they extend …

Member Avatar for Ketsuekiame
0
160
Member Avatar for Rachna0309

I have datagridview populated with several columns,out of which some columns I want to change from textbox cell to comboboxcell at runtime. I have written a piece of code which works perfectly fine but it takes time to load grid.Below is the code: For Each row As DataGridViewRow In dgvUserDetails.Rows …

0
100
Member Avatar for lionheart84

How can i link database from microsoft access 2003 with VB.NET? can i use anything from eg. Form1 and display them on Form2? thx u very much.

Member Avatar for azareth
0
707
Member Avatar for killer88

I am learning Android using java. i want to make a mini project on that.i wanna make an app which recognise face with name in it. can i make it ? thanks

Member Avatar for azareth
0
108
Member Avatar for chdboy

I'm making a payroll software ,I have made two forms 1.Employer Form 2.Employees form I think now that I have confused ,because now I cannot diffrenciate between who works for who any sugesstions how can I improve on design ,or something that can solve the confusion (Problem) I also have …

Member Avatar for chdboy
0
104
Member Avatar for azareth

i got a problem with my visual studio 2010 the properties window doesn't display anything whenever i click any control i've tried reopening the properties window, opening some old solutions and restarting the program, but it still the same i've also reinstalled visual studio but it didn't help either my …

Member Avatar for azareth
0
157
Member Avatar for riahc3

Hello By the way Javascript works Im not sure if this is possible but I would like to debug Javascript much like debugging C# or/and Java; I put a breakpoint in a line and press (for example) F5 so it goes to the next line/function and pauses and keeps going …

Member Avatar for riahc3
0
252
Member Avatar for lulu79

I have datatable looks like below: ![table2](/attachments/large/3/table2.JPG "table2") I want to create a stack chart that will produce something like this: ![stack2](/attachments/large/3/stack2.JPG "stack2") I don't know where to start. I have google about how to create stack column but still can't get it. So far I have a chart but …

Member Avatar for lulu79
0
4K
Member Avatar for Doogledude123

void drawMap(std::string MapLoc) { char* gridMap[95] [55]; ifstream Map(MapLoc, ifstream::in, ifstream::binary); while (Map.good()) { for(int i = 0; i < 95; i++) { for(int j = 0; j < 55; j++) { if (gridMap[i] [j] == "X") { //Draw Wall glColor4ub(255,255,255,255); glBegin(GL_QUADS); glVertex2f(10*i,10*j); glVertex2f(10*i,10*j); glVertex2f(10*i,10*j); glVertex2f(10*i,10*j); glEnd(); } else if …

Member Avatar for Doogledude123
0
702
Member Avatar for andika.kurniawan.121
Member Avatar for Ancient Dragon
0
356
Member Avatar for vegaseat

This small code example shows you how to approach the beginning concept of an very simple "IDE" for Python.

0
808
Member Avatar for GraficRegret

I am trying to delete pictures from the server that are associated with a specific item, that way when the user clicks on the delete button it will delete the item as well as all pictures associated with it, after doing a bunch of searching and experimenting I have this …

Member Avatar for GraficRegret
0
280
Member Avatar for welshly_2010

having a little trouble trying to convert this pseudo code into python, could any help receiveFile () { lastblock := 0 newblock := 0 ; repeat repeat event := getFrameFromUDP(m) ; case event of data : newblock := getBlockNoFromFrame(m) ; transmitAckOverUDP(newblock) | timeout: transmitAckOverUDP(lastblock) esac until newblock==lastblock+1 ; lastblock = …

Member Avatar for vegaseat
0
7K
Member Avatar for krystosan

I have implemented a toolbar that has several QPushButtons inside QVBoxLayout, however I have implemented it in `toolbar_UI.py` from PySide import QtCore,QtGui class ToolBarUI(QtGui.QWidget): def __init__(self,*args,**kwargs): super(ToolBarUI,self).__init__(*args,**kwargs) self.floatingToolBar() def sizeHint(self): return QtCore.QSize(65,45) def buttons(self): self.emlSel = QtGui.QAction("Email Selected", self) self.emlScn = QtGui.QAction("Email this Scene", self) self.emlBufr = QtGui.QAction("Email Current Frame …

Member Avatar for vegaseat
0
201
Member Avatar for Khav

Hello I want to extract content of a website found between some specific html tags.How can i achieve that with php. For e.g consider viewing google.com soure code.I want to extract data with <title> </title> tags and store it in a variable(its "Google" in this case) Bascially script navigates to …

Member Avatar for veedeoo
0
271
Member Avatar for Feal456

So I am writing a cash register program, person buys items and the number calculates. But I am stuck at looping, I want the user to pick to pick all his/her items first then after all the program is done I want the program to ask if the user wants …

Member Avatar for CGSMCMLXXV
0
3K
Member Avatar for soapyillusion

Hello everyone, I am once agian running into a problem with something that's normally simple, yet lovely cakePHP has to make all so very hard. I'm once agian tasked with improoving the bookmarking application on our website. This time I am suppose to have the url save the date: start …

Member Avatar for soapyillusion
0
143
Member Avatar for barnamah

Hi, I haved a form where elements in a rows can be added by clicking on "Add item". Once the item is added, use can remove that item by clickon on the "remove" link. One of the fileds in the row has integer value and I want to added the …

Member Avatar for gon1387
0
230
Member Avatar for wtosh

/ // Clipper.java // // /** * Object for performing clipping * */ public class clipper { /** * clipPolygon * * Clip the polygon with vertex count in and vertices inx/iny * against the rectangular clipping region specified by lower-left corner * (x0,y0) and upper-right corner (x1,y1). The resulting …

Member Avatar for Taywin
0
628
Member Avatar for sudipta.mml

Hi all, I want to combine multiple files those are kept in a directory. Before getting the big file, I want to edit first and then combine them. For example, I have two files such as file1 and file2 in a directory, say TEST file1 contains 1 C 8.95377612903e-07 2 …

Member Avatar for sudipta.mml
0
525
Member Avatar for LeslieJohn

I am trying to create an application which will send a reply back once a customer (registered user) sends a a question to the system. The application will select the correct answers (based on keywords) from a database and send it back in SMS to the customer’s mobile phone. For …

Member Avatar for ajbest
0
545
Member Avatar for designershiv

Hello Friends, I need your help again sample code `<div id="generic_photo125_addinputs"><ul><li><input type="button"/></li></ul></div>` The above code generated automatically, i like to hide the button inside the li, Now the problem is all the ids, class everything is generated dynamically,so i cant able to target the button based on the selector,Is it …

Member Avatar for gon1387
0
148
Member Avatar for divyakrishnan

Hi.. I am doing an online quiz software.I have total 100 questions with 5 in each page.I want to go to a particular question number and I want to fix the focus on that question(Not on the top of the page).Each question is inside a label.I am calling a function …

Member Avatar for ajbest
0
126
Member Avatar for aoi.serizawa.9

hey guys im trying to update my database here, the code is running fine session_start(); $school_id = $_SESSION['school_id']; $faculty_id = $_SESSION['user_id_fac']; $subject_id = $_POST['subject_id']; $year_grade_level = $_POST['year_level']; $subject_handeler_id = $_POST['subject_handler_id']; $student_grades_boy = $_POST['student_grades_boy']; $student_grades_girl = $_POST['student_grades_girl']; $values_boy = array(); foreach ($student_grades_boy as $key=>$data) { $student_id_B= $data['studnt_B_id']; $grade_B = $data['studnt_grade_B']; $values_boy[$key] …

Member Avatar for ajbest
0
319
Member Avatar for trishtren

Hello, Iv recently just started using javafx and i am struggling finding a way to access data from a controller class, at the moment i can do it using method.invoke, however it seems like more of a hack than a legitimate clean option of accessing data from a controller class. …

0
76
Member Avatar for Carolin

This program accepts the name and ID of chess competition contenders. It then randomly assigns a pair of contenders to play against each other. The program predicts the result of each pair by a random result prediction function. The program then continues to pair the winners in the same method …

Member Avatar for CGSMCMLXXV
0
137
Member Avatar for QUADCOREDELUX

I Have these Programming Project In School Using Visual Basic 2005 Express, we were assigned to do a First Come First Serve Simulator however it's just my Second Year in College and I'm No good in Programming cause I'm not majoring in IT.. Any one can help me on how …

Member Avatar for Reverend Jim
0
502
Member Avatar for bettybarnes

Hello I'm planning to create a java application which calculates ip address just like this http://jodies.de/ipcalc?host=172.168.0.2&mask1=23&mask2= can you suggest an existing library, or tutorials so I could begin developing this?

Member Avatar for Taywin
0
165
Member Avatar for arupface

The comparison operators: * === * <=> * eql? * equal? * == Both are performing equality check I know. Some of them overrides `==` also. But now my query is how to think,what to use in what situations? Explanation with a code would be better idea to understand. Thanks …

Member Avatar for Taywin
0
207
Member Avatar for TrustyTony

Here is code, which you can play with before installing and using the [superior blist package from pypi](http://pypi.python.org/pypi/blist/). I did it as therapy after doing programming test answer using zillion of setters and getters. Motivation is basically to show why you should use properties after you need them and attribute …

0
314
Member Avatar for clouds_n_things

So, I wrote an address book and I'm nearly done, but Im having a little trouble using the picle module to back up the input data to a file for later retrieval. Here is what I have so far: (Im working on a solution while I type this) from tkinter …

Member Avatar for clouds_n_things
0
322
Member Avatar for neo.mn

Hi I am learning event handling. I have defined my own event and raise it in class **MyEventHandle** and have defined a method to handle this event in class **HandleEvent**. In class **MyEventCall** I tried to handle my difned event but it throws an exception at runtime. I do not …

Member Avatar for nmaillet
0
161
Member Avatar for mefju

Hi I have a keylogger code which writes the keys but does not write capital letters and such that:! @ # $% ^ & * () + Someone help me with this? Here is a keylogging code: #include <iostream> #include <windows.h> #include <fstream> using namespace std; ofstream out("plik.txt", ios::out); LRESULT …

Member Avatar for Ancient Dragon
0
244
Member Avatar for mmcdonald

Hey all, cant get this very very simple query to work but I have been going 26 hours and my thoughts are numb. Please assist? I have error reporting on and request mysql errors but I'm getting nothing. Contents of config.php $db_host = 'localhost'; //IP of database server (most likely …

Member Avatar for JorgeM
0
141
Member Avatar for Tinnin

Hi all, Regarding a football (soccer) league: I am trying to find the top goalscorer for each team in the league in December 2012. Each time a player scores a new row is created in the table "Scored" with their name in it and their corresponding team and the date …

Member Avatar for Tinnin
0
206
Member Avatar for yunniesshi

Please help me with this I really need your help. Thank you so much. #define EMPTY __________ #define DELETED __________ #define max 1100 #define setSize 20 typedef struct { unsigned long ID; char Lname[16],Fname[24],MI; char course[8],year; }Student; typedef struct { Student Stud; int link /*used to link to next synonyms*/ …

Member Avatar for deceptikon
0
259
Member Avatar for anjerodesu

Hi everyone, I would like to ask a question about MySQL. Say, I have a database like this: database 1: articles |- id |- title |- description database 2: tags |- id |- articleID |- tag I needed to search from articles.description and tags.tag and while doing so, the searched …

Member Avatar for anjerodesu
0
326
Member Avatar for WDrago

All, I am using lock() to try and sync threads writing to the same file, but my threads are still stepping on one another. Can anyone tell me why this doesn't work and how to fix it? Here is some sample code. In the real program the writes are very …

Member Avatar for WDrago
0
6K
Member Avatar for amrita111
Member Avatar for amrita111
0
140
Member Avatar for t2nator

I'm having trouble figuring out how to fill a dynamic array function and then print it on declaration. Here is the function: Public Function SQLConductGetFields(InCommand As Object) As String() Dim ConnectionA As New MySqlConnection(My.Application.sqlconnect) Dim command As New MySqlCommand() ConnectionA.Open() command.Connection = ConnectionA Dim reader As MySqlDataReader command.CommandText = InCommand …

Member Avatar for Begginnerdev
0
205
Member Avatar for emmanueloladele

Hello all, I have a frameset which contains two frames called 'menu' (to place my menu) and 'content' to place my main page. when you click a link in the 'menu' frame, the url opens in the 'content' frame. In the 'content' frame I have an iframe name 'bodyText'. I …

Member Avatar for shivani3832
0
6K
Member Avatar for angel06

Hello I'm currently working with my Java program here is my code: import java.util.Scanner; public class StringAct{ public static void main(String[]args){ Scanner inp=new Scanner(System.in); System.out.print("Enter string: "); String a= inp.nextLine(); if(a=="angel"){ System.out.print("Valid"); } else{ System.out.print("Not Valid"); } } } this program asks the user to enter a string, the string …

Member Avatar for angel06
0
144
Member Avatar for fheppell

I need to build a gift voucher section of my python cash register software Here's the code I have so far elif payment == '3': print "Scan or enter gift card" cardno = raw_input('Card Number: ') try: with open(cardno, '.txt') as f: pass value = f.readline() except IOError as e: …

Member Avatar for Lucaci Andrew
0
162
Member Avatar for riahc3

Hello I want to make a C# web services for XAMPP (basically Apache). I know I have to download a mod for this but first thing is first: Where is a good guide to read on how to create a web service? Guides Ive found are either outdated or very …

Member Avatar for AleMonteiro
0
880
Member Avatar for Rachna0309

I have datagridview which is populated with 8 columns also it is databound.Now my requirement is I need last column say ABC As comboboxcolumn.But if in database,this ABC column has some value for a particular row,then that value should be displayed in that row's cell as selected value.Please help me …

Member Avatar for atele
0
631
Member Avatar for prakhs

Hi, Please help me debug this code. I made a Stack template with two parameters: type and size. I am using it two times: first in conversion from infix expression to postfix (here, <char,50> stack is used), then in evaluation of postfix expression (here, <long double, 50> stack is used). …

Member Avatar for prakhs
0
943

The End.