Click here to Skip to main content
15,909,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Clipping Pin
Paul M Watt25-Feb-02 19:10
mentorPaul M Watt25-Feb-02 19:10 
GeneralRe: Clipping Pin
Shog925-Feb-02 19:47
sitebuilderShog925-Feb-02 19:47 
QuestionDoc/view question...?? Pin
alex.barylski25-Feb-02 13:15
alex.barylski25-Feb-02 13:15 
AnswerRe: Doc/view question...?? Pin
Jay Beckert25-Feb-02 13:43
Jay Beckert25-Feb-02 13:43 
GeneralRe: Doc/view question...?? Pin
alex.barylski25-Feb-02 14:06
alex.barylski25-Feb-02 14:06 
GeneralRe: Doc/view question...?? Pin
Jay Beckert26-Feb-02 10:37
Jay Beckert26-Feb-02 10:37 
AnswerRe: Doc/view question...?? Pin
Mazdak25-Feb-02 17:01
Mazdak25-Feb-02 17:01 
Generalvc6 macros: Object model shortcomings & bugs Pin
rseidl25-Feb-02 11:29
rseidl25-Feb-02 11:29 
I am trying to write some scripts in VB for use in VC6 and have run into two problems (what only TWO ? Poke tongue | ;-P )

Config
--------------------------------
XP Home, MSVC6, Windows Script Debugger, Windows Script 5.5
Service Pack 5 for VC6 (before that it would even crash the IDE when you tried accessing files. Bah !)

Problems
--------------------------------
1. Object Required: 'WScript'
This code, run as a VC macro gives the above error:

MsgBox WScript.ScriptFullName

Saved in a text.vbs and double clicked on the same computer, same code works fine (so I know I have the right libs/registry settings for scripting)

What is wrong with the VC VB runtime environment ? Why can't I access WScript ? I read somewhere else that "for security purposes" some aspects of the VB runtime were disabled in VC and this could be registry hacked.
Well if necessary, I'll do that. Does anyone have ideas ? Does code containing WScript calls work in your VCVB macros ?

2. The object model is half-baked
I don't know who designed the object model for the add ins but they must have stopped right in the middle of it ! You can't iterate over the files in a project ? Or set attributes per file ?
Is there a workaround for this half-assed job ? Has someone built a C++ addin that exposes this extra functionality to the scripting engine somehow ? Or do I really have to parse through dsp files (please no)

Your help is much appreciated - I just found this site tonight after googling for answers to the above - it is awesome !

Thanks in advance
Robert

GeneralRe: vc6 macros: Object model shortcomings & bugs Pin
J Patel25-Feb-02 11:36
J Patel25-Feb-02 11:36 
GeneralWTL Question - Pointers to different dialogs Pin
David Stidolph25-Feb-02 11:07
David Stidolph25-Feb-02 11:07 
GeneralRe: WTL Question - Pointers to different dialogs Pin
Joaquín M López Muñoz25-Feb-02 11:26
Joaquín M López Muñoz25-Feb-02 11:26 
GeneralWorks ok in app but not in dll :( Pin
Muralia Dhar25-Feb-02 10:44
Muralia Dhar25-Feb-02 10:44 
GeneralRe: Works ok in app but not in dll :( Pin
Joaquín M López Muñoz25-Feb-02 11:08
Joaquín M López Muñoz25-Feb-02 11:08 
GeneralRe: Works ok in app but not in dll :( Pin
Muralia Dhar25-Feb-02 19:46
Muralia Dhar25-Feb-02 19:46 
GeneralRe: Works ok in app but not in dll :( Pin
Joaquín M López Muñoz25-Feb-02 20:16
Joaquín M López Muñoz25-Feb-02 20:16 
GeneralDamn Tray Notification Icon! Pin
25-Feb-02 9:22
suss25-Feb-02 9:22 
GeneralRe: Damn Tray Notification Icon! Pin
Roger Stewart25-Feb-02 11:25
professionalRoger Stewart25-Feb-02 11:25 
GeneralRe: Damn Tray Notification Icon! Pin
Nish Nishant25-Feb-02 14:47
sitebuilderNish Nishant25-Feb-02 14:47 
GeneralDatabase: mfc-odbc api getting column information Pin
25-Feb-02 8:29
suss25-Feb-02 8:29 
Questionhow do i use the "reinterpret_cast" operator? Pin
Pyropat25-Feb-02 8:13
Pyropat25-Feb-02 8:13 
AnswerRe: how do i use the "reinterpret_cast" operator? Pin
Tim Deveaux25-Feb-02 8:34
Tim Deveaux25-Feb-02 8:34 
AnswerRe: how do i use the "reinterpret_cast" operator? Pin
Paul M Watt25-Feb-02 9:30
mentorPaul M Watt25-Feb-02 9:30 
AnswerRe: how do i use the "reinterpret_cast" operator? Pin
Nish Nishant25-Feb-02 16:19
sitebuilderNish Nishant25-Feb-02 16:19 
AnswerRe: how do i use the "reinterpret_cast" operator? Pin
Sef Tarbell27-Feb-02 4:59
Sef Tarbell27-Feb-02 4:59 
GeneralRe: (corrected)how do i use the "reinterpret_cast" operator? Pin
Sef Tarbell27-Feb-02 5:01
Sef Tarbell27-Feb-02 5:01 

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.