163 Posted Topics

Member Avatar for u.j.chandler

I was wondering all of that myself so thank you for knowing how to ask a good question and get a good answer. LOL

Member Avatar for skatamatic
0
184
Member Avatar for lxXTaCoXxl

I've been reading on these for some time now, and as a long time code maker for video games I have a completely different look on them since back then I was just going by what I was teaching myself. But I'm wanting to know how to assign the pointer …

Member Avatar for lxXTaCoXxl
0
111
Member Avatar for awaresefere

The below source will work perfectly. It uses a string array and the richTextBox.Lines property to change each line. It's also using a numeric up down control to choose the line to change. The numeric up down control has a min value of 1 and a max of 65535 in …

Member Avatar for lxXTaCoXxl
0
3K
Member Avatar for lxXTaCoXxl

I've developed a custom control that looks similar to the binary grid on calc.exe while it's in programmer's mode. I'm wondering how to make the text of the labels on it resize when the control is resized in designer mode. Any tips on this are helpful.

0
56
Member Avatar for lxXTaCoXxl

I'm trying to develop a method that resizes the font of a label on the form by 0.25f each time the size changes by 1. I'm thinking create a ratio or do some math about the font size based on the form size like i do with other controls.

Member Avatar for CeilingSpy
0
182
Member Avatar for awaresefere

First fill the box with new lines: [code]// I'm just using 50 lines as an example. public void FillBoxWithLines() { for (int i = 0; i < 50; i++) richTextBox1.Text += Environment.NewLine; }[/code] Next you can use .SelectionStart to choose a line (you can specify lines using a numeric up …

Member Avatar for lxXTaCoXxl
0
1K
Member Avatar for lxXTaCoXxl

I'm trying to save and load objects from my form. Like say I have a listbox and a checked list box, I want to save the contents of these boxes to a file, NOT TEXT but through bytes (the right way). How do I do it? I need help. Any …

Member Avatar for kamilacbe
0
87
Member Avatar for lxXTaCoXxl

I'm trying to develop my own custom controls and components that I can modify visually on a form. Like how you can put a panel onto a form and modify it's location, size, and other properties through the properties window. I'm trying to develop my own controls with their own …

Member Avatar for catherine sea
0
85
Member Avatar for navi18
Member Avatar for lxXTaCoXxl

I'm developing a calculator, it will give all of the functionality of calc.exe; however it will have a few of my own adjustments that I use constantly and have to do on paper or with different methods on calc. I need help with subtraction, multiplication, and division the most. I'm …

Member Avatar for lxXTaCoXxl
0
245
Member Avatar for lxXTaCoXxl

I'm trying to test my application and it keeps giving me the following error. I've never seen it before so I don't know what to do. Error :: Assembly generation falied -- Referenced assembly 'Dev9' does not have a strong name.

Member Avatar for thines01
0
47
Member Avatar for Alokkumar11

Method overloading is created by passing more or different variables through a method with the same name as another. [code]public void Method1(string Parameter1, int Parameter2) { } public void Method1(double Parameter1, float Parameter2) { } public void Method1(string[] Parameter1, int Parameter2, bool Parameter3) { }[/code] This type of programming known …

Member Avatar for lxXTaCoXxl
-2
77
Member Avatar for lxXTaCoXxl

I need some help with networking information. I've figured out most of the simple stuff and made it simpler still with an application extension, however there are a few things that still confuse me. With sockets it "appears" as though I have the ability to send information such as text …

Member Avatar for lxXTaCoXxl
0
153
Member Avatar for lxXTaCoXxl

I've noticed that while programming sometimes a tool tip window pops up beside the selected class in the drop down window while typing. This tool tip often contains a description of the class or variable that is highlighted or selected. I was wondering how to do this for my own …

Member Avatar for lxXTaCoXxl
0
94
Member Avatar for lxXTaCoXxl

I'm trying to get the Physical Address of the user's computer but having no luck. I developed a method that was working but isn't anymore. I'm also having trouble getting the IP Addresses Broadcast and Loopback. [CODE] string ip = IPAddress.Broadcast.Address.ToString(); string ipl = IPAddress.Loopback.Address.ToString();[/CODE] The physical address is the …

Member Avatar for sknake
0
199
Member Avatar for lxXTaCoXxl

How would I go about creating a loading screen or method that will load all my components and show the progress of loading through a progress bar. I would love to set something like this up for some of my larger form applications. I know how to do it with …

Member Avatar for lxXTaCoXxl
0
114
Member Avatar for lxXTaCoXxl

