|
-
December 13th, 2009, 08:38 AM
#16
Re: Looking to develope skills
Ok this is gonna sound stupid, but how do I get the program to work on a pc that doesn't have .net framework??? :P
Last edited by Dragster93; December 13th, 2009 at 03:06 PM.
-
December 14th, 2009, 05:07 PM
#17
Re: Looking to develope skills
Could somebody please answer my question???
-
December 14th, 2009, 05:19 PM
#18
Re: Looking to develope skills
Create a setup program for your application, detect if the .net framework is present on the target machine and install it if it doesn't exist. This is pretty much built-in if you create a Visual Studio setup project.
-
December 15th, 2009, 12:28 PM
#19
Re: Looking to develope skills
Hi Dragster93, before all, sorry for my bad english.
This is my first post in this forum.
If your application was compiled (your solution generated) in Visual Studio 2003/2005/2008, will not work on a pc that haven't the .Net Framework installed.
Do what Arjay says. You can detect if a system have installed the framework by the application installer, with a few lines of code (in my case, I use NSIS to generate the installer package).
Your calc replaces the content of txt_Calc.Text, because you put the code this way:
txt_Calc.Text = "9";
instead of:
txt_Calc.Text += "9";
doing
txt_Calc.Text += "9";
is the same thing that doing
txt_Calc.Text = txt_Calc.Text + "9";
I hope it can be understandable and useful.
-
December 15th, 2009, 03:50 PM
#20
Re: Looking to develope skills
 Originally Posted by DRFredy
Hi Dragster93, before all, sorry for my bad english.
Dude, your english is perfectly fine!!! 
 Originally Posted by DRFredy
I hope it can be understandable and useful.
Yes it is....
Thank You Arjay & DRFredy!!!!
-
December 17th, 2009, 02:40 PM
#21
Re: Looking to develope skills
Alright, I've started out with the design of the media player. But, I have no idea about how to start the coding. I've never made a Media Player before so I don't know how to start or WHERE to start! Could someone give me some ideas?
Any help will be appreciated.
-
December 17th, 2009, 02:53 PM
#22
Re: Looking to develope skills
A good idea is to design the UI in a view editor and then hook it up later on.
Get basic functionality working (Play, Pause, Stop). Have 'Play' just start a hard coded song at first. Then, move on to more difficult tasks (displaying the list of songs in the UI, adding volume adjustment (tying a slider control to the volume of the song playback).
Before you know it, you'll have a functioning media player. Look at Windows Media Player and iTunes for examples of where to get started.
-
December 17th, 2009, 03:06 PM
#23
Re: Looking to develope skills
Since you're just starting with this, you may consider using WPF rather than WinForms.
WPF will give you more options for app skinning, transparency, etc.
-
December 17th, 2009, 03:10 PM
#24
Re: Looking to develope skills
Guys, I've already added the media player control. I now need to know how to play the selected file in the Media Player Control.
-
December 17th, 2009, 03:12 PM
#25
Re: Looking to develope skills
While this is good advice, I actually recommend sticking to .Net 2.x and WinForms as a beginner to C#. and UI development. I use WPF everyday at work and wouldn't recommend starting on it without a basic understanding and foundation in WinForm development first.
-
December 17th, 2009, 03:14 PM
#26
Re: Looking to develope skills
Dragster, I thought you were creating your own Media Player 
If you're using the stock control, there is PLENTY of documentation on MSDN and all around the internet for how to plug it in and use it.
Also, intellisense is your friends. Look around and see what you find there. I'm sure it's as easy as calling Play and Stop and etc...
-
December 17th, 2009, 03:19 PM
#27
Re: Looking to develope skills
 Originally Posted by mariocatch
Dragster, I thought you were creating your own Media Player
If you're using the stock control, there is PLENTY of documentation on MSDN and all around the internet for how to plug it in and use it.
Also, intellisense is your friends. Look around and see what you find there. I'm sure it's as easy as calling Play and Stop and etc...
Yes, that's exactly what I wanted to do. I wanted to create my own Media Player. If you would be so kind as to guide me through the process, then I shall start a new project right now.
-
December 17th, 2009, 03:20 PM
#28
Re: Looking to develope skills
I would like to start from scratch. I don't care if it takes me days to create the form and get it up and running! I'll do it!
-
December 17th, 2009, 04:05 PM
#29
Re: Looking to develope skills
 Originally Posted by mariocatch
While this is good advice, I actually recommend sticking to .Net 2.x and WinForms as a beginner to C#. and UI development. I use WPF everyday at work and wouldn't recommend starting on it without a basic understanding and foundation in WinForm development first.
Since the programming models between WinForms and WPF are quite different, I don't believe there is any need to start with WinForms before moving to WPF. Since WPF offers features that are typically associated with a media app, it might be beneficial to the OP to start with WPF rather than starting with WinForms and running into a dead end.
-
December 17th, 2009, 04:18 PM
#30
Re: Looking to develope skills
 Originally Posted by Arjay
Since the programming models between WinForms and WPF are quite different, I don't believe there is any need to start with WinForms before moving to WPF. Since WPF offers features that are typically associated with a media app, it might be beneficial to the OP to start with WPF rather than starting with WinForms and running into a dead end.
Actually dude, since I started learning C#, all my programs have been created on WinForms only! So I have quite a bit of knowledge when it comes to WinForms. On the other hand, if I go to WPF app, I can't understand squat!
I would prefer sticking with WinForms for now. But dude, would you be willing to help me out in starting newly? I wanna build it from scratch!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|