cwarn23 387 Occupation: Genius Team Colleague Featured Poster

2 ways but I'm not sure if they both refer to the same type of SQL databases. The first one is:

$linkID = @mysql_connect($dbhost,$accountname,$password)
	or die("Could not connect to MySQL server");
@mysql_select_db($database) or die("Could not select database");

And the second is MySQLI and I think might be as follows:

$linkID = @mysqli_connect($dbhost,$accountname,$password,$database)
	or die("Could not connect to MySQL server");
@mysqli_select_db($linkID,$database) or die("Could not select database");

The first one i think is more common.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Simply use an if function. Try the following:

echo "<form ...>"; // Just to show the form has started
if (unset($_POST['disableoptiona']))
      {
      //replace the below line with the radio button within the echo ""; function
      echo "<input type=radio name=whatever>";
      // the below line needs to be copied exact if not already in a echo or print function.
      echo "<input type=hidden value='1' name='disableoptiona'>";
      }
//on the below line all you need to do is copy the onclick function
echo "<input type=submit onclick='".$_POST['disableoptiona']."'>";

The last line can be replaced with the following:

?> <input type=submit onclick="<? $_POST['disableoptiona'] ?>">

Let me know if I need to explain in more detail as I often use this myself.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have been programing a php online bot with an admin panel. It mainly works good an all but my forms are double posting. So the way I have designed the form is that the user enters the data. Then clicks the submit button which sends the data to MySQL. Then anybody can view that data through a viewer I have made. The problem with this system is that when I submit the form data, the data not only goes to MySQL but the data is also posted just after the button on the php page as well. Below is the code I use for the form.

echo "<form method='post'>";
$submitinfo=$_POST['klrpomth'].$_POST['questionid'].$_POST['answer'].$_POST['matchnum'].
$_POST['keywords01'].$_POST['keywords02'].$_POST['keywords03'].$_POST['keywords04']
.$_POST['keywords05'].$_POST['keywords06'].$_POST['keywords07'].$_POST['keywords08']
.$_POST['keywords09'].$_POST['keywords10'].$_POST['keywords11'].$_POST['keywords12']
.$_POST['keywords13'].$_POST['keywords14'].$_POST['keywords15'].$_POST['keywords16']
.$_POST['botname'];
//form fields
echo "<input type='submit' value='Submit ' name='dataappend' onclick='$submitinfo'></form>";

When those variables inside $submitinfo are sent, there is an if statement that detects if they are sent and forwards the data to MySQL.
Also note that the $_POST variable can contain html codes (eg <b></b>) and it is only when html is used in the $_POST variable that the data is posted into the page.
So is there I way to both send the data to MySQL (as it already does) and for the data NOT to be posted inside the page where it can be viewed by the user. Also I would prefer not to send the variables to the url bar as there is so much in the $_POST variable.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The problem I have is that one of them removes my account password. And my account remain unprotected.

As for how they do it, since the other users have administrative privileges, they can change and alter you account. So to prevent them from removing your password and other account settings, change the other accounts to user accounts. Then change what permissions user have. With XP Pro it can be easy to do however, if you have XP Home then the settings are deep within the registry which you shouldn't touch.

So if I remember rightly and you have XP Pro, first open my computer.
Then Right Click drive C and select properties.
You will find near to top a tab relating to security or permissions. Click on that tab and you will find all the options for permissions on that drive. Change the ones relating to limited-user-accounts to whatever permissions you want the others to have.
Then make sure the account type that others are set to on the computer are limited user account (or change them to that if not allready done so).
Reboot the computer and all changes should apply.
That should be all the steps to it for XP Pro but it has been a long time since using XP Pro so don't be surprised if there are a few extra steps.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

In the overall_header file, make a new line below the following line with the <body> tag. In this line, type:

echo "html code in here";

