199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Albert Pinto

Hi people, got some weird issue. My update query isn't working once I upload my files on server, It works perfectly on localhost and delivers what its intended to do. I echoed my update query On local host it gave me: UPDATE displayusertrip SET displaytripmnth='JAN', displaytripyr='2012', displaytriptrps=' Goa Trip, Bengal …

Member Avatar for sasankasekhar
0
1K
Member Avatar for daffi_gusti

Dear all, I am trying to read a list of string from text file and put it into an array. Could anyone tell me, how to split that string to array. Here's my text file.... [I]text.txt[/I] a b 1 2 4 2 3 1 *3 1 3 *4 4 4 …

Member Avatar for Sokurenko
0
4K
Member Avatar for clydiex

Hello and Good day. I wanted to create a simple login / logout script in php. I have tried/copied all the available tutorials here in the web but I seem to have the same problem to all the scripts. Everytime I hit the login button i get redirected to a …

Member Avatar for clydiex
0
231
Member Avatar for f_atencia

Anyone know what this means and a step-by-step guide on how to fix it? Line 14: Line 15: <system.web> Line 16: <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /> Line 17: Line 18: <authentication mode="Forms"> I'm fairly new to ASP.net. Help will be greatly appreciated. Thanks in advance

Member Avatar for JorgeM
0
128
Member Avatar for seblake

Good evening. I've never used php before... I tried... A simple query told me to use this syntax: <?php include 'Max-TechFooter.php'; ?> Another one showed the div's around it, so I tried that, too That's the way it is now: <!-- Footer --> <div class="footer"> <?php include 'Max-TechFooter.php'; ?> </div> …

Member Avatar for sasankasekhar
0
140
Member Avatar for gal7

hey i'm trying to make console app with basic commands like copy,move the problem is that i cant get my code right the command suppose to be like this: > = copy to file directory>the copied file im trying to split the : file directory, > , the copied file …

Member Avatar for lolafuertes
0
174
Member Avatar for Sasstraliss

Quickselect, based on quicksort, and counting select, based on counting sort. Each is capable of finding the kth smallest element in an unsorted/sorted list/array. This is some example code for a QuickSelect algorithm. This doesn't include the partition function. // return the kth smallest item int quickSelect(int items[], int first, …

Member Avatar for mike_2000_17
0
533
Member Avatar for dami06

I'm getting an error as i'm trying to create a login page which will allow users to be directed to the right page. e.g a student will be directed to the student page and the staff will be directed to the staff page but i don't know whats wrong with …

Member Avatar for imza
0
7K
Member Avatar for atr232000

Hello Guys and Gals I hope you can help me. I am trying to create a bounce.asp page. When the user goes to this site page i want to pass it some data like below http://www.testingasp.com/bounce.asp?id=12345?sub=testingme My goal is to store the "12345" and the "testingme" in a database (The …

Member Avatar for JorgeM
0
98
Member Avatar for Chuckleluck

The title explains it well. I wish to know which variables I need to delete when my program closes. I assume you don't have to use the delete keyword on *every* variable that you initialize. Thanks in advance.

Member Avatar for Chuckleluck
0
217
Member Avatar for PF2G

Hi, i'm editing results, but i want that all info of the result i select appears in the respective textbox's, waht happens to me is that everything is blank even the first combo box: admin.php <td width="5%"> <a href="edit.php?id=<?php echo $row_cont_lang['id']; ?>">Editar</a> </td> edit.php <?PHP include 'db_connect.php'; session_start(); if (isset($_GET['id'])) …

Member Avatar for diafol
0
99
Member Avatar for trishtren

Hey, Im having problems converting an integer to a character , it seems to either produce incorrect results when printed(usually some sort of ascii symbols) instead of the actual literal value. char* str; str = (char*)malloc(sizeof(char)); snprintf(str, 16, "%d", remainder[i]); cout << str; This is what im currently trying, but …

Member Avatar for WaltP
0
389
Member Avatar for arkulin

Hi, I have a problem finding a textbox control which is within panel and this panel is within datalist control. I would like to get textbox.text property and I tried several ways but I always get empty string "" although textbox contain some text in it. My code is below: …

Member Avatar for sebastian3
0
219
Member Avatar for CriticalError

