473,715 Members | 4,902 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Implementing upload progress indicator question

I used the following code for implementing a file upload progress indicator, using UpdateProgress Panel, though I have a problem that FileUpload.Has File always returns false. Any suggestions what might be wrong?

FileUpload2.asp x

<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="FileU pload2.aspx.cs" Inherits="FileU pload2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title> drag </title>

</head>
<body>

<form id="f1" enctype="multip art/form-data" runat="server">
<h4>Select a file to upload:</h4>

<atlas:ScriptMa nager ID="ScriptManag er1" runat="server" EnablePartialRe ndering="true" />
<atlas:UpdatePa nel ID="upResults" runat="server" Mode="condition al">
<Triggers>
<atlas:ControlE ventTrigger ControlID="Uplo ad" EventName="Clic k" />
</Triggers>
<ContentTemplat e>
</ContentTemplate >
</atlas:UpdatePan el>
<asp:FileUplo ad id="FileUpload " runat="server"> </asp:FileUpload>
<br /><br />
<asp:Button id="Upload" Text="Upload file" OnClick="Upload Button_Click" runat="server">
</asp:Button>
<atlas:UpdatePr ogress ID="uprProgress " runat="server">

<ProgressTempla te>
<img src="images/animated_loadin g.gif" /> Uploading....
</ProgressTemplat e>
</atlas:UpdatePro gress>
</form>
</body>
</html>

FileUpload2.asp x.cs

using .....;
public partial class FileUpload2 : System.Web.UI.P age
{
protected void Page_Load(objec t sender, EventArgs e)
{
}

protected void UploadButton_Cl ick(object sender, EventArgs e)
{
// Specify the path on the server to save the uploaded file to.
String savePath = @"C:\Temp\uploa ds\";
// Before attempting to perform operations on the file, verify that the FileUpload control contains a file.
if (FileUpload.Has File)
{
String fileName = FileUpload.File Name;
savePath += fileName;
// Call the SaveAs method to save the uploaded file to the specified path.
FileUpload.Save As(savePath);
// Notify the user of the name of the file was saved under.
// UploadStatusLab el.Text = "Your file was saved as " + fileName;
}
else
{
// Notify the user that a file was not uploaded.
// UploadStatusLab el.Text = "You did not specify a file to upload.";
}
}
}

Any suggestions what might be wrong?

Thanks,
Marko Vuksanovic.

Jun 24 '06 #1
1 2134
There are several ways to do progress bar.
try this one below
http://www.atlasasp.com/Cat/Articles...r/default.aspx
Marko Vuksanovic wrote:
I used the following code for implementing a file upload progress indicator, using UpdateProgress Panel, though I have a problem that FileUpload.Has File always returns false. Any suggestions what might be wrong?

FileUpload2.asp x

<%@ Page Language="C#" AutoEventWireup ="true" CodeFile="FileU pload2.aspx.cs" Inherits="FileU pload2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title> drag </title>

</head>
<body>

<form id="f1" enctype="multip art/form-data" runat="server">
<h4>Select a file to upload:</h4>

<atlas:ScriptMa nager ID="ScriptManag er1" runat="server" EnablePartialRe ndering="true" />
<atlas:UpdatePa nel ID="upResults" runat="server" Mode="condition al">
<Triggers>
<atlas:ControlE ventTrigger ControlID="Uplo ad" EventName="Clic k" />
</Triggers>
<ContentTemplat e>
</ContentTemplate >
</atlas:UpdatePan el>
<asp:FileUplo ad id="FileUpload " runat="server"> </asp:FileUpload>
<br /><br />
<asp:Button id="Upload" Text="Upload file" OnClick="Upload Button_Click" runat="server">
</asp:Button>
<atlas:UpdatePr ogress ID="uprProgress " runat="server">

<ProgressTempla te>
<img src="images/animated_loadin g.gif" /> Uploading....
</ProgressTemplat e>
</atlas:UpdatePro gress>
</form>
</body>
</html>

FileUpload2.asp x.cs

using .....;
public partial class FileUpload2 : System.Web.UI.P age
{
protected void Page_Load(objec t sender, EventArgs e)
{
}

protected void UploadButton_Cl ick(object sender, EventArgs e)
{
// Specify the path on the server to save the uploaded file to.
String savePath = @"C:\Temp\uploa ds\";
// Before attempting to perform operations on the file, verify that the FileUpload control contains a file.
if (FileUpload.Has File)
{
String fileName = FileUpload.File Name;
savePath += fileName;
// Call the SaveAs method to save the uploaded file to the specified path.
FileUpload.Save As(savePath);
// Notify the user of the name of the file was saved under.
// UploadStatusLab el.Text = "Your file was saved as " + fileName;
}
else
{
// Notify the user that a file was not uploaded.
// UploadStatusLab el.Text = "You did not specify a file to upload.";
}
}
}

