473,770 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

format of URL with asp variables - works in Firefox, not IE

I must have the format of the below line wrong for IE:

click <a href="cal.asp?s date=<% =strDate1 %>&location=<% =strLocation
%>&eTime=<% =strDate2 %>">here</a> to add this information to your
Calendar<br>

When I hover my mouse over the link, the status bar at the bottom of the
page for IE says: shortcut to 2006 11:00 AM
With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006 10:00
AM&location=Lib rary&eTime=10/18/2006 11:00 AM

The form works in Firefox, which is what I use for testing. So either the
format is wrong, or IE doesn't like the spaces or something. It doesn't
matter which dates I use, I get the same results.

Any ideas?
Jul 22 '05 #1
7 2211
Tom Petersen wrote:
I must have the format of the below line wrong for IE:

click <a href="cal.asp?s date=<% =strDate1 %>&location=<% =strLocation
%>&eTime=<% =strDate2 %>">here</a> to add this information to your
Calendar<br>

When I hover my mouse over the link, the status bar at the bottom of
the page for IE says: shortcut to 2006 11:00 AM
With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006
10:00 AM&location=Lib rary&eTime=10/18/2006 11:00 AM

The form works in Firefox, which is what I use for testing. So
either the format is wrong, or IE doesn't like the spaces or
something. It doesn't matter which dates I use, I get the same
results.

Any ideas?

Use Server.urlencod e to fix the querystring part of the url.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2
That sounds like what I need, but I am having problems with the syntax of
this too. My IDE doesn't like the format, I think the <% %> are throwing it
off.

I think I am close with this:
strURL = "<% =strDate1 %>&location=<% =strLocation %>&eTime=<% =strDate2 %>"
strEncodedURL = Server.URLencod e(strURL)
click <a href="cal.asp?s date=& strEncodedURL"> here</a> to add this
information to your Calendar<br>

or maybe this:
strURL = "cal.asp?sdate= <% =strDate1 %>&location=<% =strLocation %>&eTime=<%
=strDate2 %>"
strEncodedURL = Server.URLencod e(strURL)
click <a href="& strEncodedURL"> here</a> to add this information to your
Calendar<br>

It seems with the <% commands it doesn't know where asp ends and html
begins, neither do I! :)
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:uG******** ******@TK2MSFTN GP10.phx.gbl...
Tom Petersen wrote:
I must have the format of the below line wrong for IE:

click <a href="cal.asp?s date=<% =strDate1 %>&location=<% =strLocation
%>&eTime=<% =strDate2 %>">here</a> to add this information to your
Calendar<br>

When I hover my mouse over the link, the status bar at the bottom of
the page for IE says: shortcut to 2006 11:00 AM
With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006
10:00 AM&location=Lib rary&eTime=10/18/2006 11:00 AM

The form works in Firefox, which is what I use for testing. So
either the format is wrong, or IE doesn't like the spaces or
something. It doesn't matter which dates I use, I get the same
results.

Any ideas?

Use Server.urlencod e to fix the querystring part of the url.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 22 '05 #3
All server-side functions need to be inside the server-side script block
markers. Anything inside <%%> happens at the server. Here is an example:

<a href="cal.asp?s date=<%= Server.UrlEncod e(strDate1) %>&location=

To see where server-side ends and client-side begins, run the page and View
Source.

Tom Petersen wrote:
That sounds like what I need, but I am having problems with the
syntax of this too. My IDE doesn't like the format, I think the <%
%> are throwing it off.

I think I am close with this:
strURL = "<% =strDate1 %>&location=<% =strLocation %>&eTime=<%
=strDate2 %>" strEncodedURL = Server.URLencod e(strURL)
click <a href="cal.asp?s date=& strEncodedURL"> here</a> to add this
information to your Calendar<br>

or maybe this:
strURL = "cal.asp?sdate= <% =strDate1 %>&location=<% =strLocation
%>&eTime=<% =strDate2 %>"
strEncodedURL = Server.URLencod e(strURL)
click <a href="& strEncodedURL"> here</a> to add this information to
your Calendar<br>

