Next Form Won't Display?
Jun 27, 2011Private Sub frmupdateBFYen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
strSQL = "SELECT * from tblbfy WHERE id= '1'"
[Code]....
frmInitial won't display.
Private Sub frmupdateBFYen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
strSQL = "SELECT * from tblbfy WHERE id= '1'"
[Code]....
frmInitial won't display.
I have a problem in timers, I want to display 2 forms each one after 3 and 5, how to do that? I mean when the first form appears, after 3 seconds another one will appear, then after 5 seconds the second will appear. I have a code where someone gave me here but its for message box only, thus I modify it to put a form still does not work. Here the code I put in the timer below:
Private Sub frmblabla_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
tmrnote.Start()
Private Sub tmrnote_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrnote.Tick[code]....
I still have problem when the message box stops, it displays all the forms together. All I want is when the message box stops, then it display the first form then stop to display the second then stop to display the last. The first form must stay for 3 seconds on the screen, then after 3 seconds the second appears then after 5 seconds the last appears.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)
[CODE]...
So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.
Inside a form, I would like to display a pdf file which is already available in my resources (template file "untitled"). In this pdf file, I have some fields which get their values from some texboxes in another form. My aim is, when the user triggers the button to call this form, it should insert the values inside the pdf file and display the output pdf inside the form.I have written the code to an extend but could not finish it myself after my many trials... Now here are the two things I cannot manage:I can use a directory to read the template pdf "untitled1.pdf". But my aim is to use the file inside my resources. can save the output file in a directory but this is not I want to do. I want to display the output pdf.
View 1 RepliesHow does Visual Studio and other similar programs display a form in their IDE? Is it possible to achieve the same or a similar effect using C# or VB.NET?
View 3 Repliesmy application have a main form. i have set the isMDIcontainer to true on the form properties. How do i set other forms to child form of the parent. i need to do this because the other forms start position is CenterParent.but as it is now when i run the program the other forms start position is not the parent form centre.Secondly, how do i disable the parent form when a child form is on display. so that user cannot click on the parent form until the child form is closed.
View 1 RepliesVS2010 VB.NET windows form app I have a login form that is my startup form.when uer hits OK I display the main form and close the login form, like this:
PrivateSub OKButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OKButton.Click
frmMain.Show()Me.Close()EndSub Problem is the application closes with me.close. Why? How can I close only the login form and leave the main form urnning???
I took picture box and some container controls on my MDI form but when I am opening my child forms it going to backside of my MDI forms controls.
How can I resolve this issue because I cannot remove my controls from my MDI form but at the same time I want to use my child form worked properly.
I am trying to create bitmaps from data, display them in a particular way on another form and then save an image of the other form. I can print the form display correctly when the code is run on the form to be printed, however, I would like to cycle through a bunch of data files and the form_print event will only execute after the form_load routine has complete. So, I've tried calling the form.show from another form, but then the form_print event is not called. Generally, this is what I would like to do:
[Code]...
Public Class frmStudentScores
Private Sub btnAddStudent_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAddStudent.Click
[code].....
My company's main software package includes a hefty configuration library which loads on startup. This config library includes some mandatory settings which, if not supplied (via command line arguments), cause the entire application to exit.
This has never been an issue for our users, who launch the software via scripts which have the needed command line arguments supplied automatically. But sometimes when debugging our software we developers forget to specify the necessary arguments in Visual Studio's debug options; it's then very annoying to be greeted with the message Config specification invalid -- missing required parameters X, Y, and Z -- shutting down (I'm paraphrasing, of course).[code]...
When i use AxAcroPDF1 in VB.net to open a PDF inside a form it gives me an error.
This only happens on Windows 7 64 bit. I have been told to compile as a x86 application but i cannot do that as i have several other DLL's in the program that are not 64 bit specific and so the build falis. I have also tried using a browser in VB.net , it opens fine in XP, bit widows 7 it opens a new window and it's maximized and therefore the content behind get hidden
Spend a day trying o find the reason why data grid will not display the data in the form... Simple Data set. Just ONE table with 2 fields (ID,Name). I Drag and drop to the form from Dataset. I can see the data in the dataset but not in the form. Tried with Access and Advantage data bases.
View 3 Repliesi want to display a transparent png into the form, i know picturebox doesn't suport tranparency. my image has a transparent background .i want it to be like i can see the picture behind the png(its like a watermark what ever picture is diplayed inthe bakground it should be visible through the image above it)
[Code]...
I have been programming in VB6 for a while now and am switching over to .net. There are a few basic functions which I just can't get for some reason... I am forced at the moment to use a DAO/ADO connection, and I've been primarily using DAO in vb6, so I thought I'd carry this over to .net... atleast for the time being[code]...
View 7 RepliesWhat is the best way of displaying database on a form? I have access database with multiple tables, and I want to combine them on a single form. Also, I would would want users to enter in a more detailed view of a particular row. Is there any tutorial for this? What would be the best control to use for this?
View 1 RepliesI have an icon in my resource and I call it using
Dim
MyIcon As Icon = My.Resources.Myiconname
but I would like to display this icon into the form and I can't find the way to do it.
I have a field for each record with a hyperlink to pictures in access database. I want to display the pictures in a picture box in vb2008.picturebox1.Image = dt.Rows(rowindex)("ImageUrl")I am getting the following error when i am trying to access the link
View 1 RepliesI'm in the process of creating a tool that allows users to download stuff from a LAN server. The progress of the download is now being shown as a progress bar that performs a step each time a file is downloaded.
But if the file is a large file (Let's say a 2 GB file) it'll take a while before the progressbar performs a step and the user might think the tool froze up and close it. Now i'm wondering if there's a way to show the activity on the NICs installed. Something like when you open up task manager and go to the "Networking" tab. Showing it as a graph would be awesome or just a percentage is good aswell I have NO idea where I should start looking..
I'm just beginer in VB.net and i would like to ask for some tips. I'm already connected to SQL server database, I need example how to display records in textbox in the form (without using databinding) and how to programm button to go to the next record.
View 1 RepliesI know this sounds like a stupidly easy question but it has me stuck, how to I display simple static text in a form (multiline)?
View 6 RepliesI have finished constructing my form and have completed my code. I have built the project with no errors, warnings or messages. None of my code is flagged up as erroneous. Yet when I try and run my app to test it, the form does not display at all!! It did, but it doesn't anymore. The only thing I have added to my form since it did display correctly is a couple of Month Calender controls and a couple of buttons, with a piece of code behind each control.
I have not altered any properties for the actual form itself..
I have a listbox on a form that has names and numbers in it like this Joel Murach|97|71|83 and I need to get this to display in another Form with the Name in a Textbox And the numbers in a list.
View 9 RepliesI would like to display PDF files in a VB program. They need to display on a form that may have other elements on it. I added a reference to Adobe Acrobat 7.0 browser Control Type Library.
View 2 RepliesI am having a issue when navigating to a URL that requires the user to log-in before proceeding. The system we are logging into takes care of going to the log-in page and then back to the page I specified. But when I navigate (webbrowser.navigate = ...) to the web page it locks up the form until the method is complete. But I want to wait in that method until after the user logs in and then the window is redirected, and I want to make sure they got there. I am going to need to do this multiple times during the program. Is there another method I should use? I would prefer to use the embedded web window in VB2005.
View 3 RepliesI want, when I show Form2, the form1 should be displayed in background. And when I close Form2, the form1 should be updated or starting complete new Form1. I do this but there are two tabs of Form1 in TaskBar. One is background display Form1 and another is updated. I want only one Form to be displayed.
View 9 RepliesI have Street and trip, but would like to write a different mapping display. Is there a way to use the map files and display them on a form?
View 6 Repliesits 3rd or 4th time that i am having this problem. the problem is that suppose i added a new control, any one textbox, button, combobox, checkbox etc etc. and when i run my project so it does not show that new control on form. or sometimes i add a control and it display on my form at run time but when i delete the control so it does appear still on form at run time. what is wrong with this?
View 5 RepliesI have a transparent layer on the top of a form. I need to display only some part of that transparent form.
-edited- If you think of a map and traffic signal icons displaying on the map. There are a map image layer and a traffic signal icons layer, which is tranparent except icons. if you move the map location, the traffic signal icons should move along with. if the certain area of map does not appear on the screen by moving, corresponding traffic signal icnos should disappear as well. This is what I am trying to do here. Moving the trasparent form is straightforward, but I need to hide some portion of that transparent form.
[Map]
[Traffic sig] here I need to show "fic s" part only.
This is for a very small image.
I have a section of code in which I want to display a messagebox after a form is displayed... as the form loads. me.show messagebox.show If I don't use me.show first, the messagebox appears before the form is displayed. If I do use me.show first, the form appears, but is not always complete before the messagebox appears. Is there an easy way to poll the form to see if it is done displaying without using a timer?
View 14 Replies