- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 4
I am currently in school for computer science. I hold two degrees: AS in Technical Management, and BS in Technical management.
- Interests
- My Yamaha R6 Gaining competence in programming
- PC Specs
- Microsoft Visual Studio -->C# --->C++ ---->XNA ----->Java
36 Posted Topics
Re: [QUOTE=ddanbe;1116407]Hi all, I know I can make a color lighter programatically, by augmenting some of the RGB values. But is there a standard way to do so or is it just trial and error? And why is a blue component needed to make orange lighter? Perhaps C# .NET has some … | |
Re: You need to post some code, all you have done is posted your hw problem. Jamesonh20 | |
Re: You need to make sure that you actually want an arrayList your code is not reflecting the title of your post. So you would 1st: [CODE]import java.util.*;[/CODE] in one fashion or another... Then: [CODE]ArrayList<Payday> myList = new ArrayList<Payday>();[/CODE] make some sort of reference to an actual "arrayList". In my case … | |
So I have a working media player that I built in C# with MSVS 2008. I have a feature that loads pics into a pictureBox. How can I possibly manipulate the bounds of the box to make it a circle, or an abstract object? I am aware of how to … | |
So even though this is a simple project, I found a lack of good code on the web under this topic for multi lined strings. I thought I would share it with everyone. Hope it helps you! Prints file foward first, then in reverse (and yes there are many different … | |
Hi I have a working media player that references the imported winmm.dll. I am trying to link a trackbar to the dll to find the file length & seek to the scrolled related timeframe. I have the code now that only starts the trackbar when the play button starts. Any … | |
I was just wondering if it were possible to link a sound to an option selected in a scanner class in java? For example: [CODE]import java.util.*; public class GameTest { public static void main(String[] args) { Game myGame = new Game(); Scanner myScanner = new Scanner(System.in); int size = 30; … | |
Re: Hi there! I have pretty much fininshed a audio/video/picture player in C#. I can not for the life of me find how to simply code the trackbar to the song/video i have playing referenced to a textbox. CAN ANYBODY HELP ME? Thanks, James | |
Re: Asduae, depending on how you are programming this, you could do it a few different ways. If you are using an array you could "sort" the array and have it print the array - off the smallest integer (i.e. subtracting the integer out of the index). I'm getting tired of … | |
Hello I am trying to underline --> 1 5 6 only the 1 2 2 2 only the middle 2 1 6 4 only the 4 I have imported the java.awt.* but im not sure how to write the code, the java api is a little confusing. [CODE]import java.awt.*; public … | |
Re: [QUOTE=pocix;1153386]hi everyone i need help how to -creates an array for 5 integers and store it in array -use the highest & lowest integer and cube it i stuck in array, i confuse how to input integers to array with JOptionPane so far for the input [CODE] import javax.swing.*; import … | |
Re: [CODE]total = price + tax;[/CODE] use any calculator and try your code out on it. so your code states if you have $5.00 + .55 = $5.55 $10.00 + .55 = $10.55.....think about it if you had 5.5% tax, or .055 would you agree that it is price * 1.055? | |
Re: hussein87 you need to post your hw prob in its own thread...ALONG WITH YOUR CODE to get any kind of help. | |
Re: [QUOTE=iNach;1148477]Sorry for the double, I can't edit my original. but a friend told me to use substring.. I don't know what that means.. Please help :)[/QUOTE] Okay I can prob help you. A substring will read the String as an index of numbers. below is my string of abreviated months … | |
Hi there I have a rookie question. I am trying to clean up a long list of if statements for a class in java, I know that in C# you can code #region-->#Endregion. Is there a simple way to do the same thing in Java? THANKS! Jameson' | |
Re: You could always use the properties tab to remove the microsoft generated form controls and program your own exit, min, max controls. That way you could put your savefiledialog code with your exit button. | |
Re: Hey there sounds like you need to check out microsun's java api. There is a lot of sample code about icons there :) | |
Re: Hope these help you Use these links: [URL="http://www.java2s.com/Code/Java/Development-Class/ReadfromaSerialportnotifyingwhendataarrives.htm"]http://www.java2s.com/Code/Java/Development-Class/ReadfromaSerialportnotifyingwhendataarrives.htm[/URL] [url]http://forum.java.sun.com/thread.jsp?thread=519878&forum=54&message=2483690[/url] [url]http://www.geocities.com/Juanga69/parport/[/url] [url]http://www.beyondlogic.org/etherip/ip.htm[/url] [url]http://www.beyondlogic.org/spp/parallel.htm[/url] [url]http://java.sun.com/products/javacomm/index.jsp[/url] | |
Re: if you need it to accept both letters/#'s change your code to a string, not an int. cheers' Jamesonh20 | |
Re: Hi there you could look into putting the text in as a String and calling a substring using start and end values. similiar to what I am trying to say --> [url]http://dotnetperls.com/substring[/url] Jamesonh20' | |
Re: this is a little different, but you could use say: [CODE]visible = false; Form2 Form = new Form2(); Form.ShowDialog(); [/CODE] this will cause your first form to not be visible, and bring up your second form. Hope it helps you! Jamesonh20 | |
Is there a way to reference winmm.dll's to get ID3 info. Everything I have looked at online shows programming of your own mp3 data (i.e. Title, artist....). There has to be a way to just retrieve the file info from the DLL right??? JamesonH20' | |
Re: Hope this sheds some light on your situation my friend... [URL="http://www.dreamincode.net/forums/showtopic31314.htm"]http://www.dreamincode.net/forums/showtopic31314.htm[/URL] Jamesonh20' | |
Re: Have you already fully researched JMF? there is a lot of helpful samples and explanation out there. [URL="http://java.sun.com/javase/technologies/desktop/media/jmf/reference/codesamples/index.html"]http://java.sun.com/javase/technologies/desktop/media/jmf/reference/codesamples/index.html[/URL] JamesonH20' | |
Re: Also, there is a neat little gadget that converts here --> [URL="http://gallery.live.com/liveItemDetail.aspx?li=75cffe62-c8d0-4feb-a028-5ac8638b5321&bt=1&pl=1"]http://gallery.live.com/liveItemDetail.aspx?li=75cffe62-c8d0-4feb-a028-5ac8638b5321&bt=1&pl=1[/URL] | |
Re: I pulled it off of another site hope it helps you... [CODE]using System.Data.EntityClient; ... EntityConnection conn = new EntityConnection(myContext.Connection.ConnectionString); conn.Open(); EntityCommand cmd = conn.CreateCommand(); cmd.CommandText = @"Select t.MyValue From MyEntities.MyTable As t"; var queryExpression = cmd.Expression; .... conn.Close(); [/CODE] | |
Re: [CODE]//Adds characters 0-9 private void myFirstForm1_Load(object sender, EventArgs e) { maskedTextBox1.Mask = "00/00/0000"; } [/CODE] the MSDN prob has everything you need if you read through it enough as adatapost has referenced. I know this limits imput from 0-9. Jameson' | |
Re: A good book to reference on this issue is windows forms programming 2.0 best $60 i ever spent! It has what you need in it. Cheers' Jamesonh20 | |
Re: Dude, if your writting a game development question put it in the correct forum. I think I can help a little though. I assume you are using MS VS with the XNA framework. dump your pic files in the content folder! your can reference them from there. or like the … | |
I have a windows form that starts at a designated size (not mazimized). I have a pictureBox1 control that zooms in & out. when I maximize my window and zoom in I need the pictureBox1 to return to it's original size upon clicking back to the original sized window. ANY … | |
Re: Go to asp.net's forum great stuff there. cheers' jamesonh20 | |
Re: Hi there, use the selected control's property window to "anchor" your controls to your form. This will proportionally move your controls vs. window size. | |
Re: [url]http://msdn.microsoft.com/en-us/sqlserver/bb895908.aspx[/url] | |
Re: Hey im a newbie too. I'm not seeing enough info on what your doing. Did you create a savefiledialog? Also, I see that the above code basically says if the user selects a month and it is equal to february, it will return 2. Your above code will throw an … | |
Re: Buy the book "XNA Programming" by Wrox. I did and it ROCKS!! It has multiple examples of what you are trying to do. |
The End.