It seems with the <% commands it doesn't know where asp ends and html
begins, neither do I! :)
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:uG******** ******@TK2MSFTN GP10.phx.gbl...
Tom Petersen wrote:
I must have the format of the below line wrong for IE:

click <a href="cal.asp?s date=<% =strDate1 %>&location=<%
=strLocation %>&eTime=<% =strDate2 %>">here</a> to add this
information to your Calendar<br>

When I hover my mouse over the link, the status bar at the bottom of
the page for IE says: shortcut to 2006 11:00 AM
With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006
10:00 AM&location=Lib rary&eTime=10/18/2006 11:00 AM

The form works in Firefox, which is what I use for testing. So
either the format is wrong, or IE doesn't like the spaces or
something. It doesn't matter which dates I use, I get the same
results.

Any ideas?

Use Server.urlencod e to fix the querystring part of the url.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #4
<%
strEncodedURL = "cal.asp?sdate= " & Server.URLencod e(strDate1) & _
"&location= " & Server.URLencod e(strLocation) & _
"&eTime=" & Server.URLencod e(strDate2)
%>
click <a href="<%=strEnc odedURL%>">here </a> to add this
--
--Mark Schupp
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:OP******** ******@tk2msftn gp13.phx.gbl...
That sounds like what I need, but I am having problems with the syntax of
this too. My IDE doesn't like the format, I think the <% %> are throwing
it
off.

I think I am close with this:
strURL = "<% =strDate1 %>&location=<% =strLocation %>&eTime=<% =strDate2
%>"
strEncodedURL = Server.URLencod e(strURL)
click <a href="cal.asp?s date=& strEncodedURL"> here</a> to add this
information to your Calendar<br>

or maybe this:
strURL = "cal.asp?sdate= <% =strDate1 %>&location=<% =strLocation
%>&eTime=<%
=strDate2 %>"
strEncodedURL = Server.URLencod e(strURL)
click <a href="& strEncodedURL"> here</a> to add this information to your
Calendar<br>

It seems with the <% commands it doesn't know where asp ends and html
begins, neither do I! :)
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:uG******** ******@TK2MSFTN GP10.phx.gbl...
Tom Petersen wrote:
> I must have the format of the below line wrong for IE:
>
> click <a href="cal.asp?s date=<% =strDate1 %>&location=<% =strLocation
> %>&eTime=<% =strDate2 %>">here</a> to add this information to your
> Calendar<br>
>
> When I hover my mouse over the link, the status bar at the bottom of
> the page for IE says: shortcut to 2006 11:00 AM
> With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006
> 10:00 AM&location=Lib rary&eTime=10/18/2006 11:00 AM
>
> The form works in Firefox, which is what I use for testing. So
> either the format is wrong, or IE doesn't like the spaces or
> something. It doesn't matter which dates I use, I get the same
> results.
>
> Any ideas?

Use Server.urlencod e to fix the querystring part of the url.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Jul 22 '05 #5
Thanks! That corrects my syntax problem but IE still doesn't like
something. I may rethink how I am passing the variables to avoid 'special
characters' and format the date and time and not include spaces...

Response.Write strEncodedURL output:

cal.asp?sdate=1 0%2F18%2F2006+8 %3A00+AM&locati on=Library&eTim e=10%2F18%2F200 6
+9%3A00+AM

IE: hyperlink value
http://sd-school/forms/cal.asp?sdate...2006+9%3A00+AM
Firefox: hyperlink value
http://sd-school/forms/cal.asp?sdate...2006+9%3A00+AM

The error with IE is:
Internet Explorer cannot download 00+AM from SD-school, where as Firefox
opens the outlook ready appointment screen where I just have to hit save and
close to add it to my calendar.
"Mark Schupp" <no******@email .net> wrote in message
news:uX******** ******@TK2MSFTN GP10.phx.gbl...
<%
strEncodedURL = "cal.asp?sdate= " & Server.URLencod e(strDate1) & _
"&location= " & Server.URLencod e(strLocation) & _
"&eTime=" & Server.URLencod e(strDate2)
%>
click <a href="<%=strEnc odedURL%>">here </a> to add this
--
--Mark Schupp
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:OP******** ******@tk2msftn gp13.phx.gbl...
That sounds like what I need, but I am having problems with the syntax of this too. My IDE doesn't like the format, I think the <% %> are throwing it
off.