Now where it says html code in here replace with all of the html you want in the header of every page. Remember you must keep the quotation marks there and do not use double quotation (") marks in any of your html code. Instead use the single quotation (') marks. Just let me know if you need more info.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Then does it load to what you have set to be the homepage or a page that relates to one of your programs?
If it does load up a page relating to one of your programs then one of your programs have a setting to open their site at boot-up. This is generally used as an easy way to find and download updates for your software.

So if it does load up a page relating to one of your programs, see if that program has a setting for showing a web page at boot-up.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

There are two types of answers for that. One answer is for if it is a network of computers you are talking about and the other answer is for if it is just an individual computer without the use of a network. For now I will call the type of user account that has limited permissions a 'standard user' and the type of account that has full permissions 'admin'.

So if it is a network then try the following:
Set up a new standard user account then in admin, give that one user account enough permissions to change the power settings (without changing the type of account). Then if that standard user changes the power settings it should effect all users but you will need to get that new standard user account to change the settings on each individual computer. After the new standard user has changed the settings you can delete that new user

If it is a single computer not connected to a Local Area Network then try the following:
If it is just a single computer (eg. xp home login) then you will need to first turn all standard user accounts into admin accounts. Then get each user to change the power settings then you can change all those users back to standard user accounts. But all these settings and account alterations would be done through the control panel.


As for making an account to by default have those settings …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

This would be the most basic errors of all errors I have seen people have on this forum which is a good thing as that makes it easier to solve. But anyways this is how it goes:
Click Start --> All programs --> Startup then while in the startup list, right-click 'Internet Explorer' in that menu (not the button that you would double click with and only do one click) then you will see a new menu appear. From that menu select the delete option.

NOTE: These instructions do not require you to delete anything outside the startup catagory as it is only the shortcut in the startup directory (in the start menu) that needs deleting.

Now reboot the computer and all should be fixed.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Sounds like you may have a few corrupted sectors on the harddrive or if during installation a few steps were skipped. I'm not sure if I remember reading about something like this in google news but if I remember correctly, there are a few difficulties upgrading from Windows 2000 to xp. I would suggest doing the following in the order as typed below:
- First putting all your files on a disk/flash memory stick or something along those lines ready for your drive being formated.
- Make sure the surface of your xp installation disk is not scratched or damaged.
- Insert the disk and format drive C with all of its partitions.
- Make sure no external devices are plugged into the computer.
- Take out the disk then reinsert it. Then reinstall windows on drive C.

- If the problem continues then reboot the computer into safemode else ignore this paragraph. To get into safemode, while the computer is turning on, keep on pressing the F8 key. But when rebooting, check if there is a beep noise. If there is a beep noise then that means you have a hardware error.
- Now when in safemode, windows will look a bit poxy as only 16 or 256 colors can be displayed.
- Select the account that you created when reinstalling windows.
- Click 'Start' --> 'Run' and type 'dxdiag' without the quotes and click ok.
- A question …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Well this is a big question as there are many things it could be. First try to make sure your web browser is configured properly. So in Internet Explorer, click 'Tools' --> 'Internet Options'.
Then a new window will appear. In that window you will see tabs (or known as bars or odd type of buttons) lined up at the top of the window. Check if the 'Connections' tab is configured. The 'Connections' tab should only have used settings if you use a proxy server or if you use dial-up.

Also check if there is connectivity in the network connections under the control panel. To do this click 'Start' --> 'Control Panel' and on the side click switch to classical view if it is not already. Then Find the icon/pic with the words 'Network Connections' below it. Double click that icon/pic with those words below it and check if your network connection has a red cross on it. If there is a red cross on the connection to the network and your internet is turned on then you will need to configure it to read the network. To do this, single click on the connection that has the red cross (if the network is turned on) then you will see the sidebar to the left change. On that sidebar single click on the text that says 'Change settings of this connection'. A new window will appear and that is where you need to configure the settings. Depending on …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I think it is normal for a single word not to search as my own computer does the same. So I guess the appropriate question now is if anybody elses internet explorer does the same. If other peoples Internet Explorer won't search with just one word (just like mine) then you will find its the way Internet Explorer is meant to be.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have this problem every time I connect a computer to my network. This suggestion only works if you have software that configures the wireless card (other than drivers).

First you need to make sure your computer is in the same room as the router (just for setup). Then as I have found, if your wireless network card has its own connection software then the operating system and the program that came with the wireless card often have a battle of which should connect to the network. To solve this, you first need make sure that the software for the wireless card is configured. Then open the control panel and switch to catagory view.
Click on the 'Network and internet connections' catagory. Now You will find the options for the network connections. So double click the option that says "Network Connections.
Now that you are in Network connections, you will need to set the software to connect to the internet instead of operating system. So single click on the connection you want to get working (the one with a pic of wireless waves). After single clicking on that network option, you will find more options on the panel to the left. So in the panel to the left, single click on the text that says "Change settings of this connection".
Now a new window will appear. In this window you need to click the button that says "Configure" near the top left corner.
Now another …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

It took a long time looking at the page you have suggested but I found the answer deep within the page ShawnCplus suggested. Below is the script I found deep within the suggested link which works perfectly.

<?php
    $ip = $_SERVER['REMOTE_ADDR'];
    $fullhost = gethostbyaddr($ip);
    $host = preg_replace("/^[^.]+./", "", $fullhost);

echo $host;
?>

So thanks ShawnCplus as your reply will really help with preventing bots from spamming my forum.
*Solved*

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have been designing a security system to stop bots from spamming my forum. Basically, it will check if there is any isp name detected from the ip address then if there is no detected isp, the submitted post will not be made. I know to detect the ip address, I simply use:

$ip=$_SERVER[REMOTE_ADDR];

However it will only get the ip numbers. I need a php script which will only get the isp so i can do something along the lines of the following.

if($isp='') { } else {
//rest of code
}

The above code is just a sketch of what I think it will look like but I just need to be able to get the isp information in the $isp variable. I have searched and searched all over google and the hotscripts website and still haven't found the answer. Would anybody here be able to provide any links or ways to find the isp without any other info being bundled in the defining of the $isp variable. An example of what the data stored in the $isp variable would look like is:
qld.bigpond.net.au
or
nyc.res.rr.com

Thanks in advance

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I would suggest first making a website on everybodys favourit topic (whatever you think that is) then when you get around 3 visits a day, create a community. As for getting the website to generate $30 monthly, first use google adsense to place advertisements on your site (remember to read the maximum amount of adds to be placed).

When you get at least one visitor a day, expand the site enough so that some parts have a login system that requires small monthly payments to be able to access those parts of the site. By saying small payments, I mean like $4 American Dollars.
You could also have people with a different type of page access account costing $6 monthly where they are add free. This would be done through php which you can pm me for help on.

Then when you have about 3 visitors a day (average) add a forum:
If you use something such as phpbb for the community forum on your site, set it so that when a person joins the forum, there is a one time joining fee. This can be done by using a setting that makes admin approve of a members registration.

Of course, the first thing you need to do before all of this is to attract plenty of visitors and to have plenty of content ready to upload.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I understand that you have allready googled, but try search terms such as the following:
making php
using php
making html
using html
css codes
"My sql" databases
javascript
script java -"javascript"
Javascript kit
what is ftp

And the list goes on. So try those search terms and ones that are simular. Remember that you may need to find 15 average size web pages for each of those search terms to get detailed info. That will cover all of the behind the scenes info and you may want to check in 'Internet Explorer' View --> source. This will show you the downloaded source code for the page you are viewing. But like most general topics, there is a lot more on the non-programming side which is mainly networking. But the hardware of networking (physical stuff) you will find is not as interesting as the programming and software related items which relate to the topic.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Yous are all missing the main point in the first post (except jbennet). This is a beginner we are talking about and as the saying goes, you got to craw before you walk. Unless you use a program to do the hard work, I would strongly suggest in the first year of learning, learn all the basics of html (such as <font> <table> <b> <i><u> <a href...>).

Then when you feel you know most of html, then start learning something more advanced such as jsp, php, asp, java etc. This is because learning one of these advanced/complex languages to start with can become a bit overwhelming.

Note:
I remember learning my first web language (html) about 8 years ago and the easiest way to learn for the first 2 months is by copying html from other websites until you understand what they mean by which time you will start to learn writing them from scratch.
So learn html for a year then learn something more advanced.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Try making 'drive C' 27 gig as 20 gig is needed to just install windows. So the installation may have ran out of disk space.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Sorry about the double post but I can't find the edit button.

I have found that it is impossible to do what I have asked. That is because there is only two quotation types and the computer gets confused when using a quotation type inside the same type of quotation type. However, it is possible to make this script record the info into a text file. It just needs to be placed in a different area. The script I provided in the first post is designed so that when the submit button is pressed, everything happens.

So what you need to do is make the 'comment' variable carry into the next page. Then when the new page loads (the redirect from pressing the button), you need to include in the header of the page the script that records into the text file and to get the variable 'comment' which has been carried into the next page. So basically, you can not have everything happens when clicking the button. In my case, I needed the script to be in the header of the next page with the variable carried to the next page. If you are having the same problem and don't understand this post then just pm me.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have just tried your example but when I use the \", it skips the rest of the values in the variable. So it acted like a close quotation. Is there more to the example than just placing the \" after the action= or is there something I'm missing.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Hi and for the past 4 days, I have been trying to make a secure spam-proof blog with no login. I manage to embed a lot into a demo but the following code I know works (as I have made it work on my forum login) but has an error with the quotation marks. I know exactly why but don't have a clue on how to solve it. The code contains php, javascript and html but it is the php which has the quotation problems. So the code is:

$cform = "<script type='text/javascript'>
<!--
function doubleSubmit(f)
{  
    // submit to action in form
    f.submit();

    // set second action and submit
    f.action='index.php?act=addcomment';
    f.submit();
    return false;
}
//-->
</script> <form action='$ip=$_SERVER[REMOTE_ADDR];
  $file=file_get_contents('ipLog.txt');
  if(substr_count($file, comment.' '.$ip)==0) {
  $file.='\n' . comment.' '.$ip;
  }
  file_put_contents('ipLog.txt', $file);
  $total=substr_count($file, '\n');' method='post' onsubmit='doubleSubmit(this)'>"

And it goes further on but that is the main part to be focused on. On the first line you will see
$cform = "
In that line you will notice a quotation mark. That quotation mark needs to surround everything related to that variable so it can be used later on. But that uses one type of quotation. Then you will see an action= event. This also needs to be surrounded in quotation marks. But when it comes to adding the quotation marks for the strings in the action event, I have nothing left to use. So basically a third type of quotation mark is needed.
I have tried using brackets …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

If the recycle bin software is currupted then try the following. Open my computer from the desktop.
Then at the top of the window you will notice a wide bar like the address bar in a webpage. Select everything in it and type:
C:\Recycled
Then press the enter key. After that, select everything in it by pressing Ctrl+A
Then press 'shift+delete'. That should delete what is in the recycle bin without using the recycle bin.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Just as a reminder on how to solve this properly is to enable 'Windows installer' in the services. This can be accessed through the control panel and should always be set to manual. Obviously yours is set to disabled so it doesn't load when windows start.

If you would like more detailed information on this topic just pm me as this is the reason for the problem. I have experienced it myself.

Edit:
Click Start menu --> Control Panel --> Administrative Tools --> Services.
Then when in services, find the service called 'Windows Installer'. Right click the piece of text saying 'Windows Installer' and from the menu that appears, select properties. Then a window will appear. Find the drop down menu which has 'Startup type' beside it. Click the arrow on it. Then from the menu select Manual. After that, you will find in the window an button with the word 'Start'. Click that button after selecting manual on the menu. Then click 'ok'. After clicking ok, close any windows you opened during the process and install Norton.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

You will find that if it says 'Your computer might be infected' it simply means that something is disabled. However, if it says 'Your computer is infected' then you need to use Norton to diagnose it. This is because if Norton can detect it to display the message then Norton should be able to delete it by detecting it.

So if it has the word 'might' in the phrase then something is disabled else you will need Norton to remove it and set up Nortons firewall to make sure the spy-ware can't send information to the internet.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

This sort of account error happens to me at least once every 15 months. The only way I know of around it is to load up the computer in a different account and create a new user account. So when you go into 'safe mode' (as described above), you then select the account named 'Administrator'. Select the 'Administrator' account and create a new account. To create a new account, click Start --> Control panel --> User Accounts.
Then a new window will open. Then click the text saying 'create new user account' and follow the prompts. After that, move all your files from your old account to the new account. This can be done through explorer. To load it press 'windows hot key + e'. Then you should see on the left a folder for each account. Just cut and past the files from the old account to the new. Then reboot the computer like you normally would but select the new account. You will need the go through a few wizards since it has just been set up. And your problem should be solved.

NOTE: This only works if you are able to load at least one administrator account and that it is only one account messing up.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have checked the list you provided and unless it is an anti-virus scanner reporting the spy-ware, there shouldn't be much of a problem. And when looking at your processors, it appears you have Norton which I think comes with a firewall to stop the spy-ware reporting the information on the internet. But make sure that your Version of Norton does have a firewall (Don't trust the default Windows firewall). If it is Norton reporting the spy-ware then use Norton to remove the threat if it is the program showing the message.

