107 Topics

Member Avatar for
Member Avatar for Lapixx

Hi, I'm using a simple .htaccess file to use a custom 404 error page: ErrorDocument 404 /errors/404.php Inside this 'errors' folder, there is the 404.php file, and an image, which I want to include in the 404 page. Anyway, when I request a non-existing page from the root folder, everything …

Member Avatar for bigtalk
0
258
Member Avatar for Kingcoder210

I need to know how can I use app path? I have a added Shockwave Flash Object control there in my program. However I have added AxShockwaveFlash1(swfla1) there in my form. I have written code there in Form_Load event so that swfla1 will get flash file(.swf) to play. Form_Load event …

Member Avatar for meffe
1
258
Member Avatar for g2gayan

Hello,.. Im a New Guy to this forum and 1st of all;... Hi :twisted: im a newbie to c# programming as well ,,, anyway.. i have a huge issue .. here is what s going to happen.. [CODE] if (txtPath.Text != "") { FileInfo fn = new FileInfo(txtPath.Text); string p …

Member Avatar for g2gayan
0
361
Member Avatar for niranga

Hi all, I am working on a PHP project. Im having a problem giving the 'src' for a image, because the image file is placed outside of the www folder :(. Let me explain more. When I log in to my server using FTP logins, it gives the directory structure …

Member Avatar for Owais_Khan
0
7K
Member Avatar for 42Wired

I'm trying to open a file (ifstream object), read from the file, then pass the ifstream object to a function where it will continue reading from the file. Along the way, I want to store the path of the file, and would like to know if there is a way …

Member Avatar for 42Wired
0
295
Member Avatar for Thew

Hello, I am encountering a problem when I try to connect to my webcam using CreateFile. Using the SetupApi, I found the interface path of my webcam: \\?\usb#vid_03f0&pid_5d11&mi_00#6&aad3e6&0&0000#{6bdd1fc6-810f-11d0-bec7-08002be2092f} According to the MSDN documentation I supposed that when I use this interface path in CreateFile, I will be able to read …

0
113
Member Avatar for Tango2010

Hi all, Im trying to use a variable as a path in C. For instance, the user enters a directory and this is used with the '*.*' notation attached so the program loops all files in the directory. I've got the PHP part of this code working in a separate …

Member Avatar for Salem
0
194
Member Avatar for kalyanponnala

Hi, I am using cmake to build a visual studio 2008 solution file. When I do all build it works fine, but when I try to run a certain target inside that solution its giving me errors like: fatal error: 'limits.h' file not found 'stdio.h' file not found 'reloc2.h' file …

Member Avatar for jonsca
0
327
Member Avatar for tchant

Hi All, I have a application that uses Delphi 200 bpl files - I know these can just be put into the c:\Windows\System32 dir and all will work - but is it possible to put them into a directory under the Application eg c:\Program Files\ DGL-Apps\IMS\_sysbpl ? It is just …

0
103
Member Avatar for lein.o16

how can i save the path of the picture i've browsed. i'm using vb.net as my front-end and ms access as my back-end. thanks in advance :)

Member Avatar for Max D
0
215
Member Avatar for robinotje

Hello everyone, I'm new to C / C++, and just wanted to make a file which can delete an item. The code worked, but when I want to give a path, it doesn't work anymore. Any help? [CODE] #include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\users\asus\new.docx"); …

Member Avatar for robinotje
0
187
Member Avatar for gianrocks

hey all, i have a project that is like a server and a terminal interface. the server is the one that can only make changes in the database and the terminal is more of storing what is in the database. here is the problem, i have stored a PDF file …

Member Avatar for Ranx
0
372
Member Avatar for chiko987

Hello, i have a function that starts searching for all files that match the given file name and Recursively traverses itself into sub directories and does the same thing and when a file is found i should output its path starting from the first directory that was given to the …

Member Avatar for death_oclock
0
136
Member Avatar for bdesc100

I am trying to add a path to sys.path fix an error importing numpy. If I do: [CODE]import sys sys.path.append('/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages') print sys.path[/CODE] then path that I just added shows up and import numpy works. However, if I restart IDLE and try to import numpy again, I get an error. How …

Member Avatar for vegaseat
0
4K
Member Avatar for vextorspace

when using the data_files option in my setup.py #!/usr/bin/env python import ctypes from OpenGL.platform import win32 from distutils.core import setup import py2exe import sys sys.path.append("dist") setup(options = {"py2exe": {"compressed": 1, "optimize": 2, "includes": ["ctypes","Tkinter","Numeric"], "excludes": ["OpenGL"] }}, zipfile = None, data_files=['msvcr71.dll', glut32.dll'], windows=['myprogram.py'] ) I get an error saying msvcr71.dll …

Member Avatar for vextorspace
0
275
Member Avatar for rajaseeth

Hi, I have the following string in a XML file.. [CODE]<pre>&lt;/BODY&gt;&lt;/HTML&gt; ------_=_NextPart_002_01C84D7E.9133E008-- Content-Disposition: attachment; filename="footer.txt" Content-Transfer-Encoding: base64 G:\Test\Attach\footer.txt --------------Boundary-00=_BLD1cvEPKmuNkgPvUNY3-- Content-Disposition: attachment; filename="Press.xls" Content-Transfer-Encoding: base64 g:\Test\Attach\Debankan\Press.xls ------_=_NextPart_001_01C84D7E.9133E008-- </pre>[/CODE] I will pass the filename and i want to get the path from the above string.. [B]For ex.. if i pass "footer.txt" i …

Member Avatar for ddanbe
0
145
Member Avatar for ITech

I have created a windows application using C#. the problem is fairly simple. I doono how to refer to the Application path in c#. In Vb we can use App.path to refer to the Application path My C# code for opening a report is as [code=c#] public partial class frmSpaBill …

Member Avatar for serkan sendur
1
351

The End.