Code Comments
Programming Forum and web based access to our favorite programming groups.Thanks Jimmy Thanks for spending your time on my problem Your answer is very interresting and I'll spend time on it but this not what I want to do now I explain this to you but I will search in MF forums In VB (or VBA) we can create 'Macros' (called subs or functions) and what i want to do is to call a sub from my COBOL program (and this Sub is in Word) the definition of a sub with parameters in VB is like that : 1- private (or public) sub Name_of_sub (first_var as string) [the code is here] end sub What i can't do is to specify the parameter by my COBOL program I can call this sub but without parameter (like that) 2- private (or public) sub Name_of_my_sub () [code] end sub the solution (1-) is what i need to do because i have to specify the name of the file i must use, and the id of the printer but at this time i can only do the solution (2-) and i can't choose the printer neither the file... I'm sorry to take your time... I'll go to ask some help on MF forum 2jo
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.