Hi. I want to split a string like this: '999 #998 #994 #', by the '#' character into an array, that in this case will have 3 positios. How can I do this? (Please describe all the comands, including the array declaration. I´m totally newbie in Fox Pro). thanks for your help.
How can i split a string by using a single character? Is there a function for that?
For example:
HOW-ARE-YOU-?
I want to split this string in four words, using '-' as a separator.
Thanks.
Iam writint some strings into a file, using the FWRITE() command. When Iam writing the last string in the line I use the FPUTS() and then i continue using the FWRITE(). Anyway the FPUTS() is not breaking the line.
Do you have any other solution for this? Or, what´s wrong in what Iam doing?
Tks.
I am trying to write a string into a file in my PC, using FOXPRO 2.6. My code is:
_path = "C:\Projetos\SINTEGRA\Sinteg.txt"
HANDLE=FOPEN(_path)
if HANDLE > 0
BYTE = "HI!!!"
=FSEEK(HANDLE,0)
=FWRITE(HANDLE,BYTE)
=FCLOSE(HANDLE)
endif
This code never enter in my IF. Iam sure...
I have a table that has a column called "status". I'm trying to select some fields of my DBF table through the Foxpro software. My select is something like this:
SELECT * FROM TABLE WHERE STATUS = ""
But I've noticed that it is returning all status situation. Maybe it's because "status" is a...
Iam trying to create an index in Fox Pro. I found out that a good solution would be: create an index converting the actual sysdate to an integer. But I can´t find any function that does it. Can anyone help with this problem?
Do anybody know how can i convert this or how can I create an index...
I am implementing an instante messaging application using Java with Corba. I want my server to store the information about the users.
When a Client run the application for the first time, he has to subscribe himself at first. This means that an new client object must be instantiated in the...
Hi. I'm trying to execute a Hello World example in CORBA in Java. My server goes well, but my client is returning this error message:
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at...
my main have this code:
System.out.println("Before:");
celes.print();
cassino.print();
editor.editProperties();
System.out.println("After:");
celes.print();
cassino.print();
my "editor" class is a JDialog that was set to be...
<input name="imageField" type="image" src="images/bt_adicionar.gif" width="78" height="18" border="0" onclick="location.href('cadastrar_usuario.asp')"/>
I want to open the page 'cadastrar_usuario.asp' in the same frame. But...
I have this procedure:
CREATE PROC proc_copia_pontos
AS
BEGIN
SET NOCOUNT ON
DECLARE @count INT, @i INT, @tab_ponto TABLE ( latitude nvarchar(200), longitude nvarchar(200), precisao INT, dtponto DATETIME, idpontoOrigem INT, flagCorrecao INT )
INSERT @tab_ponto
SELECT latitude...
I have this stored procedure but it is wrong:
I got this error message:
Line 30: Incorrect syntax near '@id_ponto'.
How can i fix that?
CREATE PROC proc_grava_dados_sti
@id int,
@identificador varchar(200),
@data datetime,
@latitude varchar(100),
@longitude varchar(100),
@velocidade int...
Iam trying to do a servlet that uses some java classes (all this java classes are into the same package)
I did a servlet example and compile it into the directory classes, and it work fine.
When i tryied do create a new subdirectory of "classes" and put all my java there and also my...
I want to have in my table just the 150 newest records and delete all the rest. But my table is very big and ill declare a row count to do it in steps or it will fail. Does anybody know how can i do that?
I want to delete old records of a table, because this table is very big and it will increase very fast from now on. This table has a column for date, and i want to have in my table just the 150 newest records. The point is that my query has to be optimized because my table is very big, or the...
Iam trying to pass a cookie to another weg page, so iam doing this:
'First iam creating the object responsible for that
Set objXml = Server.CreateObject("Microsoft.XMLHTTP")
'Then iam storing all the header in a variable named cookie
cookie = objXml.getAllResponseHeaders ()
'Iam...
I want to retrieve the session cookie in the client side.
I found out a script called IHTMLDocument2 that can do exactly this.
I have one example:
Dim objDoc As IHTMLDocument2
But i have an error message: Microsoft VBScript compilation error '800a0401'
Expected end of statement...
How can i fecth the content of an url (thats not stored in my web server) and return it to my asp page ( the one who is responsible for calling this url)?
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.