473,763 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Show Taskbar and BindingContext

Attempting to eliminate flicker showing (form) and hiding seems to have no
effect as I have it below.
if I move the lines: Me.Show()
Me.ShowInTaskba r = True
f.Close()

to the end of the load procedure the flicker goes away and produces effects
that destroy my multiple binding scheme.

This Line: Me.CurrentDate. Text = CStr(Now) is has a problem with
show/taskbar. It sets the binding context of the TimeIDs and they inturn
update their rows.

Any clues for a remedy to this flicker.
Private Sub Form1_Load(ByVa l sender As Object, ByVal e As System.EventArg s)
Handles MyBase.Load
Dim f As Form
Me.ShowInTaskba r = False
Me.Hide()
f = New frmSplash
f.Show()
DataPrepare()
SetupRows()
PrepareCalendar Buttons()
Me.Left = SystemInformati on.WorkingArea. Width - Me.Width
Me.Top = SystemInformati on.WorkingArea. Height - Me.Height
Dim bc As New BindingContext
Dim bc1 As New BindingContext
Dim bc2 As New BindingContext

Me.TimeID0.Bind ingContext = bc
Me.TimeID1.Bind ingContext = bc1
Me.TimeID2.Bind ingContext = bc2

'these two are combo fills
Me.DaFC.Fill(Me .DsFullClient1. FullClientCombo )
Me.DaDescript.F ill(Me.DsTime1. BillableDescrip tion)

'this is the dataset for the rows
Me.LoadDataSet( )

bTbl = New DataTable
bTbl = Me.DsTime1.Bill ableTimesheet
bView = New DataView(Me.DsT ime1.BillableTi mesheet)

Me.Show()
Me.ShowInTaskba r = True
f.Close()

Me.CurrentDate. Text = CStr(Now)

Dim i As Integer
For i = 0 To 2
With Rows(i)
.FullClient.Dat aBindings.Add(" SelectedValue", bView, "WorkOrder" )
.bDdate.DataBin dings.Add("Text ", bView, "BillableDa te")
.Hours.MyText.D ataBindings.Add ("Text", bView, "BillableHours" )
.Computer.MyTex t.DataBindings. Add("Text", bView, "ComputerTi me")
.Description.Da taBindings.Add( "Text", bView, "Descriptio n")
.TimeID.DataBin dings.Add("Text ", bView, "TimeID")
.UserID.DataBin dings.Add("Text ", bView, "UserID")
.WO.DataBinding s.Add("Text", bView, "WorkOrder" )
End With
Next

GrabUserID()

Rows(0).RowPane l.BackColor =
Rows(ActiveRow) .RowPanel.BackC olor.FromArgb(1 99, 195, 170)

End Sub
Nov 19 '05 #1
0 1824

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

Similar topics

0
1505
by: D Witherspoon | last post by:
An application I've just finished developing is not showing up in the taskbar on startup until the application is clicked on. This makes it difficult as it is being launched as a No Touch Deployment app from Internet Explorer. Sometimes the app will show up in the background without showing up in the taskbar. Plus if it is minimized, sometimes it just appears hidden without being in the taskbar and only comes back by clicking Alt-Tab...
2
2313
by: Flo | last post by:
Hello I want to be able to show/hide an application that is running. When i am getting the handles corresponding to an MS Office application (Excel for example), it appears that i get a handle for the Excel MDI application which got MDI children corresponding to the document(s) opened. Therefore, i am able to hide the Excel window and the documents it contains. But there also is a handle corresponding to the button which appears in the...
1
3320
by: D. Yates | last post by:
Hi, I retrieved the employee table from the Pubs database into a single dataset called, dataSet12. I dropped two textbox controls and a datagrid control onto the same form and bound the controls at design time to dataSet12's employee table. Now I want to move through the data by pressing a button.... This code will change the data in the text boxes: this.BindingContext.Position += 1;
5
8523
by: spielmann | last post by:
Hi How can we hide and show the taskbar without dll on vb.net? How can we set the scrollbar size without dll on vb.net?
2
1180
by: yxq | last post by:
I use "Me.Hide" to hide a window, then show a icon in notify, in icon double-click event, use "Me.Show", but the window only shown on Taskbar, but not shown on desktop, i try Me.Show Me.Activate() Me.Focus() but it does not work, how to do?
0
1192
by: Sakharam Phapale | last post by:
Hi All, How to show each instance of child form in Taskbar. In my application I have following forms. frmMain :- MDI Parent frmChild :- MDI Child, Maximize state I want to show only active instance of child form at time, whereas other child form instances should show in Taskbar. I set the ShowInTaskBar property of child form to True. But it doesn't work
2
1762
by: yuanh23 | last post by:
Hi, I have 3 talbes "customers","orders","details". i wanna to use 3 datagrids to show those tables. and when the selected row in parent talbe changes, the selected row in child table changes automaticly. If there is only 2 tables, that's quite easy. add the relation "CusVsOrder" to dataset. binding the "patient" with the parent datagrid, binding the relation "customers.CusVsOrder" with the child datagrid. while, now there are 3 tables,...
0
1632
by: Usman Sherwani | last post by:
Hi! I have created a deskband, which appears on the taskbar(like Quick Launch bar, language bar eyc). I would like to be able to enable and disable it through an application(not from the context menu appearing on the taskbar). I have studied the functinon "ShowBrowserBar" of Shell32.IShellDispatch2 i think which can help me but it gives me an exception.
6
12140
by: MeowCow | last post by:
I have created a UserControl that encapsulates a third party data grid. My goal was to create my own DataSource and DataMember properties that forward the binding to the third party grid, then use binding like normal. The problem I am running into is that my UserControl ends up with a different BindingContext then the ParentForm it is contained in and thus all other controls on the parent form. (I want various controls on the form to...
0
9563
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...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5270
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
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
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.