Hide Multiple Tabpages Using Program 2003?
Jan 31, 2009
I've tried hiding one tabpage in the form and it was somehow successful. However, it was not the one i'm planning to do with my program. I don't know if there exists any code that could make the tabpages(two actually) automatically hide when the form loads and would only be visible after some passing some conditions.
View 1 Replies
ADVERTISEMENT
Aug 2, 2009
it's about a program mode, i want to hide all except one tabpages if i check the "standard"-radio button.
When i check "advanced" the tabpages should be visible again.
"standard" is radiobutton1, "advanced" is radiobutton 2
View 4 Replies
Dec 25, 2011
I am trying to show or hide tabpages as per user choice. If user selects gender male then form for male in a tabpage "male" should be displayed and if user selects female then similar next form should be displayed in next tab "female" I tried using
tabControl1.TabPages.Remove(...) and
tabControl1.TabPages.Add(...)
It adds and removes the tabpages but doing so will loose my controls on tabpages too... i can't see them back.
View 4 Replies
Apr 20, 2012
I can launch a program from inside my program and embedded it in my program using a Visual Basic Control such as a Panel. That works well if you launch say NotePad or Calculator.However, If I want to launch a program that uses MULTIPLE forms... all that gets embedded is the Main Form... All the other forms are floating on the desktop nonconstrained... So If I minimize my program the other forms are still shown.So what I am attempting to do is to get ALL the Forms from the external program embedded into their own objects on my form.Have pieced together a program from a couple of program samples that I have seen across the internet... Here's the code so far:[code]The Main form for the program that I am attempting to embed is 384 x 347 in size.Panel1 is a Panel Control on my Main Form."MyProgram.exe" is a program that I have written myself.I have looked at Spy++ for Visual Studio 2003 and it is able to identify ALL the forms from my program.My question is how do I embed ALL the forms from my external program in the NEW Program?
View 8 Replies
Jul 13, 2010
I am trying to print multiple tabpages each as its own page. The problem that I am running into is that it will only show the last page loaded in the print preview.
Private Sub PrintPreviewToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintPreviewToolStripMenuItem.Click
Me.PrintPreviewDialog1.Document = Me.PrintDocument1
[Code]....
View 2 Replies
Jun 10, 2011
I'd like to print preview and print 3 tab pages from a windows form. Below is my code. I was able to get it to work if it's only one tab. but not 3 tab pages. [code...]
what can I do to make it work? also if there's an entirely different way.
View 2 Replies
Nov 24, 2009
I have a program that allows the user to add steps to a process (tabpages in a control). All tabpages are generated on the fly by duplicating a "template" tabpage and consequently have the same control names such as textboxStepDesc. Here is the hierarchy of the controls to get to textboxStepDesc.[code]...
View 1 Replies
Mar 11, 2010
I have a program that allows the user to add steps to a process (tabpages in a control). All tabpages are generated on the fly by duplicating a "template" tabpage and consequently have the same control names such as textboxStepDesc. Here is the hierarchy of the controls to get to textboxStepDesc. Both TabPage1 and TabPage2 are in TabControl1
TabPage1
Panel1
textboxStepDesc
other fields
[code]....
Since textboxStepDesc exists in Panel1 in both TabPage1 and TabPage2, how do I specify that I want to retrieve the value of textboxStepDesc.text on tabpage2 vs. textboxStepDesc.text on tabpage1?
View 1 Replies
Mar 11, 2010
I have a project where I need to add TabPages to a TabControl. I have a Panel with 10 checkboxes on it and I want to replicate that onto each TabPage as it is added.What I get is it is added to the first page, then when I add a second tabpage, the panel is moved there and not replicationed even though I used the (Add) method.
View 1 Replies
Aug 7, 2009
Is there a way to hide the tab header of a tabpage or change the apperance to look like a menustrip? I'm wanting to use a menustrip to switch between the tabpages so there is no need for the header.
View 3 Replies
Dec 6, 2006
i have a multiple form project in vb.net 2003.from my main form i activate the 2nd and from 2nd 3rd and so on.but the problem is when im going back from higher 3rd to 2nd and from 2nd to first, the closing event of my mainform doesnt seem to be working. well i have it me.close but it is still in debugging mode. i could only make it stop thru the stop button.
View 7 Replies
Apr 30, 2012
I know my Question was asked maybe 10000 times before, but i really did not take the chance to search the forum coz i really short of time.
I have *.mdb DataBase with 20 tables each table have more than 10 fields, i'm trying to automate the MDB file from a network like that 5 PCS + One vb.net exe program (5 users) working on the same time on the exe that is connected to the database , my questions are :
1) How much risk is it to put the database into one (shared) folder and connect it to the program ?
2) What is the best way to establish this method ?
3) Is there any alternatives ?
View 4 Replies
Mar 5, 2009
Outlook wont let me send multiple drafts at the same time. Is there an easy way to send multiple drafts at once in outlook? without having to open each one individually?
From what i've read, seen and tried; this is not possible from within outlook itself, and thus a programming solution would be required, probably some VB script
View 2 Replies
Oct 16, 2011
My code:
Case 1 To 9
txtPlanet.Text = "Mercury"
pl1.Show()
[Code]....
How do I make it so it does it like this: pl1.Show, pl2-9.Hide. If that isn't possible, what's the best solution to neaten the code?
View 3 Replies
Sep 12, 2011
If i place 20 different buttons on my form, how can i hide them using the for each function or any other function instead of writing the following for each button[code].;..
View 1 Replies
Nov 10, 2009
I am writing a POS application using vb.net 2003 and need to print 3 or 4 lines of information (complete with formatting instructions) to an attached parallel printer. Here are the specifics:
1.Printer is a Practictical Automation CLTX2003 parallel thermal printer
2.Formatting instructions accomplished using Friendly Ghost Language (FGL)
3.No dialog boxes should open for user confirmation or input
4.Would prefer to print each line (with its formating instructions) directly to the printer
View 5 Replies
Feb 12, 2012
I have a program that we converted to vs 2010. When then moved it to the users computer and they only have Excel 2003 on their station. How can we tell the excel reference to use 2003 (version 11) instead of 2007 (version 12). The program now is looking for 2007 version 12.
View 3 Replies
Mar 2, 2010
Have upgraded a program with the wizard after a bit of pottering about I got it to run
So cpl of things... I changed the program republished it...then ran setup again...does seem to be updating the program for forms...ie small changes like text boxes
View 4 Replies
Jan 5, 2011
I am using VS.net 2003. When I deploy my program and try to run it the program works except that when I try to print a report I get a message that I need a license.
View 7 Replies
Mar 7, 2009
error"login failed for user using vb.net2003 program application connect to sql 2000. i have sql2000 server and i created dbname test then i created log in sql name xtops gran permission access on dbname test, but if i created login in windows it works, but i don't want to create log in in windows coz the prog can access dbase even if hte user is not created into dbase.
View 3 Replies
Oct 30, 2009
Is it possible to pass data between a MODULE in Access and a VB2008 app?
To be more specific, suppose a VB app calls a MODULE in a access DB and the job of the module is to count the number of records that have "Joe" in a column. I know this can be done with a SELECT within the bindingsource BUT in some instances, it is much faster to pass the task to Access and return the result.
So - can an Access MODULE RETURN a value back to a VB app?
View 17 Replies
Apr 11, 2009
I just wonder if there is a way to hide a second program in my application and start/save it from my app. What I am looking for is a way to have 2 processes so if you shut the first one(from ctr+alt+del) down the second will still go on
View 1 Replies
Nov 17, 2009
How to make transparent listview column headers. i am using VS.NET 2003 .. i hav googled a lot , but unable to find the ans.
View 3 Replies
Feb 5, 2010
working on an application which performs a set of operations on Active Directory based on an op code.The application was developed long back and has been working fine. I recently made few changes, which is causing the Server to run out of memory whenever the program is being run. I also modified the code to make sure that the variables being declared in each function are set to "Nothing" at the end of function so that the memory can be collected by garbage collector. To make sure, I'm also forcing garbage collection to take place at different parts of the program. But, I still continue to have the issue. The program is very big and hence I could not upload it.
The code retrieves a list of rows from a table with opcodes in it and based on operation code, it performs a set of tasks. The problem is that when it loops through each row in the table, the size of memory required by the program keeps increasing (> 1 GB) to the point where the Server (Windows 2003) is crashing. I have tried different profiling tools, but none of them have been able to detect any memory leaks in the program. I'm guessing that the resources are being held up and hence causing this issue.
View 7 Replies
Oct 14, 2011
how to auto hide programs when windows start up n put its icon in the hidden icon box? i know the codes to make it hide, but not auto hide. im using a check box. when i tick it, i hope it wont prompt when i enter windows environment. iv already make it auto run. now i wish to do it auto hide, and an icon will show up in the hidden icon box
View 7 Replies
Apr 25, 2010
I want To creat To creat a program that can hide folder ...
Till Now Everything Is done But i need an other code for hiding folders !!
View 7 Replies
Aug 13, 2010
I was wondering if there is any way to hide a form when you run the program but at the same time still display the contents of what was inside the form. so what I have is a form and a picturebox can I hide the form but still display the picturebox on the screen?
View 6 Replies
Jan 20, 2011
The program goes and "Hides" itself as the very last step (InitializeNotifyIcon - does a close which triggers the Form1_FormClosing), but for some reason it shows back up right after it hides iteslf.Here is my code:
Public Class Form1
Private contextMenu1 As System.Windows.Forms.ContextMenu
Friend WithEvents menuItem As System.Windows.Forms.MenuItem
[code]......
View 6 Replies
Apr 30, 2011
I'm using Visual Basic 2008 for example i have running notepad.exe, can i hide notepad window, and then if i need it to show it again?
View 1 Replies
Aug 23, 2011
I have this labels in my project[code]...
What's the best way to hide/show them?
View 2 Replies