Click here to Skip to main content
16,005,734 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Datagridview and Bindingsource Pin
Nielvh29-Jun-10 3:14
Nielvh29-Jun-10 3:14 
GeneralRe: Datagridview and Bindingsource [modified] Pin
DaveAuld29-Jun-10 3:28
professionalDaveAuld29-Jun-10 3:28 
GeneralRe: Datagridview and Bindingsource Pin
Nielvh29-Jun-10 4:06
Nielvh29-Jun-10 4:06 
AnswerRe: Datagridview and Bindingsource Pin
DaveAuld29-Jun-10 2:09
professionalDaveAuld29-Jun-10 2:09 
GeneralRe: Datagridview and Bindingsource Pin
Nielvh29-Jun-10 3:15
Nielvh29-Jun-10 3:15 
QuestionPinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip28-Jun-10 22:45
Hrizip28-Jun-10 22:45 
AnswerRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
freakyit29-Jun-10 0:15
freakyit29-Jun-10 0:15 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 0:35
Hrizip29-Jun-10 0:35 
.Net, Studio 2008

By studying the SDK example, I deduce that the entries for printer type and name are irrelevant as they havent used those as well (value = 0).

I am getting the error code back as I should (61 or 63, error getting data from the printer) so it would seem that the pinvoke works at least partially, what I am still not getting is the proper handle for the printer itself.
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 1:29
Hrizip29-Jun-10 1:29 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
freakyit29-Jun-10 2:34
freakyit29-Jun-10 2:34 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 2:41
Hrizip29-Jun-10 2:41 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 3:00
Hrizip29-Jun-10 3:00 
AnswerRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Luc Pattyn29-Jun-10 3:37
sitebuilderLuc Pattyn29-Jun-10 3:37 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 3:43
Hrizip29-Jun-10 3:43 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
freakyit29-Jun-10 4:00
freakyit29-Jun-10 4:00 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 4:31
Hrizip29-Jun-10 4:31 
AnswerRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Luc Pattyn29-Jun-10 4:34
sitebuilderLuc Pattyn29-Jun-10 4:34 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 4:36
Hrizip29-Jun-10 4:36 
AnswerRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Luc Pattyn29-Jun-10 7:41
sitebuilderLuc Pattyn29-Jun-10 7:41 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 7:58
Hrizip29-Jun-10 7:58 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Luc Pattyn29-Jun-10 8:26
sitebuilderLuc Pattyn29-Jun-10 8:26 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 8:34
Hrizip29-Jun-10 8:34 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Luc Pattyn29-Jun-10 8:52
sitebuilderLuc Pattyn29-Jun-10 8:52 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Hrizip29-Jun-10 9:12
Hrizip29-Jun-10 9:12 
GeneralRe: Pinvoking a non WIN32 API under VB, cant get handle to printer Pin
Luc Pattyn29-Jun-10 10:03
sitebuilderLuc Pattyn29-Jun-10 10:03 

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.