34 Topics

Member Avatar for
Member Avatar for Reverend Jim

##vbScript - Identify File by Perceived Type Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. There are times when you want to operate on all files of a given type. For example, you may want to enumerate all files in a folder or a drive …

1
914
Member Avatar for BobFX

Hi, I have built a shell extension handler, using this as a template: https://code.msdn.microsoft.com/windowsapps/CppShellExtContextMenuHandl-410a709a In this instance, it registers with a ".ts" extension: hr = RegisterShellExtContextMenuHandler(L".ts", CLSID_LNtoALL, L"CppShellExtContextMenuHandler.LNtoALL"); The project compiles fine, and the registration works also. But on one PC, it fails to load (the context menu for .ts …

Member Avatar for BobFX
0
366
Member Avatar for bijutoha

What do you think about domain extention like **.com, .org, .net etc.** touch any SEO value? Thanks for your time.

Member Avatar for Daniel_38
0
281
Member Avatar for J.C. SolvoTerra

>Take Heed There are lots of things to be aware of with the Windows Registry. In most cases the best thing to be aware of is that ideally you should avoid playing with it at all costs. Alas, we are what we are and we do what we do. My …

0
1K
Member Avatar for Reverend Jim

Sometimes you want to add a little functionality to an existing class but you don't want to go to the trouble of sub-classing. A technique that you can use is known as **Extending**. For example, I frequently use regular expressions when working with strings. Wouldn't it be nice if strings …

Member Avatar for ddanbe
1
373
Member Avatar for grafic.web

Hi, is more than a week that i try to resolve this error on my app but i can't... The problem is the following : I have a menu and submenu table and i show this records in this mageMenu.chstml (list of menus and submenus to generate the menubar of …

0
183
Member Avatar for CPT

First, to explain what I want to do: I have a folder structure like this: BSDS300\images\test\ -which contains JPEG files, and some other files(only .jpg files are of interest) BSDS300\human\color\ -which contains many folders, in which I have .seg files with the same name as the .jpg file Example: BSDS300\images\test\3096.jpg …

Member Avatar for RikTelner
0
370
Member Avatar for CoilFyzx

