Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old March 28th, 2008   #21 (permalink)
cottonvibes
NGemu's Kawaii Neechan ;)
 
cottonvibes's Avatar
 
Join Date: Sep 2007
Location: USA
Posts: 1,695
if you goto university, sometimes they offer cds with Visual studio on it for free.
(if you're taking a computer class)

they also give out free copies of windows xp and stuff
__________________
PC Specs: AMD X2 4400+ @ 2.921 Ghz, 1.47 vCore | G92 8800 GTS 512mb @ 740/1944| 4GB Dual Channel OCZ Memory @ 835 Mhz (5-4-4-15-2T) | 700 Watt PSU | DVD-RW Drive | 500 GB Hitachi SATA II Hard Drive, 30 GB & 40 GB Western Digital IDE Hard Drives | 1920x1080 40" LCD Flat Pannel HDTV monitor |
Consoles: 1 PS3 (60 GB), 2 PS2s, 1 PS, 3 GBAs, 1 GB, and 1 old school NES

Having troubles with PCSX2? Check out my guide to get it running correctly.
Running PCSX2 Guide for Noobs
cottonvibes is offline   Reply With Quote
Old March 28th, 2008   #22 (permalink)
Xtreme2damax
Suck My Crocodile
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 1,431
Quote:
Originally Posted by cottonvibes View Post
if you goto university, sometimes they offer cds with Visual studio on it for free.
(if you're taking a computer class)

they also give out free copies of windows xp and stuff
I was going to a community college, however they never had Visual Studio or copies of Windows, closest I got was Visual Basic.net.

I would however get a Student Discount going to Staples if I were a Student and showed my ID, sadly while Staples does supply Operating Systems they don't carry anything programming related such as Visual Studio etc...
__________________
Please visit my gaming and emulation forum and be part of a great community as well as partake in interesting discussions:



I'm looking for more staff & news posters for my forum, if you are interested PM me to see if you qualify for the position.

Also TheCloudOfSmoke is so cool, I think he is Jesus Christ Reborn.

Xtreme2damax is offline   Reply With Quote
Old March 28th, 2008   #23 (permalink)
SCHUMI-4-EVA
Devastating Force
 
SCHUMI-4-EVA's Avatar
 
Join Date: Jan 2007
Location: In the midst of an electricity crisis
Posts: 3,689
Quote:
Originally Posted by cottonvibes View Post
but you said so yourself that you never can get past ch.4 lol
so i'm assuming its pretty boring as well
No it's not cuz they are boring...it's just that there are cheaper thrills out there than programming...like watching anime or playing games...and once or twice my exams have interefered aswell as I had to stop and study for them instead.
__________________
AMD Athlon64 3700+ (2.2Ghz rated as 3.7Ghz Pentium), ASUS A8NE-FM (OEM), 4x512MB DDR400 RAM,
ATI Radeon X850XT (256MB GDDR3 PCIe), Seagate Barracuda 320GB SATA2 HDD, Windows XP SP2 Home,
Leadtek Winfast TV2000 XP Expert, Creative Sound Blaster Audigy Value
Get it right fools! The glass is HALF-EMPTY, not half-full!!!

!!! WARNING: Emulation requires a brain !!! WARNING: Emulation =/= Piracy !!!

The Champ has retired, but may his Legacy live on FOREVER !!!!
SCHUMI-4-EVA is online now   Reply With Quote
Old March 28th, 2008   #24 (permalink)
Xtreme2damax
Suck My Crocodile
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 1,431
Does anyone know any C#, C++ tutorial for dummies or basic stuff with fun projects/samples.

I get confused as **** when it comes to this. My mind was boggled trying to follow a tutorial to create a simple web browser using C#.

I got errors upon trying to compile, I was able to fix a couple simple errors due to prior knowledge.

I'd really like to learn programming as I've been interested in it for a while but it is so difficult and mind boggling.
__________________
Please visit my gaming and emulation forum and be part of a great community as well as partake in interesting discussions:



I'm looking for more staff & news posters for my forum, if you are interested PM me to see if you qualify for the position.

Also TheCloudOfSmoke is so cool, I think he is Jesus Christ Reborn.

Xtreme2damax is offline   Reply With Quote
Old March 28th, 2008   #25 (permalink)
Shendo
6502
 
Shendo's Avatar
 
Join Date: Feb 2006
Location: Zagreb/Croatia
Posts: 3,499
You can check out this one.
__________________
Shendo is offline   Reply With Quote
Old March 28th, 2008   #26 (permalink)
Mad
AKA snkmad
 
Mad's Avatar
 
Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 2,746
Xtreme2damax i got VC# Express 2008, and i did the web browser tutorial.

I was getting one error about "Uri" not being correct, although giga tried and it compiled fine for him. The problem i was inputing the url w/out the "http://".

If you are following that same tutorial that shows up on the start page, you can post the errors, so we can try to figure it out.

I can attach my source code here if you want also.
__________________
[WinXP SP2] [Gigabyte GA-M61PM-S2] [Athlon64 X2 3800+ @2.00Ghz] [XFX Geforce 8600GT XxX 256MB DDR3] [17" SyncMaster 753v][Samsung SATA II HD080HJ 80GB] [Samsung PATA SP0802N 80GB] [Patriot 2x512MB DDR2 6400@800MHz] [Samsung CDDVDW SH-S203B] [NVIDIA nForce Networking] [Realtek ALC883 @ nVIDIA MCP61]
Mad is offline   Reply With Quote
Old March 28th, 2008   #27 (permalink)
Xtreme2damax
Suck My Crocodile
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 1,431
These are the errors I got:

Code:
Error 1 Expected class, delegate, enum, interface, or struct C:\Documentsand Settings\Ken\MyDocuments\VisualStudio2005\Projects\WindowsApplication1\WindowsApplication1\Form1.cs 30 17 WindowsApplication1
The errors start with this line of code (I'll bold the errors that were underlined in red):

Code:
private void goBackToolStripMenuItem_Click(object sender, EventArgs e)
        {
}
      

        private void gobutton_Click(object sender, EventArgs e)
        {
            private void goButton_Click(object sender, System.EventArgs e)
{
    webBrowser1.Navigate(new Uri(comboBox1.SelectedItem.ToString()));
}

        private void homeToolStripMenuItem_Click(object sender, EventArgs e)
        {
        private void homeToolStripMenuItem_Click(object sender, System.EventArgs e)
{
    webBrowser1.GoHome();
}

        private void goBackToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
        private void goBackToolStripMenuItem_Click(object sender, System.EventArgs e)
{
    webBrowser1.GoBack();
        }
{

        private void goForwardToolStripMenuItem_Click(object sender, EventArgs e)
        {
        private void goForwardToolStripMenuItem_Click(object sender, System.EventArgs e)
{
As you can see "Void in the "Private Void" function/whatever cause it to error out on compile.

If you need me to post any more code for review to see where it went wrong please let me know.

Thank You.
__________________
Please visit my gaming and emulation forum and be part of a great community as well as partake in interesting discussions:



I'm looking for more staff & news posters for my forum, if you are interested PM me to see if you qualify for the position.

Also TheCloudOfSmoke is so cool, I think he is Jesus Christ Reborn.

Xtreme2damax is offline   Reply With Quote
Old March 28th, 2008   #28 (permalink)
mudlord
Emu author
 
mudlord's Avatar
 
Join Date: Feb 2007
Location: Land of the Dead...
Posts: 1,070
Quote:
Does anyone know any C#, C++ tutorial for dummies or basic stuff with fun projects/samples.
Yes, get on MSN. I got loads of ebooks about C++, OpenGL, GDI, Direct3D....
__________________
Mah site
mudlord is offline   Reply With Quote
Old March 28th, 2008   #29 (permalink)
Xtreme2damax
Suck My Crocodile
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 1,431
Quote:
Originally Posted by mudlord View Post
Yes, get on MSN. I got loads of ebooks about C++, OpenGL, GDI, Direct3D....
I probably will a bit later, just to let you know I'm not a big IM'er because of being more accustomed to posting on forums.

Not to mention I'm a bit slow at typing so I may lose track of what I'm replying to. I've had a few members here wtf'ing because I was replying to something they said a few paragraphs back on MSN.

I am doing something at the moment, and don't have MSN installed so I will be on a bit later once I reinstall it.
__________________
Please visit my gaming and emulation forum and be part of a great community as well as partake in interesting discussions:



I'm looking for more staff & news posters for my forum, if you are interested PM me to see if you qualify for the position.

Also TheCloudOfSmoke is so cool, I think he is Jesus Christ Reborn.

Xtreme2damax is offline   Reply With Quote
Old March 28th, 2008   #30 (permalink)
blueshogun96
Shogun3D Interactive (TM)
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,032
Quote:
Originally Posted by cottonvibes View Post
the problem with books for me, is that they're usually boring.

like my Java book i got for university, spends the 500 pages talking about class BankAccount, and how to modify its functions.

it was boring as hell, so i barely read it.

but theres probably books out there that are more entertaining.
i've seen some that are like "learn game programming in C++"
that might be more interesting.
Yeah, I agree. Most general programming books are indeed boring as hell. The game and graphics programming books are much more fun to read because not only do they focus on what you're interested in programming, but it usually does have a little bit of humor on the side. Either way a programming book is a programming book. Mine are mostly on games (I have books that cover every version of DirectX, lol I'm old) but I do have a few that are on general purpose stuff.

Speaking of general purpose programming, I need to start learning how to program for linux again. I'm a spoiled MSVC coder N.S. Kutti wrote a good book on C programming for Unix, but I need to find that book again and actually buy it because I just rented it from the library.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe

GeneralEmu - December 27, 2005 and beyond!
My programming, emulation and Xbox blog! - Click or die! (Updated April 20, 2008)
Visit my YouTube page! http://www.youtube.com/blueshogun96
blueshogun96 is offline   Reply With Quote
Old March 28th, 2008   #31 (permalink)
Xtreme2damax
Suck My Crocodile
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 1,431
Haha Yay, I finally figured it out, debugged and got it working properly while referencing the tutorial to ensure I was doing it correctly.

It may not be pretty but it took me a while to get it properly compiled and working properly.

I present you with a screen shot of my and the tutorials work:

Also I've attached the compiled browser if anyone wants to take a look for quirks/problems.

I get an unhandled exception if I type any other url into the box I didn't specify when making the browser and trying to navigate to it.

How can I make it so I can type in and navigate to any url as well as minimize and maximize the Window properly?
Attached Images
File Type: png myapp.png (95.4 KB, 10 views)
Attached Files
File Type: zip WindowsApplication1.zip (4.3 KB, 2 views)
__________________
Please visit my gaming and emulation forum and be part of a great community as well as partake in interesting discussions:



I'm looking for more staff & news posters for my forum, if you are interested PM me to see if you qualify for the position.

Also TheCloudOfSmoke is so cool, I think he is Jesus Christ Reborn.


Last edited by Xtreme2damax; March 29th, 2008 at 00:03.
Xtreme2damax is offline   Reply With Quote
Old March 29th, 2008   #32 (permalink)
Mad
AKA snkmad
 
Mad's Avatar
 
Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 2,746
Talking

Hum i got the same problem, cant input any url besides the ones ive specified, just got a call stack:
Code:
>	Web Browser.exe!Web_Browser.Form1.button1_Click(object sender = {Text = "Go"}, System.EventArgs e = {X = 37 Y = 11 Button = Left}) Line 42	C#
 	Web Browser.exe!Web_Browser.Program.Main() Line 18 + 0x1a bytes	C#
But the maximize and minimize buttons work fine here.
But now im back to win32 console apps, need to learn the basic before GUI stuff.

Heres mine web browser. Do i need that .pdb file along the .exe?
Attached Images
File Type: jpg browser.JPG (145.2 KB, 5 views)
Attached Files
File Type: rar Web Browser.rar (5.7 KB, 0 views)
__________________
[WinXP SP2] [Gigabyte GA-M61PM-S2] [Athlon64 X2 3800+ @2.00Ghz] [XFX Geforce 8600GT XxX 256MB DDR3] [17" SyncMaster 753v][Samsung SATA II HD080HJ 80GB] [Samsung PATA SP0802N 80GB] [Patriot 2x512MB DDR2 6400@800MHz] [Samsung CDDVDW SH-S203B] [NVIDIA nForce Networking] [Realtek ALC883 @ nVIDIA MCP61]
Mad is offline   Reply With Quote
Old March 29th, 2008   #33 (permalink)
Xtreme2damax
Suck My Crocodile
 
Xtreme2damax's Avatar
 
Join Date: Aug 2005
Location: In my bedroomz optimizing PCSX2 by kicking it in the nuts.
Posts: 1,431
Nah, no need to worry about posting the .pdb (Debugging file me thinks), this was only for my fun and leisure to learn how to code/debug.

I want to expand on this a bit more and add features to it, such as being able to type in and navigate to any URL I choose.

I was going to mention that the minimize buttons work but they don't maximize the window/browser properly.

Any way to make it use the Mozilla rendering engine besides the Internet Explorer engine?

It took me nearly two hours to go through and correct my errors to be able to compile and use it properly and that was with a tutorial in front of me to reference, I don't even want to think how I could do it without any help or a tutorial.

Man this is confusing as heck, I was so overrun with anxiety while doing this simple program I was glad to finish it.
__________________
Please visit my gaming and emulation forum and be part of a great community as well as partake in interesting discussions:



I'm looking for more staff & news posters for my forum, if you are interested PM me to see if you qualify for the position.

Also TheCloudOfSmoke is so cool, I think he is Jesus Christ Reborn.

Xtreme2damax is offline   Reply With Quote
Old March 29th, 2008   #34 (permalink)
Mad
AKA snkmad
 
Mad's Avatar
 
Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 2,746
The only problem was, i had to figure it needs the "http://".
But gigaherz told me it worked fine for him w/out it.

I wanted to add a status bar, that would show the progress of the loading page, but thats for later. And i did it pretty quick, im just too lazy to read more
__________________
[WinXP SP2] [Gigabyte GA-M61PM-S2] [Athlon64 X2 3800+ @2.00Ghz] [XFX Geforce 8600GT XxX 256MB DDR3] [17" SyncMaster 753v][Samsung SATA II HD080HJ 80GB] [Samsung PATA SP0802N 80GB] [Patriot 2x512MB DDR2 6400@800MHz] [Samsung CDDVDW SH-S203B] [NVIDIA nForce Networking] [Realtek ALC883 @ nVIDIA MCP61]
Mad is offline   Reply With Quote
Old March 29th, 2008   #35 (permalink)
cottonvibes
NGemu's Kawaii Neechan ;)
 
cottonvibes's Avatar
 
Join Date: Sep 2007
Location: USA
Posts: 1,695
Quote:
Originally Posted by Shendo View Post
You can check out this one.
hey, thats the same one i've been reading
i'm still on the chapter about pointers.
so far, thats the most confusing thing in C++ for me.
in other languages like Java and VB, you don't need to know too much about pointers. but it seems that pointers in C++ are used extensively.
__________________
PC Specs: AMD X2 4400+ @ 2.921 Ghz, 1.47 vCore | G92 8800 GTS 512mb @ 740/1944| 4GB Dual Channel OCZ Memory @ 835 Mhz (5-4-4-15-2T) | 700 Watt PSU | DVD-RW Drive | 500 GB Hitachi SATA II Hard Drive, 30 GB & 40 GB Western Digital IDE Hard Drives | 1920x1080 40" LCD Flat Pannel HDTV monitor |
Consoles: 1 PS3 (60 GB), 2 PS2s, 1 PS, 3 GBAs, 1 GB, and 1 old school NES

Having troubles with PCSX2? Check out my guide to get it running correctly.
Running PCSX2 Guide for Noobs
cottonvibes is offline   Reply With Quote
Old March 29th, 2008   #36 (permalink)
mudlord
Emu author
 
mudlord's Avatar
 
Join Date: Feb 2007
Location: Land of the Dead...
Posts: 1,070
Quote:
so far, thats the most confusing thing in C++ for me.
Wait till you get to OO concepts like polymorphism and inheritance, which set C++ apart from C

Though, once you get pointers downpat, they are extremely useful...
__________________
Mah site
mudlord is offline   Reply With Quote
Old March 29th, 2008   #37 (permalink)
emwearz
Moderator
 
emwearz's Avatar
 
Join Date: Feb 2006
Location: Melbourne, Australia
Posts: 3,099
Xtreme2damax, now add buttons for everything, make the browser resize with the window, etc. Add as much as you can to it, after reading through that tut I added heaps of stuff that takes little or no more extra skill then is required to make what you all ready have.
__________________

- No Jobs On A Dead Planet -
Welcome to EMerica .:|:. You're mine now


» Intel Core 2 Duo E6300 - B2 Stepping (@3.2 Ghz) | Asus 8800GT 512MB (@715/1750/1030 MHz)| 2GB OCZ DDR2 800 «
» Asus P5B Vanilla | Thermaltake Soprano | Thermaltake Big Typhoon VX «

» Beta Tester for nullDC «
emwearz is offline   Reply With Quote
Old March 29th, 2008   #38 (permalink)
cottonvibes
NGemu's Kawaii Neechan ;)
 
cottonvibes's Avatar
 
Join Date: Sep 2007
Location: USA
Posts: 1,695
Quote:
Originally Posted by mudlord View Post
Wait till you get to OO concepts like polymorphism and inheritance, which set C++ apart from C

Though, once you get pointers downpat, they are extremely useful...
well in Java i've already learned about that, but maybe its more complex in C++... since everything seems to be
__________________
PC Specs: AMD X2 4400+ @ 2.921 Ghz, 1.47 vCore | G92 8800 GTS 512mb @ 740/1944| 4GB Dual Channel OCZ Memory @ 835 Mhz (5-4-4-15-2T) | 700 Watt PSU | DVD-RW Drive | 500 GB Hitachi SATA II Hard Drive, 30 GB & 40 GB Western Digital IDE Hard Drives | 1920x1080 40" LCD Flat Pannel HDTV monitor |
Consoles: 1 PS3 (60 GB), 2 PS2s, 1 PS, 3 GBAs, 1 GB, and 1 old school NES

Having troubles with PCSX2? Check out my guide to get it running correctly.
Running PCSX2 Guide for Noobs
cottonvibes is offline   Reply With Quote
Old March 29th, 2008   #39 (permalink)
MentallyAfflict
Technodanceaphobic