199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Geek_Cyborg
Member Avatar for Geek_Cyborg
0
2K
Member Avatar for SheSaidImaPregy

I posted earlier on this site for help on where to set a command when a user session timesout. I posted this in the global.asax file: [code]Imports System.Web Imports System.Web.SessionState Imports System.Diagnostics Public Class Global Inherits System.Web.HttpApplication Sub Application_Start(ByVal Sender As Object, ByVal E As EventArgs) Application("CurrentUsers") = 0 Application("TotalSessions") …

Member Avatar for jaredclinton
0
1K
Member Avatar for minigweek

Hi there folks, I have Visual C# Project- Windows Application , It has a Webbrowser Control , and I intend to load a local HTML file with images into it. I want to embed the embed the html file and image files as resources. So I did. While using the …

Member Avatar for sknake
0
2K
Member Avatar for asaness

hi to all! i need some help. My problem is how to code the terminating current process, actually it is like a task manager. i hope somebody will answer my question. thanks to all...

Member Avatar for aka_amboy
0
128
Member Avatar for nunchuckie

Hi, I'm having problem with my linked list. The program I'm making should read in positive and negative numbers and put them into two separate lists. The numbers should be in rising order in the list. example: input: 3 5 1 -6 -2 -1 printing out the lists: pos: 1 …

Member Avatar for mrnutty
0
149
Member Avatar for samsons17

i'm so sory because i made mistake when asking about this before.. so here i'll make correction in this post.... actually what i want to ask is why my cin.fail() code do not works?? i want this program to ask the user back the same question if the user enter …

Member Avatar for VernonDozier
0
182
Member Avatar for satar

Hi; Error in cold fusion 5. Failed to send the spooled mail file, E:\CFusion\Mail\spool\BD81.cfmail. SMTP server replied "5.7.1 Unable to relay for [email]aaaa@bbbb.com[/email]" Moved file to E:\CFusion\Mail\undelivr\BD84.cfmail. Can someone help me.

Member Avatar for freshfitz
0
100
Member Avatar for zachattack05

Sorry to keep asking so many questions, but you guys always seem to be so nice and helpful... I need a way to verify that a database file is in a somewhat stable state...stable as in it has all of the correct tables, and each table has all of the …

Member Avatar for zachattack05
0
135
Member Avatar for rogerse

Hi there, I have written a page which is meant to allow a user to enter details of a new car for sale (via a form), and then the submission of this form should add the details to the database. As far as I can see all the code is …

Member Avatar for rogerse
0
143
Member Avatar for ayesha789

Hi Dear all Its my table structure... [CODE=mysql]CREATE TABLE IF NOT EXISTS `limsrentpayment` ( `PaymentMonth` varchar(15) NOT NULL, `SiteID` varchar(15) NOT NULL, `DurationS` varchar(25) NOT NULL, `DurationE` varchar(25) NOT NULL, `Amount` varchar(15) NOT NULL, `pDate` date NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/CODE] and data stored in it [CODE=mysql]INSERT INTO `limsrentpayment` …

Member Avatar for urtrivedi
0
159
Member Avatar for johni12

Hey, I'm sorry for being such a python newb, but thanks for helping me out with the last one! Hopefully you guys will help a newb out again :) This time, I need to use a recursive function to basically do the same thing that the .replace function for strings …

Member Avatar for johni12
0
139
Member Avatar for bg_ac_dziner

I have built a telephone keypad using the drawing function of Excel and I would like to be able to have a visual print out in an existing Text Box of the numbers selected when I touch the individual key button Groups.

Member Avatar for vb5prgrmr
0
545
Member Avatar for babbu

m using ms access and c# i fetch the data frm the database which includes sr.no. and store in a data table. i thn display the contents using a datagridview. everythin is working fine.. heres the catch i do not want to display the sr.no...how can i make tht particular …

Member Avatar for babbu
0
4K
Member Avatar for theABCasian

hello all working on a class project in C++ using eclipse and g++ stuck a zip of the project as an attachment but here is the basics [CODE]#include <iostream> #include "Complex.h" #include "FileHandling.h" using namespace std; int main(int argc, char **argv) { FileHandling file();// opens the file and gets the …

