- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
- Interests
- Pro wrestling, soccer
- PC Specs
- Win 7 Ultimate x64 does it for me.
37 Posted Topics
BACKGROUND: ----------- **1 Button** **1 File** That Needs To Be Written To **1 TextBox** **1 NumericUpDown** So, in my application I need to write to a file that will contain several lines. Input is taken from a TextBox and a NumericUpDown control and it comprises a string of general format … | |
Re: It would help if your English was better, but from what I can make out of your post, you'd like for font settings to be saved right? Assuming you have implemented the font changing functionality, in VB (as far as I can remember), you can easily save app settings by … | |
I need a textBox that accepts only numerical values ranging from 1 to 10 for my application. Can you assist me please? Take a look at my code (it only does half the job since text inserted from the clipboard using the standard right-click menu strip of the textBox will … | |
This is a really simple way to maintain an options file for your application in case you don't wanna mess with registry entries, along with added support for comments inside the file. The file will be created at the same location with the executable. In addition, if an error is … | |
Re: The reason you're getting the first error is because 'y' is not defined outside the 'for' loop. I'm gonna assume you're using Python since you don't define the data type when declaring a variable. Anyways, what you need to do is declare 'y' outside the loop, so you can then … | |
I don't know if the title is clear enough, but what I'm basically asking is help with the organization of Resources in an application. Like, how do you go about doing that in YOUR applications? So, when a project is created in Visual Studio, we got like a bunch of … | |
Hi again DaniWeb, this time I'd like you to help me with the text alignment options available in a standard text editing application. My problem is, even though I got the application to successfully align the text where I want it, that if I click on every single option (Justify … | |
I believe it is sort of ironic that my name is TechSupportGeek, since I only seem to be asking questions for the greater part of the last year and a half. :) Anyway, on to the problem now, during a cold boot, my computer screen starts flickering like crazy at … | |
This issue has been bugging me since like forever! I have got **two** computers, which both run Windows 7 **SP1**, and a printer attached to one of them (the one with the printer has got Home Premium x64 and the other one has Ultimate x64, not sure that this. matters … | |
Hello, what the title says, I'm really confused with recursion. I understand the basics like what we actually call a recursive method (a method that calls itself within its body) but I can't seem to understand how it is used (especially the factorial example). OK, the following example is the … | |
Re: Hope this helps. [CODE] int x = 10; int* p = &x; // Assign pointer p the memory address of x. Console.WriteLine((int)p); // Output the memory address of x. int y = *p; // Assign variable y the value of the variable pointer p points to. Console.WriteLine(y); // As expected, … | |
Re: You should add the code for hiding it at your main form's load event. Assuming your form's name is Form1, here is how it would look: [CODE] Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load lstCity.Visible = False End Sub End Class [/CODE] | |
Hello, I'm not quite sure this is the right forum to post this kind of stuff to but I'll ask anyway. So, what the title says, is there any implementation of the Logo programming language that targets the .NET Framework? By that I mean I want to be able to … | |
Re: OK, assuming your form's name is [B]Form1[/B], here is what you need to do: 1. Drag a [B]Button[/B] control to your form 2. Double click the button you just placed in order to get to its [ICODE]Click[/ICODE] event 3. Type in the following code: [CODE] Public Class Form1 Private Sub … | |
Re: You could try adding this to your splash screen's load event after [ICODE]newthread.Start()[/ICODE] [CODE] Me.Close() 'Close splash screen form If Not iserror Then form1.Show() 'Show main program form [/CODE] The logic behind this is simple; if no error is found, close the splash screen and start the application. I'm not … | |
Re: Could you please elaborate on the actual issue and the faulty line(s) of code as I'm currently having a hard time understanding what you would like to achieve. Thank you. | |
Re: My solution is done in a Console app, but same logic applies to a WinForms app as well. If that isn't quite what you're looking for, please let me know so I can further assist you. [CODE] Module Module1 Sub Main() Dim strsample As String = "<span>Exceptional Innovation</span>" 'Example string … | |
Re: Here is what you might be looking for: [code] Dim filePath As String = "C:\Users\%USERNAME%\Documents\test.txt" 'Example file Process.Start("explorer.exe", "/select," & filePath) 'Starts explorer.exe and selects desired file [/code] | |
Re: See if that works: [B]Prerequisites:[/B] 2 Forms 1 TextBox 1 ComboBox 1 Button Go to the form where you placed the Button ([B]and[/B] the TextBox) and make sure the form's code is the same as below: [CODE]Public Class Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
Hello guys, I just started learning C# (having studied VB.NET for the last 2 years) and I was wondering if you could help me out on this problem I have encountered. All I want is start an application using the [ICODE]Process.Start[/ICODE] method. In VB.NET, this was pretty easy and straightforward … | |
Hello, I'll be as clear as I can in this one. OK, here is what is going on: I'm kind of trying to create a programming language of some sort using a Console application. I have got most commands to work, but what I haven't got is the ability to … | |
Re: This may help you out: [URL="http://www.dotnetcurry.com/ShowArticle.aspx?ID=174&AspxAutoDetectCookieSupport=1"]http://www.dotnetcurry.com/ShowArticle.aspx?ID=174&AspxAutoDetectCookieSupport=1[/URL]. Apart from this, there are many other websites that tell you how to do this. If it doesn't help, don't hesitate to tell me so that I can further help you. | |
Re: Here is what you have to do: 1. Add a [B]TextBox[/B] control to your form 2. Go to its [B]properties panel[/B] (usually located on the bottom right corner of your screen) 3. Modify the [B]AutoCompleteCustomSource[/B] property so it fits your needs (to do so you need to click on it … | |
Hello world of DaniWeb, what's up? I have the following problem; I've created a text editing application in VB.NET that actually works pretty well with opening, saving files etc. But when it comes to opening a file, modifying it, and then trying to save it, the save dialog will pop … | |
Hello world of DaniWeb, it's been months since I last visited this forum but here I am asking for your help again :) I've been developing a text editing application and my problem is that the RichTextBox control will "lose" all special formatting (like font, color etc.) when enabling WordWrap. … | |
Re: This will do the work: [CODE]Public Class Form1 Dim ButtonClicked As Boolean = False Private Sub BackButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Click WebBrowser1.GoBack() ButtonClicked = True End Sub End Class[/CODE] Then you can do what you want with the code. Another example: [CODE]Private Sub Anything_Click(ByVal sender … | |
Hello world of DaniWeb. If the title of this thread kinda looks complicated, believe me, it's not. This'll be a simple and straightforward question along with a piece of code attached to it. So, how can I determine whether a RichTextBox control contains text or not when functions such as … | |
Re: You can make the icon appear in the quick launch bar again just by dragging it from your desktop to the quick launch bar. Hope I helped :) | |
Hello world of DaniWeb, I've asked a similar question to this one before but now I'm trying to find an answer to a different problem. You see, I have made a text editing application and, as you might have guessed yourself, I needed to add save features. Well, what I … |
The End.