Hello,
I have an .htaccess file that I'm using as a the base of router on a client site.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
As you can...
Hello,
I have some XML documents that are organized in a unique way.
The parts that I need to parse out into elements are <p> paragraph elements and <media> image elements.
The problem is that the two different element types are in different parts of the XML.
The <p> paragraph elements come...
Hello,
I have two compilers on my system and would like to switch environment variables when one of them starts up.
Visual Studio runs as the normal development environment, but I also have ‘Open WatCom’ to develop older C/C++/Win32/Dos/etc. style applications.
I'd like certain environment...
I'm modifying some SQL Reporting Services reports that present data from a Great Plains accounting system.
GP uses SQL Server as its datastore - ergo - Reporting Services.
Here's my dilemma:
Great Plains contains: three columns for phone numbers & one for fax numbers per customer and...
How do you determine any variable's data type.
i.e.
declare @my_money as money
declare @my_nvarchar as nvarchar(100)
select TYPE(@my_money), TYPE(@my_nvarchar)
Where TYPE(...) equals some function that returns the
data type and hopefully it's precision.
Darrell
Here's another newbie question:
I'm trying to return raw binary data to PHP from a COM object.
I can't seem to get the data into a variable for processing. It's just truncated. I assume PHP is seeing it as a boolean value.
How does one insure that binary data is actually returned to a...
I've created a COM object in Visual FoxPro for use with PHP.
I've verified it functions properly except for one
important issue: it doesn't change variable contents
passed by reference to methods in the COM object.
I've instanced the object in both C++ and VB to insure it
works as designed...
Many of us have tried to figure out how to get a sender's
email address when automating Outlook before version 2003
(SenderEmailAddress).
I was just playing around with this again today and came
up with a work-around to retrieve it, even though Outlook
2002 and below doesn't expose it in its...
I'm trying to get a result set of User tables and their objects in a particular order. I can get all the objects with the following select statement, but I'm unsure of how to order the result set the way I want it.
use Pubs
Select name,id,xtype,parent_obj from sysobjects
where xtype = 'U' or...
* Here's a little anomaly
* When the the go() method is called on CConcreteClass
* the hidden property "cKey" of oHidden2 is
* visible to CConcreteClass.
* cKey is not visible to CConcreteClass in any
* other aggregated object.
* At the outer "set step on" things are as expected
* hmmmmm...
* Function: InvertIntRGB()
* Descript: Inverts an integer RGB value
* Pass: R,G,B (Output i.e. Pass in by reference)
* They will contain the numeric (dec)
* RGB values upon return
*
* bDecString (Input)
* If .t., the function will return a
* comma separated, zero padded decimal
*...
Below you'll find two functions: IntToRGB and InvertIntRGB, which are relatively fast and may be of use.
They have no type or range checking, so passing valid values are essential.
Hope someone finds them useful.
Darrell
* Function(s) usage example
clear
local R,G,B, nInitialValue...
Does anyone know where to find information required to view and update the Database properties of the various shapes that can be added to a E/R diagram using automation?
Darrell
I'm automating internet explorer in both VB and Visual FoxPro.
I can't seem to get rid of the file saveas dialog no matter what I do.
Any ideas?
Thanks
Example.
Private Sub Command1_Click()
Stop
Dim o As Object
Set o = CreateObject("internetexplorer.application")
o.Visible = True...
I'm trying to compile an Active Directory example called:
"Example Code for Searching for Users" which is included with the Platform SDK. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/example_code_for_searching_for_users.asp
I'm junior with C++ so I'm a little in the...
Here's one I know others have experienced.
By mistake I've set the desktop with black text on black.
Not good...
I can log on as another user... by the way I have multiple logons, including domain adminstrators...
Anyway, how do I reset a users desktop while logged on as local or domain...
I'm trying to programmatically configure the address space
for an SMTP connector.
The connector; which is called "bad servers"; routes mail
that can't be sent directly, through our ISP SMTP account.
This works great, except I want to automate the addition
of new domains to the address space...
Hello:
I've got an interesting problem that hopefully someone has
encountered already.
I have a grid on a form with 3 columns.
The columns types are: DateTime, Text, and Date.
In the init() method of the grid I have the following code:
This.ADDPROPERTY("aDeletedRecs[1,1]",0)...
The following blocks keyboard and mouse input.
It won't stop a cntrl+alt+delete.
Make sure you unblock after it's no longer needed.
If not, no other app will be able to run until a reboot.
Darrell
Declare integer Sleep in Win32Api integer
Declare integer BlockInput in Win32Api integer...
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.