One Common Navigation For All Forms?
Feb 15, 2012
i made an application using VB.NET 2010. i have 5 forms. i want to know how to make one common navigation (like in a webpage) for this application. Is it possible to have the menu and header static and loads each form in one dynamic container. I hope my questing is clear :P just to make it more cleared, it is more like having a templates in php coding where we can load other page in a particular area without having to reload the entire page with each links.
View 2 Replies
ADVERTISEMENT
Jan 28, 2010
iPhone-like navigation between forms?
View 4 Replies
Feb 8, 2011
I'd like to implement a common method on most of the forms, but not all.Let's call the method 'FormCleaner'.
I'd like to recursively call each forms FormCleaner method and ignore cases where the form has no such method.[code]...
View 2 Replies
Nov 23, 2009
I have two projects
a.sln and b.sln they have their own classes, modules and forms.
As I work on solution 'A' I devise a class and save it in solution A's folder. As the class develops, I now find a need for it in solution B.
How can I move it from solution A's folder to my Common folder then link it into solution A and B.
Currently I am doing this manually, Moving then linking to it. Is there a way to do this withing the IDE
View 14 Replies
Aug 21, 2010
I'm making a program that takes common applications and installs them silently using batch files. Someone would select the programs they would want to install and my program will write a giant batch file and execute it to install whatever they want. Heres the problem, After the user selects the programs they go into either one or two lists. Non Silent Installer List Or Silent installer list.
Some programs I have simply won't go silently so from there they can choose in what order they want to install these programs. Then there is a combo box that tells weather you want to install non silent programs first or last. From there you hit add to batch file and it would add everything in listbox1 and listbox2 in order. Listbox1 would contain just the text "MalwareBytes" for example. Along with Novell Groupwise and Firefox. How do I get that to add to the Batch List as a code and in order? So the user wants Malware bytes added first to the batch file. How do I add that to my batch list as a completely different code?
[CODE]..............
View 8 Replies
Sep 4, 2009
I have a asp.net web page where i will navigate pages on the click of the "Next" button
Page1 will got to Page 2 and then page 3 and page4
But in a selection of dropdown in page 1 it decides page 2 should go to page 3 or page 4
How can i know where they set this page navigation? if suppose i need to change the navigation order?
View 3 Replies
Jun 29, 2009
how can i create this navigation bar or xp bar??
View 6 Replies
Apr 18, 2012
I am using VB.net 2010 and sql server 2008. I want to have data navigation buttons like next, previous, last , first etc. I am using data reader object to accomplish database manipulation. Now, I want to show Next database row, on Next button press, and same with previous etc.
View 2 Replies
Jan 12, 2012
I am new to .net and I usually had a common file which was having information of username,server,password,IPS and fixed integers in php and asp classic which i used to include in all files so that i could use them in any page. Since I have come to know that .net has no include function. how i can do it in asp.net?
View 3 Replies
Jun 6, 2010
I am using visual basic and when I try to hide Navigation bar, I am not able to, it is disabled. Ok I tried to turned it off going to "all languages", althought I unchecked the setting. It didn't disappear. I restarted visual studio, closed all open classes. It is just visual basic, when I try with c# I can hide and show it.
View 1 Replies
Mar 25, 2011
navigation from one page to another
View 6 Replies
Feb 8, 2010
I am designing a web application in Visual Studio 2010 Beta 2, using Silverlight 3, with Visual Basic as the underlying programming language. What is the Visual Basic code that I would put in a Button1_Click event to tell the program to navigate to another UserControl XAML file?
View 4 Replies
Feb 16, 2009
I am learning VB 2008 newly. I want to develop a students database. I have prepared all the required specifications. I have started using VB2008. I have created the initial form. I now want to navigate to the next form by clicking one of the buttons created. It shall go to the next form that displays students personal details.
I am not able to find how to create a new form that will navigate from the exissting initial main form.
View 9 Replies
May 11, 2009
i'm using vb 2008?i have a datagridview which is bound to a datatable.within the grid is a list of orders, i want the user to be able to type a number in a text box, hit a button and have the datagridview go to (and select) the row that is relevent to the value in the text box.this is also applicable where the user wants to refresh the grid to pick up any new activity, but when the refresh still have selected the same row they did before so for example write current record to a variable (id number, or the unique key of the field) refresh gird navigate to and select the unique row from the variable?
View 3 Replies
Jun 18, 2009
i have a webbrowser control using it i navigate the webpage and also using vb.net form button i gave autofill value to the webpage text box.it also works fine and it opens new webpage
but i cant give now values to the new webpage textbox which is in same webbrowser control .please help me sir
i need to give value to that new webpage textbox value by using vb.net form button event
View 5 Replies
Apr 26, 2011
I'm learning WPF, and NavigationWindow in particular. I want to add stuff to the window, like a status bar, a favorite bar, etc. Unfortunately when I try adding anything, I get an error.
I'm hoping there might be a way that pages can be bookmarked as someone browses between them; let the user drag pages up to a favorite bar.
Something similar with the status bar; I'd like to have page specific information on the status bar, without having to have it on each individual page.
Is this possible with a navigation window, or am I barking up the wrong tree?
Edit:
<NavigationWindow x:Class="Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
[code]...
I ended up putting the status bar on the individual pages, so that I can more easily change what's displayed from page to page, but the tool bar behaves nicely with the frame.
View 2 Replies
Oct 27, 2010
I need to add some common details in more than two tables. [code]So i have stored the Department (from drop down list box) and assigned it to Dept.So i guess dept would have Csc if i choose csc and commerce if i hoose commerce.When I checked with breakpoint it s workin. Datas are added perfectly. But they are not visible in that respective table
View 2 Replies
Jul 7, 2010
I have a database with 2 tables master and detail, the detail has a picture field and the PK and FK. I use this code to navigate through the records, is there any simpliest way?
me.bindingcontext(dataset11,"Table1").position += 1
me.bindingcontext(dataset11,"scan").position = textbox1.text
where scan the detail and textbox1.text the PK of the master, it is a little slow.
View 1 Replies
Mar 26, 2011
Im currently trying to set up breadcrumbs on my site, Ive tried two different approaches and the max I have seem to get is only 3 levels on the breadcrumbs. Is there a limit to it?
Home> Hello World > Good Bye Home> World > Good Bye > Forever E.g. I never seem to be able to get Forever to show on the breadcrumb. Is there a limit?
View 1 Replies
Apr 17, 2011
In the old VB, there is a .bas file wherein i place all the global constants there and whenever i create a new project i just include that .bas file so that all the constants i placed are automatically added to my project. Is there any way to do this on VS2008? Ill be doing dozens of Class Libraries that that needs to reference global constants.
1. Is there any other way of referencing the global constants rather than making it a shared variable in a class?
2. Also, is there a way to include a .VB file without the copying it on the local project file? My point being is that this .VB file is also being used by other Class LIbraries that i created.
View 4 Replies
Aug 28, 2011
Is it possible to set up a common event handler for a group of like controls like buttons or text boxes so a single event handler is called regardless of which of the controls is clicked, changed, etc.In my PrinterDialog study project I have 5 text boxes named TB1, TB2, TB3, TB4 and TB5 in a text box array called TBs so they can be accessed with TBs(0), TBs(1), etc.My question is if I can set up a single click event that responds when any of the 5 text boxes are clicked to avoid duplicate code n 5 different click events.
View 1 Replies
Aug 9, 2009
if i miss to set dbtype of my parameters (common.dbparameter) it works fine again?Is necessary to explain dbtype or not?
View 1 Replies
Oct 26, 2009
i want to display images.but the problem is navigation code is improper.pls help me.
Public Sub showimage()
On Error GoTo fix
Dim sql As String = "SELECT CUST_IMAGE FROM form2 WHERE FULL_NAME='" & Label2.Text & "'"
DBcon.Open()
[code]....
View 2 Replies
Apr 18, 2012
Am trying to add to the navigation url in a hyperlink field.
I have 5 columns on my gridview, the last being
<asp:HyperLinkField DataNavigateUrlFields="vID"
DataNavigateUrlFormatString="Page2.aspx?field={0}" HeaderText="send"
Text="send"></asp:HyperLinkField>
[Code].....
I had it working yesterday, but must have accidentally deleted the code, and I cant find where am going wrong here, I get an error "Specified argument was out of the range of valid values. Parameter name: index"
View 1 Replies
May 25, 2009
I know it is not vb question but I was wondering if there is any place to get the common images for buttons (like save, clear, find, new , delete etc...)
View 2 Replies
May 15, 2011
Starting from a table like this:
| Code | Year |
---------------
| A01 | 2001 |
| A01 | 2002 |
| B01 | 2002 |
| C01 | 2003 |
I have to arrive to this:
| Code | Year |
---------------
| A01 | 2001 |
| B01 | 2002 |
| C01 | 2003 |
I have to group the first column (Code) and from the second (Year) I have to get the data 'less common as possible' compared to all the other records. I try to explain this with the example: for the code 'A01' I have 2 years: '2001' and '2002'. I have to take '2001' because it's the one that not recurs in the other records. In the case that there aren't available values 'Year' that not recurs in the other records, it's good to take whatever value.
The data are in the form of array in memory and to interact with them I'm useng some LINQ queries.
View 4 Replies
Feb 16, 2010
Essentially, whenever my users who are logged in via a global module level variable enter a new form, their activity is "logged" in a textfile with their UserID as the name.txt and every time they visit a page it adds a new line to their log file with a number corresponding to the form they visited. For example, if they select "add a user" it will add the line "1" to their log file. Note: At the moment there is only 1 2 and 3 not 0.
I have got this far and I have got as far as creating an array which has:
Array(0) = NumberOfTimes 0 appears in the log file
Array(1) = NumberOfTimes 1 appears in the log file
etc etc
Therefore the output for this is
Msgbox(Array(0)) shows "0"
MsgBox(Array(1)) shows "4" for example and lets just say
MsgBox(Array(2)) shows "9" and
MsgBox(Array(3)) shows "1"
Therefore, finally (!) my problem is now finding which 3 are the top. I have tried various methods of sorting them but I just get "9, 4, 1, 0" rather than "2, 1, 3, 0". (By the way the end product for this is to show three links on the "welcome form" of the users 3 most visited forms). Here is a pastebin of all the rubbish I have currently tried that hasn't worked! [URL]
View 1 Replies
Oct 12, 2009
I have already connected MS Access to Visual Basic .NET 2003 through this tutorial [URL] I want to add some record navigation on my program like Previous Next Add Delete Save buttons.
View 1 Replies
Nov 2, 2009
When I was learning QBasic I found a list of most common errors and it told me whether my errors were syntax errors or logic errors. Where I can find a similar list for VB 2008 Express Edition?
View 7 Replies
Aug 25, 2009
i have a datagridview and four buttonsfirst ,next, previous,lastmy datagridview is binding with data from database for example in my datagridview i have 200 rows i want to display 50 rows for page. i want to do navigation and also i want to use threading.
View 1 Replies