Get The "Last Saved By" Information From The File Statistics?
Nov 3, 2009
Is there an easy way to get the "Last saved by" information from the file statistics? FileInfo doesn't have it, and I have searched and found DSOFile, but it seems that is only for office documents.
View 3 Replies
ADVERTISEMENT
Dec 16, 2009
In one of my programs I have a datatable on which i calculate different statistics for different subgroups. In my opinion this is as very timeconsuming proces (at least my solution). I was wondering if there is not a more effecient solution.
CODE:
View 1 Replies
Dec 6, 2009
How do i save information thats stored in the clipboard to a varible?
View 3 Replies
Apr 15, 2010
I have created a database holding general information about Patients using sql server management studio 2005. I then created an interface for the table created in visual studio 2008. I created a connection between sql server and the form using visual basic as language. I have a button to save the patient information. The problem is that the information entered is not saved in the sql server. [Code]
View 8 Replies
Apr 13, 2009
I am creating a simple button based rpg and was wondering if someone could help me with 3 things how to hold information within the game until the player save's the game, Saving the game, and Loading the game.I want the saved games to be saved onto a encryted file like .db or .dat file..
View 3 Replies
Aug 27, 2009
I am using VB2005 and trying to put an application together.What it needs to do is retrieve information from a binary file, possibly alter that information, and put it back into a new file.The file is a .wav file with data appened to the end. There is an additional section at the end of the .wav file which stores xml data.I have found that if I open this in a hex editor and make a 1:1 swap on any of the bytes that the application that the file is for can still read the XML.If I tried to add or remove characters from the XML then it would not read. I located a header byte and incremented it to resolve this.
This worked as an excellent bandage to do conversions where the data always needed to be changed to the same thing.What I have been asked to do is build logic that allows for different things to happen depending upon what data is contained within the file.The method that I am currently trying to impliment is:
Read through the file with a system.io.binaryreader
Searche for a bytestream that will signal data is coming
For example:
If System.IO.File.Exists("C: est estread.wav") Then
Dim findit() As Integer = New Integer() {&H3C, &H55, &H73, &H72, &H44, &H65, &H66, &H30, &H31, &H30}
Dim i As Integer[code].....
And then extract all the data till the end of element marker "<" It seemed like there should be a better way and I was looking for some insight. If I proceed with this method, I will have to read the file one time to gather the information and then a second time to write it all out with the header modified for length.This is my first experiene with working with binary files in this way.Also,I've been experiementing with building a string and slapping it back in at the end using the binarywriter.write(string) method.I noticed that it was putting in header characters before the string.These seem to change if I change the length of the string.At one point it was d0 07. Later it became e7 07. Does anyone know of a way to prevent this header from being inserted?
I tried a for each loop to grab all of the characters from the string, convert them to a byte array and deposit the byte array into the file, but the header remained the same. When I write the byte array generated from a system.io.binaryreader I do not get this header.
View 1 Replies
May 30, 2011
I decided on a comma separated data file, saved as a text file. This is for data that will not change. After loading the data from the text file; then throughout the lifetime of the program the data can change. The data can then be saved back to a different binary file. The idea is to have a save state system going.Does anyone have a suggestion or is opposed to the idea. Is there a simpler way to organize something like this?
View 6 Replies
May 8, 2012
Just working on a project an wanted to know how to show cpu statics like mem usage, free space ect
View 1 Replies
Mar 5, 2010
In our company we are using PHP to display graph from statistics in SQL over webpage. So anywhere just access the website and input the date will display statistics over the webpage of the company.
My question now is, will VB.net can do that to link SQL and display it over the webpage? Or do I need to have special software to use?
If VB.net can do it? Is there any tutorial link you can recommend for me? Video link much better.
View 1 Replies
May 27, 2012
I'm a novice that has developed a data processing application for which statistics regarding the processing status are recorded in the application window. All works well until an arbitrary point at which the statistical upates to the window cease. When the application finishes, then the application window properly displays the final results. However, intermediate to the completion of the application, all updates to the status window are suspended. Can you please inform me of the means by which I can continue to display the status updates when other activities appear to interrupt the updates prior to completion?
View 2 Replies
Mar 13, 2010
Im Wirting a Program that ask a user to Input Rain Fall of Each Month Im using Arrays for this, then once a user clicks on Display Stats, the user should see Annaul Rain Fall, Average Rain fall, Min Rain Fall and finaly Max Rain Fall,Ok any way the Program is Working away but the Min and Max Rain fall is Showing 0.
(code)
Public Class Form1
'Const IntNum_Months As Integer = 11
Const intNum_Months As Integer = 11
[code]....
i tryed a Val1 < Min and also a Val2 > Max, in Array(1) but this didnt work either.
View 5 Replies
Nov 14, 2011
I am suppose to create an application that lets the user enter the rainfall for each of the 12 months into an array,I need total rainfall, avg rainfall, min rainfall and max rainfall. So far doing good but It wont accept input into the listbox..
[Code]...
View 3 Replies
Oct 12, 2010
the software im currently creating requires that a loaded powerpoint slideshow be automatically saved as a powerpoint show file (without actually creating a pps file).
View 1 Replies
Apr 24, 2009
i have this app. with a listbox , a save button, and 2 textboxes the listbox loads all the files in a folder that i save directly from my save button it automatically loads up the files when i click on a listing in the listbox, text1 is the file name, text2 the content.i want to be able to have the listbox highlight the new saved file name in the listbox once i save the file in order to show that the file was created and such.
View 5 Replies
Jul 1, 2012
I am trying to copy a file from one location to other by clicking on a link label.the original file is saved at "D:\New Folder\" and the complete address of the file is stored on the link label.whenever i click on the click label, a form appears with three button Open, Save as, and cancel file is opening normally but when i click on save as , save as dialog box appears normally, but after entering the file name when i click on save button, file is saved on the destination but without any extension.
Here is the code...
ext1 = System.IO.Path.GetExtension(LinkLabel3.Text)
saveFile1.DefaultExt = ext1
saveFile1.Filter = ext1 + "All Files|"
If (saveFile1.ShowDialog() = System.Windows.Forms.DialogResult.OK) And (saveFile1.FileName.Length) > 0 Then
System.IO.File.Copy(Form3.LinkLabel1.Text, saveFile1.FileName.ToString)
End If
View 2 Replies
Apr 23, 2010
How do u open up a saved file in vb 2010?
View 2 Replies
Mar 31, 2010
Basically im designing a programme where someone can put their information in, save it, and then I can access their information by clicking on their name in a list box.For example, they type in their name and number, when i open another form, their names come up an a list box, click on their name, and another form appears with their name and number in it.
View 1 Replies
Feb 25, 2009
Im right now working on a "notepad" type application, that i want to be able to save a code as a .vbs (I know how to save it as that), and then run/execute it. (the same as double click on it)[code]....
View 3 Replies
Jun 7, 2011
What would be the best way to show how many users are using your Application. For instance, Having a label show how many users have used it/are using it.
View 1 Replies
Jan 3, 2011
I want to make a game statistics calculator. For this I choose to make a XML database with the base stats of the characters.
I've made a small XML file in the VS2010 project with 1 class stats and made a list to 10 levels (to lazy atm to write all 85).
the XML looks like this:
<BASIC_CHARACTER_STATS>
<Levels>
<level id="1">1</level>
[Code]....
On the Form1.vb I've to combo boxes, 1 to display class names and 1 for levels.
Also have some Labels to display i.e. the base_STR number. But after trying random stuff to get it linked and closed VB to restart again because it was messed up too much
View 1 Replies
Mar 18, 2011
I have a button which when clicked, saves an image of any format from a picture box to a file.I have tried to come up with a code which can open the same file and delete any selected image but to no success.
View 6 Replies
May 10, 2012
I have my datagridview being loaded from a Text File and then being saved to a text file as a comma separated file - the commas obviously separate the columns. However in some of the cells prior to saving, I have data that i have inputted over two lines by pressing shift + return.
E.g.
"SOLD
10/05/2012"
This saves fine, but obviously shows up in the text file as a line break, which then causes some issues when I choose to re open the info back into DGV. How I can code so that it saves as a line break within a cell, rather than a completely new line.
View 9 Replies
Dec 23, 2010
Lets say I have a program that opens a save file dialog and the user selects a place in their computer to save the .txt file. One they clicked save is there a way to get the path of that saved file.
View 8 Replies
Apr 18, 2012
if i had say 10 labels with 10 textboxes how would i save all those labels accosiated with that text box as one text file
say example
label = name ---- textbox1
label2 =surname ---- textbox2
label3 address ---- textbox3
etc
so in the text file it saves it to look like this
name = hayden
surname = doh
address = johnston hwy
View 3 Replies
Nov 3, 2011
I'm creating an app that will be run via scheduled task, it will save an XLS file with the following naming convention:'S14-PROORDEREXP-Thursday' (the Thursday will change depending on what day of the week it is)I have the following line of code to save this excel file:
VB
If gstrJob = "S11" Then
xlWorkSheet.SaveAs(gstrFilePathS11 & gstrFileNameS11 & gstrFileTypeS11)
Else
[code].....
this will work fine the first time this scheduled task runs and there are no existing files but at the end of 1 week when I will be overwriting the existing files, how do I tell the application to overwrite the existing files without waiting on a yes prompt from me which it does in debug mode?
View 2 Replies
Aug 28, 2009
How do I play a MP3 File that I saved a resource?
View 1 Replies
Apr 30, 2010
How to search certain word in text file and display in textbox/listbox?[code]...
View 12 Replies
Sep 16, 2009
make the file saved with a variable as its name.
View 4 Replies
May 8, 2012
I'm trying to change the Label.text into the Name choose of the File that i'm going to save. This is the Code:
Dim saveDlg As SaveFileDialog = New SaveFileDialog
saveDlg.Filter = "JPEG (*.jpeg)|*.jpeg |All Files |*.*"
saveDlg.Title = "Save Picture"
[Code]....
i want to change the label text into the File saved names, i want show just the name and not the entire path.
View 1 Replies
Apr 17, 2011
I develop a web browser. It has a settings feature where you can change the homepage and some other options and it has bookmarks. Well, if you rename the file, then all of these settings are erased and reset to the defaults. How can I make this where all these settings are included no matter if moving, renaming, etc.?
View 2 Replies