|
Dear ALL
I am developing a windows application using VB.6.0 in which I have to open .pps files in web browser and want to disable the Copy Slide, Edit Slide and Print Slide options in the context menu and also want to deactivate mouse's right Click.
Thanks
Vivek
|
|
|
|
|
hi
i have two textboxes, a button and a label on a single webform. i want to add two numbers entered in textboxes and display result in label with button click plz tell me the C# code as the code i have written just concatenates the values.
|
|
|
|
|
If you show me the code i can edit it for you to make it work.
|
|
|
|
|
Here is the code i have written. plz modify it for my desired output.thx
protected void btnSum_Click(object sender, EventArgs e)
{
lblSum .Text =TextBox1 .Text +TextBox2 .Text ;
}
|
|
|
|
|
I am new , but I can suggest u ...
Convert those strings to integers,
add them,
convert the answer integer to string,
display the answer string !
|
|
|
|
|
Try this:
val2 = textBox1.Text;
val3 = textBox2.Text;
protected void btnSum_Click(object sender, EventArgs e)
{
Sum(val1 + val2) = val3;
lblSum.Text = val3;
}
|
|
|
|
|
I'm trying to create a basic server control to display and image but i keep getting errors. The control code below compiles fine but when i try to add it to a page it gives me errors. Can anyone help?
Control code:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="testControl.ascx.cs" Inherits="_Default"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<img src="booze.jpg" runat="server" id="image" /> <br />
Code used in page/web form:
<%@ Register TagPrefix="apress" TagName="image" Src="testControl.ascx" %>
<apress:image id="image1" runat="server"></apress:image>
I've added the control .dll to the project and everything but i still get errors.
Help???
|
|
|
|
|
windhopper wrote: I've added the control .dll to the project
why?
i think you are trying to create a UserControl , then why dll ?
|
|
|
|
|
Yes i am trying to create a user control but i keep getting errors when i add the control like i described so i've tried with the control .dll and without and still get errors so i'm looking for suggestions as to what else i can try? Is there something wrong with my code even though it compiles?
|
|
|
|
|
Hi
We have been battling with page timeouts over the last week or to and decided today to get our heads around the problem! The problem has been highlighted by a reporting facility that if used to extract a wide date range can take several minutes to produce the report.
We discovered that the browser always displayed the "Internet Explorer cannot display the webpage" message after 63 seconds, firstly we thought this weird because it is the IE error page not a page rendered by ASP.NET 2/IIS 6. So after an age investigating on the net and finding all manner of registry settings that had no effect etc. we set up a test app that simply sleeps our test page for 5 minutes we then managed to deduce that the only setting of consequence was the <httpruntime> attribute of executionTimeout which did within reason do exactly as we thought that is displayed the ASP.NET script timeout error.
However, once the executionTimeout value exceeded 63 seconds we then received the IE page "Internet Explorer cannot display the webpage" and this behaviour was replicated in some form in Firefox, Opera and Safari!
So next we tried running the same page via a remote desktop connection on our server, and guess what, it worked perfectly we then tried from another remote computer using a different ISP and that worked also! Hence we deduced from all this that the problem lies with AVG and after further investigation specifically AVG 8 Web Shield disable this little monster and all works fine.
Hope that helps somebody somewhere because it has been causing us sleepless nights for weeks!
Andy
|
|
|
|
|
Hi
I would like to know "how to stop vertical scrolling text in javascript after one iteration". What i have is the text that scrolls continuously, and i want it to make it stop at the top of the box.
How can i acheive this effect??
This is the javascript i have;
<script language="JavaScript">
function getObject( obj ) {
var strObj
if ( document.all ) {
strObj = document.all.item( obj );
} else if ( document.getElementById ) {
strObj = document.getElementById( obj );
}
return strObj;
}
var theTop = 200;
var theHeight = 100;
var theWidth = 150;
var theLeft = 350;
var toClip = 200;
function scrollNews( newsDiv, toMove )
{
theDiv = getObject( newsDiv.toString() );
if ( theDiv == null )
{
return;
}
if ( document.layers )
{
theDiv.clip.top = toMove;
theDiv.clip.bottom = toMove + toClip;
theDiv.top = theTop - toMove;
}
else
{
theDiv = theDiv.style;
theDiv.clip = "rect(" + toMove + "px " + (theWidth + theLeft) + "px " + (toMove + toClip) + "px 0px)";
theDiv.top = theTop - toMove + 'px';
}
if ( ( theTop + theHeight - toMove ) < ( theTop - theHeight - 20 ) )
{
toMove = 0;
if ( document.layers )
{
theDiv.clip.top = theTop;
theDiv.clip.bottom = toClip;
theDiv.top = theTop
}
else
{
theDiv.clip = "rect(" + toMove + "px " + (theWidth + theLeft) + "px " + (toMove + toClip) + "px 0px)";
theDiv.top = theTop + 'px';
}
}
toMove = (toMove + 2); //speed of scroll
setTimeout("scrollNews('" + newsDiv + "'," + toMove + ")", 100);
}
</script>
Any help is much appreciated
Cheers
|
|
|
|
|
why you are not using Marquee For that Set Direction="UP" and BEHAVIOR="Slide"
|
|
|
|
|
Hi
Yes i did think of that. However,
Marquee is only compatible with IE. Other browsers like FireFox cannot interpret the <marquee> tag.
Thanks
Cheers
|
|
|
|
|
Hi there,
I'd like to setup a company intranet/wiki/document management(with free text search if possible), maybe blog system at my workplace. We will host it locally with whatever technology the system uses under IIS or whatever.
Will mainly use for centralising links to documents, showcase documentation around development processes, investment team processes, would like a firm directory (of users, photo, extn etc) as well.
Any suggestions on free software that will do this? I'd prefer if it was a c# open source implementation so I could alter or extend myself easily. Also if there is an addon/extension community with good volume supporting the system would be ideal.
Thanks.
|
|
|
|
|
you can you Share Point for that
|
|
|
|
|
I have just been reading on Windows SharePoint Services 3.0 http://technet.microsoft.com/en-us/windowsserver/sharepoint/default.aspx[^] so it can do all that and for free?
Is writing your own web parts just the same or similar to traditional asp.net development? Also is their a community/directory of web parts that do things, like a forum, photo album, whatever, firm directory?
|
|
|
|
|
I dont have much idea on that , but if you use Share point Portal you can acheive all this thing. but... it is not free .
|
|
|
|
|
As the other guy said, SharePoint is good but costly. You could try Dotnet Nuke. It's a good and popular one. Moreover it's open source.
|
|
|
|
|
hai friends
i have a portal which was developed by my previous programmers
the task to maintain the portal is given to me
so i want to gather/know some information about it
these are doubts ..
1)how to upload my pages to site
2)how to upload my database/sqldatabase into server
3)if task (2) is given to third party company then how can i achieve
regarding maintance and upload , total flow and the main tasks
i need ...
plz help me...
its urgent...
thanks in advance
vijay
|
|
|
|
|
Hi All,
how to create weather control in Asp.Net.
can you please send the code.
thanks in Advance.
Murali
|
|
|
|
|
|
Hi All,
how to create weather control in Asp.Net.
can you please the source code.
thanks in advance..
Murali
|
|
|
|
|
|
How i pass a textbox value as filter field ?
Got? Give..
|
|
|
|
|
try to serach google
|
|
|
|