Member Avatar for theABCasian
0
352
Member Avatar for jojomakinen

Hello to all code gurus! First of, I wouldn't lie, i am not a professional programmer.....I am more of the opposite. I was given a program to write during a 4 day C++ programmers boot camp that I signed up for (which ended friday actually). By profession am a graphic …

Member Avatar for jonsca
0
152
Member Avatar for fuchsia555

hi why is sometimes i get this message error during browsing my site ? but when i refresh it comes back , what causes this error ? Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. …

Member Avatar for phpbeginners
0
103
Member Avatar for confusedndazed

Hello all, I need to create a function call to calculate the average...Can anyone help with that?? I'm not sure how to create a function in my code to calculate the average. My code currently terminates after I enter the 50 inputs and does not compute and read the average. …

Member Avatar for jonsca
0
89
Member Avatar for sam023

i have a page where listing of items is done... it also have searching feature with pagination... when i submit searching then its working fine.. but during panigation i have to pass all query parameters through url.. to get it work.. it there any way to use pagination without using …

Member Avatar for hielo
0
109
Member Avatar for qemajl

I am writing a hash algorithm simulator, I am running the keys through the hash but I am not being able to display the whole hash table after all keys are entered. I also I can not figure a way to check if there is any collision because I am …

Member Avatar for OmniX
0
138
Member Avatar for dinfadi

Hi everyone! I have difficulties solving a plot issue: I have these two datas in an array: np.array([Q-value, length]) Q-value......length A.................60 B.................40 C.................90 B................150 C................230 A................220 I want to plot these like: Q-value..........total length A...................280 B...................190 C...................230 Though it seems easy above my "real" array contains a lot more values. …

Member Avatar for dinfadi
0
133
Member Avatar for BestJewSinceJC

If I was using @$ as my flag pattern (to signal the end of the data) what would I do if @$ was seen in the data? I would just stuff another @$ right after it in the sender and in the receiver, if I saw two consecutive @$ I …

Member Avatar for BestJewSinceJC
0
613
Member Avatar for OmniX

Hi I have page A text, that I wish to have entered into page B text fields. The usual procedure to transfer data between pages are sessions. But for argument sake I am denied the access of sessions how else am I able to automatically enter the text and submit …

Member Avatar for OmniX
0
91
Member Avatar for asweetroxxi

i have writen the program but i cant seem to print result. the program builds a stack of numbers, then it adds,subs,mult, or divides all the numbers. for example 4 numbers are put in 1,2,3,4 it will ask what you wanna do . the answer should be 10 but instead …

Member Avatar for Lerner
0
133
Member Avatar for sirdanman10

I don't know if anybody here programs in C++ for the AS/400, specifically the Personal Communicator (PCOMM)... I have been able to successfully write programs in Visual Basic for Applications with Excel but I am having a hard time with C++. When I try to compile one of the sample …

Member Avatar for sirdanman10
0
167
Member Avatar for fuchsia555

hi how can we minus 15 pixel from bottom height in fitting for create thumbnails from original image in this code ? i mean how can tell php that capture from original image the ( all width ) and ( all height - 15 pixel from bottom ) [CODE] # …

Member Avatar for fuchsia555
0
260
Member Avatar for Lilal

Hey, I'm trying to do some compression on an ascii saved file, and running into problems. The original file starts off as such: [CODE]7+'Y 2+'J0-B)#0 [/CODE] I can read this in, and I get it as: [CODE]6 1 55 32 32 41 85 80 120 5 2 33 85 81 …

Member Avatar for Lilal
0
299
Member Avatar for scrace89

My teacher gives a review sheet which is a lot like the exam if not the exam but with some minor changes. I'm stuck with these fill in the blanks. [CODE]Fill-In-The-Blank Word Frequency The following program gets the name of a file as a command-line argument, opens that file, reads …

Member Avatar for scrace89
0
401
Member Avatar for soapyillusion

I know there wasn't a fourm for this but everyone here seems to know so much. I got a project due tommorow and the requirement of it is that we need an XSLT style sheet with computational ability. I really don't get this whole thing and find the use of …

