Create And Display A Help File?
May 4, 2009create and display a help file. It doesnt need any sort of index as its not a very complex programme i basically just need one page which will cover all functions of the application.
View 3 Repliescreate and display a help file. It doesnt need any sort of index as its not a very complex programme i basically just need one page which will cover all functions of the application.
View 3 RepliesI'm trying to create a "File Not Found" error to display if a file the program is looking for is not created.Example:
Dim ProcessProperties As New ProcessStartInfo
ProcessProperties.FileName = "filename"
ProcessProperties.WindowStyle = ProcessWindowStyle.Hidden[code].....
I also need help creating a text box, that will submit information to another source (like echoing to a command prompt window). I'm trying to add a killtask option where the user can enter the name of the tast (such as notepad.exe) and press 'Submit'. The button will then send a code (killtask -f notepad.exe) to a command prompt window.
I have a label that is supposed to display a word for 5 seconds and then move down the list in a text file and display the next word.I'm oddly able to make it work in random mode, but not going down the list in order.. random would be ok if used words didn't come up again.
Code:
Dim DurHold As String = My.Computer.FileSystem.ReadAllText(Application.StartupPath & "FlashWords.txt")
Dim DurDelimiters() As String = {vbNewLine}
Dim DurTextLines() As String = DurHold.Split(DurDelimiters, StringSplitOptions.RemoveEmptyEntries)
[code].....
I am trying to create a drop down box to have it display the following information 90, 89 and 70, with this code:
Private Sub AsuComboBox_Change()
End Sub
I am trying to create a combo box that would display data from a dataset, and also a 'Please Select' as the first item. I have written the following code which derives from a combo box and it works fine in visual studio 2003 but in 2008 would not display the comboboxtext (which is 'Please select').
Public Class DoubleDataSourceCombo
Inherits ComboBox
Dim myDataTable As DataTable
[Code]....
I have created a label to display on my form at runtime but it doesn't show up. I know I am doing something really dumb.
Dim
lblLoad As
New Label
[code]....
Rules:
Rule 1: Replace all of the vowels (A, E, I, O or U) in the original password with a number as follows: (20 points) Replace the first vowel with the number of 1. Replace the second vowel with the number of 2. Replace all other vowels with the number of 9.
Rule 2: Replace all of the numbers in the original password with the letter Z. (15 points)
Rule 3: Reverse all of the characters in the original password. (10 points)
Rule 4: The enter password should be non case-sensitive. All the letters in new password should be in upper-case. (5 points)
This is what is should look like:
My code:
CODE:
Right now I'm not worried about the efficiency of the code (i.e. simplifying code into fewer lines). The problem I am having is the locating and replacing of the vowels. When running the program the code will replace all of the numbers with "Z", reverse the string, and make all letters uppercase. When it comes to locating the vowels, the program squares the number it goes through the string by the number of letters that it contains. I don't know why it does this.
when the string contains more then 1 vowel the first time it goes through it replaces all vowels with 1, then goes through again and replaces all vowels with 2, and goes through again repalcing all vowels with 9. These are all then combined into one string.
The research I have done has only turned up how to replace vowels with one thing (i.e. all vowels become "*")
I understand how you can expose data in a database (with access to mysql) in Odate in order to create a program in VB.NET and connect to these data with a service.
the purpose of all this is to create a software to display data, and dynamically modify the data remotely.
I do one project in visual basic 2010.In visual basic 6 project can be make Package and deployment (setup file or install file) file using Package and deployment wizard.But in visual basic 2010 express edition does not have Package and deployment wizard.how to make Package and deployment (setup file or install file) file in visual basic 2010 project?
View 4 Replieshow to use a dynamic table for my MS SQL database? Im using vb.net 2008...any idea on how to do it?
e.g. - Output
ID LastName FirstName Address Order
001 Doe John Kentucky 10-10
002 Smith Jack Kansas 10-11
As the image shows i am suposse to create a For loop to cause the display to show with the button click.
View 2 RepliesThe goal in this assignment was to create a Magic 8 Ball that would display answers via array.Here's what I got down so far, now I apologize once again, I forgot most of the stuff so I don't even know if it is REMOTELY close to what it's suppose to be
Public Class Form1
Dim ArrayRes(7) As String
Private Sub btnASK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnASK.Click
[code]....
how can i create report and link it with MS access to display database on this report..
View 1 RepliesI'm using Visual Basic 2005 and I have created a program to display, edit, and create insurance records. Right now I am using an access database and it is hosted locally. What I want to be able to do is host it on our server here at our office and have the program installed on every computer on the network.
My connection string at the moment looks like this:
Code:
Public con As New OleDb.OleDbConnection
con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:Insurance ProgramInsurances.mdb"
'Opens connection
con.Open()
I am trying to create a log file which I am going to use to populate some controls (DataGridView or Treeview). I am trying to figure out if should use text files or XML files to do so. Effectively the log will highlight multiple phases in a client-side app. The log will be written to at various phases when the project is running. The user will always have the options move on to the next phase or save progress and exit the project. As such, I want the log file to highlight how far the user has progressed throught the various phases AND I want the log to highlight varous information from each phase. Whenever the user starts the project, they will be given the option to load existing log files. So the project will have to read these log files and append them where necessary as the user progresses.
I am not sure what the best way to do this is and below is a rudimentary approach using text files. As you can see, the top of the file would have a summary of all the phases and whether or not the user completed each phase. Next each phase would have a data section highlighting what data was stored along the way. I have used a ":" to denote each section. Then within each section I would obviously need to use a delimeter for all my data. So if Phase1 = True, then I would load all the pertinent data from "Phase1:" into the desired control. Can anyone provide an efficient way of doing this and provide some insight as to whether I should use XML instead. The phases my change during development and I am not sure yet which controls I will be using. Does XML provide more flexibility.
In summary I am looking to create, read/write and append log files and populate controls with the data in varous sections of the log file. Example:
Phase1 = True
Phase2 = True
Phase3 = False
Phase4 = False
[code]....
I'm trying to create a for loop that will display the values (favorite programming languages) a user selects for a listbox.
So far I have this:
Dim selectedLanguages As String = ""
For intLoopIndex As Integer = 0 To languageListBox.Items.Count - 1
[code]....
So far, no matter how many items they select it will display a comma even if only one item is selected, example "C#,"However this is what I need it to do:
1. If the user selects one programming language than it should just printout the selected course with a period right after it. Example: C#.
2. If the user selects two languages it needs to have the text "and" between them followed by a period. Example: VisualBasic.Net and C#.
3. If the user selects three or more languages it needs to seperate them like this for example (again with a period at the end): VisualBasic.Net, C#, and Asp.net.
Im trying to create a program that can search files and display the amount of times that it has been encountered, for example it will show the number 4 because it will run into four instances of the word. Im kinda stuck on how to do this,
View 3 RepliesTell & interduce a pdf the full explain about file programming in vb.net(such as create , open in binary and .... , explain file stracutre and all)? a full article (most of the ways about file in vb.net)?
View 4 RepliesI am trying to create a textbox that will display the total duration of all video files in a listbox. I am not using the windows media player in the project, I just want to show total duration of the listbox items. I have tried looking for snippets because I'm new to programming and I have also tried my luck at creating a class with no success. If anyone could show me some sample code or tell me what it will take to accomplish my goal it would be greatly apperciated. I am coding with Visual Basic 2010 express.
View 1 RepliesDoes anybody know where to find a component for Visual Basic 2005 or 2008 that allow me to create level indicator, button, display or other special box used on a bridge of a ship? I want to simulate a small bridge of a ship and I need something that allow me to show engine power, rotation speed, level of pressure, compass and so on.
View 1 RepliesI've got a setup where a ComboBox displays all files in a certain directory, but it shows each files path/directory, and it also shows the files format next to the file name (i.e. "filename.txt").
View 2 RepliesOK not the greatest title but this one is not too easy to put in a few wordsi have a jpg file for example with a custom file extension of jjj for examplenow i associate .jjj with my application so that when i click a .jjj file my application runs.
View 2 RepliesI wish to read a web page that had various frames and div elements.To start with I would like to create a routine that justs lists all of those elements values and then display each element name and its value so I know what I have and how to reference it later on.I have been using the WebBrowser control and have managed to do a few basic things so far like go to a website and auto login.
View 2 RepliesI'm looking to create a simple program with 1 text field, 1 button, and an area to display what is happening and if there were any errors.My goal is to be able to delete user profiles stored on a network drive by simply putting in the users ID and hitting the button.I'll use my own id as an example:If I put mdesieno in the txt box and hit the button, I'll need the button to map to the network drive and delete mdesieno.corp and mdesieno.v2 I would like the bottom half of the window to display text like:
"Deleting User Profile mdesieno.corp" SUCCESSFUL
"Deleting User profile mdesieno.V2" SUCCESSFUL
To me this seems pretty simple, but as I said, I do not know VB yet. Is there code out there that is already written to do something like this?
I want to create a file removal which revieve directory files to delete from a text file..[code]
View 2 RepliesI have to generate an XML file from several database tables. I could use the WriteXml method of the DataSet to do it, but the database tables are really huge and I can't add all those tables in the DataSet at the same time or it may cause a problem because of the big amount of memory used. Then I decided to use the DataTable's WriteXml method and save table after table, but the the generated file only stores the information of the last DataTable.WriteXml's call. How can I preserve the previous XML data when adding all that information?
View 4 RepliesI want my program to be able to create a '.txt' file when it is run for the first time, with the date and time the program was accessed, and to be able to add new 'logs' of program history every time it is accessed. What i mean is that i want my program to be able to create a '.txt' file, and then fill in the dates and times when the program is opened.
View 7 RepliesThis is what I am trying to do. I need to create some data inside my app and send it to another app as a file. But this 'file' should never be written to the hard drive. It will only ever exist in RAM.
View 17 RepliesHi, i'm trying to use the treeview to display the text of a rtf (rich text file) file when an specific node if clicked.HomeOMGWOOTFor example, if i pick OMG, i want the text of lol.rtf to be displayed on a richtextbox. But somehow i just can't manage to get it... I know to import the text of a .txt file to a textbox, but using the treeview makes it more complicated.This is the code im using right now:
Private Sub TreeView1_NodeMouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles TreeView1.NodeMouseClick
Select Case e.Node.Index
Case 0
[code]....
Another thing is, that i can't import the *.rtf text into a richtextbox and i don't know why.
the problem is i only want listView to display the .mp3 file and .wma file...so how to write the coding to select .mp3 and .wma file and display in listView? [code]
View 3 Replies