Any suggestions what might be wrong?

Thanks,
Marko Vuksanovic.

------=_NextPart_000_ 0019_01C697E8.9 78EE8D0
Content-Type: text/html; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 13449

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
<STYLE></STYLE>

<META content="MSHTML 6.00.5384.4" name=GENERATOR> </HEAD>
<BODY id=MailContaine rBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop=" true" acc_role="text"
name="Compose message area">
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>I used the following code for implementing a file
upload progress indicator, using UpdateProgress Panel, though I have a problem
that FileUpload.Has File always returns false. Any suggestions what might be
wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>
<P><FONT face=Arial>File Upload2.aspx</FONT></P>
<P>&lt;%</FONT><FONT color=#0000ff size=2>@</FONT><FONT size=2> </FONT><FONT
color=#800000 size=2>Page</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>Language </FONT><FONT color=#0000ff size=2>="C#"</FONT><FONT size=2>
</FONT><FONT color=#ff0000 size=2>AutoEven tWireup</FONT><FONT color=#0000ff
size=2>="true"</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>CodeFile </FONT><FONT color=#0000ff
size=2>="FileUp load2.aspx.cs"</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>Inherits </FONT><FONT color=#0000ff size=2>="FileUp load2"</FONT><FONT
size=2> %&gt;</P></FONT><FONT color=#0000ff size=2>
<P>&lt;!</FONT><FONT color=#800000 size=2>DOCTYPE</FONT><FONT size=2>
</FONT><FONT color=#ff0000 size=2>html</FONT><FONT size=2> </FONT><FONT
color=#ff0000 size=2>PUBLIC</FONT><FONT size=2> </FONT><FONT color=#0000ff
size=2>"-//W3C//DTD XHTML 1.0 Transitional//EN"</FONT><FONT size=2> </FONT><FONT
color=#0000ff
size=2>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d"&gt;</P></FONT><FONT
size=2>
<P></P></FONT><FONT color=#0000ff size=2>
<P>&lt;</FONT><FONT color=#800000 size=2>html</FONT><FONT size=2> </FONT><FONT
color=#ff0000 size=2>xmlns</FONT><FONT color=#0000ff
size=2>="http://www.w3.org/1999/xhtml"</FONT><FONT size=2> </FONT><FONT
color=#0000ff size=2>&gt;<BR> &lt;</FONT><FONT color=#800000
size=2>head</FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2>id</FONT><FONT
color=#0000ff size=2>="Head1" </FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>runat</FONT><FONT color=#0000ff size=2>="server "&gt;<BR></FONT><FONT
color=#0000ff size=2>&lt;</FONT><FONT color=#800000 size=2>title</FONT><FONT
color=#0000ff size=2>&gt;</FONT><FONT size=2> drag </FONT><FONT color=#0000ff
size=2>&lt;/</FONT><FONT color=#800000 size=2>title</FONT><FONT color=#0000ff
size=2>&gt;</P>
<P>&lt;/</FONT><FONT color=#800000 size=2>head</FONT><FONT color=#0000ff
size=2>&gt;<BR> &lt;</FONT><FONT color=#800000 size=2>body</FONT><FONT
color=#0000ff size=2>&gt;</FONT><FONT size=2> </P>
<P></FONT><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>form</FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2>id</FONT><FONT
color=#0000ff size=2>="f1"</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>enctype</FONT><FONT color=#0000ff
size=2>="multip art/form-data"</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>runat</FONT><FONT color=#0000ff size=2>="server "&gt;<BR></FONT><FONT
color=#0000ff size=2>&lt;</FONT><FONT color=#800000 size=2>h4</FONT><FONT
color=#0000ff size=2>&gt;</FONT><FONT size=2>Select a file to
upload:</FONT><FONT color=#0000ff size=2>&lt;/</FONT><FONT color=#800000
size=2>h4</FONT><FONT color=#0000ff size=2>&gt;</FONT></P>
<P><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>atlas</FONT><FONT color=#0000ff size=2>:</FONT><FONT color=#800000
size=2>ScriptMa nager</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>ID</FONT><FONT color=#0000ff size=2>="Script Manager1"</FONT><FONT size=2>
</FONT><FONT color=#ff0000 size=2>runat</FONT><FONT color=#0000ff
size=2>="server "</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>EnablePa rtialRendering</FONT><FONT color=#0000ff
size=2>="true"</FONT><FONT size=2> </FONT><FONT color=#0000ff
size=2>/&gt;<BR></FONT><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>atlas</FONT><FONT color=#0000ff size=2>:</FONT><FONT color=#800000
size=2>UpdatePa nel</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>ID</FONT><FONT color=#0000ff size=2>="upResu lts"</FONT><FONT size=2>
</FONT><FONT color=#ff0000 size=2>runat</FONT><FONT color=#0000ff
size=2>="server "</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>Mode</FONT><FONT color=#0000ff size=2>="condit ional"&gt;<BR></FONT><FONT
color=#0000ff size=2>&lt;</FONT><FONT color=#800000 size=2>Triggers </FONT><FONT
color=#0000ff size=2>&gt;<BR> </FONT><FONT color=#0000ff size=2>&lt;</FONT><FONT
color=#800000 size=2>atlas</FONT><FONT color=#0000ff size=2>:</FONT><FONT
color=#800000 size=2>ControlE ventTrigger</FONT><FONT size=2> </FONT><FONT
color=#ff0000 size=2>ControlI D</FONT><FONT color=#0000ff
size=2>="Upload "</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>EventNam e</FONT><FONT color=#0000ff size=2>="Click" </FONT><FONT size=2>
</FONT><FONT color=#0000ff size=2>/&gt;<BR></FONT><FONT color=#0000ff
size=2>&lt;/</FONT><FONT color=#800000 size=2>Triggers </FONT><FONT color=#0000ff
size=2>&gt;<BR> </FONT><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>ContentT emplate</FONT><FONT color=#0000ff size=2>&gt;<BR> </FONT><FONT
color=#0000ff size=2>&lt;/</FONT><FONT color=#800000
size=2>ContentT emplate</FONT><FONT color=#0000ff size=2>&gt;<BR> </FONT><FONT
color=#0000ff size=2>&lt;/</FONT><FONT color=#800000 size=2>atlas</FONT><FONT
color=#0000ff size=2>:</FONT><FONT color=#800000 size=2>UpdatePa nel</FONT><FONT
color=#0000ff size=2>&gt;</P></FONT><FONT size=2>
<P></P>
<P></FONT><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>asp</FONT><FONT color=#0000ff size=2>:</FONT><FONT color=#800000
size=2>FileUplo ad</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>id</FONT><FONT color=#0000ff size=2>="FileUp load"</FONT><FONT size=2>
</FONT><FONT color=#ff0000 size=2>runat</FONT><FONT color=#0000ff
size=2>="server "&gt;</FONT><FONT size=2> </FONT><FONT color=#0000ff
size=2>&lt;/</FONT><FONT color=#800000 size=2>asp</FONT><FONT color=#0000ff
size=2>:</FONT><FONT color=#800000 size=2>FileUplo ad</FONT><FONT color=#0000ff
size=2>&gt;</P></FONT><FONT size=2>
<P></P>
<P></FONT><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>br</FONT><FONT size=2> </FONT><FONT color=#0000ff
size=2>/&gt;&lt;</FONT><FONT color=#800000 size=2>br</FONT><FONT size=2>
</FONT><FONT color=#0000ff size=2>/&gt;</P></FONT><FONT size=2>
<P></P>
<P></FONT><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>asp</FONT><FONT color=#0000ff size=2>:</FONT><FONT color=#800000
size=2>Button</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>id</FONT><FONT color=#0000ff size=2>="Upload "</FONT><FONT size=2>
</FONT><FONT color=#ff0000 size=2>Text</FONT><FONT color=#0000ff size=2>="Upload
file" </FONT><FONT color=#ff0000 size=2>OnClick</FONT><FONT color=#0000ff
size=2>="Upload Button_Click" </FONT><FONT color=#ff0000 size=2>runat</FONT><FONT
color=#0000ff size=2>="server "&gt;<BR></FONT><FONT color=#0000ff
size=2>&lt;/</FONT><FONT color=#800000 size=2>asp</FONT><FONT color=#0000ff
size=2>:</FONT><FONT color=#800000 size=2>Button</FONT><FONT color=#0000ff
size=2>&gt;</FONT><FONT size=2> <BR></FONT><FONT color=#0000ff
size=2>&lt;</FONT><FONT color=#800000 size=2>atlas</FONT><FONT color=#0000ff
size=2>:</FONT><FONT color=#800000 size=2>UpdatePr ogress</FONT><FONT size=2>
</FONT><FONT color=#ff0000 size=2>ID</FONT><FONT color=#0000ff
size=2>="uprPro gress"</FONT><FONT size=2> </FONT><FONT color=#ff0000
size=2>runat</FONT><FONT color=#0000ff size=2>="server "&gt;</FONT></P>
<P><FONT color=#0000ff size=2>&lt;</FONT><FONT color=#800000
size=2>Progress Template</FONT><FONT color=#0000ff size=2>&gt;<BR> </FONT><FONT
color=#0000ff size=2>&lt;</FONT><FONT color=#800000 size=2>img</FONT><FONT
size=2> </FONT><FONT color=#ff0000 size=2>src</FONT><FONT color=#0000ff
size=2>="images/animated_loadin g.gif"</FONT><FONT size=2> </FONT><FONT
color=#0000ff size=2>/&gt;</FONT><FONT size=2> Uploading....<B R></FONT><FONT
color=#0000ff size=2>&lt;/</FONT><FONT color=#800000
size=2>Progress Template</FONT><FONT color=#0000ff size=2>&gt;<BR> </FONT><FONT
color=#0000ff size=2>&lt;/</FONT><FONT color=#800000 size=2>atlas</FONT><FONT
color=#0000ff size=2>:</FONT><FONT color=#800000
size=2>UpdatePr ogress</FONT><FONT color=#0000ff size=2>&gt;</P></FONT><FONT
size=2>
<P></P>
<P></FONT><FONT color=#0000ff size=2>&lt;/</FONT><FONT color=#800000
size=2>form</FONT><FONT color=#0000ff size=2>&gt;<BR> </FONT><FONT color=#0000ff
size=2>&lt;/</FONT><FONT color=#800000 size=2>body</FONT><FONT color=#0000ff
size=2>&gt;<BR> &lt;/</FONT><FONT color=#800000 size=2>html</FONT><FONT
color=#0000ff size=2>&gt;</FONT></P>
<P><FONT color=#000000 size=2>FileUplo ad2.aspx.cs</FONT></P><FONT color=#0000ff
size=2><FONT color=#0000ff size=2><FONT color=#0000ff size=2>
<P>using</FONT><FONT size=2><FONT color=#000000> .....;</FONT></FONT>
<P><FONT size=2><FONT color=#000000></FONT></P></FONT><FONT color=#0000ff
size=2>public</FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff
size=2>partial</FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff
size=2>class</FONT><FONT color=#000000 size=2> </FONT><FONT color=#008080
size=2>FileUplo ad2</FONT><FONT color=#000000 size=2> :
System.Web.UI.</FONT><FONT color=#008080 size=2>Page<BR> </FONT><FONT
size=2>{<BR></FONT><FONT color=#0000ff size=2>protecte d</FONT><FONT size=2>
</FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2>
Page_Load(</FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> sender,
</FONT><FONT color=#008080 size=2>EventArg s</FONT><FONT size=2> e)<BR>{<BR>}
<P></P>
<P></FONT><FONT color=#0000ff size=2>protecte d</FONT><FONT size=2> </FONT><FONT
color=#0000ff size=2>void</FONT><FONT size=2> UploadButton_Cl ick(</FONT><FONT
color=#0000ff size=2>object</FONT><FONT size=2> sender, </FONT><FONT
color=#008080 size=2>EventArg s</FONT><FONT size=2> e)<BR>{<BR></FONT><FONT
color=#008000 size=2>// Specify the path on the server to&nbsp;</FONT><FONT
color=#008000 size=2> save the uploaded file to.<BR></FONT><FONT color=#008080
size=2>String</FONT><FONT size=2> savePath = </FONT><FONT color=#800000
size=2>@"C:\Tem p\uploads\"</FONT><FONT size=2>;<BR></FONT><FONT color=#008000
size=2>// Before attempting to perform operations&nbsp ;</FONT><FONT
color=#008000 size=2> on the file, verify that the FileUpload&nbsp ;</FONT><FONT
color=#008000 size=2> control contains a file.<BR></FONT><FONT color=#0000ff
size=2>if</FONT><FONT size=2> (FileUpload.Has File)<BR>{<BR></FONT><FONT
color=#008080 size=2>String</FONT><FONT size=2> fileName =
FileUpload.File Name;<BR></FONT><FONT size=2>savePath +=
fileName;<BR></FONT><FONT color=#008000 size=2>// Call the SaveAs method to save
the&nbsp;</FONT><FONT color=#008000 size=2> uploaded file to the specified
path.<BR></FONT><FONT size=2>FileUplo ad.SaveAs(saveP ath);<BR></FONT><FONT
color=#008000 size=2>// Notify the user of the name of the file</FONT><FONT
color=#008000 size=2> was saved under.<BR>// UploadStatusLab el.Text = "Your file
was saved as " + fileName;<BR></FONT><FONT size=2>}<BR></FONT><FONT
color=#0000ff size=2>else<BR> </FONT><FONT size=2>{<BR></FONT><FONT color=#008000
size=2>// Notify the user that a file was not uploaded.<BR>//
UploadStatusLab el.Text = "You did not specify a file to
upload.";<BR></FONT><FONT size=2>}<BR>}<B R>}</P>
<P><FONT face=Arial color=#000000>A ny suggestions what might be
wrong?</FONT></P>
<P><FONT face=Arial color=#000000>T hanks,<BR>Marko
Vuksanovic.</FONT></P></FONT></FONT></FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_ 0019_01C697E8.9 78EE8D0--


Jun 24 '06 #2

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

Similar topics

4
7387
by: Ron | last post by:
I spent the last couple of days setting up a progress indicator for a private site that only does a couple uploads a day. After figuring out there was no way to set the 'upload_tmp_dir' or 'tmp_name' per session, I resigned to just doing an opendir() and finding the one file in 'upload_tmp_dir' since I knew there would never be an issue with multiple uploads occuring at the same time. if(is_dir($dir)) { if ($dh = opendir($dir)) { while...
3
4895
by: Frantisek Fuka | last post by:
My application uses ftplib to upload files to remote server. What is the cleanest way to provide progress indicator for long files? What exactly should I override in the ftplib (I am not very proficient in the FTP protocol)? Thanks -- Frantisek Fuka (yes, that IS my real name)
4
5728
by: Kenneth Keeley | last post by:
Hi, I have a page that uploads files to my server and I wish to display a "Please wait while uploading" page to the user while the file is uploading. I have been able to redirect the user once the file is finished uploading but am not sure how to do it while file is uploading. Some sample code would be welcomed with open arms. Thank You.
1
2205
by: Marko Vuksanovic | last post by:
I am trying to implement a file upload progress indicator (doesn't have to be a progress bar) using atlas... I do realize that the indicator cannot be implemented using Update panel control, but is it possible to implement it using some other control, for example a floating window? A link to example would also be useful. Thanks, Marko Vuksanovic.
6
10100
by: Marko Vuksanovic | last post by:
I am trying to implement a file upload progress indicator (doesn't have to be a progress bar) using atlas... I do realize that the indicator cannot be implemented using Update panel control, but is it possible to implement it using some other control, for example a floating window?
4
9686
by: Marko Vuksanovic | last post by:
I am trying to cause the uplaod button, id="Upload",when clicked, to exectue the onClick event for Button1, id="Button1". <asp:FileUpload id="FileUpload" runat="server"> </asp:FileUpload> <asp:Button id="Upload" Text="Upload file" runat="server"> </asp:Button> <asp:Button id="Button1" OnClick="UploadButton_Click" runat="server" Visible="false"> in the code behind file I am using the following code to add the __doPostBack to the...
1
1429
by: M.V. | last post by:
I'm trying to implement a progress indicator using atlas. Note that this indicator does not have to reflect the real progress but just to let the user know that the something is being done so that the user does not close the page as he/she might think that the web application stopped responding. I realize that the file upload control does not work with the update panel but is there any other way to show the progress indicator (just an...
7
350
by: Shelly | last post by:
I do what most programmers do -- we steal code from stuff we have written before, or accept code from others that works, before we attempt to write something altogether new. On a previous project I wrote code to upload pictures and music from the local drive to the server. It worked perfectly. I scarfed that code, without changing any names, for a new project and I am running into a problem. Here is what I have: The form definition:
10
4342
by: Robertf987 | last post by:
Okay, now then. I'm hoping somebody can help here, pretty please. I want to make a progress bar/indicator on a form. At first I was just going to insert an animated gif, but I've tried and remembered that you can't put an animated gif in there, it becomes static (I did find that out in year 10 at school, I should have known, but that's just me). I can't find an ActiveX control for a progress bat that works (and isn't it true that if you move the...
0
8821
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8718
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,...
0
9340
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
5967
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
4477
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
4738
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2539
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2118
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.