Member Avatar for Ezzaral
0
126
Member Avatar for johni12

Hi, I am a newbie here and a python newbie as well :) I am having trouble implementing a program in which you must use only recursive functions and no built-in python functions other than the len function in order to determine if there are duplicates of an item in …

Member Avatar for johni12
0
253
Member Avatar for andrewblack

Hi everyone.. can i have sample using TatukGIS in delphi please.. i just try TatukGIS sample but somehow canot understand how to make it.. i need for tracking, load shp file, get NMEA from COMPort and drawing a picture (symbol) in map using Long Lat.. TIA

Member Avatar for andrewblack
0
185
Member Avatar for jlego

im trying to make the listview sort the listview items by column (whichever column was clicked, sort the list based on that column) in vb6 it was done by: [code] Private Sub ListView1_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader) Static olditem& With ListView1 .SortKey = ColumnHeader.SubItemIndex If olditem = .SortKey Then .SortOrder = …

Member Avatar for jlego
0
207
Member Avatar for kamikazekazuo

[code] #include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; //------------------------prototypes---------------------------------- void ReadData(int &x, int &y, int &z); float FindMaxMin(int x, int y, int z, float &max, float &min); float ComputeAve(float x, float y, float z); void ShowAll(float x, float y, float z, float average, float max, float min); //-------------------------------------------------------------------- …

Member Avatar for jonsca
0
156
Member Avatar for soeppp

[COLOR="Red"]This is a Library code i got from microsoft for format a textbox into a numeric format...but it's doesn't works because error message "numberFormatInfo is not defined" Can anybody fix this code.and teach me how to use this class... regards Soeppp[/COLOR] [CODE]Public Class NumericTextBox Inherits TextBox Private SpaceOK As Boolean …

Member Avatar for me655321
0
168
Member Avatar for iRemember

i just recently started with pascal, and I have no idea what the compiler tries to tell me. Can anyone tell me whats wrong with these procedures? [CODE]Uses Crt; var Answer: Real; AnswerB : Real; AnswerC: Real; (******************************************************************************************) procedure GetData; var A : Real; B : Real; c : Real; …

Member Avatar for FlamingClaw
0
116
Member Avatar for JasonDoyle

to declare and populate my array i am using [CODE] //declare Image pictures[][] = new Image[16][14]; public void init(){ //populate pictures[2][0] = getImage(getCodeBase(),"twohearths.png"); pictures[3][0] = getImage(getCodeBase(),"threehearths.png"); pictures[4][0] = getImage(getCodeBase(),"fourhearths.png"); pictures[5][0] = getImage(getCodeBase(),"fivehearths.png"); pictures[6][0] = getImage(getCodeBase(),"sixhearths.png"); pictures[7][0] = getImage(getCodeBase(),"sevenhearths.png"); pictures[8][0] = getImage(getCodeBase(),"eighthearths.png"); pictures[9][0] = getImage(getCodeBase(),"ninehearths.png"); pictures[10][0] = getImage(getCodeBase(),"tenhearths.png"); pictures[11][0] = getImage(getCodeBase(),"jackhearths.png"); …

Member Avatar for JasonDoyle
0
159
Member Avatar for Neon87

I have a quick question. I use getline to read from a file and put the line in a string s I call cout<<s and the output is this: "HELLO, PLEASE \n "ENTER" A NUMBER \n" why are the \n ignored and treated as strings? thanks

Member Avatar for Neon87
0
132
Member Avatar for CaffeineCoder

Does anyone know how to setup a dropdown list for C# without using a database? I'm trying to set up one that will allow users to select a newsletter from the dropdown and have it pop up in a new window. Any ideas? [CODE] <ASP:DropDownList id="NewsletterSelect" runat="server"> <ASP:ListItem value="'[Path]'">Newsletter 1</ASP:ListItem> …

Member Avatar for CaffeineCoder
0
282
Member Avatar for mruane