Heelloooo good day. Thanks for seeking to help. I am creating a Java program(obviously). At the end of my work I wish to install it as (a)an .exe file. However I wish that after its installation, file type association would have been setup automatically(I phrased that latter part of the …

Member Avatar for stultuske
0
301
Member Avatar for CoilFyzx

Oh boy They ust be tired of me now. My trouble: I have two ArrayLists of custom classes. ``ArrayList<Subject>` **a**` ``ArrayList<Student>` **b**` Within those custom classes are other custom classes which themselves have primitive data types as well as an ArrayList of other custom classes. It's a big circus going …

Member Avatar for JamesCherrill
0
562
Member Avatar for anas.man
Member Avatar for CoilFyzx

Good day folks. Problem: My program needs to import data from a database and display them in a table then manipulate and display the data in various ways. That bit is solved the next part is where I need help. The program then needs to save locally... 1. the newly …

Member Avatar for CoilFyzx
0
399
Member Avatar for reececropley

Hi, I have a extension in my opencart store that uses a .csv file to import data into products. The .csv file is a stock inventory list from a tyre manufacturer. The extension uses a string value of the image filepath that get inserted into the database. The issue I …

Member Avatar for reececropley
0
368
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to goto the direct link of a file (eg. http://example.com/files/test.txt) and for it to download insted of loading and displaying the file. I want to do this for every file in the "files" folder and only that folder.

Member Avatar for joshl_1995
0
204
Member Avatar for CoilFyzx

*I know that this may seem like a re-occuring question, but I can't seem to find anyone who has asked this question in a very succinct manner. They always seem to beat around the bush, instead of clearly expressing themself.* **Here is the situation:** I have an application called S.M.A.R.T. …

Member Avatar for JamesCherrill
1
371
Member Avatar for Checkerboz

Hi, not too sure if Web Development is the right place for this but anyway: I've never done any web development and I have never created a Firefox extension either but here's the thing: I am making a project for myself, a Java (not JavaScript!!!) program that can add, change …

Member Avatar for Checkerboz
0
317
Member Avatar for chandbasha

Hi, PHP 5.2.17 (cli) (built: Sep 1 2011 17:22:41) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies [root@ip-10-130-243-182 mnt]# yum install php-pecl-memcached-2.1.0-1.el6.remi.x86_64.rpm Loaded plugins: fastestmirror Repository base is listed more than once in the configuration Repository updates is listed more than once in the …

Member Avatar for maba001
0
557
Member Avatar for opman234

Please help me, I want to enable ajax extensions in my tool box. This is my first time I want to use ajax extensions. When I click show all on the toolbox, it show the ajax extension panel but the control can't be drag to the form, please kindly help …

Member Avatar for opman234
0
181
Member Avatar for Michael27

This tutorial is about extension methods in c# **What is an extension method** Sometimes it is necessary to add functionality to a library for which you do not own the source code and where using inheritance to subclass functionality is not viable. This problem can be overcome with the careful …

0
169
Member Avatar for m1234ike

Hello Daniweb, I need to write a program to change the extension of all the files in a folder from a certain extension to another. My code is shown below, however, I have one problem: i.e. Say we want to change all files with the extension "*.tx" to "*.txt" but …

Member Avatar for Reverend Jim
0
1K
Member Avatar for valestrom

Basically what I want to do is when the user browses and finds the file he wants to add the extension to I use a button click to add a .NOPE extension or something like that. I have no idea how to get it to find the end of the …

0
138
Member Avatar for Sawamura
Member Avatar for Sawamura
0
312
Member Avatar for LDJ95

Hi all, I apologise in advance if this is too simple, but I've been searching around for a good hour or two now, and I can't quite get my head around this. Basically, I'm looking to teach myself Python (3), and one of the things I'm trying to do is …

Member Avatar for LDJ95
0
844
Member Avatar for razamughal67

Hello EveryBody i want to change a file extention property in visual basic 6 Example; i have a File test.txt or test.jpg what we want ? and we use a command botton and two textbox Text1.text = "C:\test.txt" 'Textbox 1 is my file path Text2.text = ".pdf" or ".psd" ' …

Member Avatar for razamughal67
0
1K
Member Avatar for jbutardo

Hi, I have this fileupload in my program and I want to set it's extension to .xls only, Is it possible? If yes, how can I set it so it's file filter will only be .xls? Thanks

Member Avatar for jbutardo
0
192
Member Avatar for killbill07

I just want to know about the new extension in Access 2010. I need to create a database with .mdb and I can't do it with Access 2010 'cause the new extension is .accdb or something like that (I don't remember :$) As you can see, I don't use it …

Member Avatar for ChrisPadgham
0
226
Member Avatar for rakwel10

I want to get the [B]file extension only[/B] of a file. e.g. "myfile.jpg", I want to put in a variable the string ".jpg". How?

Member Avatar for diafol
0
123
Member Avatar for ferat_tes

Hello, I need to write an extension for Chromium Browser. First i will just write a code to change the proxy. After that i will write all the extension. But i could not use proxy API. I write this code on the background page of extension but it did not …

0
318
Member Avatar for iThaos

Hi, I was wondering whether it is possible to use a parent class' properties without calling its constructor. In the following example: [CODE]<?php class Shop { public $location; public function __construct($location = ''){ if(!empty($location)){ $this->location = $location; } else { $this->location = 'a place far far away'; } $this->location .= …

Member Avatar for iThaos
0
211
Member Avatar for Aholiab

Does anyone know what the *.!11 extension is? I'm getting hundreds (over 1100 an hour ago) of files with numeric filenames and the !11 extension. I opened it with notepad++ and mostly it was code, but "Sketchpad" was in the text. I have no such application, so far as I …

0
146
Member Avatar for MDGM

Hi all, I'm making some changes to a google chrome extension I made and am having some trouble. Heres my code on a content script page (removeAttr.js) : chrome.extension.sendRequest({greeting: "whitelist"}, function(response) { var whitelist = response.whitelist; console.log(response.whitelist);//working }); alert(whitelist);//alerts "undefined" How do I acess the whitelist variable from outside the …

Member Avatar for Airshow
0
4K

The End.