I think I am close with this:
strURL = "<% =strDate1 %>&location=<% =strLocation %>&eTime=<% =strDate2
%>"
strEncodedURL = Server.URLencod e(strURL)
click <a href="cal.asp?s date=& strEncodedURL"> here</a> to add this
information to your Calendar<br>

or maybe this:
strURL = "cal.asp?sdate= <% =strDate1 %>&location=<% =strLocation
%>&eTime=<%
=strDate2 %>"
strEncodedURL = Server.URLencod e(strURL)
click <a href="& strEncodedURL"> here</a> to add this information to your
Calendar<br>

It seems with the <% commands it doesn't know where asp ends and html
begins, neither do I! :)
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:uG******** ******@TK2MSFTN GP10.phx.gbl...
Tom Petersen wrote:
> I must have the format of the below line wrong for IE:
>
> click <a href="cal.asp?s date=<% =strDate1 %>&location=<% =strLocation
> %>&eTime=<% =strDate2 %>">here</a> to add this information to your
> Calendar<br>
>
> When I hover my mouse over the link, the status bar at the bottom of
> the page for IE says: shortcut to 2006 11:00 AM
> With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006
> 10:00 AM&location=Lib rary&eTime=10/18/2006 11:00 AM
>
> The form works in Firefox, which is what I use for testing. So
> either the format is wrong, or IE doesn't like the spaces or
> something. It doesn't matter which dates I use, I get the same
> results.
>
> Any ideas?
Use Server.urlencod e to fix the querystring part of the url.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"



Jul 22 '05 #6
I think you are confusing hyperlink problems with content type problems.

What does cal.asp do? It appears that the browser is expected to open a
helper app (as you would expect Excel to open for an XLS file). This can be
dependant on the helper function being configured properly under IE.

--
--Mark Schupp
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:ug******** ******@TK2MSFTN GP15.phx.gbl...
Thanks! That corrects my syntax problem but IE still doesn't like
something. I may rethink how I am passing the variables to avoid 'special
characters' and format the date and time and not include spaces...

Response.Write strEncodedURL output:

cal.asp?sdate=1 0%2F18%2F2006+8 %3A00+AM&locati on=Library&eTim e=10%2F18%2F200 6
+9%3A00+AM

IE: hyperlink value
http://sd-school/forms/cal.asp?sdate...2006+9%3A00+AM
Firefox: hyperlink value
http://sd-school/forms/cal.asp?sdate...2006+9%3A00+AM