Hi I am trying to get python to run from notepad++. When I go to run in notepad++ and select python.exe in default folder C:\Program Files\Python27\python.exe It does not execute. Nothing happens. However if I save the .py file and double click it the program will execute, why can't I …

Member Avatar for polochen
0
538
Member Avatar for jwings

protected void addBindings() { InputMap inputMap = this.getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW); ActionMap actionMap = this.getRootPane().getActionMap(); KeyStroke key = KeyStroke.getKeyStroke(KeyEvent.VK_Z, Event.CTRL_MASK); inputMap.put(key, "undo"); actionMap.put("undo", new UndoAction()); key = KeyStroke.getKeyStroke(KeyEvent.VK_X, Event.CTRL_MASK); inputMap.put(key, "completed"); actionMap.put("completed", new CompletedAction()); key = KeyStroke.getKeyStroke(KeyEvent.VK_D, Event.CTRL_MASK); inputMap.put(key, "delete"); actionMap.put("delete", new DeleteAction()); } class UndoAction extends AbstractAction { @Override public void actionPerformed(ActionEvent …

Member Avatar for JamesCherrill
0
100
Member Avatar for Jazerix

Hey So i'm trying to create a pretty simple login for now... When i click the Log On button i need it to ingnore the wheather the letters are uppercase or lowercase, in textbox1, how can i do that? :D Kind Regards -Jazerix

Member Avatar for aloksupremacy
0
116
Member Avatar for mani508

hello my project is web discussion forum..i want to get some values of topic table and some values of user table. in topic table have user id field how can i get user name againts user id. user table have user id field thanks in advance ....

Member Avatar for androtheos
0
107
Member Avatar for jsj1411

i have a datagridview in my vb.net form displaying data from ms access file A , table A , is it possible for me to export the data in the data gridview to ms access file A table B?? i'm not using sql.

Member Avatar for Reverend Jim
0
878
Member Avatar for JoBe

Hello ladies and gents, Was wondering if any of you could help me out, how can I count the amount of numbers(digits) there are in one integer, for example: int integer = 123; integer has three digits. int secInteger = 10; secInteger has two digits. The reason for asking is, …

Member Avatar for jimmyraynor
0
345
Member Avatar for SCass2010

Hi everyone, At the moment I'm trying to create a class that contains a DOMNode* pointer, something like this class MyDOMNode { public: MyDOMNode (DOMNode* node) : mDomNode (node) { } bool operator== (const MyDOMNode& rhs) { if (mDomNode == rhs.mDomNode) return true; return false; } bool operator!= (const MyDOMNode& …

Member Avatar for deceptikon
0
163
Member Avatar for naaniwifi123

actually my code is displyed var/www/html / folder contents only displayed on gui, i want to display the /home/Desktop folder contents on gui,,,....... plz any one help me.......

Member Avatar for pritaeas
0
195
Member Avatar for Erwin_Rosyid

So I code a program that could store data inside a list of object. I linked it with each combobox so I could input the values inside the list correctly. But there are several bugs that disturbs me. Could I get hint of what to fix and what to modify? …

Member Avatar for Erwin_Rosyid
0
331
Member Avatar for rubenrav

Hello I'm planning a programming project for my website. I have a device that logs information to a database. To access this database I need to use to OLEDB client. What i want to do is, to make a graphical widget to my website that shows the info of my …

Member Avatar for Ramesh S
0
610
Member Avatar for varoluscu_prens

Hi There; I am writing a basic ASP.NET code. This code has worked properly before, but when I has changed "EnableViewState" to false, saved it it and operated it, code didn't work. When I have changed the "EnableViewState" to true again, it didn't work either. I couldn't imagine the reason …

Member Avatar for sebastian3
0
208
Member Avatar for mancode1007

Hi guys, I having problem display out the value at the gridview. At the database it store the gender field in integer. For example 1 = Male and etc. I need to display out the text at gridview column. I getting error input string was not correct. Please help Protected …

Member Avatar for Ramesh S
0
210
Member Avatar for PF2G

Hi, i'm trying to tell my sql no to delete if the results are 1 and that it has to be at least one user. but i can't: <!------------------------------------------> <script language="JavaScript"> function confirmBox(id) { if (confirm("Tem a certeza que pretende eliminar este registo?")) { location.href="remover_user.php?id="+id; } else { return false; …

Member Avatar for pritaeas
0
160
Member Avatar for Ctechnology24

Guys please give a simple code (specific syntax) on how can I integrate a jquery in my PHP site using codeigniter. and what configuration should be made in my other php files to make it work. I also cannot display any image in my php files inside the views folder, …

Member Avatar for Ctechnology24
0
2K
Member Avatar for sebastian3

Hi all, I have a issue in writing excel worksheet through OLEDB/Excel 8.0 provider where an apostrophe is coming in every cell before the value. When the excel worksheet is created through provider,cells are not getting as Text format and remaining as General even though I have denoted it as …

Member Avatar for sebastian3
0
138
Member Avatar for pete harby

Hi I am really struggling here and cant see the syntax error. It is probably a " but could really do with a hand as to why I get the error: unsxpected T_STRING on line 14 My php code is as follows: [php]<?php include_once("php/library/lib.php"); include_once("php/library/template.php"); include_once("php/library/database.php"); // //$database = new …

Member Avatar for hoffmen99
0
4K
Member Avatar for bhagawatshinde

Hi Guys, I have develope windows application in c#. I want make it more attractive in looking is their is any skinner or themes available (Third party tools) free or paid in .net. waiting for pleasant reply.

Member Avatar for bhagawatshinde
0
78
Member Avatar for enakta13

I have made a keyTyped event java program. Now it display square for each single number i typed through keyborad. **What i want is this:** 1. when i type 1 answer to be displayed 1 2. Again when i type 2 answer to be 144, not 4. So any Idea …

Member Avatar for stultuske
0
181
Member Avatar for daino

I'm just wondering if the below is true? I pulled this from another forum. Does this mean that a application using qt4 can be built and used in a bank without getting permission or paying fees for it's use? *The Framework is freely available for Windows, Linux, MacOS X, and …

Member Avatar for daino
0
117
Member Avatar for babydol

Hi, I am trying to check if the username entered by the user in the textbox exists in the Access database I am using. For some reason, I am unable to get this correct. My code is as follows: Protected Sub btnRegister_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles …

Member Avatar for babydol
0
136
Member Avatar for php_noob

When to use MVC Framework in ASP.NET or it can be as flexible like Custom Programming in ASP.NET? Thanks in Advance

Member Avatar for androtheos
0
202
Member Avatar for godzab

Hello guys, I need help with the Robot class in Java. I am trying to excute a couple of keystrokes using an array so it will be less repetitive typing in the keyPress method. Here is the code: import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; import java.io.IOException; public class RobotExp { …

Member Avatar for godzab
0
977
Member Avatar for VenkataRamana.K

Hi, Can anyone tell, how to detect whether PHP is installed or not? I want to find out this with the help of Registry in Windows? Is it possible? Regards, K.VenkataRamana

Member Avatar for edith_is_sex
0
182
Member Avatar for utkarshsahu

I just made a small program to spell check a provided sentence and point errors in the sentence. Actually, the program creates a list by reading data from text file which contains dictionary words and from there it tells whether the inputted word/s are in dictionary or not. I would …

Member Avatar for ihatehippies
0
237
Member Avatar for perly

Hi, I would like to the code below to search the contents of file1 in file2 and then output results arranged according to file1 contents. At the moment the code outputs are according to the order of elemnts in file2. I need some help to get this code working as …

Member Avatar for perly
0
224
Member Avatar for james chaco

Hello, I want to develop an email system (preferably through java but any other language will also do), say mymail.com, exactly like gmail, yahoo, hotmail or any other mailing system where users can send and receive a mail. I would like to know where can i start from. Thanks in …

Member Avatar for godzab
0
242
Member Avatar for VB 2012

Hi ive got a problem and im not sure how to do this one :( Im currently working on a dll and wondering on how something would work ? Public Sub CtsItemsTooltipText**(ByVal MyCustomItemsTooltipString As String)** ** MyCustomColumnsTooltipString = "This will display the Columns section for a Custom database" & vbNewLine …

Member Avatar for VB 2012
0
112
Member Avatar for zemzela

I add dropdown list in the form, connect with gridviev1 from table1. But I have 4 tables. I have 4 values in the drop down list. 1 when check value 1 show table1 2 when check value 2 show table2 3 when check value 3 show table3 4 when check …

Member Avatar for zemzela
0
158
Member Avatar for gali01

#include <stdafx.h> #include <stdlib.h> #include <windows.h> #include <GL/glut.h> using namespace std; int a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0; int rumus(int x1, int y1, int x2, int y2, int x){ int y=(x*(y2-y1)+x2*y1-x1*y2)/(x2-x1); return y; } void tampilkan() { glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClearColor(0,0,0,0); glLoadIdentity(); glBegin(GL_QUADS); glColor3f(0.0,0.0,1.0); glVertex2d(2,2); glVertex2d(5,2); glVertex2d(8+c,11); glVertex2d(7+d,rumus(7,14,2,11,7+d)); glEnd(); glBegin(GL_QUADS); glVertex2d(7+e,rumus(7,14,5,11,7+e)); glVertex2d(9+f,rumus(9,14,2,11,9+f)); glVertex2d(14+g,rumus(14,2,2,14,14+g)); glVertex2d(11+h,rumus(11,2,5,14,11+h)); …

Member Avatar for m4ster_r0shi
0
104
Member Avatar for Sahil89

Hi, Recently I retrieved code of my project EXE file. And it was almost same with 100s of errors. So my question is Is career in .NET is safe? And is our code safe? Can this be done with other languages?

Member Avatar for Sahil89
0
160
Member Avatar for Annuscha

Hi, I'm very new to javascript, if someone could help me I would really appreciate it. I'm adding this floatable jquery menu to my site [jquery-floating-menu](http://manos.malihu.gr/jquery-floating-menu). What I'm trying to do is get the menu to expand when clicked. I have tried to add .click instead of .hover but it …

Member Avatar for TrustyTony
0
218
Member Avatar for LieAfterLie

I was following [this tutorial](http://www.swiftless.com/tutorials/opengl4/1-opengl-window.html) for my first attempt at OpenGL. All I'm doing is initializing an empty window. His VS 2010 code is [here](http://www.swiftless.com/?download=1%20-%20OpenGL3%20-%20Window). Using Dev-C++ as my IDE on Windows 7, and MS SDK 7.1, I get this error: [Linker error] undefined reference to `_imp____wglewCreateContextAttribsARB' ld returned 1 …

Member Avatar for DeanMSands3
0
1K
Member Avatar for SBA-CDeCinko

The query below performs fairly quickly, however when hit by several visitors at once causes the SQL Server CPU to spike greatly. How would you rewrite this query to reduce the impact? SELECT * FROM (SELECT TOP 1 a.adID, a.type, a.position, a.image, a.altText, a.caption, a.link, isNull(v.viewCount, 0) AS viewCount FROM …

Member Avatar for BitBlt
0
127
Member Avatar for TIM_M_91

Ok guys I need some help why I am getting this error and how do I fix this:'Handles clause requires a withevent variable defined in the containing type or one of its base types' Code below Error occurs on line 14: Imports System.ComponentModel Imports System.Text Imports DevComponents.DotNetBar.Metro Imports DevComponents.DotNetBar Namespace …

Member Avatar for Begginnerdev
0
171
Member Avatar for Sendy Hipo

hi, i have this problem about reading the file's content from the back Write a program that asks the user for the name of a file. The program should display the last 10 lines of the file on the screen (the tail of the file). If the file has fewer …

Member Avatar for Sendy Hipo
0
1K
Member Avatar for malsmit2014

I am not totaly sure my code for my revealLetter is correct....I can't quite convert letter string into an char array so i just left it as hiddenWord == letter in the code.... package program.p02; public class WordHider { private String hiddenWord; private String partiallyFoundWord; private int NUMBER_MISSES = 5; …

Member Avatar for stultuske
0
209
Member Avatar for kaleem_ullah

I have developed a contact us page and also PHP code that works perfect. Know the only problem is that after submitting the form it shows only "Message sent" on a new page. I want that after submitting the form page will redirect back to home page. It is only …

Member Avatar for cjohnweb
0
3K

The End.