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 strongm 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: *

  1. AbidingDude

    libcurl Basics

    I'm just beginning to learn libcurl. I'm a little confused on the callback function parts - both for CURLOP_WRITEFUNCTION and CURLOPT_READFUNCTION. The help file (for READFUNCTION) says: "...The data area pointed at by the pointer buffer should be filled up with at most size multiplied with...
  2. AbidingDude

    replaceChild() and Keeping Relationships

    I'm working on a form. The form is a table with pieces of equipment in one column, and the readings from that equipment in another column (plus a few others). The equipment ID's are hard-coded into the form. Sometimes one of these pieces of equipment malfunctions or has to go out for repair, so...
  3. AbidingDude

    One Constraint for Multiple Columns

    I'm working on something for the Inspection area at work. They get these containers of small plastic spheres that get inspected. They measure the diameter with a set of calipers and record it on a paper report. I'm working on a database for them. They always measure 10 and average them out. So I...
  4. AbidingDude

    Where Does The "name" Attribute Stand?

    I've been away from JS for a while. I'm getting back into it for a project. The last time I remember working on something form-related. I remember reading back then that the getElementsByName() method was deprecated for everything except forms. I go back to w3schools today to refresh my memory...
  5. AbidingDude

    Newbie Apache Cache Question

    I'm not great with web servers, and I'm especially new to Apache. (The only other web server I used was Abyss in Windows.) I copied a couple html files from my old Windows drive to the Linux Apache directory. Loaded it. Realized I needed to update a path to a JS file. When I refreshed, I saw no...
  6. AbidingDude

    Loading From A CSV File

    I'm fairly new to MySQL. I'm using version 8.0 on Linux Mint 20. I'm trying to fill a table with a csv file. The csv file is on another drive, so I used the following to load the table: LOAD DATA LOCAL INFILE '/path/to/file/whatever.csv' INTO TABLE my_table LINES TERMINATED BY '\r\n'; I forget...
  7. AbidingDude

    Dynamically Create A Table

    Eons ago I wrote an app for the machine shop I worked in. Without getting into too much detail, it takes a metric measurement, and a category (H12, r6, c9, F10, etc), looks up the dimensions for that category, and gives the results in millimeters and inches. I wrote it as an HTML form. The form...
  8. AbidingDude

    formX DOM Object?

    Hello, I'm trying to help out IT a bit. We had someone years ago write our purchasing system. They left years ago and left us to figure out the source code. It was written back in approximately 2005. I'm still fairly new to JavaScript, but as I'm going through the code, I keep seeing an object...
  9. AbidingDude

    Using My Libraries in Linux

    I started bringing all of my C libraries and projects to my Linux drive. Currently I'm using Windows and the ancient Borland C 5.5 compiler. (I know. It's old, but I know it really well and it's free.) To configure the Borland compiler to automatically look in my homemade libraries directory, I...
  10. AbidingDude

    Installing .NET 3.5

    I recently installed Windows 10 onto a new SSD. I'm trying to install Sony Vegas Movie Studio 11 which I had on my old drive. It requires .NET 3.5 (or maybe just 2). I have not had any luck installing it with any of the various methods I've read about. I tried it through "Windows Features"...
  11. AbidingDude

    strcpy and strncpy safety stuff

    So, the ability to overflow with strcpy() is fairly obvious, and I see how strncpy() isn't the best answer. It won't necessarily null-terminate, and it'll wastefully pad with NULLs. Also, these functions don't offer any kind of error reporting. What about this for a safe string copy? It copies...
  12. AbidingDude

    Uploading Binary Files

    Hello, I'm relatively new to CGI programming. I just finished several routines learning how to parse query strings. (Coded in straight C.) Now I'm trying to learn about multipart/form-data. I thew together a quick HTML form with some text fields and a file upload button and attached a simple...
  13. AbidingDude

    Cannot Execute After Adding to PATH

    I hope this isn't too general a question, but, I added a directory to some executables in the system path, but I'm still getting: 'blah' is not recognized as an internal or external command, operable program or batch file. I've checked PATH. It has been appended to the end. The path is not too...
  14. AbidingDude

    Changing Default Path for Scanned Files

    We recently replaced our old printer with an HP Officejet 7612. After installing the HP Printer Assistant software, the first thing I did was scan a few documents for an oddball job. I put them in a not-too-frequently used folder. Now that I'm scanning more of our usual documents, I'm putting...
  15. AbidingDude

    Another Design Question

    Hello, I'm trying to set up a database for the shop I work in. I want to start tracking defects. Currently, when we have a defective part, we have to fill out a paper defect tag and keep it with the part. I'd like to get all this info in a file. There are two aspects to the defect tag - the...
  16. AbidingDude

    Windows 8 Won't Boot

    So for whatever reason, my wife's computer won't boot up. It gets as far as the windows logo screen (the blue, angled Windows logo with the circle-of-dots spinning below), then the screen goes black. But, if I move the mouse the pointer appears, just on a black screen. I tried putting in the...
  17. AbidingDude

    Interview with Brian Kernighan

    I just thought it was cool to see an interview with one of the creators of C: https://www.youtube.com/watch?v=de2Hsvxaf8M
  18. AbidingDude

    Aspect Ratio and Old Program

    So I was able to install a very old program (circa '97/'98) onto a Windows 7 machine. The only problem is that this program was intended to be used with an old 4:3 monitor, so the graphics are stretched. This is a problem because it's design software, so I need my circles to look like circles...
  19. AbidingDude

    Determining MP3 Length

    So I've just spent a good chunk of time learning the basics of ID3 tags. I was able to make a basic routine to read them. The main purpose of that was to specifically look at the TLEN frame. I wanted to make a simple routine to determine MP3 times and add them up. After playing around with a few...
  20. AbidingDude

    CGI Strangeness Across Platforms

    So I've gotten a start writing CGI programs in C. I've been trying to learn how to process form data, and I have a few of the basics down. I installed Abyss web server on both my Windows PC and Ubuntu laptop. I've been doing the coding on my Windows PC and then copying it over to my laptop...

Part and Inventory Search

Back
Top