The error with IE is:
Internet Explorer cannot download 00+AM from SD-school, where as Firefox
opens the outlook ready appointment screen where I just have to hit save
and
close to add it to my calendar.
"Mark Schupp" <no******@email .net> wrote in message
news:uX******** ******@TK2MSFTN GP10.phx.gbl...
<%
strEncodedURL = "cal.asp?sdate= " & Server.URLencod e(strDate1) & _
"&location= " & Server.URLencod e(strLocation) & _
"&eTime=" & Server.URLencod e(strDate2)
%>
click <a href="<%=strEnc odedURL%>">here </a> to add this
--
--Mark Schupp
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:OP******** ******@tk2msftn gp13.phx.gbl...
> That sounds like what I need, but I am having problems with the syntax of > this too. My IDE doesn't like the format, I think the <% %> are throwing > it
> off.
>
> I think I am close with this:
> strURL = "<% =strDate1 %>&location=<% =strLocation %>&eTime=<%
> =strDate2
> %>"
> strEncodedURL = Server.URLencod e(strURL)
> click <a href="cal.asp?s date=& strEncodedURL"> here</a> to add this
> information to your Calendar<br>
>
> or maybe this:
> strURL = "cal.asp?sdate= <% =strDate1 %>&location=<% =strLocation
> %>&eTime=<%
> =strDate2 %>"
> strEncodedURL = Server.URLencod e(strURL)
> click <a href="& strEncodedURL"> here</a> to add this information to
> your
> Calendar<br>
>
> It seems with the <% commands it doesn't know where asp ends and html
> begins, neither do I! :)
>
>
> "Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
> news:uG******** ******@TK2MSFTN GP10.phx.gbl...
>> Tom Petersen wrote:
>> > I must have the format of the below line wrong for IE:
>> >
>> > click <a href="cal.asp?s date=<% =strDate1 %>&location=<%
>> > =strLocation
>> > %>&eTime=<% =strDate2 %>">here</a> to add this information to your
>> > Calendar<br>
>> >
>> > When I hover my mouse over the link, the status bar at the bottom of
>> > the page for IE says: shortcut to 2006 11:00 AM
>> > With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006
>> > 10:00 AM&location=Lib rary&eTime=10/18/2006 11:00 AM
>> >
>> > The form works in Firefox, which is what I use for testing. So
>> > either the format is wrong, or IE doesn't like the spaces or
>> > something. It doesn't matter which dates I use, I get the same
>> > results.
>> >
>> > Any ideas?
>> Use Server.urlencod e to fix the querystring part of the url.
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so I
>> don't check it very often. If you must reply off-line, then remove the
>> "NO SPAM"
>>
>>
>
>



Jul 22 '05 #7
It's not pretty, but it creates a calendar file for Outlook:

<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->
<%
'server.execute "../header.htm"

od = Request.QuerySt ring("sdate")
et = Request.QuerySt ring("eTime")
set oShell = CreateObject("W Script.Shell")
atb = "HKEY_LOCAL_MAC HINE\System\Cur rentControlSet\ " &_
"Control\TimeZo neInformation\A ctiveTimeBias"
offsetMin = oShell.RegRead( atb)
nd = dateadd("n", offsetMin, od)
ed = dateadd("n", offsetMin, et)
' Response.Write( "Current = " & od & "<br>UTC = " & ed)

strLocation = Request.QuerySt ring("location" )
strSubject = "I-request"
strDescription = "test"

' -- Format it properly as YYYYMMDDThhmmss Z

if Month(nd) < 10 Then
strMonth = "0" & Right(Month(nd) , 1)
Else strMonth = Month(nd)
End if
if Day(nd) < 10 Then
strDay = "0" & Right(Day(nd), 1)
Else strDay = Day(nd)
End if

if Hour(nd) < 10 Then
strHour = "0" & Right(Hour(nd), 1)
Else strHour = Hour(nd)
End if

if Minute(nd) < 10 Then
strMinute = "0" & Right(Minute(nd ), 1)
Else strMinute = Minute(nd)
End if

if Month(ed) < 10 Then
streMonth = "0" & Right(Month(ed) , 1)
Else streMonth = Month(ed)
End if

if Day(ed) < 10 Then
streDay = "0" & Right(Day(ed), 1)
Else streDay = Day(ed)
End if
if Hour(ed) < 10 Then
streHour = "0" & Right(Hour(ed), 1)
Else streHour = Hour(ed)
End if

if Minute(ed) < 10 Then
streMinute = "0" & Right(Minute(ed ), 1)
Else streMinute = Minute(ed)
End if
' response.write streMinute

If StrMonth = "01" Then
dts = 1
Elseif StrMonth = "02" Then
dts = 1
Elseif StrMonth = "03" Then
dts = 1
Elseif StrMonth = "04" Then
dts = 0
Elseif StrMonth = "05" Then
dts = 0
Elseif StrMonth = "06" Then
dts = 0
Elseif StrMonth = "07" Then
dts = 0
Elseif StrMonth = "08" Then
dts = 0
Elseif StrMonth = "09" Then
dts = 0
Elseif StrMonth = "10" Then
dts = 0
Elseif StrMonth = "11" Then
dts = 1
Elseif StrMonth = "12" Then
dts = 1
End if

