33 Solved Topics
Remove Filter
|
|
Hi I have a php script which creates an xml file //Select the Database mysql_select_db("personeelsbestand",$db); $result = mysql_query("select * from XMLAfdeling", $db); //Create SimpleXMLElement object $xml = new SimpleXMLElement('<xml/>'); //Add each column value a node of the XML object while($row = mysql_fetch_assoc($result)) { echo $row['Afdelingnaam']."\n"; $mydata = $xml->addChild('mydata'); $mydata->addChild('AfdelingID',$row['AfdelingID']); $mydata->addChild('Afdelingnaam',$row['Afdelingnaam']); … |
|
Hello All. I have a program that automatically restarts itself atfer a certain amount of time. I am doing this to test some things out. The program is wrapped in a jar. I run the jar from terminal with java -jar ProgramName.jar It will run and will output all the … |
|
How can I find the width of a command line window from a GNU C++-program ? I'll use this information to display a progress bar when copying files, so I need to know the width to be able to display the progress bar correctly. |
|
I want to build an own interpreter using c programming and I want to call it in command prompt. How would i do this? I just want to start a command "display" which can display the contents of a file like type in cmd. |
|
what is command line argument in java and how it is work public static void main(String []args){ for (int i = 0; i < args.length; i++) System.out.println(args[i]); and what is .length in upper code. is it function no it is not function is it class no it is not a … |
|
I am working on s code that i want to add command line arguments to. I have read the docs.python page on this subject 3 or 4 times and it still has me conffused. I want to be able to set my base directory, change a send and recive email … |
|
one of my goals for this year is to learn java, and I found an excuse to get started lately. So over hte last couple of hours I have been reading tutorials and the likes, and started following the advice from this post http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq As such I am up to … |
|
im on win 8. neither can i find the bin folder as i could on my xp machine , nor do i get any command line. googleing didnt help much either. either i got some really hard to understand mysql doc page , with no specific answer to my problem … |
|
Hello everyone I've been searching for help for a long time and still can't find somebody to solve it for me :(, The problem is im not good at explaining it , But here is the problem I'm creating an application in visual basic 2010, and i was aiming to … |
|
Hey guys just joined.. So I'm learning C#, and kinda having trouble with finding the command prompt? Installed Vistual Studio 2008 Express with C# and visual basic. After that I installed XNA 3.1. It's supposedly in a folder in the start menu under 'Microsoft Visual Studio Tools', but I have … |
|
Hello Community, I was wondering if there is a way to stick a cmd window/process that i called from my vb form to the bottom of the form like the picture: (below) ![form2](/attachments/large/3/form2.png "form2") And so where ever i move the form the cmd windows will also follow. Also is … |
|
i want to take the 1st argument from commandline, ie argv[1] and assign it to a `char target[80]` i know im making some very stupid beginer mistakes... but just cant understand what :( this is my code: #include <stdio.h> #include <string.h> void converge(char *targ, char *src); int main(char *argc[],char *argv[]) … |
|
I found the syntax to change a user password through command prompt. I am using: net user username password I have sucessfully changed the password to a regular password. I can not figure out how to change it to a pass-sentence. How would I write the syntax for a password … |
|
Hello Community, I was wondering if it's possible to attatch a command prompt window to a visual basic form. EG. (Below (i made this as an example)) ![example8](/attachments/small/3/example8.png "align-left") Something like that. Please help. |
|
Hi, is there a way to get the FTP Welcome banner (not the welcome message, but the banner)? What I'm trying to do is to discover several AXIS security cameras over a network using FTP. When I try to FTP into a camera using cmd.exe, the camera answers like: C:\>ftp … |
|
I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end … |
|
Hello! So here I am again asking for your knowledge and help.:$ I have this little project of embedding the g++ compiler in my software. What I have done so far is place the compiler inside the bin of my project folder, inside the Debug folder. I managed to call … |
|
So, even thou I have searched throughout the forums, I couldn't get a clear answer, maybe perhaps I'm a noob @ Python. As a beginner, I don't know much about Python, and it's frustrating to search the net and not find the actual answer. So, I'm working on this project, … |
|
[URL="http://i.imgur.com/iwNHY.jpg"]http://i.imgur.com/iwNHY.jpg[/URL] i already set a path for jdk and etc, it worked before but now it doesnt work the code works on ecclipse so the code is correct but i have to learn how to compile using command prompt check out this image i get this same error i do … |
|
I want to parse command line arguments. Say someone gives me ./progname param2 [-price=50] [-size=10] [-weight=16] [-height=7] Square bracketed items are optional. Either none or exactly two of -price, -size, -weight, and -height can be specified. If none of them are specified, it should be taking default values for price … |
|
Hi, I am building a VB.NET app which amond other things, deploys a scheduled task to run test.bat when A Windows Server 2008 Backup is cancled. I have the app all working which runs a command which, when works, will be the event creation command. I figured out how it … |
|
Hi, I just started programming in Java, and now i tried to compile a file with the Mac Terminal (Command-line), but it did only give me an error which i couldn't explain, because this code did work in Eclipse compiler. Here's my code: [code="java"] class HelloWorldApp { public static void … |
|
hello friends..got a problem again.. I'm developing a software for one of our assignments.I have coded that program using Netbeans but we have to upload the assignment as one java file.So I created one java file and again checked in netbeans as a single file.It works perfectly.And then I tried … |
|
hi all, i m trying with DOS commands. the command 'msg' works very well in windows xp. but when i tried the same in windows 7, it gives an error. can anybody please tell me why does this happens? is there any alternative command for it? or how can we … |
|
Can anyone please give me a guideline on how to code the following? I have an MFC application which should call on a timer basis a python script from command line and read the ouput of that command line. I thought of using CreateProcess, but i have no clue of … |
|
I'm suppose to use Command-Line Arguments to take user input and than use an enhanced for loop to sum. [COLOR="Red"]This is the error: Exception in thread "main" java.lang.Error: Unresolved compilation problem: Type mismatch: cannot convert from double to int[/COLOR] [CODE] public class EnhanceForLoop { public static void main(String[] args) { … |
|
Hello! I'm a beginner in the worl of C++. I'm building a program that acts as a launcher for a game. In it I have Start and Exit button. What I want the Start button to do is start an .exe with extra conditions: IP and Port. [CODE] if (nResponse … |
|
Hi, I'm new to Python and having difficulty opening my .py file (ex1.py). In the command prompt I cd to the folder containing the file and when I try to open it nothing happens. The prompt just gives me a new line. It looks like this... 1. I open the … |
|
Hello, I have a program that displays a frame that uses a canvas to display few rectangles and some images. While executing the program with Eclipse IDE everything seems to work appropriately, when I compile and execute the program using windows command line the images are not displayed. With eclipse, … |
|
|
Hi all, I want to compile the cobol program with a click of a button in toolbar provided if its compiler location and command to compile is specified. e.g [CODE] c:\cob>cobol hello.cob 'command line equivalent [/CODE] VB equivalent: [CODE] Dim command As String command = "cd " & app_path 'app_path="c:\cob" … |
The End.