I am making an application called "Browser From Scratch" and I require a code that allows you to change, lets say "Button 1" and you can change the code from "TextBox1"
How would I do that?BTW: I am using Visual Basic 2008!
Josh Robertson | A Proud Linux User*
(* I use Windows XP in VBox in-case anyone was wondering!)
I have a axwebrowser control and through it I am editing my website page On my main site page I have an attribute that I need that makes a field readonly..Although it is important to leave it like that on the site, I still need to edit the field through the Vb.net application. Only way to do this as what I see is to remove the readonly (Without doing all the website through VB.Net)Is there a way to edit the code on the site through VB.NET in order to remove the readonly attribute and be able to edit that textfield? [code]I just need to remove this readonly attribute here..Again I am using the axwebbrowser (COM)
A change I made to the project's configuration must have disabled the ability for me to edit the code at runtime. I used to be able to pause execution and edit code on the fly, but I recently made a change to the configuration manager to build releases for x86 and all of the sudden I can no longer update code while running the app. This is very frustrating as I have to keep stopping and starting my app.
When I am in break mode, I cannot update code.I receive message "Cannot currently modify this text in the editor. It is read only." Can anyone explain why I get this message?
The file 'C:Documents and SettingsMirkoMy DocumentsVisual Studio2008ProjectsWindowsApplication1WindowsApplication1Form1.vb' does not support code parsing or generation because it is not contained within a project that supports code.
I am trying to edit (in Visual Basic Express 2008) the source code of MapWindow's CSV to Shapefile plugin url... to read directly from a datagrid view. My datagridview is successfully created with the following code in frmMain:[code]With the help of BackWoodsCoder I was able to add the datagridview column names to the X and Y combo boxes but that's where I get stuck again. The original source code appears to re-read the delimited text file instead of using existing object code.I did try the MapWindow Forum first but have had no response thus far.
I downloaded some visual basic 2008 Source Code from a site and when i edit it or delete something it still shows up in program when debuging and playing the program,even when i delete it in code it still shows up how can i stop this
When editing a code module, any methods marked as Obsolete do not (by design) show up in the top-right hand declration drop-down. (I've rasied this as a problem on another thread since it's causing me and other colegues a head-ache. Can I propose a VS setting to include obsolte methods would be a simple and useful enhancment.)
I'm making a text Editor, that can load unrelated code then edit it graphically using buttons.So far my problem is with replace, I'm probably not using the right context some times it works, most times it does not.
I am looking for sample code that will allow me to read, write and edit records to a local MS Access DB using VB9.For my project, the datagrid and other controls are not an option.I have looked everywhere and cannot find any code examples.I assume it should be straight forward, but with all the changes in VB9 its tough.
I have is my columns are separated by spaces but these spaces can vary between 1 space and 20 spaces. So would it be possible to replace all spaces with one space? This will mean that each column is seperated by one space and I can then start working on my next bit of coding with deleting columns.
I have two text files. The fields in each text file are separated by a space (" "). Some of the fields in column 1 of file 1 match the fields in column 1 of file 2. However the third column in file 2 is a numeric field. What I wish to do is check every field in file1 against the field in file 2, and if the number is 1 then remove the row from file 2, if the number is > 1, then subtract one from it.
I have the following coding so far.
Dim lines1 As New List(Of String)(IO.File.ReadAllLines("File1")) Dim lines2 As New List(Of String)(IO.File.ReadAllLines("File2")) Dim values As New Dictionary(Of String, Integer)()
Just want to ask if anybody here knows how to edit a page online. I've been using Web Developer 2008. I've tried Web Parts tutorial of Asp.Net, and it only shows how to edit image, title of a tool like log in or calendar by using edit, design, catalog.
Is there a way to edit a text in a certain page via online/browser view without going back to the webdev file to edit and update it? Because as I do the tutorial of web parts, it limits the editing and update portion to the image and other stuff, but not on the text part.
Lets say I have a basic application with only one text Box inside the application.I need to know how I can edit that text box remotely via a simple XML file on a server so the end users will be able to see the edited texts in th etext box inside of application?
I have a text document that stores around 200 commands ,each on its own line with a value of either 0 or 1 after them. This determins if that command is ON or OFF.
I need to be able to manipulate the on/off values for 5 specific commands using a check box to say "turn this one on" if box is marked. or vice-versa.[code]...
Looking for unique term 'END' in file - want to delete the term as I will append text later in the routine and append a the same unique term 'END' later in the same routine. Here another poster's code to find the term:
Dim file As System.IO.File Dim reader as System.IO.StreamReader Dim line As String
OK, so the following is a link to a picture of my program. I'm including it because I feel it makes things a lot simpler. some information. When you click Rename, it goes to that Rename form. The information already there is the current name. What I plan to do is make it easy to rename the file.What I want is when the user clicks one of the handy buttons, the information appears in the text box (as I've gotten that far already). When the button is clicked again, it removes ONLY the specified information. I don't know if you can, and if you can, what to use. Currently I'm using clear which is obviously wrong. I want essentially:
When button is selected Append Text Variable A When button is deselected
I am new here and just started visual basic 2008. I want to load a BIG file to edit the text. It is 24MB So whenever I load it in the richtextbox it shows : 7@ :/ Regular text files load fine. Here is the CommonDialog1Open.Filter = ("EXE [*.exe*]|*.exe|All Files [*.*]|*.*") CommonDialog1Open.ShowDialog() rt1.Text = (My.Computer.FileSystem.ReadAllText(CommonDialog1Open.FileName)) I know I am trying to load .exe! It will load if I save it through the program but will only show 7@.
I have a client that needs me to create an app that:Takes a list of text files from a checklistbox and inject a variable into each file then place the new text file into a seperate checklistbox and save each new text file as a new file name.
I have just about completed writing an application for college. I load quotes into a webbrowser control for the user to view and print, my question is, can the user edit text in a webbrowser control (I want them to have this option) or am I better off using a text box control.
I have a gridview that contains value of every rows read from a text file. What I want to do is, edit and delete the selected row on the gridview. I already have the code to show every row on the textfile:
[code]...
What I am going to ask is, how do I get the index of selected row return and fill the value to the textbox then update it to the textfile?
I have unformatted text in my SQL 2005 database. I'm pulling it into a masked edit text box with a (999)999-9999 mask.Unfortunately, when I attempt to save the data back it doesn't work because I don't know how to get the 'masked' information back to the 'unmasked' raw data that the database wants.
Ok so i have a uni assignment to delete lines of text out of a text file, so far i have figured out how to search the text file for specific bits of text, i,e name of user, ive also used a loop to find out what line in the text file the specific line exists as...my
code so far is Dim line As String Dim Input As StreamReader
[code]....
the selected policy is what im tryin to use to write over the line of texts that already exists however i think that maybe instead of deleteting what exists it will just move it down a line and make a blank line