64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Traicey

Hey Guys I need to be able to select or hightlight datagrid row when a user place a mouse on certain record then, he/she can be able to click delete or edit button to delete the selected row or edit the selected row, can anyone tell me how to do …

Member Avatar for nicky.23in
0
179
Member Avatar for tomtetlaw

[code=python] def prints(value, ..., seps='', ends='\n', files=sys.stdout): print(value, sep=seps, end=ends, file=files) print = prints [/code] Would this permently overwrite print or just overwrite it while my program is running?

Member Avatar for shadwickman
0
131
Member Avatar for chriscross86

hi there, i am having problem with my codes. im getting this error, 'Name 'reader' is not declared'. please help. [code][B][COLOR="Green"]reader = con2.ExecuteReader()[/COLOR][/B] [B][COLOR="green"] reader.Read [/COLOR][/B] Protected Function SiteSpecificAuthenticationMethod(ByVal UserName As String, ByVal Password As String) As Boolean Dim log_statement As String = "SELECT * FROM [user] where username='" & …

Member Avatar for IdanS
0
113
Member Avatar for mathmath

Hi All, I have data like the following: Stuff Sizes ID pen s1 100001 pen s2 100002 pen s3 100003 pencil s1 100001 pencil s3 100004 pencil s5 100007 pencil s2 100006 ruler s7 100005 ruler s8 100008 .. .. where each size is coordinate with a unique ID number; …

0
77
Member Avatar for sarithak

Hi frnds... This is my project flow...plz set the path.. [B]Main Project[/B] a)[B]Gallery[/B]/gallery.php [B]Gallery[/B]/photos/ b)[B]admin[/B] [B]gallery[/B]/uploadphotos.php In this i am having two gallery folders..one for User panel ,another one is for Admin panel.. I want to access photos folder from admin panel..means uploading photos should directly goes to [B]User(photos)[/B] folder... …

Member Avatar for sarithak
0
110
Member Avatar for Your_mum

Hi, I am pretty new to python and I have a really noobish question: What does %s mean

Member Avatar for Your_mum
0
91
Member Avatar for SP IT

I need help with my homework. The first part is to create two arrays that are random. Afterward I need to creat afunction that finds the Minimun and Maximum of the two arrays. Here is my code: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int int main(void) { …

Member Avatar for csurfer
0
120
Member Avatar for lotrsimp12345

its in the num=="-". [code] #include <iostream> #include <cstdlib> using namespace std; int main() { cout <<"enter the problemset and number""\n"; //problems represents name and numbers string problems; char quote; char num; string number; //gather name if(cin.peek()=='"' || cin.peek() == ''') { cin >>quote; getline(cin,problems,quote); } else { while (!isdigit(cin.peek()) …

Member Avatar for VernonDozier
0
202
Member Avatar for gretty

Hi :) I want to start creating windows applications. Can you tell me what editor is best to do this & [B]if I can just start coding right away or do I need to download libraries etc [/B]to do it? I am using Eclipse is this the best editor to …

Member Avatar for gretty
0
301
Member Avatar for Eyo

Hello, please help me in such a stiuation I have a stored procedure that insert a new record after checking that this record does not exist.... TODO: I need to lock the row after the select statment executed on a specific row to ensure that no changes will occure between …

Member Avatar for kvprajapati
0
116
Member Avatar for BigTurtle

I'm trying to learn wxPython. Unfortunately when I came to China in Jan I had to leave the nice wxPython book in Canada because it was too heavy for my suitcase. So I humbly ask you to bear with my ignorance. As practice (and because I have a practical use …

Member Avatar for BigTurtle
0
947
Member Avatar for SP IT
Member Avatar for SP IT

I need help on two assignments that are due: 1. Initializing the elements of an array a1 and size n randomly, so that its elements have values between [1-45]. 2. Initializing the elements of an array a2 and size n randomly, so that each element is between 0 and 50 …

Member Avatar for SP IT
0
205
Member Avatar for papanyquiL

