- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- PC Specs
- motherboard: Asus P5E3 Deluxe CPU: Intel Core 2 Duo E6850 3.0 GHz FSB1333 RAM: 2 x OCZ DDR3 PC3-12800…
Re:
Ok, I know about how to check for the end of a file, but what I need to know, is if you create a new file, thats empty, how do you check if it really is empty, and if its the same as EOF, then what am I doing wrong … |
|
I am converting an app I wrote when learning VB (I primarily use C++). In VB it was trivial to minimize a window to the Taskbar: Private Sub GoButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GoButton.Click Me.WindowState = FormWindowState.Minimized Setting the window state in the "Go" button's _Click … |
|
I am working on a WIN32 (not MFC) project. Currently it uses the default XP and earlier file dialogs. In attempting to add the option, under Win7/Vista, to use the new-style file dialogs, I have come to a stumbling block. The only code examples I can find come from here: … |
|
I am a developer on the open source Audacity team and am trying to add some functionality. Currently if you drag the icon of a supported type (fi song.wav) onto an open Audacity project it loads the file. However if you drag song.lnk (like an XP shortcut but different--looks like … |
|
Okay, it's been a long time since I've programmed in C++! Languages change considerably in the last 5 years or so. In reviewing some source code I often see statements like this: [CODE] wxString label; if (name == wxT("Undo")) { label = _("Undo");[/CODE] obviously, I snipped out a lot of … |
|
Re:
Okay, someone explain this one. I retrieve the environment variable USERNAME and assign it to a string variable. I can even show it in a MSGBOX and it shows "Owner". In my code I want to assign the value to a text box when it gets focus. It does it, … |
|
These are both ready for deployment (I think :) !) RenameSongs v0.0.0.2:[URL="http://home.wavecable.com/~edgarmusgrove/RenameSongs4.zip"]RenameSongs4.zip[/URL] tag2file v0.0.0.2: [URL="http://home.wavecable.com/~edgarmusgrove/tag2file3.zip"]tag2file3.zip[/URL] See for details: [URL="http://www.daniweb.com/forums/thread169098.html"]daniweb forum thread[/URL] If I can figure out how to put a download counter on my site, I will know if I should announce updates to the code! Until then, please let … |
|
Re:
I have a program for advanced VB in which we are to create a Struct of account records that are in a Text file and close the text file after opening and read the file in to the form window from the Struct and be able to edit the data … |
|
Re:
I have an application I originally wrote in VB2005. It ran fine on Win/XP and Vista 32bit. It would not run on Vista x64 nor would it provide an error message other than "A problem caused the program to stop working correctly.....". I dumped VB2005, got VB2008 Express and converted … |
|
I'm starting to get the hang of writing VB.NET code--very simple jobs, but covering some esoteric subject matter. The first two tasks I needed to accomplish came about because I decide to import my (rather large) CD collection onto my new (also rather large) external hard drive; I used Apple’s … |
|
All my (programming) life I’ve been plagued by timing problems! I assumed (haha) that when I changed from a pervasively multitasking OS to Vista I would escape the problem but it seems like I must be missing something. My problem lies in WhichChar. Note the line: 'MsgBox(vbNullString) If I leave … |
|
With this code: [CODE] Imports System.Text Public Class Form1 Public quoteStr As String = Global.Microsoft.VisualBasic.ChrW(34) Public illegalChar As Boolean = False Public asteriskReplacement As New StringBuilder(" ", 4) Public asteriskComboIndex As Integer = 0 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim keyboardCharacters As String() … |
|
Here is what I want to accomplish--I want a ListBox exactly like everyone else uses (almost always)! When the user mouse-clicks in the box and enters a keypress, the first item in the dropdown list, with that char as a first char, is selected. The values are restricted to those … |
|
I started working with computers in the late ‘60s doing hardware design. I built computers by designing the circuit boards using clock chips, XOR gates and AND gates etc.! I hired out the silkscreen creation, but otherwise did all the other work. After completing my BA requirements at UCSD, I … |
|
All these New Object()s are identical (and in fact, much longer!) How do I declare a single instance then reuse it in each ComboBox .Items.AddRange()? I am using Visual Studio 2008/Visual Basic. [CODE] verticalBarComboBox.Items.AddRange(New Object() {" single space", "- hyphen", " - <single space>hyphen<single space>", "` open single quote", "=", … |
|
Does this leak memory? [CODE]Dim Public strBldr As New StringBuilder("test", 5) ‘alloc a StringBuilder MsgBox(strBldr.ToString()) ‘use the StringBuilder strBldr = New StringBuilder("a", 2) ‘did the destructor of StringBuilder holding “test” 'free up its memory? [/CODE] As StringBuilder does not implement a Clear() method, and I am having timing issues with … |