199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dsiembab

I was wondering, I might not have this question in the right forum, But how do you disable a program from taking a screen-shot of your website? I'm just asking because I've tried to take screen-shots of some websites and some of them just shut down the program while others …

Member Avatar for stymiee
0
318
Member Avatar for scudzilla

Anyone here know the code to view the cpu/ram usage at anytime? Yeah, I know its in the task manager but I want to create a small form and place it on my desktop.

Member Avatar for scudzilla
0
111
Member Avatar for dsustaita

Hi, I've tried several of the fixes for this that I've found on here, but I haven't been able to find a work around. Here is the code that I'm having the trouble with: [code] mysql_select_db($db_name,$db); $result = mysql_query("SELECT * FROM pages WHERE pagenumber LIKE $pagenumber ",$db) ; while ($myrow …

Member Avatar for dsustaita
0
167
Member Avatar for Inny

Hi folks, I came across an intresting peice of script that redirects to links in a new browser with a custom table at the top. It appears to be automatic when somebody types in a link address. I think there is some scripting hidden/missing that makes it work. Im wondering …

Member Avatar for MidiMagic
0
77
Member Avatar for preetham.saroja

can anybody give m articele or pdf or any other stuff-regarding datagrid_itemdatabound... Or explain,the working procedure of this particular evenhandler.... regards,,, preetham

Member Avatar for manal
0
113
Member Avatar for staneja

I am attaching a war file that prints hello using servlet This is code for web.xm [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<?xml version="1.0" ?>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR][B]servlet1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR][B]/hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]but …

Member Avatar for ~s.o.s~
0
178
Member Avatar for gwong

Hi, I was wondering if it's possible to use the sprintf or any kind of print statements that formats your output into a particular format. The value that is passed to me is "45.0", and I would like the output to be displayed as "45.00". Thanks for any replies!

Member Avatar for gwong
0
167
Member Avatar for CelestialDog

I'm trying to write a class containing some code i want to reuse in other projects, but I just cant seem to get it right. I'm hoping someone out there can offer a helping hand. Here is the original code: [code] def Numero(name): 'A function which converts a string to …

Member Avatar for CelestialDog
0
215
Member Avatar for acerf1

Hey, I have code in my program that, made line by line appear from my text file (Addition.txt), on my label. It basicly drawed questions from the text file. Now i was wondering if you could help me with the next part. When the question shows, the person is supposed …

Member Avatar for iamthwee
0
155
Member Avatar for amishosh

Hi! I cannot access my "Debug Windows" in VS 6. All the windows are grayed out and I cannot select them. What do I need to define to be able to access them? Thanks

Member Avatar for iamthwee
0
74
Member Avatar for taran30

[code]i have to make a project in java at the beginners level.....so anybody who has ideas on the same...cud u plz help me...i have only 2 months to complete the project...[/code]

Member Avatar for iamthwee
0
82
Member Avatar for sjewenp

i am totally new to the c++ arena. i have been tasked with writing a program that asks for a number, asks for that many names, in the form, "last, first," sorts the names by last name, but displays them in the form, "first, last," then offers the user the …

Member Avatar for Lerner
0
278
Member Avatar for tonyf

Hi Does anyone know the code to compare file versions from a server share and prompt the user to download the update if the file versiion is newer? Also how would you get this code to work automatically after launching the app? I've tried ClickOnce but did not like the …

Member Avatar for binoj_daniel
0
141
Member Avatar for rockyman

I am taking a computer science course and it is very basic. My question: If an algorithm takes 5n log2 n + 3n^2 + 4n+ 500 steps in the worse case state its complexity using Big- Oh Notation. I don't have any clue on how to solve this problem. Any …

Member Avatar for rohit saroha
0
60
Member Avatar for pmanya555

hi i am student of msc it i need good project of system sw on java or .net , if any body have any sugetion or idea please help me

Member Avatar for arkaprava
0
96
Member Avatar for php111

Hello gang, I was actually really my old topic on this forum. I heard that Python and Ruby would be for me to start with. Does that sound right instead of jumping right in to C and C++? What is required in Python? Is there free tutorials on that language? …

Member Avatar for vegaseat
0
182
Member Avatar for arkaprava

I want to do a project on J2me where from my mobile I can lock the car , switch off my light and can be able to different household works .Can anybody provide me some tutorials or suggestion so thath I can proceed for my project ?? plz provide some …

Member Avatar for arkaprava
0
95
Member Avatar for roflol