I'm developing an application that contains a picture box. I want the picture box to display the user's profile picture. The one that shows up on the logon screen for windows. I don't know how to even approach this, I've been trying to look for a directory but I don't …

Member Avatar for Antenka
0
71
Member Avatar for lxXTaCoXxl

I have a string array that I'm storing complete strings into. The array size is 1,000 so that I have plently of space to work with. Storing the strings into the array is working just fine. The part I need help with is removing specific indexes from the array. I …

Member Avatar for lxXTaCoXxl
0
161
Member Avatar for lxXTaCoXxl

I'm trying to develop a program that will factor a trinomial with a single variable. I'm using a string array and substrings to get the terms, however I'm having trouble with getting the factors of the AC Method. For those who don't know how to factor polynomials using the AC …

Member Avatar for Momerath
0
348
Member Avatar for lxXTaCoXxl

Okay so I have figured out a simple solution but the problem is it might not always work; so I want to combine it with something else to make sure my applications only run on the computer that ran the application first. Basically I retrieved the host name of the …

Member Avatar for skatamatic
0
117
Member Avatar for lxXTaCoXxl

I've decide to create a dock like application kind of like Macintosh's dock. I need some assistance finding information on how to get application icons, and how to allow users to drag and drop application shortcuts into the dock, as well as how to stop the applications from opening a …

Member Avatar for Teme64
0
152
Member Avatar for lxXTaCoXxl

I'm trying to create a console application that will write an entire paragraph one letter at a time (on a timer for instance) without creating a new line everytime. My problem is that I can't figure out how to do it without if and else if statements. I thought about …

Member Avatar for lxXTaCoXxl
0
101
Member Avatar for RogerInHawaii

Why are you calling the original web browser if you're creating a new one called newWebBrowser?

Member Avatar for RogerInHawaii
0
268
Member Avatar for lxXTaCoXxl

I'm trying to learn how write Silverlight applications and implement them into my website. I also can't figure out how to add a timer component to it. I know a little bit about C# programming but almost nothing about HTML. So any help is appreciated here.

Member Avatar for kvprajapati
0
59
Member Avatar for lxXTaCoXxl

I have a random string generator but it's not erasing the string every time it creates a new random one. Instead it's just adding to the old one. The code snippet is inside of a method that requires a boolean value (rText) to decide if it should use random text …

Member Avatar for lxXTaCoXxl
0
74
Member Avatar for lxXTaCoXxl

I'm trying to develop a class library that contains some of the code I don't like having to type into multiple applications. So I need help figuring out if my coding is right on this one? I don't have an SMTP server to test with. [CODE] public void Send(String client, …

0
58
Member Avatar for praveendasika

I don't know why people do name their arguments e; I've always named mine close to the event type itself. Like EventArgs is eaThisPartDependsOnMethodNameLOL. Well at least it was answered correctly before I got here. LOL

Member Avatar for zachattack05
0
168
Member Avatar for buster2209

Okay, this is actually possible but requires a little math and some basic method writing. The reason I say this, is because programs like Microsoft Word allow you to do it. Although I don't think they are using a textBox control either. I'll look into it this afternoon; I'm actually …

Member Avatar for gusano79
0
147
Member Avatar for lxXTaCoXxl

I've always enjoyed naughty stuff like this; it's useful to me in most cases because I set my timer up on a 10 second interval, that way when I tell people in chat's that I'll be right back, it sends that message every 10 seconds (so not to annoy them) …

Member Avatar for rubberman
0
98
Member Avatar for lxXTaCoXxl

The idea is to do basic math to find the difference in size between the object and the form. To do this take the object size (int1, int2) and the form size (int1_1, int2_2) then get the difference by subtraction. The math is (int1 - int1_1, int2 - int2_2) so …

Member Avatar for lxXTaCoXxl
0
227
Member Avatar for lxXTaCoXxl

So I don't want the icon from my application to appear on the taskbar. Not even when the application is minimized or even visible. I don't know how to do this and can't find any information on the subject.

Member Avatar for lxXTaCoXxl
0
80
Member Avatar for lxXTaCoXxl

Been a while since I had a problem; so I guess it's about time. I've written a .dll that has a few methods, and a few variables. It has a method called Create(int x, int y) that will place a new 4 square formation onto the form in the project …

Member Avatar for lxXTaCoXxl
0
140
Member Avatar for lxXTaCoXxl

I've been trying to find information on this everywhere for quite some time now. I want to build DLL plugins for my application, but don't want to implement them at basic run time. I want the user to be able to import them through an open file dialog. Any help …

Member Avatar for gusano79
0
87
Member Avatar for lxXTaCoXxl

