Identifiers In Visual Basic Form?
Oct 10, 2011
I have a form, user logs in and another form is generated. User submits a query. My problem is that I cannot keep a record of who is making the query.
The user has a uid and usernamae but once the new form is generated where the user submits the query both these identifiers are gone. Is there a way in which I can overcome this?
View 2 Replies
ADVERTISEMENT
Jan 24, 2011
How do you extract source code from a VB.NET .EXE file?
View 3 Replies
Feb 19, 2012
Okay guys this is my first thread as well as my first dive into programming. So my question is, I want to have this design on my form that would fade from blue to black, and I have no idea how to do this. So picture a form thats blue and when you look
View 3 Replies
Sep 18, 2010
How can I add a string to my visual basic form?
I'm creating a study application for myself and this is what I have:
Imports System.Diagnostics
Public Class Form1
Dim amounts As Integer
[Code].....
I'm trying to display a line of text on my form saying.. "Prevented firefox from running X times.
X being my "amounts" variable.
Here's what my form looks like:
So how can I put my amounts variable in place of the X?
View 1 Replies
Sep 2, 2009
I am trying to display *.rpt file in visual basic submit form, how would I do that? I have Report2.rpt and Form1.vb, I like to call Report2.rpt when submit button is clicked, it will then show the report on screen.Private Sub SubmitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SubmitButton.Click.[code]And also how do I get the date to be queried in my crystal report, I don't want all records, I just want the records in between fromDate and toDate.
View 2 Replies
Jan 12, 2012
I've managed to find from other questions some data that allows me to achieve the next code:
Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("user32.dll")> _
[Code]....
My problem is that I can't manage to find the DOS console window.
The question in C# Embedding a DOS console in a windows form
View 1 Replies
Oct 18, 2009
Adding custom buttons to a visual basic form
View 6 Replies
Jul 18, 2009
I have Visual Basic 5.0 and need to print the full form in landscape mode. My form has lines,textboxes, and labels that need to be printed as they are on the screen. I understand that printform.print does not respond to changing to landscape orientation. I have tried the paint picture method, but did not like the quality of the text. I have also tried having a common dialog box before printing and even set the default to landscape, but the form still printed in portrait. Is there a way that I can print my form in landscape mode in Visual Basic 5.0?
View 1 Replies
Jul 9, 2009
how can i change the skin of the form in visual basic 2008 .
View 1 Replies
Sep 10, 2009
I have a appliction developed on Visual studio 2003, .Net Frame work 1.1.After I migarted that application to Visual studio 2008, .Net Frame work 3.5, Visual Studio is crashed as opening some Visual basic designer files by Visual Basic Form Editor.The below is detail error message of Visual studio:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe[code]......
View 2 Replies
Feb 15, 2011
how to make a layered form (im a begginer!). I've found something about calling API, but that sounded like old; cant I do this with .Net? If api is necessary, with that hwnd thing, how do I call it? And if you are so kind, is there a way to search for thing only for visual basic .net 2010? Because i dont find a way to practice a strict filter, and visual basic 6, or old visual basic stuff (if not other languages) appear mixed with the program i use.
View 1 Replies
Sep 1, 2010
How to make stylish form in VB.Net?I am working on Final year project for graduation. Project on a "Service center" of a Mobile company. how to make project more beautiful or easy user interface.
Programming language: VB.Net (2008)
Database: SQL Sever
View 2 Replies
Feb 17, 2010
I have a form in visual basic 2008 express edition and i want to be able to press a button to make the form go into fullscreen i have tried various codes but they all just remove the taskbars and i want the form to increase in size and not leave a section of the side blank i want it to sort of zoom the form size
View 10 Replies
Dec 13, 2011
Trying to use icons on my visual basic form but don't know how to place the icon and label so that they are linked and when the are clicked they get highlighted and stuff like the basic desktop icons.
View 2 Replies
Jan 20, 2011
I have created a form that we use for our employee goal setting. I would like to let the users print the form. The form is quite large and has scroll bars. I am trying to use the Printform to print the form. I would like to use autofit or some other type of scaling to get the form to fit on one page. I have done some looking aroung and have seen the following instrutions a couple of times.
1.Drag a PrintForm component onto the Form from the Visual Studio Toolbox
2.Set the PrintForm.BodyContainer property to reference your Form
3.Drag a PrintPreviewDialog component onto your Form from the Visual Studio Toolbox
4.Set the PrintPreviewDialog.Document property to reference the PrintForm component
5.Add a button and button click handler. In the handler call PrintPreviewDialog.ShowDialog()
I don't know how to set the PrintForm.BodyContainer propery (number 2). I am using Visual Basic 2010 express.
View 3 Replies
May 20, 2011
how do I go about selecting a time of day in a form??
I have tried using a datetimepicker but it just selects a date and it displays the static time (current time).
View 2 Replies
Dec 1, 2011
i'm creating a program in visual basic and i want to have a shortcut key that opens up another form even though my application is not the foreground window
View 1 Replies
Apr 9, 2012
I have read a few chapters, and researched a few websites but none of which fulfil my question, which is where should I put this If statement
Public LoginName As String
Public Password As String
LoginName = txtUserName.Text
Password = txtPassword.Text
[Code]...
The idea is once the user has finished inputting text into both text-boxes the image on the button changes from a no-go to a green-submit button but unsure what declaration it would go under and which element. I have tried several form elements and declarations but not having the desired effect that I would like
View 3 Replies
Jun 22, 2011
I have a Booking Form and a Daily Jobs Form. and when the Booking Form TextBoxes And ComboBoxes have been filled with the relevant Data/Text. And when I click the BtnSave I want to UpDate Daily Jobs Form, DataRepeater1 with some of the TextBoxes And ComboBoxes.
With the DataRepeater1 I have Dragged And Dropped some of the TextBoxes and ComboBox From The DataSource Booking Form that I require. But Now This is where I am Stuck. do I write code for DataRepeater1 in the Booking Form Code or Do I write Code in the Daily Jobs Form, DataRepeater1. code.And How would I start the Code. I have looked at some walkthroughs and Video. But i cant seem to adapt the code to my requirements
View 4 Replies
Oct 25, 2011
how to change the window title of a child form in an MDI structure to the name of the file opened?
View 1 Replies
Oct 27, 2010
I am trying to print the contents of a structure onto a print page in Visual Basic(visual studio 2008). However my for each loop generates a conversion error?
Public Class Form1
Structure IncomeRecord
Dim IDVal As Integer
[code]....
View 1 Replies
Oct 22, 2010
I am using Visual Studio 2010 to build forms to access databases through DataGridViews.As these tables grow, it would be easier to resize the form to see the whole table.So I try to dock the DataGridView to the bottomand resize the form (The other controls are at the top of the form)This works for the width, but the height of the DataGridView does not adjust.
Public Class Form1
Dim gridHeight
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[code].....
View 3 Replies
Jul 14, 2010
This is well documented and easy to accomplish in Access, but how does one accomplish this in Visual Basic 2010 on a form designed in Visual Studio that is bound to a SQL Server database?
The idea is to create a combobox that holds 2 columns - a primary key value and a unique value such as a [Company Name] or a [Student Name]. The user would then find the appropriate record within the combobox and the code behind the combobox control would then perform a .findfirst method that would NOT filter out all other records, but would rather use selectedvalue primary key column value to move to the selected record.
I am currently getting into VS 2010 & revisiting VB having been programing in ACCESS & VBA for years. In the Access/VBA environment it is very common to have to find a given record on a given form using this method, but it would appear to be poorly documented if in fact not commonly used in the VB.NET/VS community.
View 2 Replies
Jul 14, 2010
This is well documented and easy to accomplish in Access, but how does one accomplish this in Visual Basic 2010 on a form designed in Visual Studio that is bound to a SQL Server database?
The idea is to create a combobox that holds 2 columns - a primary key value and a unique value such as a [Company Name] or a [Student Name]. The user would then find the appropriate record within the combobox and the code behind the combobox control would then perform a .findfirst method that would NOT filter out all other records, but would rather use selectedvalue primary key column value to move to the selected record.
View 6 Replies
Sep 12, 2009
i'm designing a program ........ i just wanted to know how to hide my program form (alt+tab) screen .........and how to hide my program from (task manager)..... and also how can i delete my program after its "FIRST OPEN" and after that it copies itself to the desktop folder.
View 8 Replies
Dec 4, 2009
How can I position a form at the bottom right corner of the screen when the form load?
I use visual basic 2010 express
here;
Dim x As Integer
Dim y As Integer
x = Screen.PrimaryScreen.WorkingArea.Width - 400
[Code]....
View 3 Replies
Feb 2, 2010
How can I save the design page of the form? I can only save the code
View 1 Replies
Oct 28, 2010
I need a Visual Basic Program to search and upload to a form a picture(of any format) saved in access database using a unique field(Verification Number). The access database(2003 version) has the following fields; 1. Picture 2. Verification Number 3. ID
View 4 Replies
Mar 10, 2011
When I click a Button I what to save all the textBox's text on my form. The code I have Is Below.
In My settings Have I got to List each textBox. Like TextBox1, TextBox2, TextBox3. ect..
IE: My.setting. textBox1 = TextBox1.text (In settings TextBox1: have it as string: User)
IE: My.setting. textBox2 = TextBox2.text (In settings TextBox2: have it as string: User)
Or can I have just one TextBox In my settings, that save's all the TextBox's 1 to 8 on my form
[Code].....
View 7 Replies
Apr 1, 2011
I'm working on my first Visual basic program and I've hit a snag. I want to make a working search form that pulls data from an access database that i already have linked into my visual basic program.
Basically when they click search, i wan't it to check the textbox (lets say firstName.text box for now) for there name, then find all the entries in my database that have those names and display them in a grid.
View 10 Replies