Any Way To Disable Auto-Indenting?
Feb 9, 2010
I'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?
View 8 Replies
ADVERTISEMENT
Dec 28, 2009
when 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 Replies
Oct 22, 2009
I 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 Replies
Apr 27, 2012
I 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.
View 1 Replies
May 14, 2009
I need to avoid that any of a set of radiobutton autoselects at form load. Is possible?
View 5 Replies
Nov 4, 2009
How 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 Replies
Feb 26, 2012
I wonder if it's possible to prevent Visual Studio (2010) from automatically updating code when I change control names? [code]...
View 8 Replies
Oct 14, 2010
When I am editing VB code inside a .aspx file in Visual Studio 2010, my code is automatically indented in a bizarre way. I have searched through the options and can't find anything that fixes this. [I thought unchecking Pretty listing (reformatting) of code in Text Editor -> Basic -> VB Specific would for sure do the trick but it didn't]Example -- here is the beginning of a .aspx page:
<%@ Page EnableSessionState="True" Language="VB" Strict="true" %>
<script language="VB" runat="Server">
Dim foo As String
If I go to the end of the "Dim foo" line and hit it will indent. If I fix the indentation, the next line will do the same thing.
View 2 Replies
Nov 10, 2011
I 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 Replies
Apr 26, 2012
As 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].....
View 2 Replies
Jan 5, 2010
Is there a way to prevent this from happening?
Namespace testing
Public Module TestModule
Public testobj As New test
End Module
End Namespace
It is extremely annoying to have to start out two tabs to the right on new code. Is there anyway to disable auto-indenting just for namespace declarations in visual studio 2008?
View 1 Replies
Jun 20, 2012
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 Replies
Dec 22, 2011
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.
View 3 Replies
May 16, 2009
to disable right click and to disable the start button and task bar?
View 4 Replies
Jun 5, 2009
I 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].....
View 2 Replies
Oct 12, 2011
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 Replies
Oct 1, 2009
I 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
May 31, 2009
Let's say that I do not want a user to enter a given character more than once in a Textbox, how do I disable that character once it has been entered? For instance: I want to validate an email address so once a user enters "@" in the email textbox, the "@" character is disabled?
View 7 Replies
Mar 15, 2012
how I can disable all controls within a div?
The div is set to runat="server"
View 1 Replies
Aug 4, 2009
I have a button called "btnContinue". then, i have a textbox beside it for the user to enter a name. If the user has not entered anything, i want the button to be disabled from being clicked. But once the user entered a character into the textbox, the btnContinue will be enabled for clicking.
View 8 Replies
Mar 23, 2010
How can I disable Windows Aero in Visual basic. I ask of this because windows aero is causing problems with the look of my applications and I would like a way to be able to turn it off.
View 2 Replies
Jul 13, 2010
HelIs there any single line or few lines code to disable all the labels [i.e., 250+] and can be able to make few of them visible at times?
View 11 Replies
Dec 7, 2009
I'm trying to disable these keys to prevent that user close form:
Private Sub frm_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.F4 And e.Modifiers = Keys.Alt Then
e.Handled = True
End If
End Sub
But not runs.
View 8 Replies
Jun 6, 2011
i want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is Vista.
View 6 Replies
Nov 9, 2011
Is it possible to disable certain keyboard key?
View 1 Replies
Jun 6, 2011
I'm making a system where only the supervisors can use the Ctrl+Alt+Del to bring up the menu (Vista / Windows 7) or start taskmanager (XP)Since my application will not be running on anything less than XP I don't need to worry about 95, 98, ME, 2000, etc. I have this code so far (found on here and a little edit by me) but the Ctrl + Alt + Del doesn't get stopped like I thought it would.
Note to use this from within Visual Studio you might have to untick the box for "Enable the Visual Studio hosting proccess". In VS 2010 it is found in Solution Explorer > My Project > Debug > Enable Debugers > Enable the Visual Studio hosting proccess I've found several ways to stop taskmanager loading but not to stop the menu being displayed. This code is working except for my little problem with the Ctrl Alt Del menu and has been tested by me with VS 2010 .NET4 on Windows 7
Form1.vb
Public Class Form1
Private Sub Form1_HandleCreated(ByVal sender As Object, ByVal e As
[Code]....
View 4 Replies
Feb 15, 2010
I have a task and no idea how to tackle it!Basically, I want to disable the CD drive on a PC so our users can't use them.That's how I want to start anyway - ultimately I'd like an icon in the system tray that allows the CD drive(s) to be locked and unlocked providing you know a password.
View 1 Replies
Jul 28, 2010
I have a VB.net program that is developing a Word Document with a table of contents based on values in a SQL database. This works just fine. The issue I am running into is that I do not have control of the Office/Word environment. Some users have add-ins installed in their instance of MS Word. An example would be a PDF writer. Another example is a tool to put the document in a Document Management system. I am finding that some of these add-ins are slow to start and others do not shut down well. What I'd like to do is instantiate my MS Word application without running any installed add-ins.
View 1 Replies
May 16, 2010
The script is used to enable or disable LAN. I would like to run it from a VB application by integrating it.
View 2 Replies
Apr 29, 2010
I am writing a small network configuration utility that allows the user to setup proxies and configure their Nic for static/Dhcp etc.My problem is this: I need to force the card to refresh its TCP/IP settings from the system. In Vista and above the Win32_NetworkAdapter enable/disable methods achieve what i want nicely but XP and all win5 systems do not support this.
View 4 Replies