

InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
601. |
Solve : JavaScript: Get info from other web pages? |
Answer» Quote Can anyone register on Norek? You say Norek is a wholesaler but, as far as I can tell, anyone can register on their site. Could they then place an order?Yes, I'm trying to do this with as little effort as possible . As for anyone signing up for Norek.....no. You must produce official documents proving you are a business. In time I will CONSIDER setting up a shopping cart, there seems to be plenty of software out there to help me. However, at the moment I want to start small. If I was to start selling online and couldn't cope with the demand I'd ruin my reputation as a seller.talk to your web host and see what they offer software and script wise maybe they no of a script that you need.Quote talk to your web host and see what they offer software and script wise maybe they no of a script that you need.I'll try that if I don't have any luck with the forums.You cannot possibly hope to do this with javascript. And I think it's a much bigger job than you realise. You would need a script on the server side, where the end user could not see what was going on, to grab the information from the wholesaler. Who knows - if you're really lucky, they may have an API you can use. Otherwise you're stuck with rather hard parsing problems. Javascript is not up to that job. I always vote for PHP. It's not actually all that hard a move, if you're reasonably competent with javascript, and there are many amazing things you can do with PHP, including database access (which again might be something you'll be needing). To put this all into context, my gut feeling is that you're looking at a couple of weeks of flat-out DEVELOPMENT for a job like this. I guess you'd be paying a professional anything up to $2,000 for the job. So you aren't going to get a complete solution, asking a few questions here I'm afraid. But we could give you some pointers. Your FIRST pointer, if you really want to do this, is to learn PHP. There are a lot of PHP tutorials out there. JMO.i dont know if this will work but maybe you can setup a shopping cart, so when someone orders something online and they finish putting their order information input the cart and press order that info will be sent to you and then you can order the items from your wholeseller and then add your extra price to the payment..(youll need to show the price with all of your stuff added in on your website before you do this) that way they dont know the what the wholesell price is only what your price is. ie the wholesell price is $10 but on your website it show $13 and when they add that to the price it goes into the shopping cart and then to your email and then you order it for them and shipp it to them.. just thought, dont know if that is even possible, but im just throwing ideas out there to try to help you |
|
602. |
Solve : need to re-structure tower to work again? |
Answer» my so called FRIEND took my tower apart and now i have my so called friend took my tower apart and now i have perhaps you could provide a bit more INFO...... In one breath , you say it won't turn on ...and in the next , you say when it does......... What was the problem that required the tower to be opened up ? In the future try and post your querry in the correct place , I very much doubt the problem has anything to do with programming........it's more likely its .........EITHER hardware , software or spyware / viruses. let us know dl65 |
|
603. |
Solve : crc32 in vb.net? |
Answer» Hello, |
|
604. |
Solve : VB6.0 to VB.net? |
Answer» Hello, |
|
605. |
Solve : Analog to Digital? |
Answer» I have to write a program for a analog to digital converter and pwm, but I'm a BIT lost. I am also working with a pic16F690. I would appreciate any help.Do you have a manual for whichever library you're using? Are you effectively writing a driver for a specific device?What do you need exactly? not sure what you mean by "PWN". What language are you programming in? I can help you with BASIC but nothing else. Do you want an EXAMPLE or an idea what? |
|
606. |
Solve : winscript help? |
Answer» ok im trying to learn winscript its goin alright but i need some help with something |
|
607. |
Solve : auto reboot? |
Answer» Can someone give me the script to put in a batch FILE to REBOOT a Win2000 or Win 2000 server? Thanks.Add Shutdown -r -t 15 to your batch file. The t switch is a delay time in seconds allowing USERS to close programs. Change accordingly. |
|
608. |
Solve : Batch file help??? |
Answer» Hi! |
|
609. |
Solve : Forum Software - Programming?? |
Answer» Hi there, |
|
610. |
Solve : Problem in Java? |
Answer» Hi friend, how are you? I am at basic level in Java. Today, I have just started to LEARN Creating Windows. |
|
611. |
Solve : java.exe is generating errors? |
Answer» Hi, |
|
612. |
Solve : Making a web page with notepad? |
Answer» Does anyone lnow how to APPLY a back ground picture, rather than a color, to a web page that i made with notepad?Yeah, add background="picturename.jpg" to your body TAG. |
|
613. |
Solve : Collecting Performace Counter using logman.exe? |
Answer» I want to get PERFORMANCE counters for the SELECTED process using logman.exe with a batch programYou can get some info at Logman and some more info by typing logman /? at a COMMAND prompt. Also this may be HELPFUL Log Parser |
|
614. |
Solve : Find string in Visual Baic? |
Answer» Hello, |
|
615. |
Solve : How to apply SQL?? |
Answer» Hi all, |
|
616. |
Solve : VB6 - select item from grid? |
Answer» Hi |
|
617. |
Solve : Help with C/Unix programming? |
Answer» I need some help with a c program that I am writing to create my own unix SHELL (for a class assignment). ... any reasons why you need to do this in C? well. if you are really into C, i don't think you need to do a system() .... there are functions in C , like getppid() , getpgrp() etc (do a "man getpid" ).... sorry don't do Unix programming much, so no comments on how to get memory usage and such... another way is to learn how they do it by looking at the ps source code. If you don't mind doing in shell, the $$ variable SHOWS the process id of the current process eg test script Code: [Select]#!/bin/sh while [ 1 = 1 ] do echo $$ sleep 10 ps ..... |grep $$ ###print the shell pid done Unfortunately, the assignment says we have to use C (or C++) to do this program. I tried using grep, but I didn't quite get the desired results. system("ps -o pid,ppid,pcpu,pmem,etime,user,command | grep $$"); gives the output: 9657 9654 0.0 0.1 00:00 xx sh -c ps -o pid,ppid,pcpu,pmem,etime,user,command | grep $$ 9658 9657 0.0 0.1 00:00 xx ps -o pid,ppid,pcpu,pmem,etime,user,command 9659 9657 0.0 0.1 00:00 xx grep 9657 So I've lost the little header colums and I'm still getting stuff I don't want to show (child processes that have my process as the ppid). I'll be emailing the teacher tonight to see if he can (or is able to without giving away the answer) help me with this. Thank you again for your help with this. It is much appreciated. Sarah |
|
618. |
Solve : newest of newbies? |
Answer» I'm very new to the world of programming, about 48 HOURS new. I've decided I'm going to teach myself to program using JAVA...but i'm having trouble starting up...i've d/l java developers kit, and set my computer up to use the command prompt...but after that i'm stuck, command prompt keeps telling me that the files selected aren't executable files or batch files. I ran a test batch to see if it was correct and everything worked...so now what do i do. any info would help, also i can't seem to get class files to run either, i have the java VM so whats the problem?Quote I'm very new to the world of programming, about 48 hours new. I've decided I'm going to teach myself to program using JAVA...but i'm having trouble starting up...i've d/l java developers kit, and set my computer up to use the command prompt...but after that i'm stuck, command prompt keeps telling me that the files selected aren't executable files or batch files. I ran a test batch to see if it was correct and everything worked...so now what do i do. any info would help, also i can't seem to get class files to run either, i have the java VM so whats the problem?you started JAva without going through the manuals and beginner tutorials available on Sun's website?? You need to compile Class Files, before you can run them. I suggest you down load an IDE , Like JCreator, or Eclipse And then find a java Book , or tutorial Web site Google Has Many useswell, i've got a COMPILER now, and i've read a few online tutorials...i think that should get me GOIN in the right direction...thanks a bunch. i'll probably be posting some other minor TECHNICAL difficulties soon tho B) |
|
619. |
Solve : VBSCRIPT email - error 0x800ccc15? |
Answer» Seeking help... |
|
620. |
Solve : whta is the Logic behind One click Installation?? |
Answer» I have to work on the project in which I have to implement one click INSTALLATION. |
|
621. |
Solve : windows me dos-mode? |
Answer» how might i boot it in dos mode when it is not on the boot menu accesed by pressing the F8 keyWindows ME does not have a MS-DOS boot mode natively. THEREFORE, you can't do it.You could use a dos boot floppy.Or a COMMAND prompt if you don't NEED REAL DOS. BOOTDISK ARCHIVE DOSCOMMANDS Or upgrade to Windows 98SE |
|
622. |
Solve : Measuring Degrees (Visual Basic)? |
Answer» I'm trying to find out how I can measure the angle, in degrees, of a line in VISUAL Basic 6.0. Im trying ot find out how to move an object in any direction BASED on the AMOUNT of degrees you specify. Just a personal project of mine and I don't want any help on that aspect, but I can't SEEM to find out how to measure the angle of a line. Anybody GOT any ideas |
|
623. |
Solve : Parser in C# using regex? |
Answer» I would LIKE to do a parser in c# that return the command ET the params in a string[]. The initial command comes from a TEXTBOX it goes like this : |
|
624. |
Solve : Decompressor? |
Answer» Hello, I am just trying to see the code for programs I made my selfDid you lose the source code or something?yeah Thats why I would need them. Is there like a GENERIC decompressor that decompresses for files that were compressed using deferent compressors, kind of a bundle of COMPRESSOR( all-in-one) Thanks Almn |
|
625. |
Solve : COPY FILE TO F:? |
Answer» OK I am trying to make a BAT file to Simple Copy A FIle to a REMOVABLE SD Card (F:\) |
|
626. |
Solve : Images in Rar format? |
Answer» i've done this befor, running a winrar file through deamon tools as an IMAGE usualy works but i just downloaded a 3 gig compressed image, i decompressed it and within that i foud another zipped file that WONT decompres any further. "no archives found" but i know its there its 3.66 gig so i know its not empty, is there some way i crack it open and have a LOOK see inside?Does your question even remotely RELATES to programming? Don't think so. Learn to post in the PROPER section next time. |
|
627. |
Solve : [help]formula editing online? |
Answer» i am creating a website for our COMPULSORY statistics course,the website should provide FORMULA editing online.just like the following site: |
|
628. |
Solve : syntax error in php? |
Answer» Dear sirs, and all the block is: $errore = "" if ($nome == "") { $errore .= " if ($cognome == "") { $errore .= " if ($telfisso == "") { $errore .= " if ($email == "") { $errore .= " //Se la VARIABILE errore NON è vuota (ovvero almeno uno dei campi obbligatori // è stato lasciato vuoto) visualizzo un messaggio di errore if $errore <> "" { //Creo una lista puntata CON class ERRORS dove con il css posso //dare un carattere rosso e la inserisco in una variabile $stampaErrori = '
$stampaErrori .= $errore; $stampaErrori .= " (all the comments are in italian) Many thanks if you can help me to find the error. Regards Benedetto No problem. You have a semi colon missing. The line that says: $errore = "" should say: $errore = "";Hi Robpomeroy and thank you very much for your help! I did as you said but now i meet a new problem: Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /hsphere/local/home/clubscan/articaviaggi.com/processForm.php on line 16 I am "new" in php programming and I hope you can help me aven now. This is the second part of the file, from line 8: $errore = ""; if ($nome == "") { $errore .= " if ($cognome == "") { $errore .= " if ($telfisso == "") { $errore .= " if ($email == "") { $errore .= " //Se la variabile errore non è vuota (ovvero almeno uno dei campi obbligatori // è stato lasciato vuoto) visualizzo un messaggio di errore if $errore <> "" { //Creo una lista puntata con class errors dove con il css posso //dare un carattere rosso e la inserisco in una variabile $stampaErrori = '
$stampaErrori .= $errore; $stampaErrori .= " //Stampo un riquadro con dentro la lista errori echo ''; echo 'Attenzione!' echo $stampaErrori; echo ''; echo ' '; |
|
629. |
Solve : C-Langauage Experts? |
Answer» Hi Everybody . I am Dinesh Verma from india and Doing MCA from An INDIAN University. |
|
630. |
Solve : C++ graphics? |
Answer» How do I DRAW a pixel on the SCREEN in C++ USING only basic commands, not pre-made GRAPHICS PACKAGES?What about "."? |
|
631. |
Solve : I need help with an EXCEL formula? |
Answer» Hey, I KNOW there is somebody out there who can help me with the solution to a problem I have with an Excel Spreadsheet. Dilemma: Columns C2:C46 through M2:M46 must SUBTRACT from Column B2:B46 and reflect the answer in Column N2:N46. I was wondering if it would be possible to find out the formula to change a percent into a letter (E.G. A, B, C) ? e=mc2 |
|
632. |
Solve : Installing a php file on the server? |
Answer» [size=14]Hi all, your host will need to have PHP on their server.This REFERS to the PHP script engine. You will not be able to install it on your host's server; they either provide it as a service or they don't. Ask 'em. Another tutorial told that: Quote Often when setting up PHP scripts on web hosting accounts you will see the requirement to set some files and directories to chmod 777.That is a Unix/Linux idea and relates to file permissions. 777 means that the owner of the file, the group owner, and everyone else, all have read, write and execute/change directory rights to the file or folder. There aren't many CASES where you'd need to set such permissions, and it leaves a fairly glaring security hole since if anyone can change a script, they can run any (dangerous) program on your server... Changing file/folder permissions is either done in your host's control panel, or through your FTP program, so it's impossible to give generic instructions.Thank You. |
|
633. |
Solve : Changing user access on ntfs folder? |
Answer» IM using vb6. i already have program creating multiple user including thier home folder the problem i have is when i CHECK the security of the SAID folder it is accessible to everyone. it should be the owner of the folder only. the same way when i create user manually. does ANYBODY have a script or code for this particular problem.. thanks and more power. |
|
634. |
Solve : Can I do this in a BAT file?? |
Answer» I'm running windows 2003 Server (Enterprise)...I'm not a software guy...I'm more of a Hardware guy. Anyway, basically what I'm wanting to do is run a BAT (or something) to search my Event Viewer Logs for new content "within the last 7 days." I don't want to have to put a date in. When it finds the new content, I want to have the new content exported to a TXT file on a mapped network drive. When this is created, I'll be putting it in the TASK Scheduler to run on a scheduled basis. |
|
635. |
Solve : VB Help Please? |
Answer» right peeps bit of a conundrum this one |
|
636. |
Solve : FRont Page 2000 hyperlinks? |
Answer» I am using front page 2000 and I am having problems with hyperlinks. |
|
637. |
Solve : about adding elements for an array? |
Answer» Is it possible to add all the elements in a HashSet into an ARRAY? Below is a fragment of code I wrote. It tries to transfer all the elements from a HashSet to an array. But when I compile, an error PROMPTS up. |
|
638. |
Solve : Question regarding the title command? |
Answer» Can you do string concatenation with the NT command 'title'? |
|
639. |
Solve : Windows app development? |
Answer» Hi, I am a Mac PROGRAMMER trying to some Windows APPLICATIONS. But I am not sure where to start, where can I get the compiler and the runtime LIBRARY etc.and what are they CALLED in the Windows world? Do they have a all in one package similar to the Xcode in the Mac world? I write in C, C++, JAVA. I will appreciate if someone can help. Thanks in advance. |
|
640. |
Solve : Printer Command? |
Answer» I am using Epson dot matrix printer, after printing every time from a little program I wrote, i have to PRESS Load/Eject to adjust the paper BACK to its POSITION. I HEARD that there is a command which can help to instruct the printer to load back itself, can anyone kindly help me out? TKSYou NEED to send an escape sequence to the printer. Trolling around the internet, apparently 27,25,82 will work. Construct the string chr(27) & chr(25) & chr (82), then send the string to the printer. |
|
641. |
Solve : Batch Script Help Part 2? |
Answer» How would I do this: |
|
642. |
Solve : Creating SQL functions with native languages? |
Answer» Hello |
|
643. |
Solve : problem with redirect in php? |
Answer» Dear friends, if ($cognome == "") { $errore .= " if ($telfisso == "") { $errore .= " if ($email == "") { $errore .= " //Se la variabile errore non è vuota (ovvero almeno uno dei CAMPI obbligatori // è stato lasciato vuoto) visualizzo un messaggio di errore if ($errore <> ""){ //Creo una lista puntata con class errors dove con il css posso //dare un carattere rosso e la inserisco in una variabile $stampaErrori = '
$stampaErrori .= $errore; $stampaErrori .= " //Stampo un riquadro con dentro la lista errori echo ''; echo 'Attenzione!'; echo $stampaErrori; echo ''; echo ' '; |
|
644. |
Solve : stuck in Names Sorting Problem in Java :(? |
Answer» I am composing a code which requires a list of NAMES sorted by the Last Names. The Last name should be in upper CASE and put in front of the first name. It looks like the example: |
|
645. |
Solve : Need help learning JAVA, PLease!? |
Answer» I'm very New to JAVA. I'm taking an "Intro to computing class". ( I don't plan on being a programmer, it's to complete my degree and it is a "required class) I need help in completing an assignment. I have many books but, I don't understand the instructions, in the book (s) to even get started. I 'm supposed to do the "Hello World" program (yeah I know for those of you who are experienced it's simple). Here's my problem: |
|
646. |
Solve : Looking for a JAVA class...? |
Answer» Hi, I am looking for a Java class that has the SUITABLE METHODS to DISPLAY large integers with separating commas(325,589 instead of 325589) and have a restricted number of DECIMAL places for decimal numbers(26.2 kilos instead of 26.233985305). |
|
647. |
Solve : FORMs? |
Answer» I can put ONE FORM of the type shown below on a PAGE with no problems. But if I put more than one, then only one of them will work. Does anyone KNOW of a reason for this? Thanks in Advance. (The ERROR is page not found). |
|
648. |
Solve : Batch Script Help Needed? |
Answer» I need HELP with a batch script that will do the following: |
|
649. |
Solve : corrupt folders they changed to files? |
Answer» have 9 folders on one of my drives they all change to a FILE now i cant open them. in dos they dont show up as a DIR just a file with no (EXT) they are all now 32,768kb now one of them had 15 Gbt in it. is there away to change them back to a folder and will they be back as before. ThanksIt sounds like a CHKDSK or SCANDISK found corrupted directory entries and converted them to files. I'd be reaching for the BACKUPS if it were me... |
|
650. |
Solve : Batch Scripting PLEASE HELP !!!? |
Answer» i would like to time / schedule the execution of this batch file.. |
|