Gmorning All,
I have a field in my sql db that contains data that might look like this:
System="Yes" testName="thisTestName" foran="twenty"
and I'm looking for a way to grab the string thisTestName from the field. Obviously, thisTestName is an example. The value could be any length of...
G'morning all,
I'm trying to determine how many times in a 24 hr day that that given timespan occurs.
So, if the timespan was 00:15:00 (15 minutes), then 15 minutes occurs 4 times per hour, 24 hours in a day, so a 15 minutes timespan occurs 96 times in a 24 hr day.
How do I calculate this ...
Hello All,
When working with properties, I'm used to seeing the following code:
public string FromAddress
{
get { return _someaddress; }
set { _someaddress = value; }
}
But lately I've seen some Properties defined like this:
public string FromAddress { get; set; }
Where are the...
Hello All,
I've been out of the Web-based development for about 10 years. So forgive me if this question sounds naive. I've done **SOME** web stuff since, but have mostly focused on desktop / service apps.
I'm interviewing for a C# web developer position on Monday and wanted to know what, if...
Hello All,
I have a Custom Class that is bound to several DataGridView controls elsewhere in my forms and is defined as follows:
namespace Collections.MyCollections
{
[DataObject]
public class clsGenericList : BindingList<clsGeneric>
{
public clsGenericList()
{...
Hello All,
I have a generic collection in a child Windows form and I need to pass the collection to the parent form. Does anyone know how to do this seemingly simple thing ?
I have a FormClosingEventHandler in the parent form that has the following code:
private void...
hello all,
This is complicated but I'll start with the first error I have encountered. Whenever a user would click on a link on our site to open a .wmv file, the user would always get a "file not found" error and the Windows Media player wouldn't launch.
To combat this, I created an...
Hello All,
I originally posted this thread in another forum (Visual Basic(Microsoft) ActiveX Controls and DLLs) but the questions in there are few and far between (last one in October, one befor that in July), so I'm reposting here.
I'm in the process of modifying an (VB6) ActiveX COM...
Hello All,
I'm in the process of modifying an ActiveX COM component and will need to (re)install it shortly. I'm concerned about the condition known as "DLL hell".
Can someone educate me about how to avoid this condition? If I'm just re-installing this component, can I just run regsrv or do...
Hello All,
I have an application that I developed here in the US but is being installed and ran in Canada. They're experiencing a problem with the Date-time functions in the application. I have an ini file where the application retrieves and stores a "last ran date/time" string.
I don't...
Gmorning all,
I could probably make this a shorter question but I thought perhaps that more information might be useful.
I have a "UI" application (contains Forms) that runs on a client's PC. It connects to an .MDF data file locally. The client uses this application to make system-wide...
Hello All !
Not sure if I'm in the right forum....I'm building a VB6 installation package to be installed on a client's machine. Some of the table's in their database need to be modified for the new app to function properly. Is it possible to execute some .sql or .bat files while my VB6 App...
Hello All,
I have added a few new columns to a SQL table during the development cycle and now have to create a script that accomplishes the same on my client's machine. I will not be there when this occurs, so it has to occur seamlessly.
how do I append columns to a Table using T-SQL (in a...
Hello All,
Is there a simple way to delete a section of an INI file ?
Thanks!
Chew
10% of your life is what happens to you. 90% of your life is how you deal with it.
Hello All,
I just got done installing SSMS 2008. I logged in and connected to the Server OK. I'm attempting to attach an .mdf database file and it barfs with "An Error occurred while attaching the database".
Of course, none of the links provided in the Advanced information screen help. One...
G'Day !
I'm having trouble connecting to a database from a Windows Service app that I'm writing. When I compile the app and then register it as a service via the 'sc' command at the command prompt and then attempt to start it, I get an error
When I check the event viewer, I can see the error...
G'morning !
Is there a way to Send Data via a socket control that's in a traditional string format, rather than a byte format ? OR maybe there's a different (3rd party) socket control out there that sends data like the old VB6 Socket control did ?
I have a machine on the other end that is...
Hello All,
I have the following VB6 code Function that I'm converting to C#:
Public Function ConvertString(SentString As String) As String
Dim i As Integer
Dim ckSum As Long
Dim bytSum As Byte
ckSum = 0
On Error Resume Next
For i = 1 To Len(SentString) '...
Hi All,
Is it possible to create a Service in C#? I'm talking about a service like the ones seen in Task Manager's "Processes" tab and not a Web Service.
Currently, I've written a Window's Form app that is not visible in the task bar and starts "minimized". I have a feeling this solution is...
G'morning all,
I came in today and started one of my VB6 projects, and when the IDE loaded, it was all discombobulated. The Project, immediate and Toolbox windows aren't docked and I can't get them to dock.
I tried right-clicking on the window and selected "Dockable" and then going into...
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.