VS 2008 Making A Code Editor?
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
ADVERTISEMENT
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
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
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
Aug 30, 2010
Recently I had the urge to make my own 2d game editor and I don't know where to start and I have searched the web but my results were not
View 5 Replies
Aug 9, 2011
I'm making a map editor but I have a few problems.I dont know how to make it that when you click the 'picMap' it will draw the tile-image on the x and y you clicked.
View 5 Replies
Mar 3, 2011
I'm making a simple HEX Editor with VB 2010. As a result I am trying to automatically leave a DataGridView cell after entering two characters and move onto the next cell
View 1 Replies
Dec 30, 2008
I'm making a sound editor program, but i've got a problem: if you load a sound, the program must show the spectrum of the sound?
View 2 Replies
Oct 9, 2010
So, I was making shortcuts for a text editor I made. The first 3, that I originally included were control-b control-i and control-u for the bold italics and underline. That worked fine. Recently, I added control-s and control-o for save and open. I don't know why, but once I press control-s or control-o once, the control key seems to stay "pressed", so whenever I press just b, u, i, s, or o, they activate the commands. Here's my
[code]...
View 3 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
Dec 3, 2010
I have made some real time systems (softwares). Now I want to make an system (software) in vb.net 2008 which reads an bar-code saves the data in the database (SQL Server database). I am very new in making these types of system, thus i would like your help of making an system using bar-code scanner through vb.net 2008. Specific to my question I will require all the steps for creating an bar-code system through vb.net 2008. I am waiting for your reply.
View 1 Replies
Sep 11, 2009
Im making a simple image editor and I added Zooming and Drawing with mouse position like a pencil. My problem is When I zoom the image and try to draw on it, everything becomes offset and the lines i drew are not even close to the mouse. Here is My code ( Just add a button1 and Picturebox1 with an image)
Public Class Form1
Dim pen1 As Pen
Dim x1, y1, x2, y2 As Integer
Dim gr As Graphics
[code]....
View 4 Replies
May 7, 2009
I downloaded this code from the web that Wierddemon gave me in my previous thread. This solution contains 2 projects (CurrencyControlTest and CurrencyTextBox) There are some things that I don't understand:
1. What's the type of form1.vb and program.vb in the CurrencyControlTest Project? Are they classes, or windows Forms or module?
2. This is the code in Program.vb
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
[CODE]...
What's the effect of <STAThread> code?
3. What is exactly the "Namespace" doing in this code? because when I removed the namespace, An error indicating that Form1 is not declared appeared. What is namespace? what does it do? Can anyone give sample code to emphasize the function and how and when to use the keyword "Namespace"?
4. This is code for Form1 in CurrencyControlTest Project
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
[CODE]...
What's with the "public partial class Form1"? what does "partial" do? When i right-clicked on the InitializeComponent(), A portion of code appeared suddenly with the header #Region. What is this? and when re-open the Form1 in "View Code" mode, they're gone.
View 7 Replies
Apr 16, 2011
i can always get the first word to translate but the other words jumble together and sometimes repeat themselves. The rules for this program are as follows: To translate an English word into a pig Latin word, place the first letter of the English word (if it is not a vowel) at the end of the English word and add the letters ay. If the first letter of the English word is a vowel, place it at the end of the word and add Using this method, the word jump become umpjay, the word the becomes hetay and the word ace becomes ceay. Blanks between words remain blanks. So far this is what I've got:
[Code]....
View 3 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
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
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
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
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
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
Jun 12, 2011
I have a few problems with making a map editor, how to make one reply and ill give you my msn well actually this problem: its not making the grid invisible if you de-deselect the option "Grid On" because the rect's have already been drawn. So I need to know how you can delete them.
[Code]...
View 4 Replies
Feb 15, 2010
Im having trouble with making a code for a hotkey.Im making a small program for a game. The program will run in the background, when your playing the game in either window mode or fullscreen. Then when you press "1" etc. ingame, i want a short beep to come 20 seconds later. I also need to be able to start the tool and stop the tool so its only active when you want.
View 1 Replies
Dec 4, 2011
i was able to create my first db which i would like to use at our office. Its a counter transaction ticketing system. Finding my way through the different code, i was able to came up with these one.
Public Class Form1
Dim iTicket As Integer
Function getTicket()[code]....
But the thing is, even if i google the steps on how to print and even ask other friend how to do it, iam having a hard time making code for printing. Would it be to much if i ask you friends to give me an idea or a sample what code should i put for me to able to finish this project?
View 6 Replies
Oct 3, 2010
how can i add the tinyMCE editor in my vb.net desktop application?
View 2 Replies
Aug 19, 2009
I have a RichTextBox and a button.When the user clicks the button, I want to open an editor in which the user writes and formats a Text and when the user closes the editor, i want the Text to be displayed in the richtextbox.
View 1 Replies
Jan 24, 2009
The project I'm developing at the moment requires RTF (rich text format) support and a full WUSIYUG editor, however I am very short on time so I'd like to consider an alternative. Instead of designing a new interface and creating buttons and toolbars and everything from scratch, I'd like to use WordPad to create the RTF documents and a RichTextBox to show them in-application.My idea was as follows:When the user needs to create a new document (once the document has been created, it will remain read-only), the application would launch WordPad via Process.Start and then it will wait until it exits. I think I can manage it up to here.Next, the user would save the file and the file's location should be sent to the application. If possible, I'd like to be able to retrieve the saved file's location automatically via code, or at least choose the preferred path (the directory which appears first when you save a file).
If retrieval of the saved file's location is not possible, then I was considering using SetCurrentDirectory to set the preferred path to a certain folder, instructing the user to save the file there under any name and then comparing the files in that folder with a previously created list to see which file was added. For obvious reasons, I'd prefer this method to stay a last resort
View 11 Replies
Dec 4, 2011
Well I recently found a code for making a file spliter, the code is simple (of course need some modification) and it work great.
The code is like this:
Dim iFileSize As Int32
iFileSize = textbox_size.text
Dim SplitFileStream As System.IO.FileStream
[CODE]...
The only problem is understanding the logic of the code. How can it work? How can it know the next time of bytes to write is 200 to 400 if the split size is 200?
View 2 Replies
Aug 1, 2009
im making a basic program, The relevant code is
SendKeys.Send("0000")
SendKeys.Send("{ENTER}")
Threading.Thread.Sleep(500)
but, i need to make it go from 0000 to 9999. but i don't wanna do 9999*3 lines of code. i need help. i got no idea about how to do this, i was trying to make my own program there would generrate the code for me, but did pretty much crash... so...
SendKeys.Send("0000")
SendKeys.Send("{ENTER}")
Threading.Thread.Sleep(500)
[code]......
View 19 Replies