Hello, I am trying to create an upload picture pop up but how? So when someone click the following button: <button type="button">Add background</button><br><br> An upload picture pop up appearing. How to create such a thing?

Member Avatar
Member Avatar
+0 forum 8

Hi Friends, Recently I've experienced an issue in my (following) code. I've designed an array-stack and checked the values pushed in to it. It works well when pushing but when popping it doesn't display the whole popped values. E.g: If I pushed the values "zero to nine" in to the stack, even though they are pushed successfully, their popping displays only "nine to five". Why it behaves like this? Could anyone suggest a solution for this? #define MAX 10 #include <stdio.h> #include <stdlib.h> struct stack{ int stackSize; int items[MAX];}; void push(struct stack *sp, int newItem){ if((sp->stackSize)<MAX){ sp->items[sp->stackSize++]=newItem; printf("Pushed %d\n",newItem); } …

Member Avatar
Member Avatar
+0 forum 3

Hey guys i need help with a problem i am currently having with IE. I recently downloaded a file and since after that my internet explorer randomly pop up often and it is very annoying.Is this a virus!? Please help!

Member Avatar
Member Avatar
+0 forum 8

I would like to connect Softphones with each other. I would like to check <B>what phone calls are being in progress</B> in the system, more precisely, between the actual phones. If it is possible, I would like a solution for the case when any of the participants calls the other, I -as a third participant (as an owner)- <B>will receive a notification immediately</B> about the call and its datas. It would be even better if I had more control in the actions, for example, I would like to <B>interrupt or hang up the call</B> in particular cases. I found a …

Member Avatar
Member Avatar
+0 forum 1

I want to make a button in my page "click here" when i click the page should fade and show some text.then u can close the text box. thanks please keep it simple i am 14 years old <URL SNIPPED>

Member Avatar
Member Avatar
+0 forum 1

I have just bought a macbook air and have set up all my email accounts except one - my btinternet account [bt/yahoo]. Each time I try to set it up it defaults to an a imap account which I do not want. I have tried editing it once it is set up but that does not work as it still thinks its an imap account. I am sure some of you out there know better. I called Apple last night and they said it can't be done. There is no provision of a check box to set up account manually. …

Member Avatar
+0 forum 0

Alright, so I am designing a program that contains binary trees to function as a parser. I have encounted a very strange problem that is causing my program to fail while it is running. I have done several tests and narrowed down the incidents. Ok, so this results in a successful test: #include <iostream> #include <cstdlib> #include "BinaryTree.cpp" #include "Stack.cpp" using namespace std; int main() { BinaryTree<char> treeL, treeR; Stack< BinaryTree<char> > stack1; BinaryTree<char> tree1('a'); cout << "Test"; return 0; } Output: Test RUN SUCCESSFUL (total time: 93ms) Now, whenever I throw in the push function (the method that causes …

Member Avatar
Member Avatar
+0 forum 6

I have a popup that follows me around the web from site to site. I read a thread here that is 6 years old and would really like some help with this problem. Crunchie helped the person who started that thread who was alsandy. Crunchie posted this : Looks like a L2M infection. Download L2mfix from one of these two locations: http://www.atribune.org/downloads/l2mfix.exe http://www.downloads.subratam.org/l2mfix.exe I have tried downloading the first link and Norton 360 stopped it saying it was unsafe and the second link takes me to some celebrity page. If there is anyone out there who has any idea as …

Member Avatar
Member Avatar
+0 forum 3

Hi, I am learning python coming from a C background and I am trying to understand how python lists work. I took a look at the built in methods, and I am wondering if they are implemented like a linked list. The reason I am wondering this, is because I am wondering that if you can treat it as a queue, where you can push an element and pop one **simultaneously** with **two different threads** **(safely)** without the need of locks, semaphores etc.

Member Avatar
Member Avatar
+0 forum 2