strHour = strHour + dts
streHour = streHour + dts

if strHour < 10 Then
strHour = "0" & Right(strHour, 1)
End if
if streHour < 10 Then
streHour = "0" & Right(streHour, 1)
End if

dtStart = Right(Year(nd), 4) & strMonth & strDay & "T" & strHour &
strMinute & "00" & "Z"
dtEnd = Right(Year(ed), 4) & streMonth & streDay & "T" & streHour &
streMinute & "00" & "Z"

' Response.Write dtStart & vbCrLf & dtEnd & vbCrLf

strvCalendar = "BEGIN:VCALENDA R" & vbCrLf & _
"VERSION:1. 0" & vbCrLf & _
"BEGIN:VEVE NT" & vbCrLf & _
"DTSTART:" & dtStart & vbCrLf & _
"DTEND:" & dtEnd & vbCrLf & _
"LOCATION;ENCOD ING=QUOTED-PRINTABLE:" & strLocation & vbCrLf & _
"UID:" & strStart & strSubject & vbCrLf & _
"DESCRIPTION;EN CODING=QUOTED-PRINTABLE:" & strDescription & vbCrLf & _
"SUMMARY;ENCODI NG=QUOTED-PRINTABLE:" & strSubject & vbCrLf & _
"PRIORITY:3 " & vbCrLf & _
"END:VEVENT " & vbCrLf & _
"END:VCALEN DAR" & vbCrLf

Response.Conten tType = "text/x-vCalendar"
Response.AddHea der "Content-Disposition", _
"filename=Event " & "cal.vcs"
Response.Write strvCalendar
Response.End

' Response.Write dtStart

%>
"Mark Schupp" <no******@email .net> wrote in message
news:uL******** ******@TK2MSFTN GP12.phx.gbl...
I think you are confusing hyperlink problems with content type problems.

What does cal.asp do? It appears that the browser is expected to open a
helper app (as you would expect Excel to open for an XLS file). This can be dependant on the helper function being configured properly under IE.

--
--Mark Schupp
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:ug******** ******@TK2MSFTN GP15.phx.gbl...
Thanks! That corrects my syntax problem but IE still doesn't like
something. I may rethink how I am passing the variables to avoid 'special characters' and format the date and time and not include spaces...

Response.Write strEncodedURL output:

cal.asp?sdate=1 0%2F18%2F2006+8 %3A00+AM&locati on=Library&eTim e=10%2F18%2F200 6 +9%3A00+AM

IE: hyperlink value
http://sd-school/forms/cal.asp?sdate...2006+9%3A00+AM Firefox: hyperlink value
http://sd-school/forms/cal.asp?sdate...2006+9%3A00+AM
The error with IE is:
Internet Explorer cannot download 00+AM from SD-school, where as Firefox
opens the outlook ready appointment screen where I just have to hit save
and
close to add it to my calendar.
"Mark Schupp" <no******@email .net> wrote in message
news:uX******** ******@TK2MSFTN GP10.phx.gbl...
<%
strEncodedURL = "cal.asp?sdate= " & Server.URLencod e(strDate1) & _
"&location= " & Server.URLencod e(strLocation) & _
"&eTime=" & Server.URLencod e(strDate2)
%>
click <a href="<%=strEnc odedURL%>">here </a> to add this
--
--Mark Schupp
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:OP******** ******@tk2msftn gp13.phx.gbl...
> That sounds like what I need, but I am having problems with the syntax
of
> this too. My IDE doesn't like the format, I think the <% %> are

