I am trying to take a string like this: 3; 8; 11; 19; 22; 27;
And remove 19; from the string and piece it back together so it then reads: 3; 8; 11; 22; 27;
I have been dinking around with using Split() to do this with mixed results and I am just curious if maybe there is a better option.
I am just now moving from Visual Basic to Visual C++
One of the things I often used in VB was adding a Winsock style control for communicating with another app I would write. I am not seeing anything that jumps out at me in VC++ that does the same.
Could someone help me out with this? I should...
I am creating a job calendar and I want to have a separate table in an access database for each day. The simplest solution seems to be to just name each table as the current Calendar1.Value
I am having trouble however determining how best to query a table name based on a variable with a date...
I am working with the Ping code provided by Strongm in this post:
Thread
I am wondering however if this code does a standard command-line ping that sends four separate packets. If so, is there a way to check the individual success/failure of each of those four packets.
I am having an issue...
I know how to get the RecordCount of a Access table in vb6, but is there a way to get the RecordCount of a specific field only within that table?
I have three fields within the table (machine, device and misc). Just doing the basic .RecordCount command will return the record count for just the...
I am having an issue getting a single form .exe (hidden) to start as a service in Windows 7. I've never tried this before so I don't know exactly where the problem lies. Win7 says that the application failed to respond to the start or control request in a timely fashion. I did a quick search and...
My understanding is that VB6 comes stock with a control for Crystal Reports (Crystl32.OCX). I cannot seem to find it in mine. Could someone please post specifics as to the adding of it to a project?
Thanks in advance.
This is killing me, because I had it working before..
All I am trying to do is get a DataGridView to display the data from a Table in an Access 2007 Database (using VB2008).
I've created a Database and populated the first row with dummy data. I've added that Table as a data source into my...
I am attempting to upgrade myself from VB6 to 2008. I am having trouble however wrapping my head around how SQL is queried in 2008. It appears that gone is the way of assigning an ADO on the form and simply building query statements in a Data form that references the ADO. Everything appears to...
Can someone post a scalable example of encrypting a string of text that would be sent across TCP and decrypted on the other side? Any help would be appreciated.
The snippet of code below is pretty standard for appending new text into a rtb. How would I go about arranging it so that all new text is prepended to the top of the rtb rather than to the bottom?
Private Sub clientLogMessage(ByVal Message As String)...
I have an access database that has 10 fields label '0' thru '9'. When I set up a sql query to pull data from these fields rather than getting the field names listed correctly in the DataEnvironment it lists the 10 fields as Expr 1000 thru Expr 1009.
These are not the only fields in the Table...
I have an access DB with two identical tables and I'd like to be able to 'Select * From Table1 Where (date = sDate)'
And in the very same query also pull from the cloned table as 'Select * From Table2 Where (date = sDate)'
Using 'And' seems to just make it think its secondary criteria for...
I just have a one form app that when it completes it's routine I'd like it to simply rerun itself beginning with Form_Load. I'm sure there is a simple command I can utilize to do this, but I don't know it yet.
Any help would be appreciated.
If I have a string that looks like:
Phoenician,EP/S,,Phoenix,,,8/27/2009
What would be the simplest method to isolate out the relevant data between the commas that separate them?
Migrating myself over from VB6 and took an immediate interest in TabControl. I've read a bit on it and learned that it's a container that will display other controls. My question is, what about other Forms? To start with I am simply looking to have multiple forms that are all the same size and...
Is there any way to have Form tabs in VB6. As in, click on a tab at the bottom of a form and it displays another form in place of the first. I know it can be easily done with a button, but a tab seems so much more elegant.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.