199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jtapp

First of all, please forgive my immature code.. I am a beginner and this is my first one. Could some body take a look at this and tell me why the data in my table is not populating? Thanks in advance for your time. The problem I am having is …

Member Avatar for nav33n
0
126
Member Avatar for naju

There is a another-site such as : [url]http://his-site.com[/url] there is a form on [url]http://his-site.com/submit_something.do[/url] To access this page we need to go through login from [url]http://his-site.com/login.do[/url] Now i have my site - [url]http://my-site.com/[/url] i do have the login information for his-site i need to auto-login and access the form page …

Member Avatar for naju
0
92
Member Avatar for Parsu7
Member Avatar for ceyesuma

Yes it's should be simple.Can anyone tell me why this won't right a string in the flippin body? Thanks [code] <!-- Document : computer_object Created on : Feb 23, 2008, 11:47:50 PM Author : James Howerton --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>computer_object</title> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for DangerDev
0
77
Member Avatar for tylerrr

Hello, I am hoping one of you guru's can help me out. I am new to Javascript and a bit of a hack at HTML. The following works correctly in IE7 but doesn't work in Firefox. Any idea? Also, is there any way to get IE to quit waring people …

Member Avatar for DangerDev
0
293
Member Avatar for nameunknown

Hi everyone, I currently have this script on my page that allows users to add and remove rows in the page. I have a another script that calculates a value on the dynamically generated elements and static ones too. my problem is, I cant figure out a way to pass …

Member Avatar for DangerDev
0
126
Member Avatar for mayank24

I was encoding a C program as my assignment and got stuck. Following is the part of my assignment where i got stuck Please enter the employee's pay period information : Income for the current pay period : -2400 **Value must be greater than 0.0 **Try again. : 2400.. **Trailing …

Member Avatar for mayank24
0
67
Member Avatar for AaronASterling

Hello, I am new to SQL. I assume that this is very simple. I have had trouble understanding the relevant example in the BOL as my installation (Express edition) does not seem to have the adventureworks database that is so ubiquitous in the examples. Say I have two tables, Test1 …

Member Avatar for AaronASterling
0
206
Member Avatar for thecraig

I am trying to write a file that writes to a user specified folder using ofstream. The basics of the code looks like this: [code] #include <iostream> #include <fstream> #include <conio.h> #include <stdlib.h> using namespace std; int write(int id) { ofstream myfile; myfile.open ("account/"id"/example.txt"); //this is where the error pops …

Member Avatar for thecraig
0
102
Member Avatar for leokuz

I have two checkboxes on my Form1, one is called "CheckOE" and the other "CheckCDO" I would like to have an option of sending email message using either Outlook or CDO. Both email codes work fine if placed in the button alone, but I dont' know how to skip either …

Member Avatar for leokuz
0
136
Member Avatar for Ajuddy

Help with a code in C++ of stock management program that can? Add new stock, list stock; name, buying price, current selling price. can replace stock with 1st,,2nd,,stock. this code should be able to write/read structure to the file

Member Avatar for venomlash
0
95
Member Avatar for shedii

Are C & C++ knowledge required to learn php or a person good at html, css & xml can start learning php directly?

Member Avatar for richie513
0
134
Member Avatar for Jade_me
Member Avatar for Jx_Man
0
79
Member Avatar for nikoasumi

Hi, I am new to python and new to this forum. So how are you all? What I am trying to do is create a script editor, with syntax highlight and unicdoe support. It doesnt need to link to ANY compiler, it simply have to display my script with highlights, …

Member Avatar for nikoasumi
0
221
Member Avatar for Jennifer84

If you have a comboBox on a Form that you will write dates in, in this format: YYYY/MM/DD What I wonder here is this. As default I know how to load in so the comboBox will look like this: ----/--/-- Now my question is this. Is it possible when begin …

Member Avatar for Jennifer84
0
92
Member Avatar for TheBeast32

Hi, I have been making a program that searches in another process's memory for a value from the user. It works, but it's [B]very[/B] slow. I have used other searchers like TSearch that are really fast. If anyone has a way to make it faster, please help.:-/ Here's my code …

Member Avatar for TheBeast32
0
321
Member Avatar for ionzone

Hi, I am trying to make a shell script that will parse lines off error_log of Apache and parse IPs off of it. The lines I need to parse are security warnings made by ModSecurity. Example: [CODE][Fri Feb 22 22:18:46 2008] [error] [client 111.222.11.22] ModSecurity: Access denied with code 406 …

Member Avatar for dandan
0
208
Member Avatar for ads248

Hi I've populates a DataGridView from the results of a SQL query programmatically, so I haven't had to define the number of columns, etc. Just before I display it, I'd like to change the columns with Yes/No in them with checkboxes. Any ideas how I can do this programmatically? Regards …

Member Avatar for ads248
0
1K
Member Avatar for CoolGamer48

