Forum: C++ Sep 23rd, 2009 |
| Replies: 2 Views: 225 OK, that might be enough for me to actually figure out what it is being used for here. I thought it might be some new C++ convention.
Thanks! |
Forum: C++ Sep 23rd, 2009 |
| Replies: 2 Views: 225 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:
wxString... |
Forum: VB.NET Feb 23rd, 2009 |
| Replies: 4 Views: 2,268 Private Sub RenameFile(ByRef fileNameFull As String)
Dim fileI As FileInfo = New FileInfo(fileNameFull)
If fileI.Exists Then
Dim binReader As New... |
Forum: VB.NET Feb 6th, 2009 |
| Replies: 5 Views: 455 I've had a similar problem and it ended up a variable scope situation. Try this as a test...
Create a global variable (I'm note sure where would be appropriate in your code, if the is a generic Form... |
Forum: VB.NET Jan 24th, 2009 |
| Replies: 3 Views: 1,014 I see. I am facing exactly the same situation here. I have an MP4 file which has meta-data embedded (tags--things like track title, artist etc.) and I want to remove one of the old tags and replace... |
Forum: VB.NET Jan 24th, 2009 |
| Replies: 1 Views: 323 These are both ready for deployment (I think :) !)
RenameSongs v0.0.0.2:RenameSongs4.zip (http://home.wavecable.com/~edgarmusgrove/RenameSongs4.zip)
tag2file v0.0.0.2:
tag2file3.zip... |
Forum: VB.NET Jan 24th, 2009 |
| Replies: 3 Views: 1,014 Each time you enter the sub you
Dim ACWriter = IO.File.CreateText("AccountRecords.txt")
which (at my best guess) creates a new text file, wiping out the old. I think you need to look into... |
Forum: VB.NET Jan 22nd, 2009 |
| Replies: 3 Views: 554 You might have to go into the properties of the app when installed on 64 bit and change to "run as 32 bit app" (or some such), look on the Compatibility tab. I run lots of 32 bit compiled apps on my... |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 13 Views: 691 That's at the top of my favorites and always open while I code! |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 13 Views: 691 I will need a concrete example to understaand that. |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 13 Views: 691 Ah, " finally code executed in all cases" that was very helpful info! |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 13 Views: 691 Ah, now I see! If I want a generic "catch all" I use:
Try
...
Catch exp As Exception
MsgBox("An error occurred while attempting to load a file. The error is:" +... |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 13 Views: 691 Ah, now I see! If I want a generic "catch all" I use:
Try
...
Catch exp As Exception
MsgBox("An error occurred while attempting to load a file. The error is:" +... |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 13 Views: 691 I'm a member at Sourceforge but do not find it user friendly. For me, as a seeker of sample code, not a single one of at least 15 VB.Net project I got there would compile and run! I think the major... |
Forum: VB.NET Jan 18th, 2009 |
| Replies: 13 Views: 691 I had not found codeplex--looks like a good resource for both mining and posting code. Thanks! |
Forum: VB.NET Jan 17th, 2009 |
| Replies: 13 Views: 691 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... |
Forum: VB.NET Jan 8th, 2009 |
| Replies: 3 Views: 496 I have (I think) determined the problem. My terminology is very rusty, but I think the word is “scope” (might now be a Namespace thing).
Here is what is going on…
The Form and the ComboBox were... |
Forum: VB.NET Jan 4th, 2009 |
| Replies: 4 Views: 1,821 Not quite what I am looking for. The "a" is already on the list of items, I do not want to add it. Think of the ComboBox in a web shopping cart--you are asked to fill in your credit card info...there... |
Forum: VB.NET Jan 4th, 2009 |
| Replies: 4 Views: 1,821 With this code:
Imports System.Text
Public Class Form1
Public quoteStr As String = Global.Microsoft.VisualBasic.ChrW(34)
Public illegalChar As Boolean = False
Public... |
Forum: VB.NET Jan 3rd, 2009 |
| Replies: 2 Views: 804 I had played about with various combinations of these but operator error bit me! I am doing file name creation based upon song titles; song titles occasionally have invalid (for file names)... |
Forum: VB.NET Jan 2nd, 2009 |
| Replies: 2 Views: 804 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,... |
Forum: Community Introductions Jan 2nd, 2009 |
| Replies: 0 Views: 219 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... |
Forum: VB.NET Jan 2nd, 2009 |
| Replies: 3 Views: 496 No, did not help. In fact made the problem 100%--with neither MsgBox nor Doevents it picks up three or four of the eight Listboxes. With Doevents it gets none!
-Ed |
Forum: VB.NET Jan 2nd, 2009 |
| Replies: 3 Views: 496 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... |
Forum: VB.NET Jan 1st, 2009 |
| Replies: 3 Views: 952 Thanks to both!
As this is my first VB project, I needed the code snippet. |
Forum: VB.NET Jan 1st, 2009 |
| Replies: 1 Views: 583 Does this leak memory?
Dim Public strBldr As New StringBuilder("test", 5)
‘alloc a StringBuilder
MsgBox(strBldr.ToString()) ‘use the StringBuilder
strBldr = New StringBuilder("a", 2)
‘did... |
Forum: VB.NET Dec 31st, 2008 |
| Replies: 3 Views: 952 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.
... |