Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ChewDoggie
  • Content: Threads
  • Order by date
  1. ChewDoggie

    Help with Select statement Substring

    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...
  2. ChewDoggie

    Find Occurances of one TimeSpan in another

    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 ...
  3. ChewDoggie

    Naive question about C# Class properties

    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...
  4. ChewDoggie

    Question about IIS in general

    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...
  5. ChewDoggie

    Implementing GetEnumerator

    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() {...
  6. ChewDoggie

    Updating a generic collection

    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...
  7. ChewDoggie

    HTTPHandlers

    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...
  8. ChewDoggie

    Registering a DLL

    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...
  9. ChewDoggie

    Registering DLL

    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...
  10. ChewDoggie

    Date-Time Problem in Canada

    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...
  11. ChewDoggie

    Help with sql connection

    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...
  12. ChewDoggie

    Execution of Script during installation ?

    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...
  13. ChewDoggie

    Append new column via a script

    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...
  14. ChewDoggie

    Delete section in INI File

    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.
  15. ChewDoggie

    Trouble Attaching a Database

    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...
  16. ChewDoggie

    Service App

    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...
  17. ChewDoggie

    Socket Assistance

    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...
  18. ChewDoggie

    Help Converting VB6 Code to C#

    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) '...
  19. ChewDoggie

    Creating a Service

    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...
  20. ChewDoggie

    VB6 IDE all messed up

    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...

Part and Inventory Search

Back
Top