I have two problems; collision detection, and menu navigation. My collision system seems to work just fine until my object meet at certain points then they ride together. This is troublesome in a pong game. For my collisions I'm inverting the X coordinate for the ball on intersection with the …

Member Avatar for lxXTaCoXxl
0
306
Member Avatar for jayantpaliwal

Sorry that I can't be of any help, however you should really check the argument information on MSDN if you haven't already. Those often help out in large quantities.

Member Avatar for lxXTaCoXxl
0
552
Member Avatar for Phil++
Member Avatar for lxXTaCoXxl

I'm trying to get some information on the live XBOX stat's feed. Like recent games, gamer score, rating, and gamer picture. I want it to update continuously (like if you were on Microsoft's website viewing someone's XBOX Live profile, or on the XBOX itself looking at their live stats) and …

Member Avatar for jh00
0
135
Member Avatar for salmap

label1.Text = "label name here"; this.label4.Name = "label4"; // This causes problems, you would have to change all references for it. Hopefully you're just changing the text of it using label1.Text To find all the properties in code form, click on the FormDesigner.cs in the solution explorer.

Member Avatar for abelLazm
0
234
Member Avatar for leo88
Member Avatar for Momerath
0
215
Member Avatar for lxXTaCoXxl

Okay so I've been running into trouble, I've figured out the majority of it. However, I can't seem to figure out how to save the location of a button. I could do it my way but my way is really ghetto and not recommended. The way I would do it …

Member Avatar for abelLazm
0
215
Member Avatar for lxXTaCoXxl

Most web browsers print the web site's title in the form text. So I want to do the same thing on navigation if possible. [code]// Only prints the URL. So please help. string siteName = webBrowser.Url.Host; this.Text = siteName;[/code] Much thanks!

Member Avatar for Momerath
0
103
Member Avatar for lxXTaCoXxl

Okay I'm trying to set up an open file dialog to grab a dll of my choice, then inject it into the application. I know how to use my own custom DLLs, but I also want the ability to make DLLs then use them without modifying the source after run …

Member Avatar for lxXTaCoXxl
0
420
Member Avatar for RogerInHawaii

Try: [CODE]if (panel1.Focused == true) { panel1.BackColor = Color.Black; }[/CODE] You can also break out if statements inside of if statements. [CODE]if (panel1.Focused == true) { if (panel1.BackColor == Color.Blue) { panel1.BackColor = Color.Black; } else if (panel1.BackColor = Color.Black) { panel1.BackColor = Color.Green; } }[/CODE]

Member Avatar for Momerath
0
150
Member Avatar for lxXTaCoXxl

Okay, I have a menu Item that I only want to be enabled and visible if the user activates it through encryption key. My menu item is on a separate form than the encryption analysis and I can't figure out why it won't enable the item. It will pop up …

Member Avatar for lxXTaCoXxl
0
85
Member Avatar for lxXTaCoXxl

Okay so I have a few problems that I need help with. The main one being Multi Form Access. [B]Multi-Form Access:[/B] How would I go about accessing items in a secondary form. Like with .NET it would be: [code=]'.NET Syntax' formName.itemName.Enabled = true 'or' formName.itemName.Enabled = false[/code] However this isn't …

Member Avatar for Momerath
0
113
Member Avatar for lxXTaCoXxl

I know there are others out there who haven't figured it out yet I figure I'll help out. The code snippet included will over-ride the pre-designed menu highlight. :D Just change the color of the pen or brush to whatever you want the highlight to be. :) All of the …

0
3K
Member Avatar for lxXTaCoXxl

Okay so this has been bugging me for quite sometime. I thought if I skipped it and came back maybe I might figure it out but I guess not. The basic idea is to let the user generate their own content into a list box, text box, and the content …

Member Avatar for abelLazm
0
93
Member Avatar for RogerInHawaii

You can do this without code if it's for personal use, however if you want the app you're developing to do this then I can't help. To do it without code, press CTRL + ALT + PrtSc with the browser on whatever page you need to capture an image of. …

Member Avatar for Momerath
0
106
Member Avatar for Xcelled194

Well I'm not too familiar with .NET but you can set up a timer component to call each frame of your animation. Just make sure each one is in the resources of your application. PSEUDO CODE: [CODE]If form1.icon = frame1.jpg Then form1.icon = frame2.jpg End If Else If form1.icon = …

Member Avatar for lxXTaCoXxl
0
447
Member Avatar for divin757

Simplest way is to set the image properties to stretch it will automatically scale it to fit the form completely. this.BackgroundImageLayout = ImageLayout.Stretch; You're very welcome. :D

Member Avatar for lxXTaCoXxl
0
277

The End.