|
Huh... it seems to be Norton Internet Security which is removing it, but I am not sure why. When I disable NIS, the image displays perfectly.
|
|
|
|
|
OK, not that anyone cares, but I found the problem. Ad blocker was turned on in NIS and was removing the link. Once I turned of ad blocker, everything worked great.
|
|
|
|
|
Hello !
My problem is many-faceted, but simple.. I have a page that is running a PHP script, and this script has a set of methods which you can normally call from the page, if you have buttons or links there. But, the page also hosts an ActiveX control, and the control should be able to call these methods, supplying necessary parameters, to make the PHP script change the page layout.
Can anyone give ma clue on where to start ? The control does not need to work on any other browser than Internet Explorer, and if necessary, it can use a self-built WebControl component (independent page viewer), so that you must start the actual program to view the page where the control and the script are.
But, the best solution would be the ability to call PHP functions from the control itself. The script is able to handle the page layout changes requested by the control, then.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
Is there any way to display a web page with upper part and lower part, where only the lower part would be scrollable ?
Upper part might contain some image and lower part might contain
some very wide table. Hovever, I would like the scroll to apply only to the lower part of the page: the upper image should stay always in the same place regardles of the scroll-bar position.
If I create a web page likie this:
<html>
<!--upper part-->
<img src="..."/>
<!--lower part-->
<table>
<tr>
<td>
<td>
<td>
<td>
... many table cells, making it very wide
<td>
<td>
<td>
<td>
</tr>
</table>
</html>
the scroll applies also to the image, what is natural. I would like
it would not.
Thanks in advance
Michał Januszczyk
|
|
|
|
|
I would do it with two DIVs. Set them both to a fixed height (e.g. 50% of the body height each). Then set overflow: auto; on the bottom DIV.
regards,
Paul Watson
Bluegrass
South Africa
Christopher Duncan quoted:
"...that would require my explaining Einstein's Fear of Relatives"
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
Thank You very much.
That was the thing I was looking for.
Michał
|
|
|
|
|
I have ASP code which uses WScript.Shell object to run an exe file on the server. This code use to work fine but we just rebuilt the server and it stopped working.
The server is internal server and Anonymous Access has been disabled. It only uses windows authentication.
The exe file copies image from other server to local folder and 3 window user groups has been given full permission to this folder.
When I logon as an authenticated user and loads the page it doesn't executes the exe file any more.
If I run the same command line locally on the server, it works fine.
Any help would be greatly appreciated.
Thanks a lot.
|
|
|
|
|
Thinking out loud but is the inet user or the user assigned to that application in IIS in the right groups with the right permissions?
When you run the command locally on the server are you logged in as the same authenticated user that doesn't work from executing the page?
regards,
Paul Watson
Bluegrass
South Africa
Christopher Duncan quoted:
"...that would require my explaining Einstein's Fear of Relatives"
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
Since anonymous access is disabled, I think inet user doesn't need any extra permissions.
When I run the command locally I'm logged on as user who has all permissions to that target folder.
The same code with same IIS settings working on another server but on this server there is something missing and I don't know what that setting is.
Somehow IIS doesn't allow browser to execute the exe file. I tried to do the same by creating a dos batch (.bat) file and map the drive to copy file from other server and it works fine.
It can run the .bat file but not the .exe file.
Any ideas?
Thanks for your time and help.
|
|
|
|
|
hi every body;),
im making a shopping cart , and ill receive variables in a 2 dimensional that stores the (produst id , and the quantty that the buyer want) , so i want to know how can i manage with the 2 dimensional array
thanks
i hope any body can answer me
byeeeeeeeeeeee
doha elkhateeb
|
|
|
|
|
You can start by letting us know what technology you are using, then we might be able to advise you better.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
Coming soon: The Second EuroCPian Event
|
|
|
|
|
Does anyone know how to make MS Visual InterDev <!-- show this text --> in the source view? I have been unable to find a setting for this. All the source view shows is <! >; when I am editing in raw HTML I want to see everything.
INTP
|
|
|
|
|
Haven't got it installed anymore and I may be completely wrong but don't you just right click the "show this text" bit and one of the options is to reveal? Apologies if that is wrong.
regards,
Paul Watson
Bluegrass
South Africa
Christopher Duncan quoted:
"...that would require my explaining Einstein's Fear of Relatives"
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
Any got a good article or somethin about licensing ActiveX-components. I’ve read MSDN but not satified.
I don’t realy get the point of how to distribute the lic-file and where my customers should place the file to make my ActiveX run on their cpu-s.
...and justice for all
APe
|
|
|
|
|
I am writing a tool band object using C++ and Visual Studio.NET 2003. The
toolband object is a regular ATL/C++ dll inproc server project.
Environment: Windows XP Professional SP 1, Visual Studio.NET 2003 installed, IE
6.0 SP1 (all the Windows update patches applied for everything)
The object (CToolBand) is derived from the classes CComObjectRootEx,
CComCoClass, IObjectWitSiteImpl, IDispatchImpl, IInputObject and IDeskBand.
The SetSite method is implemented as follows (excerpts with error handling
stripped out):
STDMETHODIMP CToolBand::SetSite(IUnknown *punkSite)
{
m_spSite = pUnkSite;
....
CComPtr<IServiceProvider> spService;
m_spSite->QueryService(IID_IServiceProvider, (void **)&spService);
CComPtr<IServiceProvider> spService2;
spService->QueryService(SID_STopLevelBrowser, IID_IServiceProvider, (void **)&spService2);
spService2->QueryService(SID_SWebBrowserApp, IID_IWebBrowser2, (void **)&m_spWebBrowser2);
CComQIPtr<IConnectionPointContainer> spCPC = m_spWebBrowser2;
CComPtr<IConnectionPoint> spCP;
spCPC->FindConnectionPoint(DIID_DWebBrowserEvents2, &spCP);
spCP->Advise(GetUnknown(), &m_dwCookie);
}
The Invoke is also implemented as:
STDMETHODIMP CToolBand::Invoke(...)
{
if(dispid == DISPID_BEFORENAVIGATE2)
{
ATLTRACE(_T("BeforeNavigate2"));
}
return E_NOTIMPL;
}
What I cannot understand is that I receive BeforeNavigate2, NavigateComplete, DocumentComplete, Quit, PrivacyImpactedStateChange events (and also the TitleChange, Progress, StatusTextChange, PropertyChange etc.).
But I DO NOT receive the SetSecureLockIcon (DISPID_SETSECURELOCKICON) at all, although I am sure that I tested with a SSL 128bit site.
In my header file this DISPID have the value 269 (ExDispID.h)
In fact, I made a sample VB application with a form hosting a web browser control, and I received the setSecureLockIcon event, so I don't think is something from my browser settings.
I suspect that is something regarding the current implementation of SetSite and/or Advise methods, since this is not a web browser control, but a toolband object hosted in the rebar control.
Maybe I query for the wrong IWebBrowser2 object? I get the application object, but the SetSecureLockIcon event is fired for the browser control and not the browser application?
I feel that I mismatch something.
I can't wait the replies!
Thank you,
Cristian Amarie
|
|
|
|
|
In netscape 7.1 the height of the popup is comin much less
even in mozilla 1.4 the same problem is there, can any one help
the following is the code used by me
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<SCRIPT language="javascript" type="text/javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll) {
settings='width='+w+',height='+h+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,"",settings);}
// -->
</SCRIPT>
</HEAD>
<BODY>
<B>
<A href="mypage.html" onClick="NewWindow(this.href,'popup','250','150','no');return false" onFocus="this.blur()">click here</A>
</BODY>
</HTML>
|
|
|
|
|
Use a proper measurement unit, don't leave it up to the browser to guess. So instead of '250' and '150' use '250px' and '150px'.
regards,
Paul Watson
Bluegrass
South Africa
Christopher Duncan quoted:
"...that would require my explaining Einstein's Fear of Relatives"
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
I have a textbox that I need to change it's lang(similar to alt+shift) when it is getting focus on the clientside via javascript.
please help
|
|
|
|
|
Using JavaScript you can manipulate the values of attributes in tree nodes. Get a reference to the element e.g. document.getElementById("MyTextBox") and then reference it's child attributs.
regards,
Paul Watson
Bluegrass
South Africa
Christopher Duncan quoted:
"...that would require my explaining Einstein's Fear of Relatives"
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
Hi!
I just want to ask if anyone knows how to make the horizontal scrollbar to not appear and put the word on the next line (instead of continually scrolling in one line)
Your immediate answer will gladly be appreciated.
|
|
|
|
|
I'm going to presume you are writing to the iframe and not talking about flowing an entire page.
an iframe's document is the same as a main window's document. so, did you try sending a "< br >"?
Vinny
The Blades of Grass
cut me
still
|
|
|
|
|
Hello! I wrote a JavaScript Tree application. Each node has a text link of this type:
<a href="javascript:void(0)" onclick="clickOnNode(this_id)">
In clickOnNode() event handler I call some 'callback' function and then select a node being clicked.
function clickOnNode(nodeId)
{
// Call some 'callback'
tree.select(nodeId);
}
Inside of tree.select() I check if Ctrl key was depressed during a mouse click using 'event.ctrlKey'. If Ctrl was pressed it allows multi-select just as Windows explorer does.
It works in IE, but doesn't work in Mozilla because of it's different event model. Instead 'Ctrl'+click immediately opens a new browser tab!
Could you please give me a link or even better provide me with a chunk of code showing how to check 'Ctrl' button in Mozilla and prevent additional tab from opening?
Thanks a lot.
|
|
|
|
|
Hello everyone, Ive been searching for two days now to find a free component that will resize a jpg, gif image after upload and then replace the original. Is there such a component out there (free) or should I stop looking.
Does anyone know where to find such a component, would be greatly appreciated.
Thank you.
|
|
|
|
|
AngelofPeace wrote:
Is there such a component out there (free)
Absolutely it is free - It is called the Microsoft .NET Framework!
What you want to do it to load your image into a bitmap object, draw it into a second bitmap (to the scale that you want) and then save the second bitmap object back to disk.
Bitmap sourceBmp = new Bitmap(fileName);
Bitmap destinationBmp = new Bitmap(reqiredWidth, requiredHeight);
Graphics g = Graphics.FromImage(dest);
g.DrawImage(SourceBmp,0,0,requiredWidth,requiredHeight);
destinationBmp.Save(fileName);
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
Coming soon: The Second EuroCPian Event
|
|
|
|
|
ASP & SQLserver2k & Windows2003
I use ASP to add data to 2 tables
I have 2 tables: Invoice and InvoiceDetail
Invoice contains: InvoiceID, ClientName, InvoiceDate........
InvoiveDetail contains: InvoiceID, Name,Price,Quantity....
I set default of InvoiceID(Invoice table)=newid() so I dont need to insert a new value when I add a new record but I can not get value of newid()
Example:
Invoice for Client "Tom"
I use "INSERT Invoice (ClientName, InvoiceDate) VALUES ('Tom','30/1/2004')"
and SQLserver2k auto create a value for InvoiceID such as {BB10687B-87F7-44E4-9397-8D510BBDFA9C}
and then ..... I WANT TO GET {BB10687B-87F7-44E4-9397-8D510BBDFA9C}
I NEED IT to add detail of this invoice for InvoiceDetail table like:
InvoiceID - Name - Price - Quantity
{BB10687B-87F7-44E4-9397-8D510BBDFA9C} - book - 26.5$ - 5
{BB10687B-87F7-44E4-9397-8D510BBDFA9C} - CD - 700.95$ - 1
I think
1) SELECT InvoiceID FROM Invoice WHERE ClientName='Tom' AND InvoiceDate='30/1/2004'" but this is not good, may be duplicate all value in all column
2) May I have to add a new column in table
3) I have to calculate my InvoiceID and not use newid() function of SQLsrv2k
Please help me to get value of newid() function in SQLserver2k
thanks alot
|
|
|
|