42 Topics
|
|
[attach=right]13756[/attach]Portable gizmos that claim to charge your cellphone or iPod on the move are two a penny these days. Solar powered portable charging gizmos are not such a common sight, it has to be said, especially if we are talking about ones that actually work. Which is why I was … |
|
Hi, recently I have wanted to learn how to write Windows native binary code to make a binary script which in one form or another will display hello world. I am hoping to eventually create a more efficient compiler using this method but as you should understand already, this is … |
|
Hello. I have created a new Zend project, created a new model class to get some data from the database. If the environment is set to 'development', the data from the database are displayed properly in the browser, but after setting the environment to 'production', the following error appears: **An … |
|
Hey, I want to build some form application for Windows and i have tryed usind VS2010 but because IntelliSense is disabled for C++ i'm not able to work normaly as i'm fairly new to programming and i need to see the drop out menus after i use the "->" operator. … |
|
At a client with 100+ workstations, all running a simple logon script, two workstations are experiencing a strange problem. For testing and as an example, a simplified logon script is used: net use T: \\server\public set > C:\Temp\LoginEnv.txt This works on all but the two workstations, mapping the drive and … |
|
compare and contrast the latest versions of eclispe, netbeans and jgrasp integrated development environments. |
|
It's taken a while, but computing has finally gotten the green message. Many of the biggest IT vendors now ensure that they are being environmentally friendly in terms of the recyclablity of both components and packaging of the products they sell. But are you doing your bit once you get … |
|
How many child command could be added to a Parent command? I already have one Parent and child relationship in my data environment but when I try to add another child, the data report will not print. My problem is that I need to incorporate three tables in that data … |
|
Hello everyone. I am to program a simple shell in C for my project. So far my shell can execute simple commands and now I want to implement enviroment variables. I looked up on how to use the getenv, setenv, putenv. So far so good i've tried to use the … |
|
[CODE]if(isset($_POST['listingType'])) { ini_set('magic_quotes_gpc', false); // magic quotes will only confuse things like escaping apostrophe //Get the item entered $listingType = $_POST['listingType']; $primaryCategory = $_POST['primaryCategory']; $itemTitle = $_POST['itemTitle']; if(get_magic_quotes_gpc()) { // print "stripslashes!!! <br>\n"; $itemDescription = stripslashes($_POST['itemDescription']); } else { $itemDescription = $_POST['itemDescription']; } $itemDescription = $_POST['itemDescription']; $listingDuration = $_POST['listingDuration']; $startPrice … |
|
Hi all, this is a quite simple question. In windows, I wan't to set an environment variable to contain a cmd prompt command that will open an explorer window from the command prompt current directory. I am aware of the >explorer <path> command and want to make use of the … |
|
Hi I am trying to write something that compiles and runs correctly on both Linux and Windows. I am running bash in Ubuntu on Linux, and I try to set environment variables in the makefile just before the compile lines. I then write something in the code like [CODE] int … |
|
Hi DW(DaniWeb) - I hope that's the correct term, since I'm a total Python/DaniWeb noob. I [B]think[/B] Python doesn't have a RE(Runtime Environment), but Python has the option for one. [URL="http://www.python.org/download/"]http://www.python.org/download/[/URL]. So, basically what I want to know is, do you [B]have[/B] to have a RE(Runtime Environment) or anything like … |
|
I am using the following string and Java code to create a user on a Linux box via Java. [CODE=java] ... String x = "/usr/sbin/useradd -g users -s /bin/bash -c 'FIRST M LAST, STERK,DIV-DIS-OFF,123-456-2913' -p 2342asdfa231rcawef09 -d /home/flast -m flast"; RunCommand(x); ... [/CODE] However, upon execution it spins a list … |
|
HI All! I am creating a Python function that should set environment variable. My simple code is [I]#!/usr/bin/python import os os.environ['FK_DBO_PASS']="12345" print "After setting Environment Variable is ",os.environ['FK_DBO_PASS'][/I] When i execute this code file in command prompt it is giving me this result [I]After setting Environment Variable is 12345[/I] But … |
|
Having returned from a pleasant family vacation where the main topic of conversation was a huge tanker being split in two by controlled explosions off the East Devon coast in England, it was nice to get back to reality and discover the nerdfest surrounding how much power could be saved … |
|
I'm looking to create a 3D environment for an escape-the-room game that I'm making with Flash. I'm hoping I'll be able to do it with the 3D features of Adobe Illustrator but am unsure. I need to be able to move the view-point angle in the pictures to take the … |
|
I write usually many versions of the functions, sometimes writing functions from scratch again. Sometimes the parameters change from version to version, sometimes they are refering to library of functions that also has multiple versions. Has somebody advice on how to manage best this kind of situation? Should I define … |
|
Hi everyone, I'm a moderately experienced C coder trying to figure out the [B]execve()[/B] command. Here's the basic problem: My program takes a command from the user, loaded into the string UsrCmd. The string is tokenized and each token is loaded into ParaArray[]. Then ParaArray[] is used as arguments to … |
|
Hi Daniweb, I'm having a little problem here. I was trying to set up a path correctly (you know the one that's in the environment variables) and i messed it up. I was just wondering if anybody could tell me what should be the value for the Path under system … |
|
I asked this before, but I have to ask again considering I still haven't found a way to do this. I need to know if there's a way to take a variable inputted into a C++ program and pass it to the terminal as an environment variable. Again, I'm running … |
|
Despite [URL="http://www.daniweb.com/news/story292997.html"]the ongoing signal strength problems displayed by the new iPhone 4[/URL], there can be no denying that the latest Apple gadget has been a runaway success. With Apple claiming 1.7 million units sold in just the first three days it would be hard to argue. One of the not … |
|
[ATTACH=right]16070[/ATTACH]A new smart phone application, Virtual Test Drive, from [URL="http://www.vevdrive.com/"]Virtual Vehicle Company (VEVco)[/URL] will allow a phone to track the user's driving patterns in order to help them improve their mileage. The application uses the phone's GPS chip in order to track factors like when a user starts and stops … |
|
Since the BP-contracted Deepwater Horizon oil rig exploded in the Gulf of Mexico on April 20th, killing 11 workers and sending tens of thousands of barrels of oil into the sea every day, the oil industry has been subject to an understandable barrage of bad press. Finding a good news … |
|
I have to finish this project for tomorrow-so I'll Appreciate quick reply. I need to do reports in my projects. now I've created Data Environment and all that but in the SQL the only thing that work is if I select the entire table from the database. (like "select * … |
|
I am hoping someone here can help me with a little bit of trouble using the execve() call. I have some code that needs to call an external script under CNL (Compute Node Linux, [I]i.e.[/I] - Cray XT4/XT5). CNL is [B]extremely[/B] lean and is missing enough libraries to make using … |
|
Newbie problem. For some reason, I can't get this to work: [CODE] FOR /L %%A IN (1 1 23) DO ( if %%A==1 set drive=C: if %%A==2 set drive=D: if %%A==3 set drive=E: if %%A==4 set drive=F: if %%A==5 set drive=G: if %%A==6 set drive=H: if %%A==7 set drive=I: if … |
|
[URL="http://www.google.co.uk"]Check it out[/URL] Google has turned the lights out and gone black, but it is only for today it seems. Apparently it is all in a good cause: Earth Hour which invites people around the world to switch off their lights for an hour during the course of Saturday 29th … |
|
I have file 123.php which produces dynamic information upon excecution and need 123.php to copy it's output to file "abc.txt" How would I go about this in a unix environment? Thanks in Advance! |
|
I use Delphi 7 and just installed Win 7, 64 bit When I try to set an environment variable, it does not get saved to the OS. In XP, these same functions would save environment variables just fine. Does anyone have any knowledge to this issue? Thanks, Joe |
The End.