Click here to Skip to main content
16,006,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sending and catching strings from a DLL Pin
Dave Kreskowiak9-Aug-05 5:11
mveDave Kreskowiak9-Aug-05 5:11 
GeneralRe: Sending and catching strings from a DLL Pin
Swim-13nrv9-Aug-05 22:11
Swim-13nrv9-Aug-05 22:11 
GeneralRe: Sending and catching strings from a DLL Pin
thealca9-Aug-05 13:54
thealca9-Aug-05 13:54 
GeneralRe: Sending and catching strings from a DLL Pin
Swim-13nrv9-Aug-05 22:15
Swim-13nrv9-Aug-05 22:15 
GeneralLegal to use Microsoft icons in application Pin
bomstrong9-Aug-05 2:42
bomstrong9-Aug-05 2:42 
GeneralRe: Legal to use Microsoft icons in application Pin
Rob Graham9-Aug-05 3:09
Rob Graham9-Aug-05 3:09 
GeneralRe: Legal to use Microsoft icons in application Pin
Anonymous9-Aug-05 8:33
Anonymous9-Aug-05 8:33 
GeneralExcel file printing using Adobe PDF Pin
Anonymous9-Aug-05 1:14
Anonymous9-Aug-05 1:14 
hi all,

searching the internet for printing/converting an Excel file into PDF let me to the following code.

<br />
        Dim oXL As Excel.Application<br />
        Dim oWB As Excel.Workbook<br />
        Dim oSheet As Excel.Worksheet<br />
        Dim oRng As Excel.Range<br />
<br />
        ' Start Excel and get Application object.<br />
        Set oXL = CreateObject("Excel.Application")<br />
        oXL.Visible = True<br />
<br />
        ' do other things with the oSheet object<br />
        oSheet.PrintOut Copies:=1, ActivePrinter:="Adobe PDF on Ne01:"<br />


but after some error messages I discovered that on my machine the ActivePrinter:="Adobe PDF on Ne01:" should rather have Ne02 in it.
Is there a programmatic way to find/set the correct ActivePrinter property on a machine. Adding a loop for "Ne0" + i doesn't look elegant.

thanx in advance
QuestionCould .net not use icon file? Pin
rushing9-Aug-05 0:57
rushing9-Aug-05 0:57 
AnswerRe: Could .net not use icon file? Pin
Dave Kreskowiak9-Aug-05 3:34
mveDave Kreskowiak9-Aug-05 3:34 
GeneralRe: Could .net not use icon file? Pin
rushing9-Aug-05 15:44
rushing9-Aug-05 15:44 
GeneralRe: Could .net not use icon file? Pin
Dave Kreskowiak10-Aug-05 1:31
mveDave Kreskowiak10-Aug-05 1:31 
GeneralBlank MsgBox Pin
sayianjin9-Aug-05 0:41
sayianjin9-Aug-05 0:41 
GeneralRe: Blank MsgBox Pin
Anonymous9-Aug-05 1:02
Anonymous9-Aug-05 1:02 
GeneralRe: Blank MsgBox Pin
Steve Pullan9-Aug-05 2:07
Steve Pullan9-Aug-05 2:07 
GeneralRe: Blank MsgBox Pin
sayianjin9-Aug-05 4:20
sayianjin9-Aug-05 4:20 
GeneralRe: Blank MsgBox Pin
Steve Pullan9-Aug-05 15:33
Steve Pullan9-Aug-05 15:33 
GeneralQuestion about returning a Structure as string (ToString) Pin
MaWeRic9-Aug-05 0:27
MaWeRic9-Aug-05 0:27 
GeneralRe: Question about returning a Structure as string (ToString) Pin
Steve Pullan9-Aug-05 18:01
Steve Pullan9-Aug-05 18:01 
Generalsend signal to PDA Pin
nurulhaini8-Aug-05 20:06
nurulhaini8-Aug-05 20:06 
GeneralMapping a header to a datasource for a datagrid. Pin
mcupryk8-Aug-05 19:53
mcupryk8-Aug-05 19:53 
QuestionHow to get the key of a treenode? Pin
rushing8-Aug-05 18:09
rushing8-Aug-05 18:09 
AnswerRe: How to get the key of a treenode? Pin
MaWeRic9-Aug-05 0:29
MaWeRic9-Aug-05 0:29 
GeneralBarcode Code. Pin
makeko8-Aug-05 14:15
makeko8-Aug-05 14:15 
GeneralRe: Barcode Code. Pin
Christian Graus8-Aug-05 14:25
protectorChristian Graus8-Aug-05 14:25 

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.