I'm trying to make my game pause if the user presses the 'P' button, and then unpause again with the P button. The pausing works when it's only pausing: [CODE]game_state = PAUSED;[/CODE] I've currently tried the following with pausing and unpausing - none have worked: [CODE]switch(game_state) { case RUNNING: { …

Member Avatar for prushik
0
363
Member Avatar for prushik

I am using bloodshed dev-c++ ide. Win XP Media Center Edition. I am trying to learn how to use winsock, I have compiled a very simple (and very sloppy) little winsock application with the help of like 3 or 4 different tutorials the client sends a hard coded string to …

Member Avatar for prushik
0
52
Member Avatar for chopficaro

hey i got some c homework due Monday and I'm stuck. please help me. I'm going to mark the error lines with **** in place of a tab. build errors are at the bottom. i will be eternally grateful for any insight. [code=c] //patrick allard //program4 //prof ed ryder #include …

Member Avatar for chopficaro
0
510
Member Avatar for Jennifer84

I have edit a few items in my comboBox1 on my Form. The items in the comboBox exists of dates like this 2000/01/01 2001/01/01 So these 2 dates can be selected from the comboBox. I am doing a calculation with the selected date in the comboBox1. This works without any …

Member Avatar for Jennifer84
0
133
Member Avatar for jeffige

I just started using DevC++ (ty Ancient Dragon) to learn C/C++. I am starting with the basic Hello World! The online tutorial I am following (which seems pretty good to me, but what do I know...yet) does not express how to check my work. I remember seeing a C tutorial …

Member Avatar for Ancient Dragon
0
134
Member Avatar for piers

I have to do a really strange thing. I have to take a string of 2 words and then separate it and put it into two other strings eg String name = "fred blogs"; move the part of the string name which says fred to the String firstname so it …

Member Avatar for Parsu7
0
156
Member Avatar for onemanclapping

hi, I'm beginning to learn how to program in C++ and though it is teached in my university, it seems noone cares about Linux users, so no one there can help me here (though I think the problem has nothing to do with my OS, but with the version of …

Member Avatar for onemanclapping
0
216
Member Avatar for casperguru

What would be the best possible algorithm for finding out all the combinations a given string can be rearranged. It should even consider cases for repeated characters Any other strategy than brute force would be appreciated

Member Avatar for sarehu
0
170
Member Avatar for Carlo Gambino

I am working to increment lists in such a way that each item in the list is incremented incrementally, it sounds confusing but its not: If the user inputs: [CODE]list = [1, 2, 3, 4] [/CODE] I want the output to be: [CODE]2, 4, 6, 8[/CODE] in essence, the first …

Member Avatar for jrcagle
0
143
Member Avatar for Danii

while (firstNodeNeedsToGo(text)) { removeFirstNode(); nodeRemoved = true; } can someone rewrite this while loop into an if - then loop or any other code you have , this will help greatly toward my upcoming test

Member Avatar for VernonDozier
0
102
Member Avatar for RMartins

does anybody knows why this function doesn´t work very well: f=lambda n: reduce(lambda x,y:x**2+y**2, map(int,str(n))) I want that this function add the square of the digits of a number an example of what i want: f(442)=4**2+4**2+2**2=36 and it's giving me f(442)=1028!!!:S However fou numbers with 2 digits the function works!

Member Avatar for Ene Uran
0
169
Member Avatar for fishsqzr

I have a highly specialized update operation which I must occasionally run against a table. I would like to just send the SQL directly to the database as an UPDATE command. I have a data adapter for the table which handles normal read/write operations but this is a special case. …

Member Avatar for Jugortha
0
311
Member Avatar for Danii

boolean removedlNodes = false; what is the point setting this type boolean = false? Nodes = Nodes | NodesWithText(text); what does this " | " means here ? thanks in advance

Member Avatar for Parsu7
0
83
Member Avatar for TobbeK

Is any way to fill an ASP variable at clientside with javascript. I like to use that value to send as a string with a textlink like described below. <SELECT ONCHANGE="location = this.options[this.selectedIndex].value;"> <option value="">Choose something</option> <option value="0">------------------</option> <option value="1">option 1</option> <option value="2">option 2</option> <option value="3">option 3</option> <option value="4">option 4</option> …

Member Avatar for katarey
0
762
Member Avatar for Google Spider

Hello, What I've learnt so far is in this order: Hello world>>data types>>conditional execution>>C-style arrays>>C-style strings>>loops>>functions>>structs>>classes I'm not very good at structs and classes and haven't tried any problems, just read it from the book. I find classes kinda difficult and often forget what I read yesterday:-/ Should I move …

Member Avatar for codeaa
0
159
Member Avatar for martinkorner

I have some music in the background of my website (Let it snow.mp3) - using the following code: <script language="JavaScript"><!-- if(navigator.appName=="Netscape"){ document.write('<embed src="let it snow.mp3" autostart="true" loop="true" controls="SmallConsole" width=50 height=15></embed>');} else if(navigator.appName=="Microsoft Internet Explorer"){ document.write('<embed src="let it snow.mp3" autostart="true" loop="true" width=70 height=25></embed>');} else{ document.write('<embed src="let it snow.mp3" autostart="true" loop="true"></embed>');} //--> …