Here is a technique I use for sending an email using GMail. Notice: You might need to change your email settings under [B]Forwarding and POP/IMAP[/B] inside your GMail settings (to Enable POP). Here is a test program for using the class library (shown in the snippet box): [CODE] using System; namespace TestSendGmail { using SendGmail; class Program { static void Main(string[] args) { string strError = ""; if(!CSendGmail.SendMail( // credential from a secure source GetCred.CGetCred.GetCred("GMAIL"), "Test Subject", // subject "someone@somewhere.com", // To: "test message", // Body "", // Attachment ref strError // returned error message,if any )) { Console.WriteLine("Could not …

Member Avatar
+0 forum 0

The problem is as follows. When I enter to some page from my site clicking the link (FF browser), I am redirected to an unwanted site. And some window pops-up where you can choose whether to stay or leave the site. When you click I want to stay, the window pops-up over again. This happens because the site have built in the following script: [CODE]var exit=true; window.onbeforeunload = function () { var goto_url = 'http://some site'; if(exit==true){ exit=false; window.location.replace(goto_url); return " Special Offer: Get 2 For 1 Price!"; } }[/CODE] This not happens when I use IE8 browser, then everything …

Member Avatar
Member Avatar
+0 forum 10

i am trying to do this consider a=[[(34,5),(34,6)],[(35,5),(35,6)]] b=[(36,5),(36,6)] i want to put elements of b in a so i do a.append(b) now if i do b.pop() why does it effect a? a ends up being `a=[[(34,5),(34,6)],[(35,5),(35,6)],[(36,5)]]` WHY?? is there a way around it?? i don't think i had this trouble in C++

Member Avatar
Member Avatar
+0 forum 6

I am making a program of vehicles and i have to make a car garage class. In the class the max amount of vehicles that could enter are 20 or 25000 lbs. I wrote the charstack and the pop() and the push() but dont know how to limit it to 20 vehicles or 25000 lbs. Could someone help with this. Also, I have a problem with the vehicle interface in my program. other classes come with an error so I threw an exception but we are supposed to add code to the classes to make them compile. [CODE] package saturn; …

Member Avatar
Member Avatar
+1 forum 3

I just wanted to know what would happen if you abuse the CharStack class by pop()ing more characters than you push()? Would it be an error of out of exception or something else.

Member Avatar
Member Avatar
+0 forum 5

if I wanted to remove all of the strings within a given list that met a certain criteria, such as having the str'a' in them, how would I go about doing that? the only way that's intuitive to me a for/in loop, but that can't be done. any ideas? Using Python3.2

Member Avatar
Member Avatar
+0 forum 9

Hello everyone, I managed to recieve the contents of my email from gmail using the poplib module. But I am nor able to save these emails. How can I save the contents of email including images etc in most preferably in a html file?? Regards BattleX

Member Avatar
+0 forum 0

Hi everybody I am Joorj I need to ask about a fine dll or code or components to receive emails for multi users, because I work for a company that need a software to receive all emails for their employees and save them back into SQL Database. without using manual operations. so please help me or I will fired from my job ! Thank you

Member Avatar
Member Avatar
+0 forum 5

Hey guys I am currently writing a code that will take the user input of a number and convert it to its hexadecimal form with the use of Stack ADT. This is what I have so far and would appreciate any help. [CODE]#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include "stack.h" int main(void) { int num; char alpha; int* digit; STACK* stack; stack = createStack (); printf("Please enter your integer (decimal): \n"); scanf("%d" , &num); while(num > 0) { digit = (int*) malloc (sizeof(int)); *digit = num % 16; push (stack, digit); num = num/16; } while (!emptyStack (stack)) { digit …

Member Avatar
Member Avatar
+0 forum 1

Hello i need help with the popping of stacks. i want to pop them all once i go into the Clear() method, but im having problems with the codings. here's my code: [CODE]import java.util.Stack; class InfixPost { static Stack inputStack; static String output = ""; public String infixToPostfix(String input) { inputStack = new Stack(); for (int i = 0; i < input.length(); i++) { char current = input.charAt(i); if (current == '+' || current == '-') { isOperator(current, 1); } else if (current == '*' || current == '/') { isOperator(current, 2); } else { output += current; } } …

Member Avatar
Member Avatar
-1 forum 3

So i am suppose to write two methods called superPop and superPush. superPop() pops a StarLine object from the stack, sends it to System.out.print, and returns it. superPush() pushes a StarLine object onto the stack, sends it to System.out.print, and returns it. I am continuing to try new things but any help would be greatly appreciated. So far I have this written for this new class I am creating: [CODE]import java.io.*; import java.util.*; public class AllStars extends MyStack{ public StarLine superPop(){ if(empty()) { throw new EmptyStackException(); } System.out.print(); return; } public StarLine superPush(StarLine stars){ }[/CODE] Also here is the Starline …

Member Avatar
Member Avatar
+0 forum 1

Ok so I have to write a reverse method of a stack and I am not quite sure how to do it. I understand that i need to pop the strings from one stack into another but whenever I try to do this errors arise. Specifically it says it cannot find the pop method which is clearly defined above. Can anyone help with this problem? [CODE]import java.io.*; import java.util.*; public class MyStack<E> implements MyStackInterface<E> { private List<E> theData; public MyStack() { theData = new ArrayList<E>(); } Stack<String> theDataReversed = new Stack<String>(); public E push(E o) { theData.add(o); return o; } …

Member Avatar
Member Avatar
+0 forum 1

In line 32 which is the lttr[ctr] = read.next().charAt(0); wont read all the letters that i input. it only reads the last letter that i entered. what should i do to be able to display all the letters i entered and be able to reverse there order so that they would act as a PUSH. Line 34 is required every after a letter was input by the user. and if you have another solution so that the user can use a 'Y' and 'N' as a reply instead of 1 or 0. Thanks lttr --- is my array that reads …

Member Avatar
Member Avatar
+0 forum 6

Hi, I have used an open source code from codeproject to read email from incoming mail server(POP Server). The code can be found at following location: [url]http://www.codeproject.com/KB/IP/Pop3MimeClient.aspx[/url] So far it works fine i can read emails. My objective of using this code was to retrieve emails from POP server and process them. My problem is: If i use gmails pop server "pop.gmail.com" and run the appplication. I get only those emails that i have not retrieved since the last time i run the application. but if i use my clients pop server everytime i run the application i get all …

Member Avatar
Member Avatar
+1 forum 1

No idea if this could be done by just javascript but don't know where else to post it... I have a contact forum where i want the visitor to select if they're a member of not, if they select no, nothing happens but if they select yes a new text field pops up where they have to fill out their username. thing is, i've researched a lot and just cannot find out how to do it... Anybody know how to? \\ Vic

Member Avatar
Member Avatar
+0 forum 7

After succesfully removing my task manager lock and my windows desktop lock with regedit im still troubled with a fake pop-up that comes back every few momets. Really annoying. I read up on some threads and downloaded AVG along with hijackthis. Here is my log. Logfile of Trend Micro HijackThis v2.0.3 (BETA) Scan saved at 6:42:56 PM, on 2/12/2010 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v8.00 (8.00.6001.18702) Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\SYSTEM32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\system32\spoolsv.exe C:\PROGRA~1\COMMON~1\AOL\ACS\acsd.exe C:\Program Files\Common Files\Apple\Mobile Device Support\bin\AppleMobileDeviceService.exe C:\Program Files\Bonjour\mDNSResponder.exe C:\Program Files\Canon\IJPLM\IJPLMSVC.EXE C:\Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe C:\PROGRA~1\RETROS~1\RETROS~1.0\retrorun.exe C:\WINDOWS\System32\snmp.exe C:\WINDOWS\System32\svchost.exe C:\Program …

Member Avatar
Member Avatar
+0 forum 9

The End.