As a note that could change everything about this topic, I know with Norton, if it is a yellow shield symbol near the bottom right of the screen then it could just be saying that Norton is not fully active and that is why it may be showing the message. So if it appears in a balloon box at the bottom right corner of the screen each time you turn on the computer, then it means that something has been disabled in Norton. If you are using a trial version which has expired, then you can just ignore it providing you use AVG or another virus scanner instead.

If on the other hand it is a proper window with a bar at the top of the window with ok or cancel button then that means you would need make sure you security is up to date and to be sure that you have a firewall. With …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

First run a virus scan. If you already have one then use it or if you don't have a virus scanner, use AVG. The link to download avg is http://free.grisoft.com/
and make sure you select the free version. That should diagnose the problem. If it does not then you will need to detect the problem. So press Ctrl+alt+del and select the 'Task manager' option (if it appears) then at the top of the window, click the processors tab. Then check if there is anything suspecious and google it. Or you could just type a list of what appears to see if any of the background processors are spyware. If it doesn't appear that any are, then it is most likely to be a file which every so often interacts with the system. To prevent the file interacting with the system, you will need to find a way to safely remove it. You will find that just scanning the computer will not always detect spy-ware. Sometimes you need to browse the system folders for AVG to detect viruses and spy-ware. So just look at each folder in 'C:\program files', and check the following individual folders:
'C:\windows'
'C:\windows\system'
'C:\windows\system32'
If AVG does detect the spy-ware, instead of removing it, just send the spy-ware to the valt. This way the spy-ware cannot reproduce itself. This is because sometimes you find that after a file is removed, it just copies itself back into place from a different …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Check if your cables aren't damaged (if you are using LAN and not WAN). Also make sure you haven't got a trogen which is trying to access the internet as a trogen may try to crash websites which clogs the internet connection. If you are using WAN (Wireless Area Network) then it can be a lack of reception. That is a common problem with desktops as the signals cannot go through the metal case and cords can also interfere with the wireless reception.
If it is connected by cable, then check in the router if there is an option to authorise the computer to access the network.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

