Click here to Skip to main content
15,913,610 members
Everything / Bar

Bar

bar

Great Reads

by InvisibleMedia
ScrollBars implementation with Windows Forms because the AutoScroll didn't fit my needs
by ASP.NET Community
Today I will show you the message bar which I normally used to display the standard place to display the messages like confirmation, errors,
by ASP.NET Community
Hi all,        Let's take the situation while browsing, the page is not loaded completely and you will try to refresh the page (or press F5 from
by ASP.NET Community
Visual Studio keyboard bindings:201020082005 Followings are some useful shortcuts for coders:Copy a single line - CTRL+C [Move the insertion

Latest Articles

by InvisibleMedia
ScrollBars implementation with Windows Forms because the AutoScroll didn't fit my needs
by Subramanyam Shankar
This tip describes how to use a background worker in WPF along with animation to provide better user experience.
by ASP.NET Community
Hi all,        Let's take the situation while browsing, the page is not loaded completely and you will try to refresh the page (or press F5 from
by ASP.NET Community
Visual Studio keyboard bindings:201020082005 Followings are some useful shortcuts for coders:Copy a single line - CTRL+C [Move the insertion

All Articles

Sort by Score

Bar 

25 Aug 2023 by InvisibleMedia
ScrollBars implementation with Windows Forms because the AutoScroll didn't fit my needs
22 May 2011 by Sergey Alexandrovich Kryukov
Never ever sleep or call any blocking methods on UI threads.For write techniques, please see a collection of links to my past answers on the problem:How to get a keydown event to operate on a different thread in vb.net[^],Control events not firing after enable disable +...
2 Aug 2017 by Peter Leow
in the custom.css file, add this code at the bottom of it: .navbar { background-image: url("https://ringgeorge.com/wp-content/uploads/2017/07/Handphone-7.jpg") }
15 May 2010 by Pete O'Hanlon
Nope. No idea. Zip. Nada.I tried the mystic filter, and gazing at my crystal balls but I can't figure out which technology/language you are asking this about. Without this, admittedly easily overlooked, information we can't help you.
15 May 2010 by Abhinav S
jalele wrote:How can i use tab control like menu bar?Tab control and menu bars (in most technologies) are different controls and should not be use as one another. Pick and choose between the two (based on your requirements).
20 Jan 2012 by ErnestoNet
In the ribbon editor, click on a category tab. In its properties there are two values:Large Images (32*32)Small Images (16*16).The one that usually counts is large images.You must have a resource with a bitmap of height = 32 and width = 32 * numimages where the images are stored...
12 Apr 2012 by Diego2la
Hi!I create Cdialog which contain different handlers. On this Cdialog I create CSizingControlBar: resizable control bar(who can dragged outside Dailog) So, can I use Cdialog only as event handler and not to call .doModal() for him? In other words, I whant not to show Cdialog but his...
12 Apr 2012 by TRK3
I'm not sure that what you are asking is the best way to do what you want. I'd think if you don't actually want to show the CDialog, then you'd create the CSizingControlBar in some other parent window and use the handler there. In any case, to answer your question:If you don't want to...
5 Apr 2013 by Luci C
I have an application like this:Form 1 => main form. When it loads it must update some information from database and read some files from diskForm 2=> secondary formI want to display Form 2 with a progress bar on it while the form1 updates its information and shows up his dialog and then...
28 Jul 2014 by Sergey Alexandrovich Kryukov
In all versions of .NET starting from v.2.0, this is a correct method: http://msdn.microsoft.com/en-us/library/ms161352%28v=vs.80%29.aspx[^].If you are using some prior version of .NET, 1) migrate to any version starting from 2.0, or, better, 3.5; discontinue support of older version;...
9 May 2016 by Suvendu Shekhar Giri
Why don't you search in Google or Bing prior to post the question here?If you have searched google, anything you have tried implementing?Why exactly you want to hide the address bar?You can do this programatically, by opening a new window (at least for IE).Please check following...
16 Feb 2010 by harini.graceful
There are two sheridan grids of same size.First grid has horizontal scrollbar to scroll the columns.Second grid has no scroll bar.Now the problem is that when i scroll the scroll bar of first grid ,i want the columns of the second grid also to scrollsimultaneously.Can you please help...
16 Feb 2010 by Christian Graus
Why on earth would anyone be using a language that is obsolete, unsupported, and rubbish ?Surely you have a scroll event on the first box, which you can catch and then scroll the second box to the same position using code ?
17 Mar 2010 by dharshinicpriya
hello everyone.. I have just started learning vc++ and mfc. Im creating a simple project with Dialogbar. my question is how to set background color for the dialogbar. Plz help me out of this. thanks in advance.
17 Mar 2010 by Eugen Podsypalnikov
You could implement a reaction on WM_ERASEBKGND for your bar :) :...BEGIN_MESSAGE_MAP(CYourBar, CYouBarBase) ON_WM_ERASEBKGND()...END_MESSAGE_MAP() BOOL CYourBar::OnEraseBkgnd(CDC* pDC){ CRect cClientRect; GetClientRect(cClientRect); pDC->FillSolidRect(cClientRect,...
30 Apr 2010 by h_kahrizy
In the Name Of GodHiI am want to design scroll bar for Tree view ControlHow do that?I try working with autoscrolofst But this don;t workedthanks
3 May 2010 by imaa2amha
but the treeview in panel and set the panel propriety ScrollBars to :"Vertical" None" Horizontal" Both" Auto"regardsAbraheem abulubbad
15 May 2010 by jalele
How can i use tab control like menu bar?
2 Jun 2010 by OriginalGriff
Don't post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.Posting this here relies on them "dropping by" and...
11 Oct 2010 by ramakrishna Namburu
HI All,I am trying to implement progress bar for data transfer from an excel sheet to database using C# in windows application.i have never worked on this kind earlier and need your valuable inputs on how to implement this.Regards,Ramakrishna
18 Feb 2011 by Bassem Ibrahim
it was the border syle of the form. windows 7 aero does not like fixedTool. changed it to fixedDialog and it worked!
1 Apr 2011 by Abhinav S
You could try using the AjaxUploader.See here[^] for a sample.You will be able to find the source code on their website.
22 May 2011 by andywawa
Hello,on the main form I start a routine that begins with copying some files (about 1,6GB).It takes a while so I want to show the progress of the copying function using a progress bar. But the form "freezes" and the progress bar doesn't show up at all.The code:private bool...
13 Jun 2011 by Christian Graus
What is a QR code ? If you have no idea how to even start, and you can't use google, you should try the jobs board to pay someone to do all your work for you. These forums work best for people able to do basic research and to at least attempt their tasks.
13 Jun 2011 by CPallini
Imranfints wrote:s i dont even have as idea of how it can be created or how the QR code worksThe wikipedia article: "QR code"[^] should give you the missing idea.
23 Jun 2011 by keerthikrishnareddy
how can i implement ajax in vs2003 for file upload progress bar
14 Aug 2011 by Richard MacCutchan
You do not mention which language you are using but the issue is the same in logical terms:1. get the text from the search box2. append that text to the constant URL3. send the URL to your browser, external or internal
14 Aug 2011 by Sethron666
I want a small search bar that when you enter a word into it, adds that word to a very specific url code.Example: Search box says: danaraUrl it goes to is > http://example.com/tagged/danaraI don't know how to do this and I'm not sure how to search for the answer; I've been looking...
24 Oct 2011 by Md. Tarek Showkot
Hi, I am new to this subject so I must mention if there is anything behind my logic of implementation then please feel free to advise me. What I am basically trying to implement is that I want to keep record of available DVD's in my store. This application is web based and it's much like...
24 Oct 2011 by Richard MacCutchan
Get a copy of one of the free barcode libraries or fonts that will produce readable barcodes for you; Google knows where they are.
24 Oct 2011 by Praveen Kullu
You can download a barcode font here. Whatever string you will pass to this font will automatically get converted to barcode.
2 Jan 2012 by bluesathish
Dear all, My application calls the backend stored procedure and get the results to the dataset, in the mean time i need to display the status of the procedure execution in my progress bar control in my Frontend Form. Please anyone give the idea to do this.Regards,Bluesathish.
2 Jan 2012 by Raimis9
You can set the Style property of progress bar to 'Marquee'
20 Jan 2012 by BarryPearlman
Objective: Add a bitmap to a button already in a Panel within a Catagory contained in a MFCRibbonBar.I am doing the following:1. Open the ribbon bar editor from the Resource View.2. Right click the button and then select "Properties".3. On the "Properties" drop-down, click the...
21 Jan 2012 by Sachendra Pal
How can i make a scrollable bar chart without moving the x axis and y axis. The x axis and y axis should be fixed. Plz suggest me some way.
22 Jan 2012 by TorstenH.
How to do multiple selections in a bar chart and retrieve their values.[^]Double post.Both indicate that you need to customize your control. You can also add ActionListeners to the bar's itself to retrieve far more information than you have now. Check this tutorial on how to...
22 Jan 2012 by TorstenH.
How to make a bar chart scrollable making x axis and y axis fixed.[^]double post. Please answer in the other question to keep it inline.
23 Mar 2012 by wrappingduke
Hello,I recently read (An Outlook Bar Implementation[^]) and now attempting to implement OutlookBar in vb.net project, however, having some difficulty w/ some of the code. I am trying to determine how the events that are invoked in the OutlookBar class are translated to vb.net. For...
23 Mar 2012 by ProEnggSoft
As given herehttp://msdn.microsoft.com/en-us/library/0ecakwbz.aspx[^]An event can be raised only from the declaration space in which it is declared. Therefore, a class cannot raise events from any other class, even one from which it is derived.May be you are trying to raise an event from...
24 Mar 2012 by wrappingduke
This is not a solution. Thank you for your reply. It's appreciated. My apologies if my inquiry was vague. What I trying to find out is how to duplicate the same event calls in the OutlookBar class but in vb.net? For example, in the PanelIcon constructor OutlookBar, the following code appears in...
24 Mar 2012 by ProEnggSoft
The equivalent of Click+=onClickEvent;Tag=this;MouseEnter+=new EventHandler(OnMouseEnter);MouseLeave+=new EventHandler(OnMouseLeave);MouseMove+=new MouseEventHandler(OnMouseMove);in VB.NET isAddHandler Click, AddressOf onClickEventTag=MeAddHandler MouseEnter, New...
25 May 2012 by Member 8956437
Hey,Just a quick question, what is wrong with my bar charts it suddenly start looking like this : http://postimage.org/image/4c1a5wrpz/[^]Thank You.
4 Jul 2012 by tronPro
Hi there,I'm working on a small application which scans the HDDs and calculates the total space, free available space and the usage. I would now like to show the percentages of each part in a bar chart. Just like the bar chart from the Windows resource monitor (Example)Any known librays...
5 Jul 2012 by kornakar
Check out the Microsoft Charting library[^]. It has 100% Stacked Bar Chart type: http://msdn.microsoft.com/en-us/library/dd489229.aspx[^]
25 Jul 2012 by symeramon
Hi there,First of all, I know that modern browsers dont let us to hide address bar while opening a modal dialog but I wonder if there is a workaround to hide the address bar??? Please help this is so urgent...Thanks to all...
25 Jul 2012 by bbirajdar
Use can use the AJAX Modal Popup extender instead.http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx[^]
24 Dec 2012 by Software Engineer 892
How to create a chart in asp.net 3.5 based upon Survey.=======================================================I have created a survey with 10 questions, when the user submits this survey...the answers will store in SqlServer 2005 database....till here its working fine.the answers...
24 Dec 2012 by Sandeep Mewara
You can use the chart control of ASP.NET. Have a look here:New ASP.NET Charting Control: [^]Microsoft Chart Controls for Microsoft .NET Framework 3.5[^]Exploring the ASP.NET 3.5 Chart Controls[^]Getting Started with the ASP.NET 3.5 Chart Control...
28 Jan 2013 by Dave Kreskowiak
You can NOT do ANYTHING with any user interface objects from a thread. Only the UI (startup) thread should be used to do any user interface work. If you're trying to put up a dialog of some kind, or modify a control on a form, or change a property on a control, or even call a method on a...
28 Jan 2013 by TangieTown
Changed:private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e){ MethodInvoker proginvoke = delegate { progressBar1.Value = e.ProgressPercentage; }; progressBar1.BeginInvoke(proginvoke);}to: private void...
12 Feb 2013 by jkhann
Hi guys,I have a server-client system going on with client commands controlling the server form. The commands are connect, disconnect, send and receive.When client wants to send data to/receive data from server (command == send/receive), there will be a progress bar (marquee style)...
12 Feb 2013 by srikanth pachava
instead of progress bar use can use ajax loaders (.gif) files this is easier.
13 Feb 2013 by Jegan Thiyagesan
Hi, Have you tried this.//disconnectpublic void SetStatusDelegate (bool state, string label);public void disconnectFlag(){ new SetStatusDelegate(SetStatus).Invoke(false, "disconnect");}//processingpublic void processingFlag(){ new...
13 Feb 2013 by Jegan Thiyagesan
HiThat means you are blocking the main thread. Try this:public bool startServer(){ if (_serverThread != null) { return false; } Task taskA = Task.Factory.StartNew(() => { Server _Server = null; _Server = new Server(); ...
14 Feb 2013 by Jegan Thiyagesan
HiHave a look at this article, http://jeremybytes.blogspot.ca/2012/05/backgroundworker-component-im-not-dead.html[^]This explains when to use background worker and when to use TPL. This article also has a link to solution similar to what you are looking...
5 Apr 2013 by Vignesh Theyagarajan
In your Form Load event, wite the following code...backgroundWorker1.RunWorkerAsync(); -- backgroundWorker1 control should be added to Form1Form2 form2 = new Form2();form2.Show(); -- progressBar1 is a control in Form2In the DoWork event of BackGroundWorker...private void...
23 Sep 2013 by Marc Gabrie
What kind of barcode you want to encode, read & print? You know, there are so many symbologies out there! Anyway a complete, powerful, free & open source barcode generator & reader for .net is http://zxingnet.codeplex.com/[^]
23 Sep 2013 by V.Lorz
Depending on your application scenario you don't need to write any barcode reading code. If user intervention is required for data introduction, the vast majority of current comercial barcode readers act as virtual keyboards that inject the read text (or code, or digits, or... etc.) as if it...
12 May 2014 by AR547
Requirement:I need to create a Stacked Bar Chart in my web application based on 2.0 plateform. I dont want to use any third party tool or chart in VS because I cannot access the chart control when working on 2.0 plateform. It only supports 3.5.Is there any professional developer present...
7 Oct 2013 by VICK
Do have a look on Google API.....Pretty Easy to deploy in an ASP.NET application.. and much helpful in chart creation...https://developers.google.com/chart/interactive/docs/examples[^]Hope it will help... :)
10 Oct 2013 by Member 10328769
If anyone ideas they will be truly appreciated.Here is the "NAV BAR" css:/*Nav Bar Stuff*/ .wrapper { width: 100%; height: 80px; background : #464646; background : -webkit-gradient(linear, left top, left bottom, from(rgb(168,168,168)), to(rgb(69,69,69))); ...
10 Oct 2013 by bjdestiny
Refer this link your solution is might be there.!!actully in above code, it does not contain sub level code so now onwords you need to put you sub level.Check This Links.1. http://blog.jmwhite.co.uk/2009/06/12/creating-a-drop-down-navigation-menu/[^]2....
11 Oct 2013 by ASP.NET Community
 Today I will show you the message bar which I normally used to display the standard place to display the messages like confirmation, errors,
11 Oct 2013 by ASP.NET Community
Hi all,        Let's take the situation while browsing, the page is not loaded completely and you will try to refresh the page (or press F5 from
11 Oct 2013 by ASP.NET Community
Visual Studio keyboard bindings:201020082005 Followings are some useful shortcuts for coders:Copy a single line - CTRL+C [Move the insertion
22 Oct 2013 by 26Pamo
Hi,I am migrating dotnet application for "Data upload" from framework 1.1 to 3.5 ,I have used progress bar on .aspx page which will get displayed while actual data uploading.But it is not working.Two cases are there -1] If I use progress bar or any other server control like label...
25 Feb 2014 by Member 10371658
how to assign auto scroll bar to a panel control in windows form application, when i set auto scroll property true. the scroll bar not appeared please help.
25 Feb 2014 by Aravindba
Hi You can use Panel, TabControl or SplitContainer control as container and place all of you contros into it. Set the AutoScroll property of Panel control to true for getting scroll bar on the form. Dock the Panel control to Fill so that it appear on entire form.Note:IF u Dock the panel...
11 Apr 2014 by HuggableAlien
Hello, I'm making a JDesktopPane based application, and I want to make it have a Windows 8 metro style UI feel to it, I'm too far in to the project to switch over to JavaFX, which I know has stylesheets for metro, so I was wondering if it's possible to customize Nimbus so that I can change the...
12 Apr 2014 by HuggableAlien
I solved it! and it's not too hard either, so to be nice to people searching for the same thing, this is a solution I found:I looked at this site: http://www.jasperpotts.com/blog/2008/08/skinning-a-slider-with-nimbus/, which details how to customize a nimbus slider, then, after looking at...
10 Jun 2014 by Sni.DelWoods
How can I output the current progress information in a label?I tried to use the code below, but don't get a refresh of the panel - except on the end of the script. If I replace the button with a timer and use the timer.tick-event instead of button.click it works.[VB.net sample...
17 Aug 2014 by Member 9245259
Dear All,I bind Gridview. by DataTable Source. And Add Scroll Bar. I am try and for Fixed when I scroll Bar. But I can not done. I using asp.net c# Web Application.HOW Can Solved this Problem.Thanking Md Syedur RahmanE-mail: syed.syed04@gmail.com
17 Aug 2014 by Thanks7872
See this : Gridview fixed header in asp.net[^]If none of them works, come back with specific question on why its not working.Regards..
7 Sep 2014 by Sasmi_Office
Dear Friends,My requirement is simple, I need progress bar on my Web Application develop in Dot Net framework 2.0.I have try using Update Panel but no use.So i try according to my Logic, I have create one web form add one Server Side 'Button' Control, One Server Side 'DIV' control...
23 Sep 2014 by Xiao Ling
I suggest you can use BackgroundWorker to update your progressbar status. http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker(v=vs.110).aspx
23 Sep 2014 by Xiao Ling
I suggest you can use BackgroundWorker to update your progressbar status. http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker(v=vs.110).aspx[^]
30 Sep 2014 by Sasmi_Office
Thanks Xiao Ling..I have use Update_Progress and Update_Panel of Ajax Extension with some changes in web config file (Get from Google) its working now...Thanks for your help.
19 Oct 2014 by touseefzaki
Sorry for not putting up my code here it ispublic int m_CurrentTestcase;public void IncrementProgress() { m_CurrentTestcase++; UpdateDetails(); }private void UpdateDetails() { prgbarStatus.Value =...
20 Oct 2014 by touseefzaki
I have a problem in updating the Label which i am using to show the Percentage completion in progress bar.I am using background worker to achieve this. When i run the application i am able to see the progress bar updating correctly whereas the label which i have used to show the percentage...
20 Oct 2014 by CPallini
Quote:this.Text = m_CurrentTestcase.ToString() + "of" + m_MaxTestcases.ToString() + "Testcases Completed";I suppose you have to use the label name, instead of this in the above line.Also make sure to read "How to: Make Thread-Safe Calls to Windows Forms Controls"[^].
18 Feb 2015 by Dav04
I have a long query to execute (usually it takes one minute) and, if it's possible, I would get the current state of this query, for example with a progress bar.Anyone knows how I can do?
30 Nov 2015 by parthapratimdey007
Presently I have drawn a bar chart which does not show the bar chart value in each bar. But I need to show the value at the top of each bar. I am using vb.net. Can anyone please help? It is very urgent.
9 May 2016 by OriginalGriff
Basically, you can't - for good security reasons.If you could hide the real address bar, you could put up your own address bar "look-alike" which could be used to fool users into thinking they are visiting the "right" site instead of yours. Nasty sites could pretend to be your bank, complete...
9 May 2016 by Patrice T
A big NO.It is the dream function of every MalWare.All you can do is open a popup window without any navigation, but not on main window.
2 Aug 2017 by Member 13341947
I am working on website built using wordpress and a purchased theme. The website url is www.ringgeorge.com I would like to add a background image to the website navigation bar. What I have tried: I am using the customiser to add a custom code to the CSS. This is code that I had inserted and...
11 Apr 2018 by Member 12674862
List> MyValue = new List>(); MyValue.Add(new KeyValuePair("Maths", 200)); MyValue.Add(new KeyValuePair("Physics", 136)); MyValue.Add(new KeyValuePair("Chemistry", 189));...
2 Sep 2018 by Ahmad_kelany
Hello everyone, I have an RDLC report in a Winforms VB.Net application, which contains a chart of type: Range Bar The goal is: On the Y-Axis the days should be displayed as: 2018-12-01 ,2018-12-02 and so on, On the X-Axis the range of the person availability time, e.g.: at 2018-12-01, he is...
4 Mar 2015 by Subramanyam Shankar
This tip describes how to use a background worker in WPF along with animation to provide better user experience.
26 Mar 2010 by Mohd Arshad Malik
While performing slow operations (like File Upload, etc.) on the website, give your visitors a bit of relief that something is happening...
29 May 2011 by VallarasuS
A Google Chrome themed progress, with customizable gradients.
11 Oct 2010 by Abhinav S
A very simple startup example here[^].
19 Feb 2011 by Bassem Ibrahim
I have a vs 2005 C# program that displays a simple message form. If the program is run on windows 7 default installation, which has aero theme enabled by default, the title bar is cut off. if I switch to basic windows 7 basic theme the title bar appears normal (see attached pictures). Since I...
22 May 2011 by Programm3r
Hi,In a nutshell, the progress bar runs on the same thread as the main form. Which will render the progress bar in a non responsive state, until the work on the main thread has finished. Please have a look at the following links:Multiple Thread Progress Bar Control[^]c# winform...
26 Apr 2012 by Haris Riaz
void combination::OnButton2(){// TODO: Add your control notification handler code here m_progress.SetPos(0); m_progress.SetRange(0,100);combination a;a.make_combinations(0);}void combination:: make_combinations(int lo_val){ srand(time(0)); ...
21 Jul 2013 by LOUIS Christian
Hi,I will just ask you that in this case Google in your friend. Start even by this and you can find many discussion like this: http://stackoverflow.com/questions/6044629/file-copy-with-progress-barBest regards.
21 Jul 2013 by OriginalGriff
It's all pretty easy: BackgroundWorker worker = new BackgroundWorker(); worker.WorkerReportsProgress = true; worker.ProgressChanged += new ProgressChangedEventHandler(worker_ProgressChanged); worker.DoWork += new...
22 Sep 2013 by codestar007
generating-barcode-in-C-Sharp/...
7 Oct 2013 by amnk.info
This is very nice and creative chart control.. try ithttp://docs.fusioncharts.com/charts/contents/guide-for-web-developers/csnet/CS_BasicExample.html[^]
11 Oct 2010 by Hiren solanki
It is just very simple control yet powerful too,Simply assume that your Excelsheet having 2000 rows and you want to transfer these rows to DB.Just set MinimumValue to 0 and MaximumValue to 2000 you can set this to runtime also after you get rows count in excel.and then just set...