VS 2008 - Picks A Tab To Start Off On It Saves A Setting As The Name Of The Tab?
Aug 24, 2010
I have a problem which I cannot find a solution to, when someone picks a tab to start off on it saves a setting as the name of the tab and in the startup if that setting is the name of the tab then that tab will open. here is the
[code]...
View 4 Replies
ADVERTISEMENT
Jan 9, 2011
Im pretty use to doing loops (although still relative new to vb) in my code however am having difficulty setting up one that picks up an entry in one data table and then sums a field in another where records have matching criteria. Example:
[Code]...
What i am trying to do is set up a datagridview on a form that shows the summary data. The time is controlled on the form by a trackbar (output to textbox) and I started setting up a loop using (For/Next) to isolate firstly the matching entries in field 3 (time). This works fine. I then used compute to sum the the field 2. However what i want to do is to loop through table 2 and where entries match i.e. where Field 1 in table 2="A" sum matching entries in table 1 where the DateTime matches.
View 2 Replies
May 26, 2009
I have more than one file under project. Where do I configure the first/start file when debug?
Example: form1.vb is load by default when debug. Now I want it to load login.vb instead.
View 4 Replies
Mar 26, 2009
After a save, if the program crashes before I close the window I am loosing my changes. Is there a way to commit? here is my saving
vb
Private Sub TicketBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TicketBindingNavigatorSaveItem.Click
Me.Validate()
[code]....
View 6 Replies
Feb 19, 2012
how to copy a file, for example a file from C:imagesample.bmp and saves it using a folderbrowserdialog that automatically save the same filename.
View 3 Replies
Feb 24, 2009
I have this VB.Net 1.1 project that I have to make some changes to. There is a flag in the App.config file. If it is false, the page just loads a splash screen and runs the program normally. If it is true it first opens a login window. VB.Net is not something I've ever worked with before. I can't for the life of me figure out where the logic for the picking the startup object is. In the property pages, Main.vb is always set as the startup object, but that's not even the window that loads up when the flag is false, it always comes after the splash screen.
View 2 Replies
Oct 28, 2011
I have sqldatareader that picks up x number of rows, I would like all of them to appear in one textbox. Is that possible and how can I accomplish this?[code]
View 11 Replies
Feb 16, 2011
i have three portions of my question?
1) does datetimepicker picks up the current date of system automatically or not?
2) if it picks up so it does not show the current date to me on my form? why is it so?
View 12 Replies
Jul 31, 2009
how do i set the background color of my form to what the user picks from colordialog?
View 1 Replies
Feb 28, 2011
I have made my application to start automaticly when windows start (registry ../currentversion/run/appname + path). In this mode the application start minimized and an little icon appear in the notification icon area. With this icon you can maximize the app or exit it.If you exit the app and start it again using the Menu (Start/programs etc) than the application start in minimized mode (and in this case I would like to have it in normal mode) because the setting autostart is still true.Is there a way you can detect when the application start when windows startup using the above registry or when people click on an icon in the programs menu (or desktop)?
View 2 Replies
Oct 7, 2009
Its a League Organizer, basicly ive started it off with 16 teams and end up with 1(winner) 16 box's on the far left, then 8, then 4, then 2, then 1. the 16 box's have "Team 1" "Team 2" etc... ive put a new/clear/open/save button in that order.
BUT this is my problem..when i save(Save Button) the text file saves all the text wrong it ends up like this...Team 1Team 2Team 3Team 4 Etc...
But i want it to save like this
Team 1
Team 2
Team 3
Team 4
Etc...
The code is...
Dim Save As New SaveFileDialog
Save.Filter = "Text Files (*.txt)|*.txt|ALL FILES (*.*)|*.*"
[CODE]...
View 3 Replies
Nov 4, 2008
I am trying to create a lotto simulation, but don't know how to continue.I am using numericupdowns to allow users to select 6 lotto numbers. and labels to display what they have chosen, but i'm not sure how to prevent duplicates without creating a large number of If statementsMy question is, is there an easier way to prevent duplicates without writing a bunch of if statements?here is my code:
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Lotto1, Lotto2, Lotto3, Lotto4, Lotto5, Lotto6 As Single Lotto1 = Val(NumericUpDown1.Text) lblLotto1.Text = Lotto1 Lotto2 = Val(NumericUpDown2.Text) lblLotto2.Text = Lotto2 Lotto3 = Val(NumericUpDown3.Text)
[code]....
I don't understand how to save the user selected numbers, let the computer generate 6 random numbers, and match the two sets of numbers together to see how many matches there are. As far as I understand the numbers should be stored in 2 separate arrays and then matched together to find any matches.
View 4 Replies
Jul 13, 2010
I am (still) using Windows XP. Is it possible to make a batch file to detect whenever the XP tries to save a file (doesn't matter which application is, ie Word, Excel etc...), catch the data and mayby then manipulated, maybe encrypted etc...Aiming this to be done in software and not in hardware....
View 3 Replies
May 18, 2011
At college we run 32 bit computers and at home i build my programs to bring in but i have a 64 bit computer, i need to know if theres a way so it builds and saves the program as a 32 bit on a 64 bit computer.
View 6 Replies
Oct 5, 2010
I have a big problem So im making a clipboard application, that collects and saves clipboard to files, so i can use saved clipboard later.I have this code. It works perfectly, but..Because of the headnler set to ME (or form1) this code dosn't work when form is not visible or active But i need this code to work when form is hidden.. Because my app is running in system tray.
[Code]...
View 1 Replies
Jun 22, 2010
(1. Registries) Hello I made a program that if a checkbox is checked then it will start with windows but then if its unchecked it wont start with windowsHeres code if needed.
Public Shared Sub AddStartup(ByVal Name As String, ByVal Path As String)
Dim Registry As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser
Dim Key As Microsoft.Win32.RegistryKey =
[code].....
View 2 Replies
Dec 27, 2009
let's say that in my vb.net application i have a resource called "song.mp3", how can I make it possible, so when i press a button, it automatically saves the resource in c: directory.
View 1 Replies
May 27, 2009
ok i need to create a simple form that has a Stop watch in it that counts up can some one
View 13 Replies
Dec 21, 2011
I want to make a program that saves your profile image. My idea is to play with settings:
View 5 Replies
Mar 5, 2012
Is there a simple way to make a save button in a program that saves it. MY program has text in it, pictures in it, and both can be remotely changed and there drag able.
View 10 Replies
Aug 17, 2011
I am creating an HTML editor and I have added a save file option. The problem with that is it always opens up a save file dialog. how to I code it so it detects if the file has been saved and then opens the dialog or just simply saves the changes?
View 4 Replies
Jul 6, 2009
I have fixed my account creator. Which takes information from textbox3 and 4 and saves it as a .txt file. With the username in the title ex: username.txt. I run the program and it doesn't create the txt file.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Using sw As StreamWriter = New StreamWriter("LOL.txt")
sw.Write(TextBox3)[code]....
View 7 Replies
May 31, 2010
I am attempting to create a program which saves customer information for a business e.g first name, last name, address etc. but i am having trouble coding the save , new, print, next/previous record buttons.
Would someone be able to link me to a tutorial which explains how to do these?
View 3 Replies
Jan 26, 2011
I've done some research into this using the MSD website; I have found that my applicaiton saves the Customer Details to the Customer File, but only as (spaces). No data is present in the file.
I'm creating an application that saves Customer data to a file. Once the Data is saved into the file, how would i then get it from the file into a ListView?
[Code]...
View 3 Replies
Feb 11, 2012
I'm new to using httpwebrequest i've always just used webbrower controls but want to get away from doing that for obvious reason with that said.
I'm having it go to a wepage there is no login what so ever. but there is a cookie that holds saved data from the page. when in IE or any other brower you click an option from a combo box and it reloads the page and saves that data to a cookie.
CODE:
if you just do a httpwebrrquest it goes to 1 - Home what i'm trying to do is get to 25 - Page2 the cookie has the Sid number i'm been searching and reading for atleast 10hrs now and not even close to anywhere farther than i was. if i used Webbrowser it would just save the cookie for me automaticly but want to get away from hearing the clicking and wasting time of downloading all the pictures and stuff.
View 1 Replies
Nov 5, 2010
Basically I have a simple while loop that loops through a datareader and saves the information into a object collection. Later on in the code I have a simple function that loops through the collection and exports the data to excel. The later part works flawlessly.OK the issue is that for some strange issue If I just let the while loop work as it should it misses records in the datareader stream. Now it sounds crazy but if i add a counter (x=x+1) along with a message box at the end of the loop to tell me the value of the counter (msgbox(x)) it ALWAYS saves the correct amount of records. If I take the msgbox line out it ALWAYS misses records. I am so boggled right now.[code].....
View 18 Replies
Mar 4, 2012
Is it possible to make one project that saves all the database information on through forms. Then also have a word document that could access the database through labels on a separate project? Also i am using ms access for my database and is there any way after i publish them that they can access the same database?
View 2 Replies
Jul 25, 2009
I need to make a program in visual basic that allows users to key in information that is then saved to a database with a time and date stamp of when the submit button was pushed there would also have to be a reset button for the form of some sort. I need the following to be able to be typed in;User (which would be a drop down menu on userlogin.vb)Weight R number And a drop down menu that has P/P AND R/ C?
View 1 Replies
May 3, 2009
I am developing a software and i need to make it save a text document, I can make it save it by writing the path of my document on my machine but it wont work on other machines when installed, how can I make it do this?
View 2 Replies
Nov 12, 2011
How to make an SAVE button that saves the text from Textbox1,2,3 and add an comment on the file.Example:
1 button named "Save", when click to save the text from textbox1,2,3 in file named "Anti.txt" (in the same directory where is the .exe file)
2. to display an message when save is complate, if it is not to display error that cannot be saved
I got simply code for save,but i dont know how to modify it to be like this: [code] Where it is Textbox1: to be like a title in the .txt file and after it to add the text from the textbox1.
View 4 Replies