Click here to Skip to main content
15,909,325 members
Home / Discussions / Visual Basic
   

Visual Basic

 
General.NET graphical controls in VB 6 Pin
limeysontherun28-Oct-04 7:50
limeysontherun28-Oct-04 7:50 
GeneralRe: .NET graphical controls in VB 6 Pin
Dave Kreskowiak28-Oct-04 16:39
mveDave Kreskowiak28-Oct-04 16:39 
GeneralRe: .NET graphical controls in VB 6 Pin
limeysontherun31-Oct-04 7:32
limeysontherun31-Oct-04 7:32 
GeneralRe: .NET graphical controls in VB 6 Pin
Dave Kreskowiak31-Oct-04 9:48
mveDave Kreskowiak31-Oct-04 9:48 
GeneralPrint file VB.Net Pin
partt28-Oct-04 6:49
partt28-Oct-04 6:49 
GeneralRe: Print file VB.Net Pin
Dave Kreskowiak28-Oct-04 16:33
mveDave Kreskowiak28-Oct-04 16:33 
GeneralRe: Print file VB.Net Pin
Mekong River2-Nov-04 2:41
Mekong River2-Nov-04 2:41 
GeneralRe: Print file VB.Net Pin
Dave Kreskowiak2-Nov-04 8:04
mveDave Kreskowiak2-Nov-04 8:04 
The man from SCN-CO wrote:
What do you mean by /p and /h?

THese are command line parameters that Acrobot Reader uses to tell it to Hide itself (no visible form or interface) and Print the file specified on its command line.


The man from SCN-CO wrote:
If i install windows on Drive D: and my program file would be D:\Program Files and the code is fix to drive C: how could we write code that could check which is the system drive for our windows??? It contain an error if I use:
"%programfiles%\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" ""


It's just an example. How you adapt the code is up to you. An example of getting the path to Program Files would be:
Dim path As String = Environment.GetFolderPath( Environment.SpecialFolder.ProgramFiles )

You could also read the Registry at the following key to find the complete path to AcroRd32.exe:
KHEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\5.0\InstallPath

or

KHEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\6.0\InstallPath




RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Print file VB.Net Pin
Mekong River2-Nov-04 13:48
Mekong River2-Nov-04 13:48 
GeneralRe: Print file VB.Net Pin
Mekong River2-Nov-04 17:24
Mekong River2-Nov-04 17:24 
GeneralVisio ActiveX Drawing Control Pin
pantera728-Oct-04 5:31
pantera728-Oct-04 5:31 
GeneralData Grid Paging Pin
rjcarney28-Oct-04 2:38
rjcarney28-Oct-04 2:38 
GeneralRe: Data Grid Paging Pin
Mekong River31-Oct-04 22:15
Mekong River31-Oct-04 22:15 
Generalclient server app in VB+SQL Pin
shaf_sar27-Oct-04 16:58
shaf_sar27-Oct-04 16:58 
GeneralRe: client server app in VB+SQL Pin
Mekong River27-Oct-04 18:59
Mekong River27-Oct-04 18:59 
GeneralRe: client server app in VB+SQL Pin
RichardGrimmer29-Oct-04 4:09
RichardGrimmer29-Oct-04 4:09 
GeneralRe: client server app in VB+SQL Pin
Mekong River31-Oct-04 22:11
Mekong River31-Oct-04 22:11 
GeneralImport excel using VBA Pin
Rip V. Winkle27-Oct-04 15:44
Rip V. Winkle27-Oct-04 15:44 
GeneralDragDrop Pin
PaleyX27-Oct-04 11:55
PaleyX27-Oct-04 11:55 
GeneralRe: DragDrop Pin
Tom John29-Oct-04 4:59
Tom John29-Oct-04 4:59 
QuestionHow to receive mail using sockets or anything without using third party utility (control) in vb.net Pin
Member 138681227-Oct-04 11:26
Member 138681227-Oct-04 11:26 
GeneralAccess like Report Pin
MohammadAmiry27-Oct-04 6:48
MohammadAmiry27-Oct-04 6:48 
GeneralRe: Access like Report Pin
larryjf27-Oct-04 9:42
larryjf27-Oct-04 9:42 
GeneralRe: Access like Report Pin
MohammadAmiry28-Oct-04 8:17
MohammadAmiry28-Oct-04 8:17 
GeneralCoding Pin
Member 116832427-Oct-04 6:09
Member 116832427-Oct-04 6:09 

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.