Effect Of Openform On Subforms?
Jun 12, 2009
When I use a control button on a switchboard to open my form which has subforms, the subforms open in datasheet view. When I open the form directly the subforms open in single form/continuous form view - which is what I want. Is there something I can do to the event procedure to make the subforms open properly?
View 2 Replies
ADVERTISEMENT
Oct 5, 2005
What I "think" I want is to essentially be able to duplicate the functionality of an Access subform.I have a table with audit data in it, I also have a table with audit findings. The findings table is joined to the audit data table by its primary key(FINDING_ID).(ONE Audit_ID to MANY FINDING_ID's) Each audit may have several findings and I am trying to find the best user interface for this.I was thinking of having a main form with audit data and would like a subform where I could add, update, delete and scroll through findings.If there is a good way to create subforms with VB.NET?
View 4 Replies
Aug 17, 2010
How could i set all subforms' icons inheritate from mainform icon?
i tried this - me.icon = form1.icon - in the subforms, but is not working.
View 1 Replies
May 14, 2010
I am using VB Express 2008 to demonstrate my ideas for an improved UI for an existing product for my colleagues at work.The current UI has a certain page with ten tabs, allowing the user to define up to ten "things". The available choices for each of the ten "things" are all the same. On each of the ten tabs, there is a checkbox to enable that definition. Generally, a user will never use more than 5 or 6 unique definitions, the rest will remain disabled.
So far, my prototype has a tree view control with one branch to contain this list of definitions, Add and Delete buttons. My idea is: there is one sub-branch to start with (corresponding to the first tab in the current UI); if the user wants addtional definitions, they click Add and other branches are added to the tree view, up to maximum of ten.
I think I should be able to create a "class" that has a sub-UI (like a sub-form in Access) along with behavior code, that can be instantiated with each press of the Add button; each instantiation's settings can be set independently and is displayed in the main UI form )in a panel or frame) when selected in the tree view. For example, suppose the user Adds to make a total of three definitions: the tree view now has three sub-branches, each of which presents the same sub-UI with settings that can be set specific to the selected sub-branch. I'm sure it's possible but not sure how to do it.
View 1 Replies
Aug 22, 2011
Wrote a custom stand alone engineering program to do some very basic repetative design calculations. This program also does pricing by taking each design element and asigning pricing to it based on the parameters given. All the individual elements are added together to get a unit cost. (All this works well without any problems or issues)
[Code]...
My eventual goal once I can prove that my changes work is to control the pricing by using the YEAR so that the program increases the cost by a set multiplier based on the actual YEAR the system is set for. ie: 2011
10% increase, 2012 5% increase, 2013 5% increase, etc.
View 3 Replies
Aug 15, 2009
I have fields with " monday, tuesday,wed, thu, fri, sat and sun". I am trying to add the hours of each day on a separte field " week total hours "..Everything works fine but say if i make any changes again to "monday hours" it does not take effect on " tot hours "
eg.. mon 2hrs, tues 1 hrs, wed 1 hrs, thur 0, fri o, sat 0 and sun 0, then the total hours is 2+1+1 = 4 and it displays well ....but if i change ( mon= 1 ) then it should be 1+1+1 = 3 but it remains 4
[Code]...
View 30 Replies
Jun 30, 2010
I want to add a wait process form instead of the wait cursor effect while the method block execute codes.[code]...
View 8 Replies
Feb 23, 2010
I have to create a slot machine. i have 3 picture boxes and i need to know how the program can randomly select from the 7 pictures i have but still create a short delay where there is the effect of spinning. my teacher said that it would be easy to assign each picture a number but i didnt get what he means.
View 4 Replies
Nov 1, 2006
I was recently asked a multiple choice question: According to the sample code, which one of the following statements has NO effect and should be moved to another line to accomplish its purpose?
dim tb as New TextBox
g_row as Integer = 0
tb.Text = CType(g_row, String)
[code]....
View 6 Replies
Dec 22, 2009
I am not an advanced VB programmer as I create applications for fun at home, so am hoping someone can help me with this. I would like to add a mouse over glow type effect to a control (doing this on a picturebox at the moment). I did this very simplistically by creating a user control and having a picturebox within a picturebox, one of which is not visible. On the mouse over, I just make it visible and it does look cool as it has rounded edges and all that. But I assume this is not a good technique and really limits you. I would like to do it so I can define the color, glow size, etc... kind of like the glow effect in Flex.
View 3 Replies
May 5, 2010
I have a few routines that they loop forever if they are not interrupted.Selecting any of them sets the "seq" to True.This would leave them in the tight loop to do whatever they do.Its different patterns of LED flashing.I use another button to stop and that makes the "seq" go False.Interesting that I need to click the stop twice to take effect.I can click the stop now and the 2nd click could be after a long time but there is always the 2nd click on Stop that takes effect.
[code]....
View 7 Replies
Jan 20, 2011
I use to remove wb1 at some point after work Is done
WebBrowser1.Dispose()
and
Dim WebBrowser1 As New WebBrowser
Controls.Add(WebBrowser1)
WebBrowser1.BringToFront()
[code]....
p.s the reason I'm doing it because even if you delete cookies, index.dat will have cookies saved for the current wb1 and won't be deleted only if you reopen the app.
View 1 Replies
Mar 11, 2009
I am try to control which tray to print to from a VB form. (VS2008)The target printer is HP laserjet 4200 with a 4 tray TowerTray added. The test is below just cycles through the 16 options, but they all go the botton tray on the printer. The default tray is the top tray on the printer.Imports Word = Microsoft.Office.Interop.WordImports System.Drawing.Printing
Public Class PrintTest1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click testprint() End Sub
Private Sub testprint() Dim oWord As Word.Application Dim oDoc As Word.Document = Nothing
[Code]...
View 2 Replies
Dec 20, 2011
i am making a marriage bureau desktop application software and i have set 12 pictureboxes in a groupbox...i have set timer to change picturebox in groupbox but this does not feels impressive so now i am trying to give fade effect to these pictureboxes i tried a lot but not succeeded...
View 1 Replies
Mar 14, 2012
i came up with the following code to produce a "GROWL" like effect that you see on MAC's and some jquery websites. (example of something like this can be found HERE. The code i am using works great and displays the message(s) just fine. However, the problem i am having a hard time trying to get working is how to display the current message ABOVE each previous message thats still on screen and having a timer for EACH message that pops up. Currently it closes all the message boxes at the same time.
The code is this:
Public Class Growl
Private _notifications As New Dictionary(Of Integer, msgWindow)
Private _count As Integer = 0
[code].....
Right now it will display the newest post BELOW the old post. What do i need to change in order for it to display the newest one top and keep working its way down the list as other message boxes appear?
View 1 Replies
Mar 30, 2010
I would like to know if it possible to create an effect of magnifying glass for the picturebox, so I could see the other controls behind the picturebox which make them looks like a glass?
View 7 Replies
Aug 28, 2011
I'm attempting to insert rows into an SQLCE database, and it's returning that 1 row is affected, there's no exception, and no syntax error in the query as far as I can see - but it's having no effect, when I look in the table from the Database Explorer.
Here's the code, though it probably doesn't make a difference:
Using conn As New SqlCeConnection(My.Settings.DietSafetyCheckerReportsConnectionString)
conn.Open()
Using cmd As SqlCeCommand = conn.CreateCommand()
[code]....
View 2 Replies
Jul 30, 2009
My ToolStripButtons look flat. They are highlighted when pressed, but they don't look like buttons do. I want them to look like they're not pressed in and then press in when click with the mouse. How can I get this effect?
View 3 Replies
Jan 13, 2010
I've made an Aero-style form header (see signature) and I wanted to speed it up, so I used LockBits, and it had a different effect. These two methods should do the same thing, right? Well, it doesn't. Image 1 is before LockBits, Image 2 is after. Using LockBits gives a streaking effect that I don't like.[code]
View 5 Replies
Mar 31, 2012
is there a way to have that aero glass effect using XP Pro when creating forms and please give me walk thru on this. I want to have that look on all my forms.
View 4 Replies
Feb 18, 2010
Can anyone explain why the effect of a LinearGradientBrush does not always seem symmetrical?To see what I mean with the following code where point1 is halfway down the left side of the form,point2 is halfway down the right hand side.Using the colors Blue and Green the transition appears mainly nearer 3 quarters of the way across the FORM for the BLUE changing to GREEN.
View 9 Replies
Mar 14, 2012
how to add glass effect to a win forms in vb.net or c# I looked a lot of examples like using e.graphics to make a square with the win form dimension and others are done really good without any e.graphics trick. But my problem is that I didn't look any example that uses windows controls like buttons, labels, dropdowns, etc on a glass effect win form.
[Code]...
View 2 Replies
Oct 26, 2011
I am trying to watermark an Image and works perfect and now I need to have my customers much more convinient so that I am planning to add a feasibility to the image watermarker.I want to have an adorner control or somethng like the rubberband effect which has 4 0r 6 corners so that they can enlarge the text with that.I have seen one of the articles in codeproject which is implemented with WPF as shown below.But I need to implement with my normal ASP.Net application.So how do I start with it?
View 1 Replies
Sep 1, 2009
the goofiest bloor function that exists in vb.net simillar to saying hello world!No blur hardness no sharp edges or any other settings everything should be default the easiest way to do it.
View 4 Replies
Jul 12, 2010
I am currently painting a light blue, partly transparent overlay over owner-drawn objects to indicate certain state. It's OK but I thought that it would be even nicer if I could at some sort of glass effect to further establish the idea that the particular object has "something" overlaid over the top of it.
I thought that some glass streaks, for example, in addition to the blue transparency would lend a nice effect.I've Googled around for GDI+ (and others) algorithms to do simple things painting like this but have come up empty. I prefer .NET but can figure out the painting from pseudo-code on up.
Sorry, shoul've also specified that I need to target WinXP and using .NET version 2.0 - So unable to use WPF or Vista/Win7 goodies.
View 3 Replies
Aug 18, 2011
How to change wallpaper with fade?
View 1 Replies
Sep 6, 2011
I have a problem. I use this code for move form:
'Declare the variables
Dim drag As Boolean
Dim mousex As Integer
[code].....
View 5 Replies
Oct 1, 2010
I'm trying to replicate the Gmail Notifier popup.It both fades in (Opacity) and raises from the start bar.
I've managed to do the fade inout using a timer and opacity but how do I:
A) make the form appear to 'pop up'? (I think its height grows via a timer from 0 to it's max?
B) Locate it's start point exactly above the task bar as pictured on all screen resolutionsWindows flavours?
View 1 Replies
Jul 13, 2009
i have code which display one table content to datagridview successfully using following code.
[Code]...
waiting for your reply.i google a lot but no success thats y i need to ask you guys.
View 3 Replies
Oct 26, 2009
I've been rattling my mind trying to find an answer to this all morning but finally decided to ask here. So, here's the problem, I'm trying to make a DLL which allows the user to fade in/out any form they want. Here's my current (Broken) code.[code]The error message i get is " 'Refresh' is not a member of 'ClassLibrary1.Fader' " and " 'Opacity' is not a member of 'ClassLibrary1.Fader' "
View 6 Replies