July 30th, 2010
Comments Off

Assign chuck of html to a php variable

I want to assign a whole chunk of html content to a php variable. I was wondering if anybody knows of a way other than catenating manually. It's a huge chunk of html full with escape characters so don't want to do '' or "" thing.

Any help is appreciated.

Original source : Assign chuck of html to a php variable
July 30th, 2010
Comments Off

Well hello there.

Hi everyone! My name's Jessica, and after many a time reading through the forum posts on this website for help, I thought it was about time to get an account.

I'm an Engineering student from Canada, and just started programming in C++ about a year ago. I think I'm the only person I know who writes code for fun to relax from class =P Still pretty new to everything, but two programming courses I've taken (beginner / advanced) got me up to speed on the basics pretty quickly. Other than that, I'm into music, theatre, horseback riding, and generally lots of other stuff I don't have enough time to do.

So, yeah! There you have it. Hi guys. =]

Original source : Well hello there.
July 30th, 2010
Comments Off

Upgrading Power supply

Hello,
I have a Gigabyte motherboard Model GA-8VM800PMD-775-RH Chipset VIA-P4M800 Pro, Intel 2.6 GHZ Celeron processor,I have 2 cd/dvd drives,4 harddrives,2 gig DDR memory,Radeon X1650 series, Running windows xp home. I am wondering if I can upgrade my power supply from 300 to 750 watt? If you need the model or anything off the power supply I want to put in will be happy to proved that.Thanks for the help
Ernie

Original source : Upgrading Power supply
July 30th, 2010
Comments Off

Off-site / Virtual Freelance Graphic Designer

DesignIgnite: Fueled By Design

Creative, Off-site / Virtual Freelance Graphic Designer specializing in print projects. Your perfect source for graphic design - logo, flyers, catalogues, magazines, business cards, posters, signage, advertising and more. Over 10 years experience. Visit http://designignite.com to view portfolio.

Original source : Off-site / Virtual Freelance Graphic Designer
July 30th, 2010
Comments Off

Small office NAS question

Hi all,
Our small business is currently using an online file server for our file sharing needs. Recently, there have been complaints around the office about the server. In particular, the problem people have the biggest issue with is file linking. MS Excel links don't work for files on the server (where you link cells in one worksheet file to automatically update based on cells in another worksheet). After speaking with customer support, the service told me that we should get a NAS device and set it up to work with their file backup.

I'm fine with the idea of getting a NAS device, but I need to make sure this will solve our issue with the Excel links. Will linked files automatically update on a NAS server? Also, how do NAS devices deal with multiple users editing the same file at once?

I've looked into buying a NAS server, which brings up a host of other questions. Can anyone recommend a good NAS server for a small business? (One without a dedicated IT professional)

Thanks!!!

Original source : Small office NAS question
July 30th, 2010
Comments Off

Java project

I just got my java project (beginner). . and its like this

Output:

What is my grade in Java?
(part where you input a grade)
My grade in Math?
(input math grade)

(the next screen shows the grades i input, gets the average, then the shout out of my grade)

JAVA 100
MATH 100
___________
-->AVERAGE 100

YOU ARE GREAT

(then shows this)
DO YOU WANT TO TRY AGAIN [Y/N]?(input)

I got only 1 problem when all is running bellow AVERAGE 100 got odd result

Error:

YOU ARE GREAT

DO YOU WANT TO TRY AGAIN [Y/N]?YOU ARE GREAT

DO YOU WANT TO TRY AGAIN [Y/N]?(input)

My Code:
import java.util.Scanner;
       
        class Test {
            public static void main(String[] args){
                Scanner myScanner = new Scanner(System.in);
                average = 0;
        String  answer = "Y";
               

  while (answer == "Y"){
            System.out.println("What is my grade in Java?");
                jgrade = myScanner.nextDouble();
            System.out.println("\n");
            System.out.println("My grade in Math?  ");
                mgrade = myScanner.nextDouble();
             
            System.out.print("JAVA  ");
            System.out.println(jgrade);
            System.out.print("Math  ");
            System.out.println(mgrade);
            System.out.println("____________");
                average = (jgrade + mgrade) / 2;
            System.out.print("AVERAGE  ");
            System.out.println(average);

      while (average < 101);
          if (average >=95){
                System.out.println("YOU ARE GREAT");
        else if (average >=90)
                System.out.println("YOU GOT GOOD GRADES");
        else if (average >=85)
                System.out.println("NOT BAD FOR A BEGINNER");
        else if (average >=80)
                System.out.println("YOUR A BEGINNER");
        else if (average >=75)
                System.out.println("YOU PASSED! CONGRATULATIONS");
        else if(average >=50)
                System.out.println("PERFECT ABSENT");
            System.out.print("DO YOU WANT TO TRY AGAIN [Y/N]?  ");
                answer = myScanner.nextline();
               
                  }//if
                }//while
          }
  }

Please reply asap T_T

Original source : Java project
July 30th, 2010
Comments Off

OleDb in visual studio how to use stored procs

Is there a way to used stored procs in visual studio when utilizing oledb?

Original source : OleDb in visual studio how to use stored procs
July 30th, 2010
Comments Off

Linksys router keeps disconnecting

I recently bought 2 laptops and for some reason ever since i bought the laptops the internet disconnects frequently but unpredictably. I thought it was just the wireless connection to the laptops that was making it disconnect, but the main computer also disconnects. Everytime my dad turns on the main computer to check his email he can't access the internet unless he pulls the plug. Can someone please help me out with this one. Thank you!

Original source : Linksys router keeps disconnecting
July 30th, 2010
Comments Off

VB

how to run the vb exe without VB6.0

Original source : VB
July 30th, 2010
Comments Off

Preload images for image swap

My goal is to preload these images for an image swap on the page. It runs on body load but I'm not quite sure why it doesn't work...

function preload() {
        imageObj = new Image();
        images = new Array();
        images[0] = "images/globe2.jpg";
        images[1] = "images/stickme2.jpg";
        images[2] = "images/monitor2.jpg";
        images[3] = "images/mail2.jpg";
        images[4] = "images/hyperlink2.jpg";
        for(i = 0; i < 5; i++) {
                imageObj.src = images[i];
        }
}

Original source : Preload images for image swap