|
you don't use it with your textbox, but instead of. Find documentation on Scintilla Documentation[^] Scintilla.Net is a wraper of Scintilla, a c++ rich text control with sintax highliting etc.
What exactly do you do, just before your VS crashes?
|
|
|
|
|
Nevermind, im not going to use it, too complicated for me.
Ill just stick to a richtextbox.
If i just could find a way to get the last line of that constantly updating textbox, i may just get it to work.
Syntax highlighting using regex isn't the problem, i know how to do it.
http://www.themightyatom.nl
|
|
|
|
|
To get the last line, search backwards to the first cr/lf and you got your line. Find info here[^]
Good luck: Didi
|
|
|
|
|
Hi,
This is Alokesh,I am unable to insert any kind of image in menubar control in VB.net. Please tell how can I do it? Your quick response will be earnestly solicited.
With Thanks and regards,
Alokesh
DBS, Chennai
|
|
|
|
|
Hi, This is E.T.
Use the image property and select the file you want to use in the import box. Make sure the image you are trying to use is a supported format (which are listed int he Files of type combo).
Cheers!
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
But there is no image property for menubar control
|
|
|
|
|
The MenuBar itself can't have an image, unless you take over all drawing of the control and supply th ability to have an image. Warning! That is NOT a simple topic.
|
|
|
|
|
try googling for a menu control, that can do, what you want...
Good luck: Didi
|
|
|
|
|
And why are you telling me this?? Reply to the orignal poster. That way, he gets an email that you replied to HIS message. Replying to some elses message only sends the notification email to the one person you replied to, not the OP.
|
|
|
|
|
Sorry, I didn't realized that.
|
|
|
|
|
Hi,
Should i take care of both the variables which are consuming the memory on heap/stack, while releasing the memory in finally? Or just heap variables are enough to be released?
dim d as integer=0
Dim f As DataGridView=nothing
try
d = 10
f=new datagridview
catch(byval ex as exception)
finally
d=nothing
f=nothig
end try
|
|
|
|
|
Both of the members will be released and disposed when their references go out of scope. However from the code that you have shown there would be no harm in doing as you have done.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Henry Minute wrote: Both of the members will be released and disposed when their references go out of scope
Then why should i dispose the objects in finally?
|
|
|
|
|
It depends on what the objects are.
For example, it is recommended that Graphics instances, Pens, Brushes etc. are disposed as soon as they are no longer needed, becuase you cannot know how long it will take for the Garbage Collector to do its work. In addition any unmanaged objects should be disposed in this way.
It does no harm to manually dispose objects, it is just that it is not always necessary.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
|
I know the managed code and unmanaged code.
But can u tell me any link that tell about the managed object and unmanaged objects.
|
|
|
|
|
Try this[^] for some info about unmanaged objects (resources).
For information about both, try googling managed v unmanaged objects or managed and unmanaged objects. There are so many hits that it is difficult to pick one for you. Have a look for yourself.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I m using Visual Basic 6
How can i export data report in VB 6 to pdf format
|
|
|
|
|
You can use Crystal Report to export data.
If you can think then I Can.
|
|
|
|
|
You could use any reporting tool, that can write PDF
Didi
|
|
|
|
|
i have face a problem about remote desktop connection.
i need close remote desktop connection using code.
how it possible
|
|
|
|
|
You could close the mstsc.exe process from the client machine or you could force a logoff on the server machine.
|
|
|
|
|
Sir Can I Export My All Table Structures From Ms Access to Sql Server using VB6.0 ?
Parag
|
|
|
|
|
You could, but that would probably take you about 3 months worth of coding and testing. Or, you can just do it using Access and its SQL Server Upsizing Wizard, in about a minute.
|
|
|
|
|
Try data transformation services
|
|
|
|