Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How code to Print a Bit map image to pos printer via comport in VB6 Pin
Eddy Vluggen22-Aug-20 10:07
professionalEddy Vluggen22-Aug-20 10:07 
QuestionGeoreferencing Pin
Benniit7-Aug-20 20:50
Benniit7-Aug-20 20:50 
AnswerRe: Georeferencing Pin
OriginalGriff7-Aug-20 20:51
mveOriginalGriff7-Aug-20 20:51 
AnswerRe: Georeferencing Pin
Richard MacCutchan7-Aug-20 21:51
mveRichard MacCutchan7-Aug-20 21:51 
AnswerRe: Georeferencing Pin
Eddy Vluggen22-Aug-20 10:09
professionalEddy Vluggen22-Aug-20 10:09 
QuestionFile System Watcher for remote folders? Pin
ForeverSoftware6-Aug-20 3:47
ForeverSoftware6-Aug-20 3:47 
AnswerRe: File System Watcher for remote folders? Pin
Richard Deeming6-Aug-20 4:00
mveRichard Deeming6-Aug-20 4:00 
QuestionRunning VBA in Shared Mailboxes 365 Pin
Willie_n5-Aug-20 23:20
Willie_n5-Aug-20 23:20 
To delete the Category I use Code :

Private Sub DeleteCategories()
    Dim objNS As NameSpace
    Dim objCat As Category
   
    Set objNS = Application.GetNamespace("MAPI")
   
    If objNS.Categories.Count > 0 Then
       
        For Each objCat In objNS.Categories
            objNS.Categories.Remove (objCat.CategoryID)
        Next
       
    End If
       
    Set objCat = Nothing
    Set objNS = Nothing
   
End Sub



=========
Then to Restore Categories I use:
Sub RestoreCategories()

AddCategory "1", 4, 0
AddCategory "2", 18, 0
AddCategory "3", 22, 0
AddCategory "4", 14, 0
AddCategory "5", 5, 0
AddCategory "6", 7, 0
AddCategory "7", 6, 0
AddCategory "8", 9, 0
AddCategory "9", 8, 0
AddCategory "10", 10, 0
AddCategory "11", 2, 0

End Sub


Where the issue is it works in personal Account but not in Shared mailboxes ? Any Ideas.
AnswerRe: Running VBA in Shared Mailboxes 365 Pin
CHill6014-Aug-20 1:38
mveCHill6014-Aug-20 1:38 
QuestionBizarre problem with VBA in an Access Form Pin
Peter R. Fletcher16-Jul-20 12:03
Peter R. Fletcher16-Jul-20 12:03 
AnswerRe: Bizarre problem with VBA in an Access Form Pin
CHill6020-Jul-20 5:30
mveCHill6020-Jul-20 5:30 
AnswerRe: Bizarre problem with VBA in an Access Form Pin
CHill6020-Jul-20 5:44
mveCHill6020-Jul-20 5:44 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
Peter R. Fletcher20-Jul-20 7:43
Peter R. Fletcher20-Jul-20 7:43 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
Dave Kreskowiak20-Jul-20 7:59
mveDave Kreskowiak20-Jul-20 7:59 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
CHill6021-Jul-20 2:21
mveCHill6021-Jul-20 2:21 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
Dave Kreskowiak21-Jul-20 5:00
mveDave Kreskowiak21-Jul-20 5:00 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
CHill6021-Jul-20 5:07
mveCHill6021-Jul-20 5:07 
QuestionVB Script Using Com Interface with Out String Pointer Pin
Thomas Andreas Kocher9-Jul-20 23:40
Thomas Andreas Kocher9-Jul-20 23:40 
AnswerRe: VB Script Using Com Interface with Out String Pointer Pin
Dave Kreskowiak12-Jul-20 14:45
mveDave Kreskowiak12-Jul-20 14:45 
QuestionHow to get one I have multiple objects of the same type at run time with VB 2010 Pin
Member 1487052122-Jun-20 18:01
Member 1487052122-Jun-20 18:01 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Dave Kreskowiak23-Jun-20 13:55
mveDave Kreskowiak23-Jun-20 13:55 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Ralf Meier23-Jun-20 20:47
mveRalf Meier23-Jun-20 20:47 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Member 1487052124-Jun-20 3:54
Member 1487052124-Jun-20 3:54 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Richard MacCutchan24-Jun-20 4:27
mveRichard MacCutchan24-Jun-20 4:27 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Dave Kreskowiak24-Jun-20 7:02
mveDave Kreskowiak24-Jun-20 7:02 

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.