199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for glennn

i'm using refreshhit for some random quotes pages in different DIVS, and love it; problem is, if i add html to the text in the pages: $string = "<a href=\"page\">text</a>"; echo $string; that's exactly what i'm getting, "<a href=\"page\">text</a>", instead of parsed html - can someone tell me why...? what …

Member Avatar for glennn
0
87
Member Avatar for kayjenx

I have a database I am creating with about 50 users over a network. There are about 6 groups of users and these users are spread across 10 branches. I want to block/allow users from particular forms and views. For example I want branch users forms to be filtered by …

Member Avatar for kayjenx
0
208
Member Avatar for smeghead007

Ok I got the code to work but with some errors. First when i print out the aorted array to the file it is sorted escept for one number in the beginning second it gives me a negative number whihc i believe is a pointer how can i fix this? …

Member Avatar for VernonDozier
0
135
Member Avatar for genieuk

Hi, I wonder if someone can advise. My website has been working great ever since i first launched it. I made a script months ago to notify me of errors like 404, 500 etc and so on and it works perfectly. Two days ago someone accessed my website and they …

Member Avatar for genieuk
0
127
Member Avatar for marinkapell1

Under what circumstances would you look to exclude pages from search engines using robots.txt vs meta robots tag?

Member Avatar for diafol
0
89
Member Avatar for nathanpacker