Hi all, I'm learning how to format strings. I've made the following code, but the console screen just comes up blank. [code=c#] static void Main(string[] args) { DateTime ci = DateTime.Now; //instance of datetime Console.WriteLine("{0:D}", ci); string info = "Fred Savage- SSN: 143-14-8756 Phone: (281)414-3424 Email: fsavage@blah.com"; string format = …

Member Avatar for papanyquiL
0
162
Member Avatar for tomtetlaw
Member Avatar for tomtetlaw
-1
94
Member Avatar for andrewsCWD

Hello, My php script seems to be dieing at the database connection using this code but it's not printing my error. It will print all php code before the connection code, but it prints nothing after it making me think this is my problem: [CODE]$DBConnect = @mysqli_connect("localhost", "user", "pass") Or …

Member Avatar for somedude3488
0
67
Member Avatar for sravan953

Hey guys, I have some code here which checks the last three characters in the list: [CODE]site_list= ['C', ':', '\', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 's', ' ', 'a', 'n', 'd', ' ', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', '\', 'S', 'r', 'a', 'v', 'a', …

Member Avatar for sravan953
0
119
Member Avatar for ramthegreatcv

Consider this code [code=c++] class A{ int i; public: A(){ cout<<"default constructor\n"; } ~A(){ cout<<"default destrutor\n"; } /* uncommenting this causes error A(A& obj){ i=obj.i; cout<<"copy constructor\n"; } */ }; A fun(){ A b; cout<<" address of b = "<<&b<<endl; return b; } int main(){ A a=fun(); cout<<" address of …

Member Avatar for tux4life
0
193
Member Avatar for tomtetlaw

Whenever I run this code, it always returns an empty list, can someone tell me why this is happening? [code=python] ## Written by Tom Tetlaw ## Copyright (c) 2009 ## Written in IDLE<www.python.org> import sys, os import re sys.path.append('E:/Tom's Personal Project/engine') import shared.useful.Useful import shared.charactors ##TODO: ## Make the Monster …

Member Avatar for shadwickman
0
212
Member Avatar for yun

I want to know that how many Student class objects in a file. plz help me out. Below is a class of Students and 2 function for read and write object in a file, in read function [code] while(in.eof()!= 1){ in.read((char *)&st,sizeof(st)); st.showData(); } [/code] st.showData(); always show the last …

Member Avatar for kvprajapati
0
461
Member Avatar for derekn

Wonder if anyone knows what's going on here... I have a page which is generated via Perl that prints a number of data entries in a series of table rows. Each <tr> is assigned a unique id through perl, and when user mouseovers on each individual <tr>, the javascript is …

Member Avatar for derekn
0
103
Member Avatar for Paua

Hi, I hope some-one can help. I am trying to create a mobile application that uses merge replication. I am having problems synchronising CE db to coporate db. I have had major trouble setting up my laptop for this, and have been unable to fix my final error. What I'm …

Member Avatar for Paua
0
171
Member Avatar for gretty

Hi I am learning windows programming in C++ . I just did a tutorial learning simply making a window appear & I am surprised by the all the things necessary to make a window appear. Maybe its just the tutorial that is too complicated with unecessary code. Is all this …

Member Avatar for gretty
0
114
Member Avatar for dzhugashvili

here is what I want to do: I want to read 104-character strings from a text file, one per line. I want to chop those strings in two, the first 32 characters being a string called schecksum and the last 72 characters being a string called sencdata. Then I want …

Member Avatar for dzhugashvili
0
165
Member Avatar for xenon3000

First , i want ask you excuses for my bad english. Well, i'm a beginner in c# but i need it to my work in this time. I have a SqlDataSource1 with "SELECT field1 from table1" I have an Accordion linked with SqlDataSource1, and inside of Accordion1 i have a …

Member Avatar for xenon3000
0
105
Member Avatar for sarithak

Hi frnds... I saw previous threads regarding photo gallery in this forum.. All threads start from errors in code.... But i want Image gallery total code with db...I was also doing gallery, but it looks not good..code is working fine..but look and feel is not good...also it takes more time …

Member Avatar for mrcniceguy
0
161
Member Avatar for mansour77

I am new to C# from java. In java I am able to use a decorator for a File object where I can have the file instance as a member variable and add the methods with the operations I need to perform on the file. This seems to be a …

Member Avatar for mansour77
0
88
Member Avatar for aveek

i have written a program in which i am drawing using a mouse. however while drawing a new line the previous ones are still being shown. i have called repaint every time the mouse is moved. Can anyone please help.

Member Avatar for BestJewSinceJC
0
87
Member Avatar for joshmo

I have a code that calls a method, but after this call, any code after it is not executed....here is the method call skeleton [code=java] if(//some condition){ //some code myMethod(//some variables); //some code/*not executed*/ }[/code] the calling is done well but the code stays in that method i.e code following …

Member Avatar for joshmo
0
137
Member Avatar for nahmartin

I don't know how to solve this problem in my code voro.cpp(200): (col. 5) remark: LOOP WAS VECTORIZED voro.cpp(395): same problem voro.cpp(423): voro.cpp(427): I am using intel compiler 10.1 to compile my code the code works fine on dev C++ 4.9.9.2 and V C++ 2008 200 [CODE] for(j=0; j<3; j++) …

Member Avatar for wildgoose
0
216
Member Avatar for mickel200

hi there, I have a phpbb forum . and I want to install a new style for it. I have tried to do that , have not sucessded. please how can I do that ?

Member Avatar for mickel200
0
156
Member Avatar for Acegikmo

I don't get where to insert the code and such; I could really use some help with this. :) Here's my java file: (I removed irrelevant stuff) [code=java] package projectprojectile; import java.applet.*; import java.awt.*; import java.io.File; import java.util.Calendar; import java.util.LinkedList; import java.util.List; import javax.swing.JOptionPane; public class Main extends Applet implements …

Member Avatar for Acegikmo
0
471
Member Avatar for major_lost

I successfully created my own help file using the VB 4 help complier. Now I need the code to call my help from my program. Does anyone know how to do this?

Member Avatar for major_lost
0
75
Member Avatar for u8sand

I made a game, and my friend told me: It doesn't work on linux. I thought it was because when you use VK_SOMETHING that is a value that windows returns when that key is clicked. So... Is their a substitute that I could use, a different function or something that …

Member Avatar for tux4life
0
161
Member Avatar for yun

I m surprised and wanna know that how the compiler understand the sequence of how data was entered. as i didnt use any space any tab not a new line, how it can point to the original value from a single line..????????? find.txt contain the following line with out spaces …

Member Avatar for Ancient Dragon
0
178
Member Avatar for mshravs

here is the problem, i wanted to create a login page, where in when a given username and password is created it should directly to the webpage showing the details. but if i give any other username and password it should be directed to the member sign in page. the …

Member Avatar for dnanetwork
0
473
Member Avatar for sreeram01

hi, i have an exception nullreference was unhandled.herewith i have enclosed the code and what message i haved while executing. Imports System.IO Imports System.Net Imports System.Text Public Class Form1 Public Sub submitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submitButton.Click Dim Str As System.IO.Stream Dim srRead As System.IO.StreamReader Dim …

Member Avatar for sreeram01
0
770
Member Avatar for thecodingbee

[ICODE]<?php $con = mysql_connect("localhost","teachms_fooduse","science0"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("teachms_foods", $con); $result = mysql_query("SELECT * FROM Foods"); echo "<table border='1'> <tr> <th>Name</th> <th>Shop</th> <th>Price</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td>" . $row['Shop'] . "</td>"; echo "<td>" …

Member Avatar for emarshah
0
103
Member Avatar for jcanaway

alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located …

Member Avatar for sysel
0
6K
Member Avatar for ayesha789

Hi, This is a code which shows all the records from database and also show EDIT and DELETE Button for each Record, Now I want only one DELETE Button for ALL Records and use check boxes to select and DELETE. Please Check this Code: [CODE=php] <?php $server="localhost"; $user="root"; $pass="root"; $database="new"; …

Member Avatar for emarshah
0
155
Member Avatar for PinoyDev

Good day.! How to get the last day of the current month and store it in a variable.? Thank you for giving time.?

Member Avatar for PinoyDev
0
300
Member Avatar for sravan953

Hey guys, I want some of your help.... How do I make a keylogging application in Python [I]without [/I]using pyHook? Any other module for that? I heard that learning about [I]threading [/I]will help...is it true? Thanks guys...

Member Avatar for scru
0
493
Member Avatar for ckaiser813

i'm suppose to write a program with two classes, the first class takes two numbers and adds them together. the second class has no methods but has an object called add2. this is what i got class Adder1 (object): number1 = int(input("Give me a number:")) number2 = int(input("Give me another …

Member Avatar for jlm699
0
126
Member Avatar for Jintu

[code=python] total = 0 max_score = -1 min_score = 100000000 total_numbers = 0 x = 0 y = 0 print("Enter a list of numbers, (Enter -1 to stop) ") print ("Press the enter key after entering each number") print ("End the list by entering -1") print () number = int(input("")) …

Member Avatar for vegaseat
0
141
Member Avatar for dude93

Hey, I'm not new to python but I wouldn't say I'm use to python either, I am very limited to what I can do, but I was wondering if anyone could give me some ideas for some simple programs that will teach me usefull things to learn. Thank you very …

Member Avatar for vegaseat
0
114
Member Avatar for tomtetlaw

Is there a different version if IDLE for Python 3.0(Python 300, Py3k)?? If there is, how do I download it?

Member Avatar for vegaseat
0
159
Member Avatar for sravan953

Can anybody gimme a link to a good msvcrt tutorial, because I want to learn getch() badly!

Member Avatar for vegaseat
0
131
Member Avatar for winmic

Hey all, I just recently got into wxpython for my job and I ran into a snag. When print previewing (using the demo code) there seems to be an insane amount of pages, yet only a few of them are viewable. So my questions are: 1) Why is there an …

Member Avatar for vegaseat
0
105
Member Avatar for sravan953

I wanted to make a Python prog just for fun, to get a pattern like: [CODE] * ** *** **** ***** ****** ******* ******** ********* **********[/CODE] So, basically, I started off by making a script to simply print [CODE] *****[/CODE] using a loop. Here's the code I used: [CODE]import time …

Member Avatar for vegaseat
0
96
Member Avatar for tomtetlaw

How do you specify a certain path for the import thing to import? such as [icode]import "E:\Tom's Personal Project\engine\shared.py"[/icode] Any help would be appreciated :)

Member Avatar for vegaseat
0
158

The End.