|
I work with the site in local host... and the PC is installed with arabic language too... I am able to type arabic (I cant understand it though ), and so... arabic is installed in the PC.... is there anything more to be done for this?
I was born intelligent Education ruined me!.
|
|
|
|
|
From Control Panel -> Regional Options -> General tab...
Make sure that Arabic is checked on the LANGUAGE SETTINGS FOR THE SYSTEM
This is in win2000. It should be similiar on XP or win2000 Server
If this doesn't fix the problem... I don't know what else might be
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
theJazzyBrain wrote:
If this doesn't fix the problem... I don't know what else might b
Oh dear.... I am helpless now.... your suggestion, was already tested by me....
I was born intelligent Education ruined me!.
|
|
|
|
|
I am very sorry, I dont know what else to suggest
But if I find anything I will let you know coz I work alot with English and Greek web sites.
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
theJazzyBrain wrote:
But if I find anything I will let you know coz I work alot with English and Greek web sites.
That will be of great help... thanks...
I was born intelligent Education ruined me!.
|
|
|
|
|
If you dont mind.. can u send the contents of the < head > tag in your site... may be, that will give me an idea, if I am missing something there...
Thanks
I was born intelligent Education ruined me!.
|
|
|
|
|
Greetings.
I just wanted to know how i can get the ID of the last record in the Database using ASP
The most similar thing i have found is
objRS.open "SELECT Top 1 id, FROM links
And i have also found a record count, but that would give me trouble if a record is deleted.
Any help will be appreciated
Santiago
|
|
|
|
|
If the ID is an incrementing number you could get the last one by using this SQL statement:
SELECT MAX(ID) AS LAST_ID FROM LINKS
This will return a recordset with the max number in the field ID of the table LINKS and give it an alias of LAST_ID ...
objRS("LAST_ID")
Wally Atkins Newport News, VA, USA
|
|
|
|
|
I am new to COM. I have been trying to incorporate the WebBrowser control into an MFC program. I have been using as an example and article from MSDN -http://www.microsoft.com/mind/0798/webbrowser.asp.
In this example VBScript is used. I have been trying to use JavaScript instead. I am unable to change a value with a COM method when I pass a value from Javascript;
IN VBSCRIPT:
sub get_property_value_onclick()
i=window.external.get_propert(property_name.value, value)
if i<>0 then
property_value.value=value
MsgBox property_name.value & " = " & value, 0, "Successfully retrieved property"
else
MsgBox "Cound not find value for property '" & property_name.value & "'", 0 , ""
end if
end sub
In Javascript:
function get_property_value_onclick(namevalue,value)
{
var value = "test";
var i = window.external.get_property(property_name.value,value)
if (i != 0)
{
property_value.value=value;
var strMsg;
strMsg = "Successfully retrieved property:" + property_name.value + " = " + value ;
alert( strMsg);
}
else
{
var strMsg;
strMsg = "Could not retrieve" + property_name.value + " = " + value ;
alert( strMsg);
}
}
The COM Method:
HRESULT my_application::get_property(LCID lcid,
WORD wFlags,
DISPPARAMS* pdispparams,
VARIANT* pvarResult,
EXCEPINFO* pexcepinfo,
UINT* puArgErr)
{
if (wFlags & DISPATCH_METHOD)
{
if (pdispparams->cArgs!=2)
{
return DISP_E_BADPARAMCOUNT;
}
// force to string
VARIANT arg1;
VariantInit(&arg1);
HRESULT hr=VariantChangeType(&arg1,
&pdispparams->rgvarg[1],
0,
VT_BSTR);
if (FAILED(hr))
{
*puArgErr=1;
return hr;
}
string str;
com_util::bstr2string(arg1.bstrVal,str);
// try to find element
string2variant_map::iterator it=propertymap.find(str);
if (it==propertymap.end())
{
if (pvarResult)
{
V_VT(pvarResult) =VT_BOOL;
V_BOOL(pvarResult)=FALSE;
return S_OK;
}
if (!pexcepinfo)
{
return E_INVALIDARG;
}
// raise exception
memset(pexcepinfo,0,sizeof(EXCEPINFO));
pexcepinfo->wCode =1001;
pexcepinfo->bstrSource =SysAllocString(L"WebBrowser Demo");
pexcepinfo->bstrDescription =SysAllocString(L"No entry for the key");
return DISP_E_EXCEPTION;
}
hr = VariantCopy(pdispparams->rgvarg[0].pvarVal,&(*it).second);
if (pvarResult)
{
V_VT(pvarResult) =VT_BOOL;
V_BOOL(pvarResult)=TRUE;
}
return S_OK;
}
return DISP_E_MEMBERNOTFOUND;
}
The function VariantCopy(pdispparams->rgvarg[0].pvarVal,&(*it).second);
returns a bad varibale HRESULT. Bu tit works OK in VBSCRIPT. Any idea on how to solve this?
thanks,
RAM_MR
|
|
|
|
|
Greetings. My question is in regards to DSN connections. I need to set the browser permissions to RWD in order to create and update the database. However, this means that any person that knows the full address of the database can get access to it. Is there a way to prevent this other than setting a password to the database, as I have other files in that folder?
THank you
Santiago
Santiago Suárez R.
|
|
|
|
|
check this out:
http://www.canhost.ca/asp.html
regards,
Christian Toivola
|
|
|
|
|
PLEASE HELP IN FINDING OUT SOLUTION . A LOGIN PAGE WITH
CUSTOMER NAME ADDR PHONE NO AND EMAIL ID AND ON SUMISSION IT SHOULD LINK TO ANOTHER PAGE CONTAINING THE DETAILS OF THE CUSTOMER AND INTIMATING HIS SUCESSFUL REGISTRATION.
|
|
|
|
|
JOTD's are better shared in the lounge...
So few words, and yet so precise! Megan, you're a poet of mathematical accuracy! - Jörgen Sigvardsson
|
|
|
|
|
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
You can be such an evil cow!
Nice!
"I have a strange ginger man living on my roof!"
"One of the most important things you learn from the internet is that there is no ‘them’ out there. It’s just an awful lot of ‘us’."
-Douglas Adams
Jonathan 'nonny' Newman
Homepage [www.nonny.com] [^]
|
|
|
|
|
Jonny Newman wrote:
You can be such an evil cow!
Nice!
So few words, and yet so precise! Megan, you're a poet of mathematical accuracy! - Jörgen Sigvardsson
|
|
|
|
|
http://www.sitepoint.com/articles/770/33
srikanth
|
|
|
|
|
What a JOTD???
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
Hockey wrote:
JOTD
Joke Of The Day.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
Ahh....
now it makes sense...
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
http://www.jsptut.com/Loginforms.jsp
http://www.jguru.com/faq/JSP
check out these sites u may get some useful info
|
|
|
|
|
http://www.sitepoint.com/article/770/33
http://www.sitepoint.com/article/305
http://forums.devshed.com/archive/9/2002/01/4/29371
check these sites it there is source code in the first link,
and other two r tutorials
Srikanth
|
|
|
|
|
so far, I've stumbled across godaddy.com for a domain name @ 9/yr and
edatarack.com for decent hosting @ 3/mo...
This is for a simple little website - nothin fancy...
Am i on the right track?
Thanks
...Steve
|
|
|
|
|
Check out tophost.com
You can find a hosting company which fits your exact needs i'm sure
Cheers
"Two wrongs don't make a right, but three lefts do!" - Alex Barylski
|
|
|
|
|
Yes GoDaddy.com for domains is good.
And for searching for Web hosts I like:
http://www.hostsearch.com/s_power_n.asp
Best regards,
J. Paul Schmidt
http://www.Bullschmidt.com - Freelance ASP Web Developer
http://www.Bullschmidt.com/DevTip.asp - ASP Developer Tips
|
|
|
|