Very simple code, I even echo the variables to make sure they are comming through: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; $im=$_POST['im']; $bm=$_POST['bm']; $peachtree=$_POST['peachtree']; $canapprove=$_POST['canapprove']; $cancomment=$_POST['cancomment']; $canclose=$_POST['canclose']; $administrator=$_POST['administrator']; echo $im; echo $bm; echo $peachtree; echo $canapprove; echo $cancommnet; echo $canclose; echo $administrator; echo "<p>"; $result = mysql_query("UPDATE employees SET im='$im', …

Member Avatar for vimalsaifudin
0
3K
Member Avatar for ttboy04

Hello, I am trying output number of repetion from user request. So basically there will be repetition print out of the times table when the user enter in the "Enter repetition" dialogbox. For example in the "Enter repetition" dialogbox, i will enter 2, then in "Which timestable do you want" …

Member Avatar for phoenix911
0
103
Member Avatar for sid78669

Hey Everyone! I am writing a program for students and to keep it platform independent I have chosen to convert it to Java. Now, earlier I was using C# and with MS Visual Studio, I was able to write a plugin which would save all open ms office documents. I …

Member Avatar for masijade
0
152
Member Avatar for esy928

Greetings! I'm almost finished in creating a geometry wars like game (except that you cant move =P ). For the last few days I've been stuck doing the diagonal movement of the bullets. I wish someone could help me =D here's the constructor of the bullet class x & y …

Member Avatar for esy928
0
1K
Member Avatar for o0mkh0o

Hello! Im having a problem with the following code structure. The code compiles without problems but when i start the program i get an "exception: __non_rtti_object at memory location...". In the constructor of the model-class i still can get the object information of the node-class through the base pointer. Once …

Member Avatar for o0mkh0o
0
330
Member Avatar for lukeduke

Hi there, I have an application with a large number of pages, often with forms, and on the master page I have a search box. When a user fills out a form, then presses enter, rather than submit the form, it submits the search. Is there any way I can …

Member Avatar for llarose
0
97
Member Avatar for Prota

Hi! I am making a project about doublepointers and inheritance. Have some small issues that should not be difficult to resolve, but I just cant get a grip of it. The task is to add two types of vehicles that have some of the same characteristics but not all. I'm …

Member Avatar for Prota
0
259
Member Avatar for StephNicolaou

Hi all, I thought it would be quicker to design using NetBeans, but now I'm finding that it's more trouble to work with NetBeans automatically generated garbage 'code'. Anyhow, I've tried to remove its automatically generated code for the frame's scrollbar but that just totally messes up the layout of …

Member Avatar for StephNicolaou
0
110
Member Avatar for sklemp

Hello everyone, I have this code below and everytime I run it I get this error. Please help. [CODE]Private Sub SendEmail(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click Email.To.Add(Settings.txtTo.Text) Email.From = New MailAddress(Settings.txtFrom.Text) Email.Body = "Email Body" Email.Subject = "Email Subject" SMTPServer.Host = Settings.txtSMTPServer.Text SMTPServer.Credentials = Authentication SMTPServer.Send(Email) …

Member Avatar for sklemp
0
129
Member Avatar for needHelpVBA

Hello everyone :) I have to do a very imporant project... And I would highly appreciate some useful hints, since I have NO experience at all with VBA... (I have read a book, but just from reading and following those instructions I am not able to key my own tool... …

Member Avatar for needHelpVBA
0
94
Member Avatar for Access07-Jon

Hi there (Can DoCmd.openform allow formname from stored string value?) I am needing to vary the FormName part of the .openform based on a result looked up in another table. as I have 10 Different forms that will be specific to a certain kind of record. My code something like …

Member Avatar for Access07-Jon
0
135
Member Avatar for farooq124in

Hello all i am new to sql, iam having a requirement where i need to have a distinct value from the result lets say example, contacts table id name --- -------- 1 john 2 jason 3 mark address table id address conid -- ------ ----- 1 newlane1 1 2 newlane2 …

Member Avatar for farooq124in
0
172
Member Avatar for PDB1982

I'm trying to understand how static ints work within classes, and I've fallen on some code that I don't quite understand how the answers come out to be what they are showing. [code] // static members in classes #include <iostream> using namespace std; class CDummy { public: static int n; …

Member Avatar for pecet
0
137
Member Avatar for feedmeh8

Hey guys. Im new to these forums and was hoping i could get some help. Trying to figure out how to divide a number by another number in scheme without using /. I have written these functions that i can use in creating the divide function: [CODE](define pwr (lambda (a …

Member Avatar for tuffff
0
853
Member Avatar for nathan2oo3

Hi folks, having a bit of bother trying to post my values to another page using radio buttons. I have an exisiting form that I wanted to add the below code to. The form currently posts comments however I want it to post ratings of DVD's on the site. The …

Member Avatar for as.bhanuprakash
0
102
Member Avatar for forhacksf

I want to create a link to a web page into an about box and i want it to open it with the default browser.I googled it and found nothing that helps...pls a little help

Member Avatar for forhacksf
0
114
Member Avatar for stefy14

i am a University student pursuing a degree in computer science, it seems as though i really suck at validating things... well I just don't really get the concept i know its conditions but i when i try one it always seems to crash my program I've been trying to …

Member Avatar for tetron
0
139
Member Avatar for sean108

Can some one give me some code on how to use windows.h..... im making my project, about ATM, i want to make it look good so i need some code on how the use windows header. I saw this person using a goto(x,y) code... and I saw his exe file. …

Member Avatar for kendapcwiz
0
519
Member Avatar for Exploded Fiber

I have a string- 3,3,2,2,3,3,3,2,3 - Is it possible to explode it by length, such as: 1-> [3,3,2] 2-> [2,3,3] 3-> [3,2,3]

Member Avatar for Exploded Fiber
0
87
Member Avatar for tiwas

Hi guys, I've trapped a misbehaving app in a panel and need to zoom out to make the whole app appear inside the panel without having to make the panel larger. Anyone know how to do this? Is it even possible? Cheers!

Member Avatar for tiwas
0
79
Member Avatar for chathuD

[CODE]window.onload = rolloverInit; function rolloverInit() { for (var i=0; i<document.images.length; i++) { if (document.images[i].parentNode.tagName == "A") { setupRollover(document.images[i]); } } } function setupRollover(thisImage) { thisImage.outImage = new Image(); thisImage.outImage.src = thisImage.src; thisImage.onmouseout = rollOut; thisImage.overImage = new Image(); thisImage.overImage.src = "images/" + thisImage.id + "_on.gif"; thisImage.onmouseover = rollOver; } function …

Member Avatar for chathuD
0
101
Member Avatar for AutoC

I'm getting this error at the end of my program... [code] *** glibc detected *** ./a.out: free(): invalid pointer: 0x00617ca0 *** ======= Backtrace: ========= /lib/libc.so.6[0x684ac1] /lib/libc.so.6(cfree+0x90)[0x6880f0] /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xc986f1] ./a.out[0x804ce2f] ./a.out[0x804973d] /lib/libc.so.6(__libc_start_main+0xe0)[0x631390] ./a.out(__gxx_personality_v0+0x7d)[0x8048de1] ======= Memory map: ======== 00110000-00111000 r-xp 00110000 00:00 0 [vdso] 005fc000-00617000 r-xp 00000000 08:01 687043 /lib/ld-2.7.so 00617000-00618000 r-xp 0001a000 …

Member Avatar for vikashkumar051
0
815
Member Avatar for forhacksf

I have to clone the calc.exe from winxp and i'm stuck.I'm new in c#. The problem is that I don't know how to get the next number when i press " + ",I take the first number from the textbox but after that I don't know how to read the …

Member Avatar for Geekitygeek
0
248
Member Avatar for matt.clark.228

I am trying to use C# after using VB for a while. The problem that i am facing right now, is resizing things. In VB i would use the following: [code] Private Sub TextBox_Resize() handles mybase.sizechanged 'change the size of the text box when the size of the main control …

Member Avatar for Geekitygeek
0
81
Member Avatar for wilsonz91

Hi, I would like to know if I could do this: if i were to enter 5 numbers, it would go like this: 5 4 3 2 1 I want to know if I can do it like: 54321 Basically I don't want the insertion to go to a new …

Member Avatar for WaltP
0
2K
Member Avatar for StrangeArray

I'm attempting to write an application that searches for and displays optionally sized strings made up of optional characters (both determined by the user) from a file (of any type). The goal is to have said strings displayed in a listBox control. I'm fairly new to C#, so through this …

Member Avatar for Geekitygeek
0
185
Member Avatar for rihanphys

i'm using matlab for image correlation. in my program i have to read 15 or 20 images one by one and correlate them with the 1st one, i.e. at first image2 will be correlated with image1, and then image3 will be correlated with image1, and then image4 will be correlated …

Member Avatar for jonsca
0
143
Member Avatar for chetanbasuray

I have 2 problems: First one is I want to put an user name password in a form...I have designed the table and database and I'm fetching the user names from a table and putting them in a combo box, from the combobox i select the required user name to …

Member Avatar for kplcjl
0
109
Member Avatar for lionaneesh

[CODE]#include<stdio.h> #include<string.h> int main() { int i; char line[100]; char line2[100]; printf("Enter some lines : "); scanf("%[^\n]",line); printf("2:"); scanf("%[^\n]",line2); if((i = strlen(line)) >= 80) { printf("%s",line); } if(strlen(line2) >= 80) { printf("%s",line2); } getchar(); return(0); }[/CODE] the main aim of making this program is that it will input 2 lines …

Member Avatar for jonsca
0
73
Member Avatar for Tarli14

Output: Enter name: Ferrial P. Esber A - 1 B - 1 E - 2 F - 1 I - 1 L - 1 P - 1 R - 3 S - 1 Space - 2 Please reply ASAP, thank you very much

Member Avatar for javaAddict
0
88
Member Avatar for dran08

Good day, I am a freshmen student in need of some help. I have created an ATM program. This program has text files created for the withdraw transaction, deposit etc. It is like a database program for me. First of all, I would like to know how to compare strings …

Member Avatar for dran08
0
185
Member Avatar for sniigg

I have a piece of code which is used by several aspx.cs pages and I want to put that code in a separate page so that all these pages access that separate page. I dont think i can use classes for this....

Member Avatar for amitshrivas
0
101
Member Avatar for lionaneesh

[CODE]#include<stdio.h> #include<string.h> void reverse(char str[]); int main() { char str[100]; int i; printf("Enter to reverse : "); scanf("%[^\n]",str); reverse(str); return(0); } /* Function */ void reverse(char str[]) { int i; for(i=(strlen(str));i > 0; i--) { printf("%c",str[i]); } putchar('\n'); } [/CODE] in this programme when we input 123 output = 32 …

Member Avatar for jonsca
0
81
Member Avatar for bluebird

Hi I am testing to write a contact list program. I store the information regarding name, Organization name, tel no and e-mail. When I select the read command, it shows all the organization name, e-mail in the list. It is all ok so far. I want to write the program …

Member Avatar for masijade
0
155
Member Avatar for thuyson

i want to print textbox contents at a coordinate in C# when user click a button on form.But i don't know code,please help me! Thank you so much!

Member Avatar for thuyson
0
192
Member Avatar for smi ensi

hi; I find probleme is that the result of run not be saved in the file ; the second things that I m very sad because I work for 2 weeks and I can't up to now to do the programme; the programme is; we have class called A in …

Member Avatar for jephthah
0
110
Member Avatar for koeney

Hi guys I need help with my project I want to write a java code that determine if an expression is tautology or not e.g. P v Q -> R note that: v is or -> is implies i need a help how to start? do i need a truth …

Member Avatar for mytime19
0
89
Member Avatar for stuncrazy

ok so i'm trying to set up my program to insert a new record to my database i keep getting a insert syntax error [CODE] Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click '************************************************ '* ** '* will first verify that all necessary information needed ** …

Member Avatar for Renukavani
0
87
Member Avatar for bradolive

Hi, I have a PHP application that stores sales transactions into database tables, etc - and we have decided to use this as an online service - which makes it great for the client. They aren't computer literate and their computers mysteriously die and disappear. Having off-site data and no …

Member Avatar for bradolive
0
194
Member Avatar for hinks

hi i wonder if any one can help i have to write a program in java were there is a server and client, what has to be done is that a number is entered on the clients side, which then goes to the server and if the number matches then …

Member Avatar for mytime19
0
88
Member Avatar for kavya_nayak7

hii..i have a toolbar which i hav designed in a form..the problem is thatthe code isnt working...i have used screen.activeform in a select case..i think isnt fully correct..plz do help me out..

Member Avatar for jhai_salvador
0
73
Member Avatar for Alexia Ooi

This is the program i'm trying to develop. It's not an assignment or anything. I'm just a newbie trying out new stuff. But I'm getting frustrated with this. [CODE]#include <iostream> using namespace std; //========== struct ========== struct nodeType { string song; int rating; nodeType *link; }; //------------------------------------------------------------------------------ //========== function ========== …

Member Avatar for Salem
0
149
Member Avatar for rukshilag

Hi - here is my code - it is for searching what i have done as u can see is - for every results the CP_ID is hyperlinked and opens up to the edit page. but no value gets passed. what i want is when a search result appears i …

Member Avatar for urtrivedi
0
180
Member Avatar for beGinneR24

Hello, i have to create a java program that calculates a polynomial, kinda. the key question i have is i dont understand what this is asking me right here, and if i am understanding it right, why is it not working? this is what it is asking me Create a …

Member Avatar for beGinneR24
0
106
Member Avatar for Bodul

Hi! I have following problem. I need to select multiple random rows in DatagridView with keypress. Ex: Row1 -selected Row2 -not selected Row3 - selected I do have part of code that will update certain field in database on keypress, but i have no idea how to create multiple selection …

Member Avatar for Renukavani
0
1K

The End.