As for the cause of the problem, I would say the program you were deleting files from had integrated itself into the system. Then when the parts of the program integrated with the system tried to load on bootup, it couldn't find some of the files and you would have needed to do a full registry clean with a complete wipe of old system files and modifications of saved data of system files. In otherwords you would have had to go through all of what I said above and maybe a few other things to be able to remove what you deleted.

So now for the answer:
You have 2 options. One is to first borrow a second computer. Then you need to get a network cord to plug these 2 computers together. You may find an old phone cord or a router cord will do the job. After connecting the 2 computers together, use Remote Desktop to hack into your laptop and copy the files to the working computer via network cord. That option is only usefull if Remote Desktop is enabled on your laptop.

The second option:
You could just get a 40GB external hardrive and install windows onto that external hardrive. Then set up in bios to boot from the external hardrive and after booting from the external hardrive, copy all the files from your internal hardrive to your external hardrive and reinstall windows to your internal hardrive. After that, set bios to …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The CCleaner looks like a good program but I have looked further into this case and it turned out the files where encrypted so you couldn't even see the random characters. I have checked the dates and what had happened on those dates and they turned out to be x-system files which some program had found and stored. I will install the ccleaner as I have over 140 programs which allways make tmp files and other unused files. But as for the online cleaner, I find most of them are traps made by hackers. And I allready have AVG. So this is solved and for those who are having the same problem, check the properties for the files to see what date it was created and see what happened on that date.

