IDE :: Visual Basic Express 2008 Displaying "Save As" Dialog When Saving A File?
Nov 14, 2009
Whenever I modify a file in the IDE in Visual Basic Express 2008, and then press the "Save" or "Save All" button, the "Save As" dialog opens, then says that a file of that name already exists and requests confirmation of the save. This didn't happen in Express 2005 as far as I remember.
View 3 Replies
ADVERTISEMENT
Apr 19, 2010
I'm using VB Express 2008 and I would like to open an excel file and save it with different name file. For example, I would like to open a file in
C: est.xls
And then I want to save them with different file name such as
C: ry.xls
View 10 Replies
Jul 30, 2009
Is there a way to import an exe file into a visual basic project?
View 8 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
Sep 28, 2010
Is there any way I can get around of the apparent issues of using the basic file saving dialog to at least allow another way to save files from my program?What I am talking about is possibly a way to be able to drag something from the program to somewhere on the PC saving it there. I know of a few possible ways to get this done already but the ones I know of aren't exactly great, I could stick with the basic save file dialog but it's a bit slower than you could likely do with simple drag & drop file saving, while then I have to do my own code so files that are allowed to be named to have the special characters like "?" which aren't allowed in filenames in windows will be replaced with different characters instead.
View 7 Replies
Apr 2, 2011
at the Moment in my code I have the words("C:PrivateWords"). and that is where the Username & Password is Stored/kept, But is there a way to store the Username & Password into the Programe. ect... in a form that only the owner of the programe can see. And what would you use on that form ie: listbox, textBox multiline, TableLayout Panel, that if it is possible to create a Form.
and would the code be something like The Altered code Below the code Below:
Public Class CreateUser
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
[Code].....
View 1 Replies
Aug 16, 2011
We are testing the visual basic 2010 ee in one of the computing suites at a secondary high school. The installation was fine When we tried opening or saving a project it saves it into a default location i.e my documents. The problem withthis is pupils dont have access to c:. They their own drive on the network (h:) where they save their work. When i went and changed the settings in VB in tool > options.
View 3 Replies
Jan 31, 2012
How I can save a text in visual basic in a word file with specific format like font size or color or other format??
View 6 Replies
Nov 24, 2010
I wrote a program to save a ini file and read it in visual basic 6.0 but i want in visual basic 2008 the code i used in vb6 is this:
[Code]...
View 3 Replies
Mar 20, 2011
What is the advantage of using a text box to display an answer in Visual Basic versus a label?
View 2 Replies
Apr 18, 2009
I am trying to publish a program but when I run the setup I get an error saying I need to put WindowsBase v3 in the Global Assembly Cache which I can do using the File System Editor apparently. The Help says to access the file system editor go to "Editor" on the "View" menu in Visual Studio. But it isn't there.
View 1 Replies
Apr 26, 2010
I have been given a task to:Develop a program where a child will be presented with picture of a fruit (one of five possible fruit) on the screen at the click of a start button. The child will then try to recognise the fruit and write its name in a specified place on the screen. On the click of a check button the name of the fruit written by the child will be checked by your program and if correct will reward the child with a suitable message. If the name presented by the child is not correct, a suitable message should be presented on a red background with the correct name of the fruit included in the message.
so far I have managed to create a form with 5 different fruit pictures and a text box below them. a button at the bottom of the form then checks the results and presents a message box to tell them if they have passed or failed.
[Code]...
View 1 Replies
Jan 9, 2010
I too have recently downloaded VB 2008 Express, but when I try to register it after the live.co.uk sign in all I get is a blank web page. How can I get registered ????
View 1 Replies
Jan 24, 2010
I've been asked by a local window cleaner to design a small utility that can display a grid of customer data, sort them, and then export it out as a formatted .txt or rtf file.
View 14 Replies
Mar 30, 2011
Is it possible to add a small icon/picture within a button (to the left of the button text)? I don't seem to find any solution to this
View 1 Replies
May 15, 2009
I want to creat office addins with my VB 2008 express, but i can NOT find the template.
View 3 Replies
Aug 20, 2010
I currently have a dll written w/ VB 6. The problem is my office upgraded to 64bit windows XP and the dll won't work. from what I have found it apears I need a 64bit dll.but am having trouble creating one.
View 2 Replies
Jul 24, 2008
Where can i find all the icons Visual Basic 2008 Express Edition uses?
View 22 Replies
Jul 16, 2011
For instance, I was trying to use
WebRequest request = WebRequest.Create("http://www.contoso.com/");
But get an error message!I am trying to use the WebRequest .NET framework class [URL] How can I enable .NET? Is something wrong with my installation?
View 2 Replies
Nov 18, 2010
Here is a wierd case - I am making a game in Visual Basic Express 2008 with several forms. Each windows form I've given a quit command that works well to end the game. (Me.Close) However if instead I click on the big X button that windows provides in the upper right hand corner - it does not look to truely stop the program.
I'm running this program in debug mode from the MS VBE editor, but when I click that X it tells me that program is still running even though all
View 5 Replies
May 7, 2009
My intention is to load my data from access database through datagridview but it keeps telling me the same error. This is the exact error message I've gotten.. it threw an oledb Exception stating: Could not open table 'MSysAccounts' in the workgroup information file. I've been browsing and viewing different resources but I still do not find a solution to view my data in datagridview. Few things I've tried:
1. I originally uses Ms Access 2007 to load, but it does not seem to work well, hence i converted it into Ms Access 2003 format. Same error displayed.
2. Working around with the workgroup in Access 2003, creating new workgroup which creates System.mdw file and I replaced it in:
[Code]...
View 5 Replies
Mar 15, 2012
I am trying to get my program to run at windows startup. Not just load the VB project but to run it.
So that the user just turns on the computer and the project is up and running.
I have seen and tried lots of code suggestions (all different) none seem to work!
View 6 Replies
Sep 18, 2009
how I can start a program with Visual Basic Express Edition 2008? I mean do you have any code I can use as a base to start another program? If that made sense.
View 3 Replies
Aug 19, 2009
First let me statethat my VB skills are appalling. Havent touched it since VB3 Ok here is the scenario. we want to be able to give our first line support the ability to modify AD groups BUT WITHOUT giving the acess or powers in the AD console. I have written command line scripts to do this and it works fine. Un fortunately we have people that think that if it dont have a OK NEXT CANCEL button it aint Windows :(
[Code]...
View 6 Replies
Aug 15, 2011
i am new with SQL server 2005 and visual studio 2008.how do i connect the forms and the tables in the database
View 4 Replies
Jan 16, 2009
For some reason, the Add New Item command on the Project Menu is hanging VB on my Vista based machine.but now, it hangs. By that I mean the the little circle cursor spins and spins and spins... This happens even when all I do is start VB, start and new project. and then try to add something, eg. another form, a class, anything except "existing item".
View 1 Replies
Mar 1, 2010
I am trying to read off some cells from an Excel File. I can't figure it out. Here is my code:
Public
Class TOC
Dim ExcelObj As New Microsoft.Office.Interop.Excel.Application
[Code]....
After making WorkSheetObj I dont know what to do.. I am trying to dynamically change the Texts of Four buttons. The text values are to be to read off of Excel cells.
View 5 Replies
Jan 21, 2010
I am in process of writing a setup program that will reside in a USB stick.After inserting the Stick the VB2008E program starts (dont know how) and guides the technician to do certain tasks. As a part of this She/He needs to run a Setup.exe that resides in the same USB stick.
1- How do I define the drive letter of this USB stick.
2- How do I run the x:Setup.exe program without exiting the VB2008? The install process should begin after click of a button.
3- Would Autorun work on USB drives to run the program automaticaly?
4- How do I compile to make a single EXE file at the end?
View 1 Replies
Nov 14, 2010
This was my code .
Private
Declare
Function addelements
Lib
[Code].....
meeting the requirement i.e procedure to set environment variable and use/get that in my code. make necessary changes in my code accordingly.
View 5 Replies
Oct 11, 2011
My project is using Visual Basic 2010. I have a pure text save file with the following format:
num_TEC|1
num_STR|0
num_PER|0
num_MEC|1
num_KNO|1
num_DEX|1
I'm trying to load the data by using the first column as the object name and the second as the value. I've had some success with the following (skipping some basic IO lines):
prop = FileReader.ReadLine().Split("|")
tempvar = prop(0)
If TypeName(Me.Controls(tempvar)) = "NumericUpDown" Then
Me.Controls(tempvar).Value = prop(1)
I have a problems with this because I have some objects in panels or group boxes and Me doesn't reach into them.
Is there a way to just strictly reference an object with a variable? I'd love to assign the first column into prop(0) and just say
if TypeName(object(prop(0))) = "NumericUpDown" then
object(prop(0)).Value = prop(1)
View 1 Replies