Okay, I am writing a dopewars clone/wannabe in python. I have it pretty much the way I want it, except that selling items does not work. Buying them does fine, it is just selling them. Here is the code: [code] #!/usr/bin/env python # # pimp.py # # @authors: KarimRuan, # …

Member Avatar for mruane
0
147
Member Avatar for zachattack05

Would anyone have the heart to post some example code to create an empty table? My code doesn't seem to work, it says the data type "int" in invalid...here's what I have: [CODE=C#] if (File.Exists(ExecutablePath + "\\idcc_data\\_IDCC.sdf") == true) { SqlCeCommand cmd; SqlCeConnection connection = new SqlCeConnection("DataSource=" + ExecutablePath + …

Member Avatar for zachattack05
0
2K
Member Avatar for ceyesuma

The name of this question jstl_var_message Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans, JSF, glassfish [B] The Purpose of this post is: [/B] To set a variable to use to map the stylesheet.css to messages [B] The functionality of this code is: [/B] …

Member Avatar for ceyesuma
0
1K
Member Avatar for HITMANOF44th

i am having trouble with testing to see if aData is equal to exit i have tried a few diffrent things the only thing i have relized is that the compiler say that aData is a multi character constant any help is greatly appreciated [CODE]while (exit != 1) { char …

Member Avatar for HITMANOF44th
0
126
Member Avatar for thosecars82

Hello guys This is driving me mad. I would really appreciate if you told me any idea about why I see this square in red color just in my local xampp installation. If I run the code in the remote server ([url]http://www.arreglaordenador.com/numberimage2.php[/url]) I see the square in black color instead …

Member Avatar for diafol
0
69
Member Avatar for python.noob

Hai friends, The problem here(in the code below) is i want to catch the minimize and close event of QTabWidget(by default this widget do not have any slot named close or minimize) to hide the widget.. so the only way the user can quit the application is by clicking exit …

Member Avatar for python.noob
0
738
Member Avatar for ziyakhan10

I am trying to write a program to find nearest prime to a number to its left...using for loop i just don't seem to get it right [CODE] #include<iostream.h> #include<conio.h> void main() { clrscr(); int n1,flag=0; cout<<"Enter The Number"<<endl; cin>>n1; for(int i=n1;i>0;i--) { for(int j=2;j<(i/2);j++) { if(i%j==0) { flag=0; } …

Member Avatar for Skeen
0
4K
Member Avatar for laconstantine

I started with debuging so I now debug all programs I can to understand the full work off microprocessor. I know basic ASM level so no problem here. look what i wana ask [CODE] --- c:\users\zippo\documents\visual studio 2008\projects\debug\debug\main.cpp -- #include <iostream> using namespace std; int main() { 00031370 push ebp …

Member Avatar for Ancient Dragon
0
205
Member Avatar for feoperro

Hi, I have an ajax script that sends a request to a servlet for information to be inserted into a table cell. The servlet then handles the request and replies with something like this: (I took the liberty of removing all the out.println tags) [CODE] <script language='javascript' src='whiteWine.js'></script> <table align='center' …

Member Avatar for feoperro
0
134
Member Avatar for Geek-Master

Currently our database is set to case-insensitive so when I search for the word "Math" I can get "MATH" or "Math" and even "math". Now I would like to run a script that searches for any word that is the lower case form such as "math" or "science". Since the …

Member Avatar for Geek-Master
0
164
Member Avatar for neosonic

Hi, this is my problem. I have a big picture to be viewed in picturebox. I will need to manipulated that picture (add some graphic in it) and save it in the same size (if the original is 2000x2500, let it be 2000x2500). The problem is that picture's size is …

Member Avatar for neosonic
0
94
Member Avatar for ruwanaru

In this the JS Codes (in the code tag)are not working only in this page can any one help me on this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Luxmi Lanka</title> <!-- InstanceEndEditable …

Member Avatar for ruwanaru
0
123
Member Avatar for Eternity[LK]

Hello. I have created a simple program which generates 3 random numbers, puts them in a text file, reads them, and then does 3 small calculations, results are put in another text file. Program is working correctly on my PC, however there is a catch. I need to submit it …

Member Avatar for jonsca
0
370

The End.