Wednesday, October 17, 2007

How Long Off Work Witha Chest Infection

WebDev - Retrieve the User's Windows user name

If you enter this URL: http:// localhost /? user =% USERNAME% you will see the username in the URL of the post. (Only available in IE)

It is therefore possible through a Java applet to retrieve this information. In the LST 68 page 35, Example WD FTP applet can do.

In the applet function RéseauUtilisateur () to retrieve the Windows user name.

In the site WebDev Javascript function to retrieve the value of the variable.

p , class: MsoNormal

Wednesday, September 12, 2007

Bro Touching Boobs Of Sis While Wrestling

Buy online: PCSOFT launches online ordering

I just saw on the website of PC SOFT, the ability to purchase products online.
On the tariff, we can build a shopping cart and pay by credit card via paybox.

Since the time we waited for this opportunity is a reality.

Monday, September 10, 2007

Christopher Columbus Ships With Labeled Parts

Create the database on MySQL with WinDev, WebDev

did not find how to create the MySQL database with native access, I reported on the ODBC connection
When connecting with native access, you must specify the database name. It is therefore necessary to use PHPMyAdmin or SQLylog to create the database.
I wanted to programmatically create the database and run the script tables. The SQLConnect

can perform this treatment if you use the ODBC connection.

Here is the code for creating the database:

id is an integer = SQLConnect ("MysqlODBC", "root", "mdp ODBC ","","" hODBC)
IF 0 THEN id <>
sNomDatabase is a string = "Database"
/ / create the database
sSql is a string = "CREATE DATABASE IF NOT EXISTS% 1" =
sSql ChaîneConstruit (sSQL, sNomDatabase)
/ / execution of the request IF NOT
SQLExec (sSQL, "REQ") THEN
SQLInfoGene ()
Error ("The Database could not be created. Error code:" + SQL.Erreur + RC + ...
SQL.MesErreur )
END ELSE

/ / The Connection failed: displaying an explanatory message
SQLInfoGene ()
error ("Connection to data source" + "localhost" ...
+ "failed." + CR + ...
"Error Code:" + SQL.Erreur + RC + ...
SQL.MesErreur )

END / / In all cases (connection OK or not)
SQLDéconnecte ()

Then you can use the "* H" with native access MySQL. One can
binding, because it must be ODBC drivers installed on the computer.

Monday, August 13, 2007

What Skate Does Alex Ovechkin Wear

Judgement Support for PHP 4

A news appeared on PHP index indicates stop supporting PHP 4 December 31, 2007.
We'll have to think about upgrading to PHP 5.

Hoping that the next version of WebDev supports version 5 of php.

Thursday, August 9, 2007

Ikusa Otome Watch Online

WebDev 11. Dynamic image data directory.

In the online help states that for an image of dynamic type, the images must be in the directory or subdirectory _WEB thereof.

However, on deployment, the Internet has not invited the writable directory _WEB.

Therefore, when an administration page allows the Webmaster to modify and change images, it is necessary that they are in the data directories or single directory called the Internet rights read / write.

Unfortunately we can not access this directory in code browser, because the function is available only WLanguage fRepDonnées server code.

Moreover, if the image type is set dynamically, even in server code, there must be a relative path to display an image.


Solution 1: Create an alias or virtual directory to the directory data.

In Apache 2.2.x will create the alias as follows in httpd.conf

\u0026lt; Directory "C:/temp/Test_Image_Timer/Exe/DATA/" &gt;

Alias /DATA/ "C:/temp/Test_Image_Timer/Exe/DATA/"

Order allow,deny

Allow from all

&lt;/ Directory&gt;

NOTE: For testing I created an alias on a sub folder of the exe project. Be deployed directory is a directory data described in the account creation WebDev.

PS: for those who use CCHerbergement, it will create in IIS a virtual directory from the console of additional web server configuration.

WebDev Then in the code we can write the following code:

The Image field type is dynamic

/ / initialization code of the page (server)

IMG_ Image1 = "../DATA/ImgAcc/ImgAcc01.jpg"


Solution 2:

Edit rights to a subdirectory of the directory _WEB. This means to ask his host modification.


Monday, August 6, 2007

Close Eyes In Tanning Bed?

WinDev 11. Stored Procedures MySQL 5.x

To use stored procedures with MySQL 5.x, you must first have access native MySQL latest version. Ie version 46b.

You will find the native access to the following address:

http://www.pcsoft.fr/st/telec/modules-communs-11/mysql.htm

Either a client file:

Version: MySQL 5.0.45

- Sample stored procedure with parameters:

1 - Create the stored procedure on the server

s Proc is a string = [

"DROP PROCEDURE IF EXISTS` `procstok. Simpleproc1` `;

simpleproc1 CREATE PROCEDURE (OUT param1 INT) BEGIN SELECT COUNT (*) INTO param1 FROM customer; END;

]