Member Avatar for MattEvans
0
160
Member Avatar for Lioshenka

Hi there!!! I am back with more problems, now in Java :) What I am trying to do is to make an application to read and output a random line from a text file, but everything I know how to do is to output the whole lot. How can I …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for cosmos22

Hi. How would I go about locating a file on the computer, and using it in my application. For example, say I wanted to call up a text document for a help menu to aid the user. I would also like to know how you might do this even if …

Member Avatar for vijayan121
0
109
Member Avatar for Infeligo

Hello, I'm trying to solve an ACM problem [url=http://icpcres.ecs.baylor.edu/onlinejudge/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1051]"Light, more light"[/url]. The problem is actually solved, but I can get it accepted. So browsing Internet I found a C code, which is accepted: [CODE] #include<stdio.h> #include<math.h> int main(void) { long long int n; while(scanf("%lld", &n)==1) { if(n==0) break; else if( …

Member Avatar for vijayan121
0
475
Member Avatar for trudge

I've mentioned SQL Injection attacks a few times in this forum and the Database Design forum. From the responses I got, many folks here don't know what an SQL Injection attack is. If you do any SQL interaction via a web-based interface, do yourself and the Internet community a favour …

Member Avatar for jbennet
0
823
Member Avatar for whoisit

I am building on a previous thread which got the user name by now asking for password as well. But for some reason it doesn't work, it jumps right to the default. Thanks for looking Here is the code [code] <?php $usern1 = Joe; $pass1 = abc; $usern2 = Jim; …

Member Avatar for richie513
0
141
Member Avatar for scorpionz

Hi this is ScorpionZ I need to get some idea regarding "Work FLOW SYSTEM" and IF I WANT TO CREATE Such system..... then What are the requirements? And on What Possible system is it Possible? Any help will be appreciated with great interest Thanks and Regard ScorpionZ

Member Avatar for richie513
0
125
Member Avatar for bosanava

Hi I built a website in dreamweaver, (on a mac). The pictures are aligned great, in Firefox and Safari. When I open Explorer, the picture at the homepage is smaller and doesn't cover all the cell. it's in the middle and there is a lot of black around it. How …

Member Avatar for MidiMagic
0
96
Member Avatar for William

Hello, I am new to Visual Basic.NET, and programming. I am wondering if someone can help me get to understand the VB.NET language. I learned some visual basic 6, but none of that seems to works anymore in the new version. Before in VB6 I could make a chat client …

Member Avatar for arjunsasidharan
0
608
Member Avatar for IT_Techno

How to add running application to window xp taskbar notification area when minimize the windos of application and not to be stop the application from running if any one can help me Many Thanks,

Member Avatar for IT_Techno
0
211
Member Avatar for dkwantee

i have the integers 100 5 5 9 in my array numbers.But when i compile this program i get 2009312941!! Please help me [CODE] int main() { int numbers[4]; int i; ifstream streamin; streamin.open("input.txt"); for(i=0;i<4;i++) {streamin >> numbers[i] ; } cout << numbers[i]; streamin.close();[/CODE]

Member Avatar for mitrmkar
0
254
Member Avatar for mayank.aga

Hey Guys, I am writing to a Text FIle in Java using FileOutputStream. But whatever I write is stored in the same line. What should I do if I want certain things to be stored in the next line. Basically, it is like inserting a new line into the file. …

Member Avatar for mayank.aga
0
199
Member Avatar for Spartan552

Hi ! [QUOTE] (A & 0xFF)[/QUOTE]. What does this mean? I have to optimize a program, here is the code : [QUOTE]ret += ((long) data[index + i] & 0xFF) << ((nb - 1 - i) * 8);[/QUOTE] An image is stored in the array data... whenI remove & 0xFF, It …

Member Avatar for bugmenot
0
225
Member Avatar for dnk
Member Avatar for dnk
0
116
Member Avatar for angrita

I have just been requested by my wife's office to get a suite of GWBASIC vers 3.23 progs currently on W98SE to run on XP Pro . I have it running, however with 2 questions: 1. It runs in a very small fixed window. I can run full screen but …

Member Avatar for jwenting
0
183
Member Avatar for naju

mime_content_type is not working .. i have in my php.ini as: [mime_magic] mime_magic.debug = On mime_magic.magicfile = "C:\Program Files\xampp\php\extras\magic.mime"

Member Avatar for naju
0
3K
Member Avatar for pranavdv

[COLOR="Red"]import java.sql.*; public class test { public static void main(String args[]) { // Define the url for the sample database String url = "jdbc:derby://localhost:1527/test"; Connection con; String createString; createString = "create table test " + "(NAME varchar(32), " + "NUMBER int, " + "FEEs float " ; Statement stmt; try …

Member Avatar for pranavdv
0
77

The End.