Hi,
i'm trying to make  aprogram that will send data to ASP pages..

i can do that using the viewr
but with the viewr i get locked on it until the user clicks on the back buton..


is there a way to open the ASp sending the parameters from the aplicatiion withou the viewer?

or maybe a way to go back in the viewer or switch to may app without the user have to tap anything?

i'm trying the following right now to acesse without opening the viewer... but nothing happens

FormPtr frmP;
        UInt16 cardNo;
        LocalID dbID;
        UInt32 creator;
        int prefs;
        int Newprefs;
        UInt16 prefsSize;
        Int16 version;
        UInt16 prefID=0;
        Err err;
        UInt16 libRefNum;
        UInt16 indexP;
        MemHandle inetH;
        MemHandle *sockHP;
        INetConfigNameType InetCfgName;
        Char *url;
        Char *buffer;
        UInt32 actBytesP = 0;


url = (char*)MemPtrNew(200);
StrCopy(url,"http://theurl.com.br/thepage.asp";);
err = SysLibFind("INet.lib", &libRefNum);
StrCopy(InetCfgName.name,inetCfgNameDefault);
err = INetLibConfigIndexFromName (libRefNum,&InetCfgName, &indexP);
err = INetLibOpen (libRefNum, indexP,0, NULL,NULL, &inetH);
err = INetLibURLOpen (libRefNum,inetH,(unsigned char*)url,NULL, sockHP,evtWaitForever,0);
err = INetLibClose (libRefNum,inetH);




thnx a lot

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to