IDE :: Turn Off Those Annoying Popups In The Code Editor?
Aug 27, 2010
I am using Visual Basic 2008. However, the Report a Bug function does not work, which in itself is a major bug.While I am typing in the code editor, these annoying popups keep popping up and completely blocking my view of the code. I have no idea what these popups are showing and do not need them. I have not been able to find any way of turning them off. I consider this another major bug.
View 7 Replies
ADVERTISEMENT
May 19, 2009
I am using a webBrowser control in vs 2008 to be used as a wiziwig editor to edit newsletters, everything works find but when I specify designmode = "On" -Me.webDESIGN.Document.DomDocument.designMode = "On" And try to load the webBrowser control with another newsletter, it comes up with this annoying message "This page has been modified Do you want to save changes". I need to somehow supress this message and don'twant to do anything, I' have already saved the page at this time. I tried the solution her
View 1 Replies
Aug 21, 2011
Is there a way to turn VB editor inferences off in Vs2010?
View 19 Replies
Jun 3, 2011
How do I turn off a monitor using VB.NET code? OK, actually I found the C# solution. But I need the VB.NET solution. I have tried an online C# to VB.NET converter, but the converter is complaining that there are errors in it.How can the following C# code be translated to VB.NET?
[Code]...
View 2 Replies
Dec 6, 2011
when i put, for example, a picturebox in form and code some events. then i want delete that picturebox. well the code stills there. imagine that i use another picturebox i use the same name. now if i double click on these picturebox, the code editor recreates a new subs. can i disable these situation?
View 6 Replies
Aug 16, 2011
I am not exactly sure what I am looking for here.. So I have this code to disable the close button on a form (Red X):
Protected Overrides ReadOnly Property CreateParams() As CreateParams
Get
Dim cp As CreateParams = MyBase.CreateParams
Const CS_NOCLOSE As Integer = &H200
cp.ClassStyle = cp.ClassStyle Or CS_NOCLOSE
[Code]...
View 10 Replies
Jan 26, 2010
I found many solutions in C++ however they seems fail to satisfy my requirement. I need code to turn off monitor when i'm away and if i want it to turn on, i must type specified key instead of any key press or mouse movement as usual.
View 5 Replies
Feb 11, 2012
My current code: Server: Imports System.IO Imports System.Text Imports System.Threading
[Code]...
View 9 Replies
Mar 24, 2012
How do access a code to do something for only the last clicked text box and turn it into an If...ElseIf...End If statement?
View 3 Replies
Mar 6, 2012
I'm tutoring a student in VB 2010 at a local college.i'm trying to explain to the student that he needs to learn the technique or art of knowing how to start coding in VB to accommodate a simple forms program.Is there a name or term that is used to describe the thought process a programmer goes through to convert what the user is expecting into the code that needs to be implemented to accomplish the task?A simple example is a form with a textbox on it and an OK button.When the user clicks the OK button, the program should check the textbox to make sure it is a number and not alphanumeric.The student I am tutoring has a hard time knowing what the first line of code should be to make that kind of test.He has a problem translating what needs to be done into code.I was wondering if anybody knows what that is called and if there is anything written about it.
View 15 Replies
Oct 31, 2009
I just cannot work this out so is it different in C# for VB in VS. Lets say you have added a control (does not matter what control) to a form, go to the 'View Code' of the form. In VB at the top of the source window below the Tabs of your project you see on the left a Class Name combobox (Type in C#) in VB you can select the control you just added, now in the right Members Name combobox (Members in C#) in vb i can select a member I want to add lets say Click event, this will be added to the project but in C# it just cannot be done?
The reason for this is that I have a Usercontrol that Shadows/New delegate thingy in C# TextChanged event I can easily Select this member in VB but not in C# do I have to add the event manually e.g. [Code] In VB I get a Handles event, Any ideas?
View 5 Replies
Feb 17, 2012
Right now I can add background music in my program by using this code
My.Computer.Audio.Play(My.Resources.Music_3, AudioPlayMode.Background)
I can also turn it off and change the music by using this code
My.Computer.Audio.Stop()
My.Computer.Audio.Play(My.Resources.Another_Music, AudioPlayMode.BackgroundLoop)
Is it possible to pause the music then if I resume the music it will just continue the flow? I mean if I pause the background music in 33 seconds and the music has 50 seconds and I resume it will just continue playing in 33,34,35 etc.. seconds?
View 2 Replies
Sep 1, 2009
I was wondering if their was a way to for me to turn off events and then turn them back on in my program or just queue them up until i am ready for them to be excuted. Kinda like how a OS turns on and off interupts. Is this one of those general programming no-nos?
View 1 Replies
Apr 12, 2009
Is there a way to hide comments in the code editor?Would have been nice with a button to toggle comments visible or not since I use a lot of comments for my code which makes it hard to read.
View 4 Replies
Aug 9, 2009
I am using a rich text box and I know a simple way to change the color of a selected word...but I can't make it do it for all the words.Do I need a custom control for this sort of thing...?Also, example: word "If" becomes blue, and all If's in the RTB would be blue.
View 9 Replies
Mar 6, 2010
im kind of new to visual basic and programming all together, and im trying to make an iphone ringtone maker, yes i know there are some out there but i want to make a simple one. my question is; is there a way i can code a text box or something to edit the start and stop times of a song i open into my program?
View 1 Replies
Apr 13, 2010
I know this sound really dumb, but I have eyes problem, it would be great if I can increase the font size of my code editor. I just can't found out where to do it.
View 2 Replies
Jul 28, 2011
How do I change the appearance of the Code Editor in VB 2008 Express (background colors; font, etc.) from a file that I have ?. I've tried changing the appearance by using the Import & Export Setting in the Options menu, and although it goes to successful completion (or so it says), it doesn't change the appearance at all.
View 1 Replies
Nov 17, 2009
I have seen a few open source c# "Text code editor controls" that have auto indent and support contractions (+ - things you see in the code window to contract an if statement for example).
View 3 Replies
Jul 29, 2009
I'm trying to change a code for text justification so that it works for urdu editor. The problem is when i justify code the alignment changes to left side. I mean cursor moves to the left side of rtb. In code the value of PFM_ALIGNMENT is set to 8. I wanna know what it means and if i hav to change then what value shud i use for making cursor stay at right side of rtb.
View 1 Replies
Apr 5, 2010
I'm trying to make a code editor using the class SyntaxRTB which colors the keywords only,I tried to modify it so that it colors comments as well by adding the following block of code to the sub ColorLineNumber() but the problem is you can't write comments on the same line that has code on it and I don't know how to do it?
Dim Instance As Integer
Dim CLine As String = Me.Lines(LineIndex).ToLower
Instance = InStr(CLine, "'")
[code].....
View 2 Replies
Sep 20, 2009
I'm making a HTML Editor. There are uttons in a toolbox they can click and it will add that HTML code. I don't know how to make it add the code to wherever the little falshing line is in the textbox.
View 2 Replies
May 11, 2008
Does anyone know how to turn off the blank space delimiter of a dot? I have no idea how I turned it on, but now there's a dot where every whitespace charater would be in the IDE's code window.
View 2 Replies
Apr 28, 2011
I have this timer system set up so that every 2 seconds a new line of code is added to my RichTextBox. The problem is, when the box fills up the scrollbar doesn't automatically go down. Every time a new line is added by the program, the user has to scroll down manually to see it. I would think there would be a simple solution to this, but I'm a VB n00b,
View 3 Replies
Nov 7, 2009
I am writing an array in a file with this loop.
sw.WriteLine("attributes")
For i = 0 To noatts - 1
sw.WriteLine(attName(i))
Next
This is creating weird results though.
[Code]...
Anyone know why could that be? In other parts of the file writeline works well. It only creates extra lines on that specific section. Btw: the file looks good if viewing by notepad, the extra lines appear when viewing in wordpad. Apparently that matters because when I reuse that file to read some values in my program, it crashes cause it reads those empty lines instead of the attributes.
View 14 Replies
Jan 6, 2012
[code]when i put this code on my project message appears: Base class 'System.Windows.Forms.TreeView' specified for class 'myTVcontrol' cannot be different from the base class 'System.Windows.Forms.UserControl' of one of its other partial types.
View 2 Replies
Dec 6, 2010
The sample below does what I want it to do and that is once I've filled the maskedtextbox and press enter it goes and does stuff. However, because the maskedtextbox is full I get an annoying 'beep'. So I figured I'd just use the tab key, I changed theChrW(Keys.Return) to ChrW(Keys.Tab) but it doesn't fall through, it just changes focus to the next maskedtextbox that I have. Is there a way to lose the beep? Or how do I get the tab key to fall through?
[Code]...
View 5 Replies
Jun 4, 2009
So i wrote a script which does a few things and richtextbox2 is updated as follows:
a = 27,130,000,000
b = 2,930,000,000
c = 4,290,000,000
Problem is, when i copy the contents of richtextbox2 to the clipboard using "clipboard.settext(richtextbox2.text)" and then open up note page, and paste the clipboard contents, it is wrapped wrongly and i get the following in note pad:"a = 27,130,000,000 b = 2,930,000,000 c = 4,290,000,000"
I am using "system.envoronment.newline" in my code to start a new line.
View 3 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
Oct 20, 2010
I have an application that opens and saves spreadsheet via interop.At start up I set
Code:
_excelApp.Visible = false;
_excelApp.DisplayAlerts = false;
[code].....
View 2 Replies