IDE :: How To Disable Auto-save
Dec 28, 2009when i choose this option (dont save any changes)in VB 2008 a msg error appear when press run or F5 and the msg is : Form1.vb cannt be modified at this time ?
View 3 Replieswhen i choose this option (dont save any changes)in VB 2008 a msg error appear when press run or F5 and the msg is : Form1.vb cannt be modified at this time ?
View 3 RepliesI'm a VB.Net newbie and have a question about how to disable this annoying auto-indenting in VB.Net Express 2008:
'POST
If PostData.Length > 0 Then
'GET
Else
Dim Response As HttpWebResponse = Request.GetResponse()
Can the IDE be told to ignore this type of line and leave it as is so I can have "'GET" aligned with the Else block?
I have been searching for the past hour to try and find a solution, but I have been unsuccessful. Also, I use VB 2008, so the Common Dialog Suggestion would not work.
View 23 RepliesI have a web reference listed on my windows form and I have it listed on my form.VB page "Imports ......" with my intellisense turned on. Everytime I start to type something my visual studio would stop working as I am guessing it is trying to refresh the list with all the commands from the web service I added which takes a couple of minutes. How do I set it so that it will not refresh the web reference? I want to be able to do it manually only, I want my intellisense to stay as it has all the commands I needed in there.
View 2 RepliesI am using DataGirdView in my project.I have some queries listed below.
1. I want to add Rowheader' name like
Column 1||Column2
Row1
Row2
2. I want to fix the number of Row like just 2 Rows . And if I edit in datagrid or press enter after editing ,the automatic addition of the next row must be blocked.
I need to avoid that any of a set of radiobutton autoselects at form load. Is possible?
View 5 RepliesHow you execute the disable function of automount through mountvol in windows XP? The mountvol for XP is different from windows 7 where win7 has the mountvol /n. how to do that?
View 1 RepliesI wonder if it's possible to prevent Visual Studio (2010) from automatically updating code when I change control names? [code]...
View 8 RepliesI have somehow managed to disable auto-implemented properties in my VS2010 IDE how to turn it back on. Almost every article on the internet loves to explain auto-implemented properties but doesnt give you the crucial option of how to turn it on or off.
View 2 RepliesAs mentioned in the subject. I found this default setting in VB 2010 rather annoying. For example:I have created an combox box and i have created an event as below as well
Private Sub cmbBuildingID_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmbBuildingID.TextChanged
listUnitStatus()
[code].....
SoftwareVersion: Visual Basic 2010 Forms and Applications...Application shows unhandled exception error message..How do you disable, or auto-click continue on all "Unhandled Exception" error messages?
View 8 RepliesHow can I disable Save As button, I can open Ms Excel through vb net but the thing is I also want to disable the 'save as' as the Ms Excel Open.But not in Macro.. Here's my code:
Imports Excel = Microsoft.Office.Interop.Excel
Dim oXL As Excel.Application
Dim oWB As Excel.Workbook
[code].....
I I am making an Screen recorder but I want to auto save image that are taken from the screen I already searched for ages but I can't find any tutorial code to auto save files Here is my code:(the color part is the auto save that I tried to make but I get an error (bellow))(Remove "" the by >>HERE<<)
Public Class Rec
Dim location As String = "C:\DONT DELETE ME\"
Dim int As String = 1
[code]....
Is there a way to autosave a record for example:
If I select an item from my combo box on the form I want a onChange then save event?
How can I make an Auto Save for CheckBox1.Checked , CheckBox2.Checked , CheckBox3.Checked ?
View 3 RepliesCurrently i write data to a listview, when the user has finished it is written out to excel.I would like to include a auto save that will have a option to set the auto save time frequency. (10min, 20 mins, etc)I tried auto saving to excel but it freezes the app whilst doing this.What would be my best alternative to auto save the data and reload it back into the listview so it can be written to excel.
View 1 RepliesOn my form i use binding source bound to fields.. if a user starts to change something then hits cancel (i set all the fields to "" to clear them) and then if they choose that record again it shows nothing in the bound fields..
is there a way to reset/cancel from editing without loosing original values?
(pardon me for re-using someone else's wording - but it seems this question comes up in each NEW version of the IDE) Does anyone know how to disable VB autosave? I like to open a working solution/project, mess around with it, and if I cant get it working, I like to exit without saving so that the original working version is left.
But silly VB 2010 autosaves changes, therefore stuffing up, a once working solution/project. I can understand autosaving whilst working though a large solution, but I prefer to click save once I have accomplished a routine, in the solution/project.
I just lost 1/2 hour of work when VB IDE suddenly lock up in a loop. I thought no big deal, I have it setup to autosave every 3 mins. It would have backup up at least 10 times. Killed VS via task manager. Brought VS backup. Went into my project and I am back where I was 1/2 hour ago.Is there a way I can still recover my work so that when this happens in the future I can recover lost work?
View 4 RepliesI want to implement the auto recovery feature in my application. i.e auto recovery of data from power failure, system crash,etc. Since the program is an multiuser with different access levels to each user, I want to save the data in a file which can only be recognized by the program. I don't want to save the data in the db, as there are many modules in which this feature has to implemented, which will make me create an separate table for each module, for temporary storage.
View 1 RepliesIs there a way to save every time the user updates a textbox on the form? My reasoning for this is I don't want to lose all information typed into the form if they were to click on the "x" to close the form. I want the form to update whenever they type so if they forget to press a "save" button (or better yet not use a save button) the data won't be lost. I can use a textbox change event handler and code to update my dataset on every textbox in the form but it seems tedious.
View 2 RepliesI have AutoDragDrop enabled in my textbox. It drags the .jpg file into my program successfully. When I save it only saves the text not the .jpg file. I do realize that when I save the file I need to have the .jpg saved also and I am not sure how to accomplish this. I have checked multiple forums and googled of course. No luck as of yet.
View 3 Replies[Code]....
now i have folder call help in("D:help1.jpg")in this folder files download fom another program and save. now i want that i have pen drive .i want to make such command that when click button it copy the files from ("D:heelp..") and copy to the pen drive.
I want a textbox to have autocomplete. I want the completion to be based off of text that has been previously entered into the textbox. My method of saving seems to work but when i close the program and re run it the autocomplete suggestions arent there anymore.
[Code]...
I am confused what will happen, when I disable a timer. Will it finish the process and then disable or will it immediately disable without completing process? for example
[Code]....
I want to run getMessage from somewhere else, so I need to disable timer during that time to be asured not to override anything and also before timer disable it should complete that function code.
I am using a datagrid in my where i am having four columns. In first column the parameter values are entered and in the second column measured value is entered and in third column the nominal value is entered.Inthe fourth column the result is displayed by subtracting the measured value and nominal values. I am doing this calculation in Datagrid cell validated event. What i want is,there will be many rows in the grid,when typing the value in the third column the corresponding result will be displayedin the rowof theresult column,save button will be displayed while the form loads,when the calculate part is completed that is there should not any cell of the resut column empty then i should enable the save butto.
View 2 Repliesto disable right click and to disable the start button and task bar?
View 4 RepliesI am trying to just write something to a cell in a sheet and I am getting the error message:
Exception Exception from HRESULT: 0x800A03EC Stack Trace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
[code].....
All functions done, but the main function, the autorun and auto hide didnt work like i wish. for this keylogger, im using checkbox to make it autorun when windows startup and another checkbox to autohide. i already placed the codes but nothing happen. when i tick those checkboxes n restart my pc, nothing happen. is it because im using checkbox?
View 3 RepliesI am new to VB and am trying to get my webbrowser1 auto refresh on a web page every few seconds. Is there a way to program a button to do this? I am also trying to get the browser to auto select "yes" when a radio button is present and then auto click "yes" on a message box when it pops up. Any ideas where to start?
View 2 Replies