163 Posted Topics

Member Avatar for ocamsrazor

You can calculate speed with ease. Speed in any form is calculated by dividing the distance traveled, by the time it took to travel that distance. However, I do believe this project seems a little difficult for a complete novice? I'd seriously recommend a new teacher. Is this even for …

Member Avatar for lxXTaCoXxl
0
378
Member Avatar for lxXTaCoXxl

Okay, so I've used this without even knowing 100% about what it is. I know what it does so I've always just called it the "type of object" but I want to know what this is really called. For example, I create a class and I want it to be …

Member Avatar for lxXTaCoXxl
0
249
Member Avatar for lxXTaCoXxl

I haven't tested this yet but it should work. The implementation is fairly simple. I don't have my laptop so I can debug the code at the present time. This basically increments the frame count everytime the game draws itself (allowing us to calculate frames per second considering the draw …

Member Avatar for lxXTaCoXxl
0
256
Member Avatar for lxXTaCoXxl

I've developed a simple class and enum that will make ammunition creation and usage simpler in game development for those who are interested. I will be making a tutorial video on how I made this so that you will fully understand how the code works if you do not. Simply …

Member Avatar for lxXTaCoXxl
-1
247
Member Avatar for mt1

Mark thread as answered to close the thread. I was actually interested in this though; thank you for posting this.

Member Avatar for lxXTaCoXxl
0
138
Member Avatar for FELIGO

I'd personally use an array or something to store the values of the russian alphabet, and then if the user inputs anything other than those letters (checking via for loop) then prevent it by remplacing that character with an empty char or string. [code]private string[] RussianAlpha = new string[CharacterCountOfRussianAlphabet]; private …

Member Avatar for lxXTaCoXxl
0
80
Member Avatar for lxXTaCoXxl

I used a label inside my snippet just to test it; but this will simply increment and decrement a float value by 0.2f between the values specified in the conditionals. I have it updating between 8f and 15f. Must be run on a timer (make sure the interval is low …

Member Avatar for lxXTaCoXxl
2
175
Member Avatar for sachintha81

Your application may need reference to B.dll as well as A.dll since A.dll is referencing B.dll; I'm not 100% sure, but if you haven't tried it then do so. Sometimes the answers we're looking for are the simplest ones we don't try because we think that it can't possibly be …

Member Avatar for sachintha81
0
3K
Member Avatar for lxXTaCoXxl

I'm trying to make my particles fade in my application using the alpha argument of the Color.FromArgb method but my math won't work because I have a nullable DateTime variable and the error it gives me is 'System.Nullable<System.TimeSpan>' does not contain a definition for 'TotalMilliseconds' and no extension method 'TotalMilliseconds' …

Member Avatar for lxXTaCoXxl
0
1K
Member Avatar for lxXTaCoXxl

There only two glitches within this code that I can't seem to get 100% spot on. However, this will create a functioning menu (text based) on your form at runtime. I plan to develop an actual control exactly like it. It uses a custom class I developed called LocationBounceEffect that …

0
170
Member Avatar for lxXTaCoXxl

I've recently posted a code snippet of a working 2D text menu for Windows Forms Applications. However, as I was going through and revising this snippet (trying to make it better and add functionality to it) I've created two new problems. The first problem is that my text is not …

Member Avatar for lxXTaCoXxl
0
158
Member Avatar for lxXTaCoXxl

XNA Game Studio is not required to use this functionality. This example is very basic, and I typed it up because I was bored. It does not contain functionality for navigation through the menu, but it will display the menu as it should at the specified location. Please enjoy it, …

Member Avatar for lxXTaCoXxl
0
153
Member Avatar for lxXTaCoXxl

I've been trying to better my lesser side of knowledge in the C# programming language by tackling graphics head on. I've learned a little bit, but I'm getting stumped right now because I can't explain 100% what's going on here. I've developed a Pong game to teach myself how to …

Member Avatar for lxXTaCoXxl
0
143
Member Avatar for lxXTaCoXxl

Haha, I'm trying to set up my applications to update online but can't find any FTP servers that are free. I did have one a while back that I was using for an email client I was developing but can't remember the name. If there is a way for me …

Member Avatar for Karlwakim
0
242
Member Avatar for jemz

Visual Studio (Express, Professional, Ultimate) 2010 #Develop Notepad++ Microsoft Word Wordpad Notepad Sticky Notes Any application with an open text field will work, you just have to find a compiler witch is why most people just use Visual Studio or #Develop.

Member Avatar for jemz
0
132
Member Avatar for sania khan
Member Avatar for Ehtesham Siddiq

So he means no lol, Try using symbols that can be transfered into super and sub. Like for example: 2x^3 is 2x raised to 3rd power. So you can use symbols and substring to read for them. Like I use # for superscript and $ for sub. But interpreting them …

Member Avatar for lxXTaCoXxl
0
483
Member Avatar for lxXTaCoXxl

I'm trying to convert my C# class library over to C++ and was wondering if this is how scientific notation should look. Any pointers would be nice. [code]// Scientific Notation? private int i = 0; private string Sign = ""; public string Output = ""; public void Sci(double x) { …

Member Avatar for ravenous
0
161
Member Avatar for lxXTaCoXxl

Can anyone help me with this little problem I have? I'm trying to get the IPv4 address of the network interface is being used to access the Internet, but I'm having issues with this. Here is my source code. I am using a network interface class method Get All network …

Member Avatar for mcriscolo
0
168
Member Avatar for lxXTaCoXxl

I recently obtained an HP Touchpad 32 GB, and I'm wanting to develop applications for it. I'm currently downloading the webOS SDK/PDK installer, and have finished downloading Virtual Box. I have the latest version of Java installed as well. What I'm wanting to know, is that I've read that we …

Member Avatar for lxXTaCoXxl
0
113
Member Avatar for Jigs28

I feel like the solution was not posted in this thread and I think I shall add it for all of those who will future reference this post. The way you center any type of text on a forms application, or an XNA game screen is to get the screen …

Member Avatar for Jigs28
0
254
Member Avatar for lxXTaCoXxl

I don't even know where to begin with this one, but I'm wanting to create a couple graphic controls that at least appear to be in 3D (not stereoscopic but as in not a 2D flat image) and can rotate and move back and forth on an illusional Z axis. …

Member Avatar for ddanbe
0
514
Member Avatar for Azmah

The problem your friend had is the normal problem with people. All throughout school we are taught to read left to right correct? So int turn, even in math we begin reading left to right out of habit. Sometimes you have the people that try to solve problems as they …

Member Avatar for BDove
0
2K
Member Avatar for lxXTaCoXxl

I'm trying to get some developer tools for my Macintosh Mini running on Power PC. It's OS is Mac OS X Leopard. I've tried getting Xcode but I can't find any downloads for it that don't require the developer programs at Apple's website. If anyone has any ideas or any …

Member Avatar for mrnutty
0
125
Member Avatar for lxXTaCoXxl

I'm trying to create a custom control that has about 20 labels on it, I want to make the fore-color of these labels read-only, and make them change with the fore color of the control instead of all individually. The same with the back color. I also need to know …

Member Avatar for skatamatic
0
77
Member Avatar for Andy90

Take a look into the TopMost property of your form. It's a boolean value, and should work until another application has the TopMost property set to true is deployed, then multiple applications will begin to fight for top most. [code]private void Form1_Load(object sender, EventArgs e) { this.TopMost = true; }[/code]

Member Avatar for shandoosheri
0
585
Member Avatar for galhajaj

Never give up a search for anything friend. I don't know anything about them and haven't heard of them. However I'm sure we can both wait around for some smarter people to get online and tell us all about them. For I am interested in them as well now. :)

Member Avatar for surajrai
0
293
Member Avatar for lxXTaCoXxl

Does anyone here use Visual J#? If so can you provide some examples of syntax as well as examples of loops (for, foreach, do, while), declaration of variables, importing namespaces, how to build form style applications (a link would do on that one), and any further information you feel would …

Member Avatar for thines01
0
88
Member Avatar for superjj

Stream writer I believe allows you to write to a specified path, however whether or not that folder requires administrator permissions I have no idea.

Member Avatar for superjj
0
439
Member Avatar for lxXTaCoXxl

I'm bored and can't sleep. Don't have to be at work until 9pm tonight so I want to program, however I'm out of ideas for custom controls or methods to make. I would love to make controls for people but as I said, I need ideas. I program in C#. …

Member Avatar for lxXTaCoXxl
0
212
Member Avatar for lxXTaCoXxl

I'm trying to replicate the visual basic power packs controls (rectangle, oval, and line) so that express users can get a spin of these wonderful graphic controls. However, I'm having some trouble getting the basic properties of them into the properties window instead of just the code editor window. [code]using …

0
60
Member Avatar for lxXTaCoXxl

This release is an updated version of my previously released code snippet entitled "Get Internet Connection State". I've made this snippet into an actual control that you can add to your toolbox. It can be used with all versions of Visual Studio C#. I'm also posting the main source code, …

Member Avatar for lxXTaCoXxl
1
153
Member Avatar for TheForeRunner

You can use a timer. Put a button on your form and trigger the button_click event for it. Create a timer and trigger the timer_tick event. In the button_click event start the timer. In the timer_tick event use compound assignment operator += to assign and add the text from one …

Member Avatar for TheForeRunner
0
111
Member Avatar for lxXTaCoXxl

I've developed a code that is intended to be used in an application extension (as with all my codes) that will tell you if the current computer has an internet connection. To use just include the namespace given at the top of the snippet, then the connection state is a …

Member Avatar for lxXTaCoXxl
0
237
Member Avatar for climberboy

Which value is returning null, you can hover your mouse over variables to see their values when exceptions are thrown. Object reference exception means there is a null value somewhere in your source. Find out where it is and I'll be able to help further.

Member Avatar for lxXTaCoXxl
0
753
Member Avatar for lxXTaCoXxl

I'm trying to incorporate my custom control called "windmill" into my application extension. I've created a few properties that I want to be visible in the properties window and when I built my project and tried to use it in a test project it did not work. To top it …

Member Avatar for lxXTaCoXxl
0
167
Member Avatar for gingank

Using google research the following topics: Variables Arrays Loops (for, foreach, do, while) Methods Namespaces Classes Enums Application Extensions Classes To Research: System.Convert System.Drawing.Color Namespaces To Research (Get familiar with these): System.Net System.Net.NetworkInformation System.Net.Sockets System.Drawing System.Windows.Forms System.Threading System.IO Google is your best source of information on the internet. There are …

Member Avatar for budbjames
0
162
Member Avatar for lxXTaCoXxl

I was just washing dishes and as usual was pondering programming scenarios. One came across my mind that hit me hard. UPDATES! I would like links to information on how to make an application that checks for updates at a location on a free website (I'm using webs.com for my …

Member Avatar for lxXTaCoXxl
0
97
Member Avatar for lxXTaCoXxl

I've been google searching this for a while but can't seem to find information on it that is helpful to me. Is it a way to work with partners on projects over a server? If so then this would be lovely. I get tired of sending my projects to friends …

Member Avatar for lxXTaCoXxl
0
132
Member Avatar for lxXTaCoXxl

I just read this article, and I know the holidays are over but I still feel people should read this. It just proves how hard times are right now. [quote]Many people head to the pawn shop during the holiday season, selling their valuables for cash to afford gifts for loved …

0
38
Member Avatar for slowly_but_sure

You can always check the current position of the lines, and do the math of the lengths to come up with an algorithm. However if it's just one line drawing towards another and you don't want them to intersect then I'd try using a loop and a multi-dimension array that …

Member Avatar for lxXTaCoXxl
0
240
Member Avatar for Falcon25

You can use the CharacterCasing property of the text box control. [code] private void upperCaseButton_CheckedChanged(object sender, EventArgs e) { string userText; if (userText == "") MessageBox.Show("Please enter some text"); else inputTextBox.CharacterCasing = CharacterCasing.Upper; userText = inputTextBox.Text; }[/code] It's an enum with 3 elements: Upper Lower Normal [code]public enum CharacterCasing { …

Member Avatar for lxXTaCoXxl
0
193
Member Avatar for lxXTaCoXxl

I'm trying to learn how to create plugins, the only problem is my friend only knows .NET, I know C# and can partially read .NET. Is there anyone in this section that can convert this all over to C# for me so I can truly study it? [code]Public Interface IPlugin …

Member Avatar for lxXTaCoXxl
0
193
Member Avatar for lxXTaCoXxl

I'm having trouble getting intellisense to show my summaries of my methods and variables. I have a DLL that I will be releasing to my developer team soon and without the intellisense working they won't know 100% what everything is for. They will just have a simple hint from the …

Member Avatar for thines01
0
110
Member Avatar for lxXTaCoXxl

I'm trying to develop my application extension and part of it has a variable that I want to tell if the user has an internet connection or not. I've set it up to where it's read only, but I'm trying something new and it threw a StackOverflowException. Hopefully someone can …

Member Avatar for lolafuertes
0
131
Member Avatar for axwell

try setting doc to String.Empty or = ""; and see if that helps. Which line specifically in that gives you the error?

Member Avatar for lxXTaCoXxl
0
240
Member Avatar for lxXTaCoXxl

I've decided to join the United States Armed Forces, and my MOS will be 25 Bravo. For those in the military or trying to join, or just want to help support those who do, I'm developing an application to help us all out. Eventually I want to develop an information …

Member Avatar for thines01
-2
78
Member Avatar for lxXTaCoXxl

As the title states I'm building a calculator. I've got two arrays, one for holding the values input by the user, and the other for holding the operators. Addition seems to work just fine, however subtraction, multiplication, and division are still putting up a fight. I believe it's just logic …

Member Avatar for thines01
0
160
Member Avatar for lxXTaCoXxl

I'm trying to create a struct for an 8 bit signed integer, seeing as how I'm creating a calculator it would be useful. Windows' calc.exe has this set up as precision for Qword, Dword, Word, and Bytes. I have 64, 32, and 16 because they're already programmed into Visual C#. …

Member Avatar for gusano79
0
132
Member Avatar for axwell

I believe the web browser control has a NewWindow event you can look into. I don't deal too much with web browsing.

Member Avatar for lxXTaCoXxl
0
127

The End.