Click here to Skip to main content
15,890,336 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Extend Standard Context menu Pin
Richard MacCutchan15-Oct-10 10:00
mveRichard MacCutchan15-Oct-10 10:00 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 19:41
P$YCH015-Oct-10 19:41 
GeneralRe: Extend Standard Context menu Pin
DaveAuld15-Oct-10 20:58
professionalDaveAuld15-Oct-10 20:58 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 21:30
P$YCH015-Oct-10 21:30 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 21:48
P$YCH015-Oct-10 21:48 
GeneralRe: Extend Standard Context menu Pin
DaveAuld15-Oct-10 22:08
professionalDaveAuld15-Oct-10 22:08 
GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 22:41
P$YCH015-Oct-10 22:41 
AnswerRe: Extend Standard Context menu Pin
Dave Kreskowiak15-Oct-10 14:09
mveDave Kreskowiak15-Oct-10 14:09 
The VB6 textbox doesn't expose any kind of methods for getting at the ContextMenu. You'll have to use Win32 functions to get at it and modify it. Warning! Not for the faint of heart or noobie of VB.

Example[^]

Keep in mind that Microsoft hasn't supported VB6 in years and the communities on the 'Net that are supporting questions like this are disappearing fast. I would highly suggest abandoning VB6 development and moving to VB.NET.

BTW: If you used VB.NET, this question would likely never have come up because it exposes what's needed to do what you want without poking around in Win32.

GeneralRe: Extend Standard Context menu Pin
P$YCH015-Oct-10 19:49
P$YCH015-Oct-10 19:49 
GeneralRe: Extend Standard Context menu Pin
Dave Kreskowiak16-Oct-10 3:25
mveDave Kreskowiak16-Oct-10 3:25 
QuestionMessage Removed Pin
14-Oct-10 21:10
vijay248214-Oct-10 21:10 
AnswerRe: error message: index and length must refer to a location within the string Pin
Henry Minute15-Oct-10 0:40
Henry Minute15-Oct-10 0:40 
AnswerRe: error message: index and length must refer to a location within the string Pin
riced15-Oct-10 1:11
riced15-Oct-10 1:11 
GeneralRe: error message: index and length must refer to a location within the string Pin
vijay248215-Oct-10 1:40
vijay248215-Oct-10 1:40 
GeneralRe: error message: index and length must refer to a location within the string Pin
riced15-Oct-10 4:20
riced15-Oct-10 4:20 
GeneralRe: error message: index and length must refer to a location within the string Pin
vijay248215-Oct-10 10:41
vijay248215-Oct-10 10:41 
AnswerRe: error message: index and length must refer to a location within the string Pin
Richard MacCutchan15-Oct-10 2:19
mveRichard MacCutchan15-Oct-10 2:19 
GeneralMessage Removed Pin
15-Oct-10 2:22
vijay248215-Oct-10 2:22 
GeneralRe: error message: index and length must refer to a location within the string Pin
Richard MacCutchan15-Oct-10 5:39
mveRichard MacCutchan15-Oct-10 5:39 
AnswerRe: error message: index and length must refer to a location within the string Pin
Luc Pattyn15-Oct-10 2:35
sitebuilderLuc Pattyn15-Oct-10 2:35 
QuestionWriting and saving a XML file? Pin
sanyexian14-Oct-10 19:46
sanyexian14-Oct-10 19:46 
AnswerRe: Writing and saving a XML file? Pin
DaveAuld14-Oct-10 20:48
professionalDaveAuld14-Oct-10 20:48 
GeneralRe: Writing and saving a XML file? Pin
sanyexian14-Oct-10 21:17
sanyexian14-Oct-10 21:17 
QuestionEquivalent code in access Pin
C#Coudou14-Oct-10 16:57
C#Coudou14-Oct-10 16:57 
AnswerRe: Equivalent code in access Pin
Estys15-Oct-10 2:51
Estys15-Oct-10 2:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.