|
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
|
|
|
|
|
sir but i want to go using VB6.0 what should i do for that?
Parag
|
|
|
|
|
You can't, give up now, just use DTS.
|
|
|
|
|
Does anyone know which Api i can use in vb.net to replicate the ms access query design table.
The box which holds the table name and items.
|
|
|
|
|
There isn't one in the .NET Framework. You'll either have to find a third party control that does it (I don't know of any off the top of my head), or write one yourself.
|
|
|
|
|
Judging that someone gave you a 1 for score, I'd say the OP didn't care for your answer. Can't make em all happy.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|