- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
- Interests
- Paintball and guns.
- PC Specs
- Satellite L395D-S5934 Ram: 3GB C drive: 250GB Windows 7 AMD Turion X2 ATI Radeon graphics
So I am sorta interested in viruses. No, I do not plan to make the next conficker or even something that will trash my brothers PC. But I want to learn about how they work. What they do that makes PC's let them into their system... So for a first, … | |
Yep. I just turned 13. And im too lazy to write so I'll just answer this stuff: Name: Sean Height: 5'5'' Weight: this is all like, stalker material here. Hair: blonde Eyes: blue Location: Washington, USA Age: 13 Hobbies: Music, animation (drawing it), programming, BMX, paintball, airsoft, and guns. something … | |
Well, I have no idea whats going on... But here is the problem: I have these files: [CODE]$file2 = "password_protect.php"; $newfile = $newDir . "/password_protect.php"; if (!copy($file2, $newfile)) { echo "Creation failed."; } else{ chmod($newfile, 0777); chmod("passProcess.php", 0777); echo "Step 1/2 completed.<br />" ?> <form action="passProcess.php?var=Users/<?PHP echo $projectname ?>/" method="post"> … | |
I have tried multiple methods with no success. | |
How do I make it so that if the webpage requires you to open a new tab, it would open in the same window instead? | |
Well, I am making an upload for people who make games with the Unity game engine. Basically, the engine will build the game and produce an html file and .unity3d file. here is my html form: [CODE]<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Index file:</label> <input type="file" name="file" id="file" /> … | |
I am trying to create an upload system for my website. I want it to display the size of the file as well as the percentage the file takes up of 1GB (example: 512MB would be %50 because 512 is 0.5GB). The way I chose to do this is to … | |
Ok, so I am creating an uploader for uploading files such as .udk or .upk as well as other basic files such as txt and html. But I have been tinkering with the code I found (i'm a noob) and I can't get it to accept those extra extensions. Here … | |
Re: Maybe someone would want to help you if you were to spell please correctly... | |
I am creating a program that password protects software. The way I plan to protect it is to check if the program is running, and if it is, open up a window asking for a password. If it is wrong, close the protected software. I have this piece of code … | |
In visual C#, there was this thing where you can add a settings file and refer to a setting in that settings file in your code. With that, I was able to save user settings easily. But I can't find it in C++. Is there no settings file option? If … | |
So I am creating a Lockerz program using Visual C++. I have created a few buttons and the web browser thing. It all works great. Accept, when it gets to a page that play a video, I get this error: [CODE]An error occurred in a script on this page Line: … | |
Re: I only read this cause I live in Bothell... Seattle is AWESOME! and, oh yeah, welcome! | |
Re: Meh... Whenever I don't feel like writing that whole system pause thing, I do this: [CODE]#define pause system("PAUSE");[/CODE] so then its usage would be: [CODE]pause;[/CODE] | |
So, in Visual C#, You were able to declare variables for everything to use. Like this: [CODE]namespace MrTwitterStalker { public partial class Form1 : Form { string fullUrl; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { fullUrl = "http://www.rawrs.com/"; } } }[/CODE] but for some reason, … | |
So I have this code: [CODE]String^ main = "http://www.lockerz.com/"; if(main == web->Url->ToString()){ MessageBox::Show("Hello", "WIN"); }[/CODE] and it's attached to a timer that ticks every 100 milliseconds. Oh yeah, and web is the web browser in VC++. But when I run, I get this error: [CODE]An unhandled exception of type 'System.NullReferenceException' … | |
I would like to do something like this: [CODE]readfilethingy("www.mywebsite.com/update.txt"); //fail[/CODE] with update.txt being this: [CODE]3.4 http://www.newupdatedownloadlocation.com/ //OR just the http location[/CODE] with the result being: [CODE]*user clicks on update button* "NEW UPDATE IS AVAILABLE! :D" *Clicks download* *Download on .exe starts*[/CODE] So, is it possible? I have searched and searched … | |
So I have looked and looked and wasn't able to find how to retrieve text from a selected option in a combobox. I have just started visual c++ so I don't really understand a lot. But I used to work with Visual C# before. So, is there any way? [CODE]if(comboboxslectedvaluethingy … | |
So I'm making this program, and this is what I have so far [CODE]private: System::Void load_Click(System::Object^ sender, System::EventArgs^ e) { outs("ComputerName", SystemInformation::ComputerName); outb("Network", SystemInformation::Network); outs("UserDomainName", SystemInformation::UserDomainName); outs("UserName", SystemInformation::UserName); outbm("BootMode", SystemInformation::BootMode); outi("MonitorCount", SystemInformation::MonitorCount); outb("MonitorsSameDisplayFormat", SystemInformation::MonitorsSameDisplayFormat); outad("ArrangeDirection", SystemInformation::ArrangeDirection); outb("MousePresent", SystemInformation::MousePresent); outb("MouseButtonsSwapped", SystemInformation::MouseButtonsSwapped); outb("UserInteractive", SystemInformation::UserInteractive); outr("VirtualScreen", SystemInformation::VirtualScreen); } public: System::Void outs(String^ x, String^ … | |
So in my last problem, someone said "Use a pointer" (or something like that). When I googled it. It had to do with memory blocks (at least, I think). So what is it? And, oh yeah, can you make it as simple as possible. I have tried seeing what it … | |
make something where the console retrieves a file (preferably txt) and read each line separately? example: [CODE]fsocksthingy("data.txt"); cout << data.txt;[/CODE] while data.txt is: [CODE]name1 http://downloadlink.com name2 http://downlink2.com name3 http://downlink3.com[/CODE] and the result would be: [CODE]name1 name2 name3 Download which version > (input here) You chose name2! (opens http link to … | |
So i'm working on this program. And long story short, I need something that will allow the user to choose the dir/file and have the system set read-only to true. Here is a piece that I worked on. Only it crashes on the system line. [CODE]try { clear; char* dir; … | |
I'm stuck with goto. I need to stop cause sometimes, it screws up my code. I used to do something like this. [CODE] int command; start: command = NULL; // this was a random guess to see if it would work cin >> command; if(command == 1){ cout << "Your … | |
Re: Well, if you paid any attention, that would be easy. But you didn't pay attention.... Therefor you show no effort in your work. You should have read the rules [URL="http://www.daniweb.com/forums/forum8.html"]here.[/URL] BUT, just to be nice. Look into cout, cin, and then the if statement. | |
Re: I ran it and it worked just fine. Just a tip though, try spacing out some of your code. It's sorta hard to read. like change this: [CODE]cout<<"CRAPS IS A FUNNY NAME"<<endl;[/CODE] to this: [CODE]cout << "CRAPS IS A FUNNY GAME" << endl;[/CODE] I'm just saying. | |
Re: Your question is very confusing. Can you give us more detail? |