scReq is a Data Source

/ / Execute the query

SI NOT HExécuteRequêteSQL ( scReq , MaConnexion1 , hRequêteSansCorrection , s Proc ) THEN

error ()

ELSE

Info ( "stored procedure created" )

END

2 - Run the stored procedure:

sd Req is a Data Source

IF NOT HExécuteRequêteSQL (sd Req , MaConnexion1 , hRequêteSansCorrection , "call simpleproc1 (@ a) select @ a;" ) THEN

error ()

ELSE

Info ( "Won" )

/ / Read the result of the procedure

HReadFirst (Sd Req , hSansRafraîchir )

Trace (sd Req. @ a)

END

NOTE: Constant hSansRafraîchir can not re-execute the query.



Thursday, June 28, 2007

The Best Way To Ulcer

NMCC very helpful. Target Code-Conditional

The newsreader (LST 68) Integrated PC SOFT publishers in really handy if you use the option "Show unread messages only "because I had put in a message followed regarding the calculation of key recommended that letter dated April.

Recently a response been made. So I have been notified and most messages will appear in the list. No need to search, everything is there.


Hair Weave Like Myammee



Very useful when creating procedure used in WinDev, WebDev and WinDev Mobile.

Code-Conditional Target allows e put a different code depending on the chosen platform.

So create a procedure in WinDev, with the use of function not available in WebDev can be used with the target code.

Example the "Dialogue" is not available in WebDev. Therefore we will WinDev following codes.

Tip: Try not to add support for code areas target conditional.

Thursday, May 10, 2007

Letter For Accomodation Allowance

WebDev - How after server code use the NavigateurOuvre?

How to open a Web page after treatment in server code?

must use the NavigateurOuvre. However, this feature is only available in browser code and not in server code.

The trick is to use a hidden field, which will act as boolean.
In server code, it performs the desired treatment, then we assign to a hidden field.
Then in the onload code page, use the following syntax: IF

SAI_MonChamp <> 0 then
NavigateurOuvre ("http://www.monsite.fr)
END

Wednesday, May 2, 2007

11 Days Late Negative Pregnancy Test No Symptoms

Style CSS and WebDev 11

As it does is not specified in the doc, here's how the CSS code in the description of a field.

Take the link field, for example. You have to go in describing the link in the Style tab.
Then click on "Edit".
Then in the description of the style in the CSS tab, you will set a code of css rollover link.
Select Overview and put the code (example):
color: # 411;
background: # aaa;
border-bottom: 1px solid # 555;

Forget the syntax: "a {}" and put that attributes.
This is a rollover effect using CSS.

Thursday, April 26, 2007

Indian Models Showing Breast

Updated WD Vehicle

An update is available. Some corrections and improvements have been made.

You can download the update at the following address: # http://progwdm.free.fr/ sect1.8.

Wednesday, April 25, 2007

How To Make Stiletto Heels

Retrieve an RSS feed in WebDev

To retrieve the contents of an XML file, you must use the HTTPRequest .

Here's the code:
is a string sURL = "http://nomDomaine.com/rep_du_Fichier_XML"

HTTPRequest (sURL , ProjetInfo ( piNomProjet )) / /
SRES is a string = HTTPDonneRésultat ( HTTPRésultat )

That SRES contains the XML feeds.
Then you must browse the file to extract items. The use of function "XML" makes it easy to get content.

There is a complete example in WinDev "RSS reader", procedures and classes are used in WebDev.

25 Birthday Invitation

Find information from the IP address

It may be interesting from an IP address, for the country, city and geographical coordinates.
This is useful for displaying information related to the city, or position the user on a map.
is possible with the project hostip .
Here is a collection of procedures for retrieve these info:

Statements global procedures:
News is an associative array (*, *, *, 4) chains

RecupInfos PROCEDURE (SIP is a chain) s is a chain


/ / We asked hostip. IF NOT
HTTPRequest ("http://api.hostip.info/get_html.php?ip =" SIP + + "& position = true") THEN Error
() ELSE

SRES is a string = HTTPDonneRésultat (HTTPRésultat)
/ / SRES has the form
/ / Country: FRANCE (FR)
/ / City: (Unknown city)
/ / Latitude:
/ / Longitude:
FOR ANY CHAIN s SRES OF SEPARATED BY Attrib (10)
Info [SansEspace (ExtraitChaîne (s, 1 ,":", DepuisDébut))] = ExtraitChaîne (s, 2 ,":", DepuisDébut)

END END PROCEDURE

Country ( )

RETURN Info ["Country"]

PROCEDURE Town () SEND

info ["City"]

PROCEDURE Lattitude () RETURN

info ["Latitude"]

PROCEDURE Longitude () RETURN

Info ["Longitude"]