Just as a last comment there were 180 folders with 9GB of x-system files which I deleted (putting my system at risk) and now I have a faster computer.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

In the past couple of months, I have been trying to find where all my drive C disk space went and I think I have found it. I originally took my computer to a computer store for my DVD rom drive to be replaced. Then it wouldn't boot up so I got that fixed. Then the store also said that the WiFi card was broken so I also got that replaced. Along the way the shop installed some software to check my system was ok. The below files I have descovered in defrage and there could be dozens more. I'm not sure if this is the remains of a virus, software or something the store might have done but would you know if it is safe to delete them. Because it is really taking up my 35GB harddrive. The main thing I need to know is are these files system files or are they program leftovers/files.

C:\FOUND.008\FILE0000.CHK
C:\FOUND.178\FILE0001.CHK
C:\FOUND.178\FILE0002.CHK
C:\FOUND.178\FILE0003.CHK
C:\FOUND.178\FILE0004.CHK
C:\FOUND.178\FILE0005.CHK

Also you can't just browse these files. You must type in the folders in the address bar. The way I found these files was by checking the defragment report since they couldn't be defraged.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

As a firewall, I would suggest zonealarm (http://filehippo.com/download_zonealarm_free/)
It is good, free and easy to use. However, when you first install it, you will need to open each program which is meant to go on the internet. Then a popup will load from zonealarm and you will need to click 'remember this option' tick box and click accept. This will stop any nasties going in and out of your system.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Try reading the article at
http://answers.yahoo.com/question/index?qid=20061201104108AAkAMj4
It basically says that you need to download a DVD player as the version that comes with dell isn't good enough. It helps if you google these things.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I would say that when your external 'Netgear wireless USB 2.0 adapter' is pluged in, you are have a program set to update every 3-4 minutes. From your log file, I would say it is one of the following:
GoogleToolbarNotifier
Automatic Updates (system updates)
Java Scheduler

There isn't much you can do about Google Toolbar Notifier but you will probably find it is the Java Scheduler. To disable it, you will need to either open your Java software and disable the automatic updater for Java or you may need to disable it in the services.

To go to the services, click start --> control panel. Then open 'administrative tools' and open Services. Now be sure you know what you are doing before clicking around the services. find the Java Updater service (may be displayed as jusched.exe) and right click it --> properties. Then check the dependencies. Make sure no programs depend on it and if none do then set it to manual.

So your sound card is just a thing that is effected by the problem and is not part of the problem.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

http://www.geekstogo.com/forum/Windows-XP-Installation-Microsoft-Windows-Installer-3-1andquot-t153864.html

Quote form forum in link above:

go to the location: HKEY_CLASSES_ROOT\IMsiServer
Right-click on IMsiServer -> Permissions
Click on Add -> Enter the exact name of the local user account name in which you are logged in and click on Check names.
Highlight the username and make sure there are check marks under Allow for Full Control and Read.

The quote above from the forum link you provided shows where things went wrong. This is a problem where it may be impossible to fix depending on what you changed.
So first log into your admin account (the account that was created when installing windows on your computer and do the the below instructions.

1) Be sure to be in the location of the registry: HKEY_CLASSES_ROOT\IMsiServer
2) Right-click on IMsiServer -> Permissions
3) This step is where you will need to modify the permissions. So, from here, you will need to find the set of permissions you added. To do this, you will need to find where the functions (read and write) are and for all accounts have read ticked. For the administrator account and the system creator account you will need write ticked.