throwing
> it
> off.
>
> I think I am close with this:
> strURL = "<% =strDate1 %>&location=<% =strLocation %>&eTime=<%
> =strDate2
> %>"
> strEncodedURL = Server.URLencod e(strURL)
> click <a href="cal.asp?s date=& strEncodedURL"> here</a> to add this
> information to your Calendar<br>
>
> or maybe this:
> strURL = "cal.asp?sdate= <% =strDate1 %>&location=<% =strLocation
> %>&eTime=<%
> =strDate2 %>"
> strEncodedURL = Server.URLencod e(strURL)
> click <a href="& strEncodedURL"> here</a> to add this information to
> your
> Calendar<br>
>
> It seems with the <% commands it doesn't know where asp ends and html
> begins, neither do I! :)
>
>
> "Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
> news:uG******** ******@TK2MSFTN GP10.phx.gbl...
>> Tom Petersen wrote:
>> > I must have the format of the below line wrong for IE:
>> >
>> > click <a href="cal.asp?s date=<% =strDate1 %>&location=<%
>> > =strLocation
>> > %>&eTime=<% =strDate2 %>">here</a> to add this information to your
>> > Calendar<br>
>> >
>> > When I hover my mouse over the link, the status bar at the bottom

of >> > the page for IE says: shortcut to 2006 11:00 AM
>> > With Firefox I get: http://sd-school/forms/cal.asp?sdate=10/18/2006 >> > 10:00 AM&location=Lib rary&eTime=10/18/2006 11:00 AM
>> >
>> > The form works in Firefox, which is what I use for testing. So
>> > either the format is wrong, or IE doesn't like the spaces or
>> > something. It doesn't matter which dates I use, I get the same
>> > results.
>> >
>> > Any ideas?
>> Use Server.urlencod e to fix the querystring part of the url.
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so I >> don't check it very often. If you must reply off-line, then remove the >> "NO SPAM"
>>
>>
>
>



Jul 22 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2083
by: news | last post by:
This is really weird, and I would never believe it possible if it weren't actually happening to me. I've a customer database in mySQL, using PHP to create the forms, yadda yadda. All of a sudden, every time I edit a customer, when I submit the form using Firefox 1.0.2 on Linux (Fedora Core 3) it sends empty form fields to the database. BUT, if I use Firefox on Windows, or Opera on Fedora Core 3, it works
22
5475
by: inigo.villalba | last post by:
Hi, I hope someone can point out my error because I'm starting to lose my hair over this. It's probably a very straigh forward error but after only 4 hours sleep it's doing my head in. It's to do with global variables in Firefox 1. The following code works no problems and generates a whole bunch of numbers <script type="text/javascript">
11
5952
by: Grumble | last post by:
Hello, I have the following structure: struct foo { char *format; /* format string to be used with printf() */ int nparm; /* number of %d specifiers in the format string */ /* 0 <= nparm <= 4 */ };
3
3358
by: jimmygoogle | last post by:
I posted earlier with a scope problem. I think I resolved it in IE but in Firefox it still exists. Anyone have any ideas/experience with this? I attached my code sorry it is so long. You can cut/paste it into 2 files and run it to see what I mean. ###############menu.html############### <html> <body> <script type="text/javascript">
2
2603
by: competitions | last post by:
I notice that others have had this problem, after scanning Google, but I couldn't find any solution. I have tested my PHP code on both Mac's & PC's and on several browsers (Firefox, Safari, IE etc etc), with several operating systems. Everything works fine, except ... On a couple of Windows XP SP2 PC's session variables in IE6 seem from time to time to get 'lost'.
26
3617
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user opens a new IE window with Ctrl-N or File-New-Window, BOTH WINDOWS SHARE THE SAME SESSION VARIABLES. This cannot be prevented.
11
2259
by: RipperT | last post by:
Don't know if this group covers web apps, but here goes. In VS 2005, I am trying to get variables to hold thier values during postback from the server. I convert a text box's user-keyed value to an integer and assign it to a module level variable, then convert the variable and assign it to a hidden text box, setting it's EnableViewState to true so it returns with the reload. Then in the form's load event, I attempt to convert the contents...
5
2278
by: fourpastmidnight | last post by:
Ok, before anyone gets on me ( ;) ), I'm developing on Windows 2000 with IE6sp1 (that's what my company uses). So no, I can't use Firefox, though I wish I could. Ok, with that out of the way, here's the problem. I read David Crockford's way to create private member variables. I created a namespace. For our sake, let's call it ns. ns = { }; Now, I create a "class" within this namespace and create some local (read private member) variables....
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.