VS 2008 - Create A Program That We Like With Certain Parameters?
Apr 26, 2012
we are suposed to create a program that we like with certain peramiters, I have done as much however I have an error and I can not find a solution anywhere. We are, before you ask, able to seek help on this matter. Here is what I have:
[code]...
View 4 Replies
ADVERTISEMENT
Jun 15, 2009
how i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.
View 20 Replies
Dec 31, 2009
Lets say I have a program that has a textbox and a button. I want the button to create another program that will show a messagebox, inside the messagebox will be the textbox from the 1st program. How would I do this?
View 7 Replies
Jun 3, 2010
I want the program exe file should be used as a dos command with options. ex: dir /p
same way myapp.exe /auto. Iam using visual studio 2008,
View 3 Replies
Jan 17, 2012
I would like to make a program that generates a safe passwords for people to use. I want to make the passwords vary in length, include numbers, letters and upper case letters. I've been able to write code that prints out a random string but it includes unrecognized characters for most passwords. How would I write the code to create a random string that has parameters? (in this case upper case lower case letters and numbers).
View 3 Replies
Oct 16, 2010
I'm trying to execute CREATE USER with a given username (via sql parameter)
exec sp_executesql N'CREATE USER @LoginName
FOR LOGIN @LoginName;',
N'@LoginName varchar(5)', @LoginName='myuser'
Heres the code thats generating the above:
Dim myCommand As SqlCommand = New SqlCommand("CREATE USER @LoginName
FOR LOGIN @LoginName;",
ClassDatabaseConnection.CustomInstance)
[code].....
I get and error:Incorrect syntax near '@LoginName'.I think this is due to the parameters being passed as VarChar causing 'MyUser' rather than MyUser Can I not do this with sql parameters?
View 2 Replies
Aug 10, 2009
I am trying to create an exe file through my program. Please do not get this mistaken for trying to create an exe file for my program. I know how to create an exe for my program. However, when I run my program I want the user to be able to select some files and then those files will get added to a list. Once they are done selecting files I want them to be able to create and exe file that will copy those files to whatever computer they run it on.
View 1 Replies
Jun 5, 2012
Is there a way to create a method with unknown number of parameters? And if it this the case: How is it possible to get access to them within this method? Do they have to be from the same type?
View 1 Replies
Feb 19, 2010
We're working in the book "Advanced Programming Using Visual Basic 2008.(Pg.34, Praying that someone has the book) Anyway, I suppose to create an payroll program, I have the layout done. What I having trouble with is the coding, I mean, how do I start? I know how to code the buttons and menus. But, I don't understand how to input the codes for the employees, or allow only #'s to be placed in the text box.The payroll, suppose to be able to calculate the employees Hours, Rate, and Pay. As you can tell I'm a complete noob with VB, just started using the program.
View 1 Replies
Aug 14, 2011
I'd like my program to create a new picturebox from time to time. I'm not sure if this is possible though.I thought of sometime like this:
Me.PictureBox4 = New System.Windows.Forms.PictureBox
or also tried to copy the code from the designer, but it didn't work.
View 2 Replies
Mar 17, 2009
How to create a database using sql in vb 2008. Creating a database as in make it a valid one. I'm actually trying to develop a program. I've got everything in mind it's just that the database that i'm lacking and i am wondering if there's any idea to create it inside vb.net.
p.s. I know how to link. I just need the information to create the database from the scratch using SQL.
View 18 Replies
Nov 9, 2010
I am trying to create a pairing program.to get a format like in the Image.Here is some of my code... I am goining wrong somewhere, and my loop is infinite or something...What am i doing wrong?
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim r1, r2 As Integer
Dim MyValue, MyValue2 As String
[Code]...
View 2 Replies
Jan 19, 2009
when a user logs into their account on the laptop , Remote Desktop Connection automatically logs them into their account on the main computer. The problem is when it comes to logout, i need to create a vb program that will run in the background , so when the user disconnects from RDC ( which also closes RDC) it automatically logsoff the laptop. hope this makes sense.
View 1 Replies
Sep 3, 2010
Microsoft Access queries with somecolumnname = [?] do not show up in the list of Views in the New DataSource Wizard in Visual Studio.
The query works perfectly from within Microsoft Access by just prompting for the values of the parameters.
The columns of the query should populate labels on my form based on the values in a couple textboxes.
What is the "best-practices" way to use parameter queries in my .NET application?
View 2 Replies
Feb 1, 2012
How to pass a object that is initialized from a derived class to a method that has Interface as the parameter?[code]...
View 1 Replies
Feb 26, 2010
I have tried to create a bar to search the form
View 1 Replies
Dec 3, 2011
I'm new in development in vb.net IDE, and I need your advises on how to create multi form in one screen like a project properties screen in VB2008 IDE, thus when you you go to Menu Project -> Project Properties... you can see that screen is divided into two panes the left one for options to choose and the right one for configuration and preferences.
I need to know how to achive this and how to create similar to that thus if you choose any button from left the form content changes at right (ok is this single form and all controls were set to invisible /visible or is it muliform programming.
I have another question : how can I change the Left pane with Treeview control and choose my option from there.
View 4 Replies
Aug 11, 2010
Give Me Some Examples
View 2 Replies
Feb 17, 2010
I'm looking for How to build object for use in my program. Example: I want to button my style and add it to toolbox and I can use it in every form and every project.
View 9 Replies
Nov 30, 2010
I am writing a program where the user has to log in before the program loads. Right now I have all the users and passwords hard coded into the program. Recently I have written a Oracle function that the username and password is sent to the DB and a yes or no is sent back after comparing the passwords. I am getting the correct response back and it will display in a label (I tried it to make sure the response is correct). The problem I am having is that the program after receiving the response doesn't recognize the response so I always get an incorrect password error.
Below is my code:
empName = tbxUser.Text
passWord = tbxPassword.Text
dbConn.ConnectionString =
"Data Source=!!!!; User Id=!!!!; Password=!!!!"
[Code] .....
View 3 Replies
Aug 13, 2011
If at all possible, how can my app detect the number, physical location, and size/resolution of monitors in use so as to define the program's parameters? Secondly, I have created a stopwatch variable ("Count"). I can't seem to get it to function properly unless using full seconds. In the following code, I have tried to use a fraction of a second (like .5) and using "count.elapsed.milliseconds = 500" and the program doesn't act like the code is even there...
Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If count.Elapsed.Seconds = 1 Then
Run()
End If
End Sub
View 15 Replies
Dec 26, 2009
How can i create msi installer for my designed project in vb 2008
View 8 Replies
Nov 15, 2009
i have sql 2005 and i want to develop a small program that can access the database and amend a few rows of data. in sql database, i have 1 table and it consist of 3 columns = datetime, type & price. below is example:
[Code]....
View 13 Replies
Nov 5, 2009
I want to create an array of constant variables for my program. But from everything I read about arrays they are handled by a number. I want to be able to pass back a variable that will hold the name of the constant as well as the value. How would you go about do that.I want to when I type the variable to have the constant name show up as I am typing.
View 4 Replies
Mar 12, 2009
I'm trying to create a program which accepts a letter of the alphabet. For each letter a corresponding word beginning with that letter should be output, e.g., �a� or �A� input would give Alpha as the output, �b� or �B� would give Bravo and so on to �z� or �Z� giving Zulu.So if the user enters: "abc" for example, what should happen is a list on the right of the window appears with the words starting with those letters when the user presses calculate.I don't have any code apart form the basics below.
Public Class Form1
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
[code]....
View 7 Replies
Oct 29, 2009
I would like to create a console program in VB.net that would allow parameters. What i would like to do is in the code below add parameters so the webpart page can be created from the Run menu. e.g. C:.......MyProgram.exe "Design" --This would then create the Design webpart page.
I tried looking at the internet but was not very successfull.
Module Main
Public Sub Main(ByVal args As String())
Dim prj As String
[Code].....
View 1 Replies
Aug 29, 2011
Can I pass parameters back and forth between a Windows Service and .NET program? For ex: I want to pass a compressed/encrypted byte paramater to the Windows Service, who then decompress/decrypt it and return back the decompressed/decrypted bytes.
View 1 Replies
Mar 15, 2010
I need to insert a Flash movie in a Visual Basic 2008 express form and send parameters to the movie. The flash movie will plot points sent by VB in a graph.
I tried to insert the Shockwave Flash control in the form but cannot find it anywhere. So I inserted the webbrowser control, which I understand can be used to a similar purpose. But how would I send the values of X and Y (coordinates to plot in Flash) to the flash swf?
View 1 Replies
Apr 24, 2010
I wanted to create a simple Visual Basic 2008 program that can log me into my email with a click of a button...what would a the code for the button look like?
View 1 Replies
Aug 14, 2009
How do you create custom chrome for a windows form in vb.net using Visual Basic 2008 express? I want to basically scrap what they give and start fresh.
View 1 Replies