If you can not understand the instructions above, try the second way below. Remember that the second set of instructions below will only work for Windows XP Pro. Also, you may need to try these instructions in each account as your altering of account permissions (shown in …

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Try opening the mpg file with 'QuickTimePlayer'. Mose computers come with QuickTime and can also be download from apples website. Remember that when opening the file with QuickTime (the first time), you will need to right-click the file --> Open With --> Choose program. Then a window will come up. If QuickTime is not on the list, try to find it by clicking Browse then the most likely place will be in Drive C:\Program Files\QuickTime... If a QuickTime or apple folder (or simular) are there then you can download QuickTime at the website below. If the folder is found, open it and double click the QuickTime application, select the tickbox in the window you used to browse the applecation and click OK.

QuickTime website:
http://www.apple.com/quicktime/download/

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

For the 98 kernel you just place the bitmap in Drive C:\Windows however, for the XP kernel, you put the file in any location and select the browse button under desktop properties. After clicking the browse button, find the file in the new window and select the open button.

Also, for both kernels, to make the background apply you need to right-click the desktop, select 'Properties' and click the 'Desktop' TAB. But do that after placing the file where you want.

As a reminder: for the XP kernel, the image can also be a jpeg.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Thanks for the compilers. I think I will be able to take it on from here. And I have found that Pelles C is a good compiler.

*Solved*

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The thing is, the source code did not come with a make file and I think dev C++ is having trouble making it. Below is the link to the source code (and I hope this link works).
http://www.xvid.org/Downloads.43.0.html?&tx_quickpoll_pi1[go]=savevote#c25
So now I am trying to contact technical support for this source code to see what compiler they recommend.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

One of the things that Dev C++ gets mixed up with is when you use a code like:
#include "../encoder.h"
It gets mixed up with the .h

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Below is the error:
# Project: Project1
# Makefile created by Dev-C++ 4.9.8.0

CPP = g++.exe -D__DEBUG__
CC = gcc.exe -D__DEBUG__
WINDRES = windres.exe
RES = encoder7_private.res
OBJ = "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(RES)
LINKOBJ = "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(RES)
LIBS = -L"D:/Program Files/Dev-Cpp/lib" -mwindows
INCS = -I"D:/Program Files/Dev-Cpp/include"
CXXINCS = -I"D:/Program Files/Dev-Cpp/include/c++" -I"D:/Program Files/Dev-Cpp/include/c++/mingw32" -I"D:/Program Files/Dev-Cpp/include/c++/backward" -I"D:/Program Files/Dev-Cpp/include"
BIN = encoder7.exe
CXXFLAGS = $(CXXINCS) -ansi -traditional-cpp -w -fdollar-in-identifiers -g3
CFLAGS = $(INCS) -ansi -traditional-cpp -w -fdollar-in-identifiers -g3

.PHONY: all all-before all-after clean clean-custom

all: all-before encoder7.exe all-after


clean: clean-custom
rm -f $(OBJ) $(BIN)

$(BIN): $(LINKOBJ)
$(CPP) $(LINKOBJ) -o "encoder7.exe" $(LIBS)

"D:/Program Files/Dev-Cpp/Templates/encoder.o": D:/Program\ Files/Dev-Cpp/Templates/encoder.c
$(CC) -c "D:/Program Files/Dev-Cpp/Templates/encoder.c" -o "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(CFLAGS)

encoder7_private.res: encoder7_private.rc
$(WINDRES) -i encoder7_private.rc -I rc -o encoder7_private.res -O coff

------------------------------
and it says [Build Error] multiple target patterns. And for the links above (which I have just checked, the way to get to the is be searching this forum for 'c compiler' (in threads) and they are in the first 3 pages.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have descovered that this is because the code I used was in 'C' when I was using a 'C++' program. Because this refers to the language 'C', (due to forum policies), I have to refer the rest of this topic in the C section. Link is below:
http://www.daniweb.com/forums/
post445870.html#post445870

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have found a program and tried using 'DEV C++' but it only reported an error report. I later then discovered that is was because 'DEV C++' used C++ when the code was designed for just plane C. I have searched the web and this forum but only found two relevant threads from this forum (as shown below):
http://www.daniweb.com/forums/showthread.php?t=33446&highlight=c+compiler
http://www.daniweb.com/forums/showthread.php?t=45333&highlight=c+compiler
However, this still does not answer my question. And that is where to find a FREE or cheap compiler which compiles only 'C' code and not C++.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I have downloaded the source code for the .AVI format but when I compile the project, an error is reported which when simplified, is "[Build Error] *** multiple target patterns.". Also, the line which gets highlighted by due to the error is the line 25 which has the phrase "$(BIN): $(LINKOBJ)"

Could you please help me recompile this project and let me know if you need more details.

Below is the error report sent back:
# Project: Project1
# Makefile created by Dev-C++ 4.9.8.0

CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(RES)
LINKOBJ = "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(RES)
LIBS = -L"D:/Program Files/Dev-Cpp/lib" -mwindows
INCS = -I"D:/Program Files/Dev-Cpp/include"
CXXINCS = -I"D:/Program Files/Dev-Cpp/include/c++" -I"D:/Program Files/Dev-Cpp/include/c++/mingw32" -I"D:/Program Files/Dev-Cpp/include/c++/backward" -I"D:/Program Files/Dev-Cpp/include"
BIN = encoder6.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)

.PHONY: all all-before all-after clean clean-custom

all: all-before encoder6.exe all-after


clean: clean-custom
rm -f $(OBJ) $(BIN)

$(BIN): $(LINKOBJ)
$(CPP) $(LINKOBJ) -o "encoder6.exe" $(LIBS)

"D:/Program Files/Dev-Cpp/Templates/encoder.o": D:/Program\ Files/Dev-Cpp/Templates/encoder.c
$(CPP) -c "D:/Program Files/Dev-Cpp/Templates/encoder.c" -o "D:/Program Files/Dev-Cpp/Templates/encoder.o" $(CXXFLAGS)

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I am a complete newbie to c++ and I am trying to find some tutorials. What I am trying to do is use a variable (from external text file) to rotate a 3D object. Then for the program to take a picture of the position the 3D object is in. Then to repeat the process but from the next word (another variable) in the external text file.
So would you know of any tutorials that would be of great use to me. I have search the web many times but can't find what I need.