|
Hi,
there are tons of options available that won't require the use of an ActiveX. ActiveX objects are dangerous and modern browsers, even IE, do not allow them to execute unless the client grants the rights to the domain. In many corporate environments end users will not be able to grant such rights.
However, an ActiveX is entirely unnecessary for this purpose, DHTML has sufficient features to implement a custom context menu. If you only need to support Internet Explorer, a simple alternative is to use the popup object; check out a sample of a custom context menu here.
--
Regards,
Dag
|
|
|
|
|
i have a vc project in which i call the function in a script file(test.cfg), it's a jscript file, now i met a problem, so i wanna debug the script file, but i don't know how to do this, i add debugger in the file, but it doesn't work. can anyone help me?thanks in advance
|
|
|
|
|
I seem to recall putting lots of message boxes to screen when I needed to debug script files.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi, Christian Graus, thanks for yor reply.
how could i pop up a message dialog in jscript? which function should i call?
by the way i call the script function in this way. this might be in another thread or process, are u sure popup message dialog works in this case?
CComPtr<iactivescript> spScript;
.....
CComDispatchDriver spDisp;
spScript->GetScriptDispatch(scriptfilename, &spDisp);
spDisp.Invoke1(L"fun1", &v);
|
|
|
|
|
HeartFriend wrote:
how could i pop up a message dialog in jscript? which function should i call?
From memory, it's alert("message");
HeartFriend wrote:
this might be in another thread or process, are u sure popup message dialog works in this case?
No, I'm not.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Does anybody knows about Image Resizing Utility or Custom Tag for Cold Fusion ?
Or maybe some hints how to handle with this task ?
By The Way .. If exists free sources of C++/Java Image Resizing Utilities - they are also welcome !
Main processing formats - Jpeg (Gif)
Better Free of course ...
Thanks in advance !
|
|
|
|
|
|
Hi,
I'm developing an applicatio in C#(web) and I need to build some Graphs, this application is used to monitor traffic, in a ISP Link, I would like to know what's is the best, easiest and free tool to use it ?
Nowadays, it's in perl using rrdTool, and they want a new automatized application to do it !
-----------------------------
Visite: http://zopostyle.com
|
|
|
|
|
zopostyle wrote:
the best, easiest and free tool to use it ?
These are competing objectives. The best tool is probably not free.
I seem to recall there's a library for doing graphs in C# on this site though, have you looked ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Something like make settings after the AMBIENT_CONTROL event, but IE just can't fire that for me.
To edit the registry maybe one approach, but the response is bad
Thanks in advance!
|
|
|
|
|
Hi!
I have a web page that has a drop-down menu. Right below it is a Flash file. I don't want to take space for my sub-menus; instead, it'll show above the Flash. How can i do that? I have tried to set the z-index of both Flash and tags hold the Flash (such as p tag, div tag) but it doesn't work
Thanks!
|
|
|
|
|
Hello
Is it possible to implement a drag and drop method between two UltraWebGrids(Infragistics.WebUI.UltraWebGrid.v5.2) in Infragistics.
If anybody has done this, could you help me with a code example
Spaz
|
|
|
|
|
Hi Codeproject Members.
My wife is starting an eCommerce Web business and needs an out-of-the box solution to provide site portal. I am currently a software developer but do not have enough spare time to start this project from scratch.
I have investigated a few solutions that are on the market but the majority only allow minor changes to their templates which are hosted only on their sites.
I would like something that is recommended and is as near to native HTML as possible. ASP.NET would be OK. I can host the site so no problems there.
We would want to add links/pages and change Meta Data.
Any suggestions would be appreciated.
Regards Paul.;);)
|
|
|
|
|
Transferring XML object from Client to Server without passing IP and
being connected to the network
|
|
|
|
|
Was this supposed to be a question?
|
|
|
|
|
I want to calculate total working days between the two dates specified in ASP or javascript:
e.g.,
date1 = 16/08/2005
date2 = 25/08/2005
there are two holidays in the duration specified above.
Thanx
|
|
|
|
|
anyla,
You may use DateTime.Compare to get the difference but for WorkingDays, you need to have a class which calculates the number of holidays within a date span. This again is dependent on each region and/or enterprise. Is'nt it?
Vasudevan Deepak Kumar
Personal Web: http://www.lavanyadeepak.tk/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
yes we can calculate the difference b/w the dates, but i need a function to calculate number of working days (from the calendar dates).
and the holidays (offdays) are saturday and sunday.
thanx
|
|
|
|
|
Here is a simple, but not very efficient, method:
date1 = #2005-08-16#<br />
date2 = #2005-08-25#<br />
<br />
day = date1<br />
days = 0<br />
While day <= date2<br />
wday = Weekday(day, vbMonday) ' <-- here you use the first day of week<br />
If wday <> vbSaturday and wday <> vbSunday Then<br />
days = days + 1<br />
End Id<br />
day = DateAdd("d", 1, day)<br />
Wend<br />
Response.Write "The number of workdays are: " & days
---
b { font-weight: normal; }
|
|
|
|
|
Looking for a source example of how to communicate with an ip device via a web manager. Want to change settings of the device etc....
Example : Most wireless routers have a webmanager (linked to an ip address.)
that one can change and configure the device settings.
Does anything exists for .NET (Either VB or C# or C++ )
|
|
|
|
|
I need implement creation DIME-envelope in C++. And, conversely, I must restore source attachments from this DIME-envelope. I don't need implement sending or receiving data, only creation/parsing DIME-envelope.
What tools can I use for this? I think that this problem is typical and must be typical solution too. Can you help me, please?
May be Microsoft SOAP Toolkit 3.0 is suitable for this? And I found gSOAP Toolkit http://prdownloads.sourceforge.net/gsoap2, but I think that it
is very complicated and cumbersome for my simple task.
Thanks very mach
|
|
|
|
|
Microsoft SOAP Toolkit 3.0 isn't suitable for such task
|
|
|
|
|
hi,
how can i make the visited page unavailable after leaving the page,even if the user presses the back or forward button in browser?
thanks.
|
|
|
|
|
u can't. the browser that the user uses handles hystory like that. depending on the browser u target u might be able to find a way to trick the browser into thinking it never viewed that page
|
|
|
|
|
For a bit of a cheesy way, you could set display:none on your visited links and make sure the page expires imediatly so it must be reloaded when a user returns to it.
|
|
|
|