So I'm trying to count the number of lines in a text file. I think I got it working, but it seems I can't do further correct processing on the text file, maybe because getline extracts the data? The operations I want to perform include inputting values read from the …

Member Avatar for vijayan121
0
202
Member Avatar for xiyann

i have these objects: [ ['John', 27.52], ['Mary', 43.32], ['Paul', 64.85], ['Lulu', 98.23], ['Peter', 23.64] ['Mimi', 53.42], ['Nancy', 23.63] ] and i need to assign them to: var1 = ['John', 27.52] var2 = ['Mary', 43.32] var3 = ['Paul', 64.85] var4 = ['Lulu', 98.23] var5 = ['Peter', 23.64] var6 = ['Mimi', …

Member Avatar for xiyann
0
99
Member Avatar for nathanpacker

Hey, I need to know the command for adding secondary groups for a user. The only catch is that I have to assume that they are already members of some secondary groups. And if I use modprpw -G [group], then it erases any secondary groups they were previously in, and …

Member Avatar for nathanpacker
0
95
Member Avatar for michael.ngobeni

Hi guys, I have a form with many text fields that are created from another program (java) <input type=text name = 'myname1'> <input type=text name = 'myname2'> <input type=text name = 'myname3'> . . . . . and I have a javascript that loops through these text fields for (var …

Member Avatar for hollystyles
0
140
Member Avatar for webologix

Can I find an answer here about a Word Macro issue? I am trying to apply a macro to a Protected Form document. The user will click on a button to "Add a new Activity" table, which is saved in annother file to be inserted using the macro. But when …

Member Avatar for webologix
0
132
Member Avatar for michael.ngobeni

Hi guys I have a tricky XML/Java situation that I need some tips on I have an XML file <country> <country-name code=”USA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> <country-name code=”FRA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> </country > Firstly I need to count how many cities per country. I know I have to get …

Member Avatar for orko
0
214
Member Avatar for mimsc

So my user has successfully logged into their page...I have a "home" button link that I want to simply go back to this same page....when they press it...it takes them to the login screen....any suggestions?? here's my code snippet [code=java] <li class="first"><a href="cp-newmenu.jsp" target="_new" class="on">Home</a></li> [/code] thanx in advance

0
77
Member Avatar for fabzster

Hi This is my first post here and I have just started using php so please be kind LOL I have tried to use the script below to do a search on the database but it keeps spitting out [B](Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource …

Member Avatar for MitkOK
0
140
Member Avatar for php_noob

Hi people of the bandwidth world!!! Hey guys How are you today? What does $THIS-> actually do? I'm advancing in OOP programming using PHP.... Please enlighten me on this or if you have resources that explains all this in "ENGLISH" Thanks Guys

Member Avatar for Fungus1487
0
139
Member Avatar for thirunavukaras

Hai... How to Usercontrols with Shortcut Keys[F1,F2,F3,CTRL+O]... I am creating one windows apllication.. the apllication contain many form.. in one form i am used one usercontrol(parent control).. the many form used in that inherited usercontrol(child control).. in my form i want to use shorcut keys in usercontrol form does not …

Member Avatar for Fungus1487
0
1K
Member Avatar for arkaprava

I have installed MySql 5.0 and also configured but after installation it shows " The Service couldn't be started" Plz help me out

Member Avatar for macneato
0
78
Member Avatar for niceware

who have a PHP virsual program ? I know little on PHP, need a PHP virsual program very much.

Member Avatar for bassemyehia
0
148
Member Avatar for amishosh

Hi! I'm looking for a tutorial to explain handles and messages in C. I tried searching google for a while with no real success. Maybe I'm using the wrong keywords... Thanks.

Member Avatar for Ancient Dragon
0
288
Member Avatar for venomocity

I'm trying to write a game for fun. I've been able to get some lines of code from other friends who have been able to help. But they couldn't help me with this. I'm trying to write the code to where, when you click on the button it should change …

Member Avatar for jireh
0
102
Member Avatar for mustoora

Hi there, I have a combo box that contains 10 names. For eg. I select John's name. It will retrieve his left250 value from Access database. It will then display as a label. I've managed to do this so far. However, when i add in a new name in the …

Member Avatar for mustoora
0
103
Member Avatar for marjan_m

I hv make a html file on which I placed 2 fields username and passowrd.I also included a php file named "check.php" The code in the check.php is as follows: [CODE] <body> <? $con = mysql_connect("localhost","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("alauddin", $con); $name=$_POST['txtusername']; $password=$_POST['txtpw']; …

Member Avatar for ryan_vietnow
0
106
Member Avatar for shaqnolysis

Firstly i would like to say Hello to everyOne.Am a Computer Science Student and Am new in Java Programming.My first program is to write a program that will read a file and display the sum of all values. ....wanted to use BufferedReader to read the file and store the values …

Member Avatar for masijade
0
97
Member Avatar for tgifgemini

Good morning, I modified the code accordingly and got another "Run-Time error 1004 - Unable to set the RowHeight property of the range class" on the code below. Also, please look at the spreadsheet attachment. Is there any way I can get rid of the spacing(gap) that separates the line …

Member Avatar for kb.net
0
2K
Member Avatar for gretschduojet1

Hey everyone, I'm new to C++ programming and have just started the semester and having a bit of trouble with my second homework assignment. Here's the assignment: Write a program that accepts a 7-9 digit integer andechoes the number with commas between every three digits from the right. Here's what …

Member Avatar for gretschduojet1
0
1K
Member Avatar for NycNessyness

Hello guys, I'm currently having a problem with converting uppercase to lowercase. For example in my code below when a user enters in the class number I'm trying to let them be able to type it in both uppercase and lowercase. Like instead of only being able to type ABC101, …

Member Avatar for Aia
0
464
Member Avatar for Barefootsanders

Hey everyone, I'm workin on a little side project and I was looking for some help. Currently I have code that will check a given directory and populate two list boxes based on id3 tag information. The first select box will be populated with artist info and the second, with …

Member Avatar for Barefootsanders
0
117
Member Avatar for krnekhelesh
Member Avatar for mimsc

Here's my code...basically, I hard coded yesterday just to make sure it works...Im trying to get it to display results everyday [code=java] String sqlStmt = "SELECT distinct count (lc.con_id) as TotalLeads FROM LEADS L inner join leads_contactinfo lc on l.fk_conid = lc.con_id" + " WHERE l.FK_CONID = lc.CON_ID AND lc.FK_AGENTID …

Member Avatar for mimsc
0
85
Member Avatar for Dyamid

I would enjoy some help in directing my search for C++ code in a more specific area. I only have two years of college level C++ programing expirence under my belt so i would love to keep most of the coding simple. I want to create a function that moves …

Member Avatar for Dyamid
0
109
Member Avatar for apontutul

hi guys..........this is the code I'm trying to run [CODE] package dbpack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; import org.jfree.chart.*; import org.jfree.data.jdbc.*; import org.jfree.data.general.*; public class chartdb { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //private void readData() //} private PieDataset …

Member Avatar for apontutul
0
6K
Member Avatar for pmhayden

Hi doing a project which consists of moving between individual frames and in general interrogating a database from these frames. My first frame is a Logon frame. In this Logon Frame/class i have also instantiated another class called Member where I've saved the username from the logon process. Can I, …

Member Avatar for orko
0
295
Member Avatar for onsir

hai , all This coding about filter data using jTextFiled and display in jtable, so help me to combine these class be one class. thanks [CODE] //DBAccess.java import ca.odell.glazedlists.BasicEventList; import ca.odell.glazedlists.EventList; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBAccess { private static Connection c; private …

Member Avatar for orko
0
975
Member Avatar for mauro21pl

Hi I have a piece of code. It's print for me the numbers I enterd but in reverse order that I would like to. How may I change that? thx [CODE] #include<iostream> #include<conio.h> using namespace std; struct Node { int data; Node* link; }; class Q { public: Q(); void …

Member Avatar for Ancient Dragon
0
86
Member Avatar for mauro21pl

Hi I try to fill linked list with names. I have one error could anyone fix it. [CODE] #include<iostream> #include<conio.h> #define MaxSize 30 using namespace std; struct Node { char name[MaxSize]; Node* link; }; class Q { public: void get_input(char array[]); void print_input(); private: Node* head; void display(Node* ); }; …

Member Avatar for mauro21pl
0
100
Member Avatar for tagz017

hi guys.. need your help for retrieving selected images from the database and display it in thumbnails.. thanks

Member Avatar for flagbarton
0
89
Member Avatar for mimsc

Im getting this on just about every line....anybody see what Im doing wrong? [code=java] public static int[] getLeadsSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] leadsSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != …

Member Avatar for mimsc
0
154
Member Avatar for vikter
Member Avatar for vikter
0
112
Member Avatar for cmills83

i tried like a million things and im ready to murder someone, can someone walk me through it? thanks.

Member Avatar for MitkOK
0
104

The End.