Click here to Skip to main content
15,922,584 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: convert Ms Word to PDF Pin
xfitr214-Jun-04 18:21
xfitr214-Jun-04 18:21 
GeneralRe: convert Ms Word to PDF Pin
xfitr214-Jun-04 18:39
xfitr214-Jun-04 18:39 
GeneralRe: convert Ms Word to PDF Pin
franco_8215-Jun-04 2:12
franco_8215-Jun-04 2:12 
GeneralRe: convert Ms Word to PDF Pin
Mekong River15-Jun-04 4:27
Mekong River15-Jun-04 4:27 
GeneralRe: convert Ms Word to PDF Pin
franco_8216-Jun-04 1:59
franco_8216-Jun-04 1:59 
QuestionCounter? Pin
ymohd_22214-Jun-04 6:08
ymohd_22214-Jun-04 6:08 
AnswerRe: Counter? Pin
Dave Kreskowiak14-Jun-04 7:12
mveDave Kreskowiak14-Jun-04 7:12 
GeneralConvert to VB.Net Pin
Anonymous14-Jun-04 4:37
Anonymous14-Jun-04 4:37 
Could you please help me convert this to Vb.Net? Thank you very much in advance.

Getting an image area for displaying in B/W.

CRecImage Image;
CRecInfo Info;
COleVariant vBitmap;
LPBYTE pBitmap = NULL;
HBITMAP hBitmap;

try
{
. . .
Document.SetLineOrder(TOP_DOWN);
Document.SetPadding(PAD_WORDBOUNDARY);
Document.SetRGBOrder(COLOR_RGB);
vBitmap = Image.Get(Info,0,0,160,100);
SafeArrayAccessData(vBitmap.parray,(void **)&pBitmap);
hBitmap = CreateBitmap(Info.GetWidth(),Info.GetHeight(), 1, Info.GetBitsPerPixel(), pBitmap);
. . .
SafeArrayUnaccessData(vBitmap.parray);

VariantClear(&vBitmap);
. . .
catch(CRecException e)
{
TRACE("Error code = %X\n", e.m_hr);
}

GeneralRe: Convert to VB.Net Pin
Dave Kreskowiak14-Jun-04 5:01
mveDave Kreskowiak14-Jun-04 5:01 
GeneralRe: Convert to VB.Net Pin
Colin Angus Mackay14-Jun-04 5:11
Colin Angus Mackay14-Jun-04 5:11 
GeneralRe: Convert to VB.Net Pin
Dave Kreskowiak14-Jun-04 5:18
mveDave Kreskowiak14-Jun-04 5:18 
GeneralRe: Convert to VB.Net Pin
Anonymous14-Jun-04 5:39
Anonymous14-Jun-04 5:39 
GeneralRe: Convert to VB.Net Pin
Dave Kreskowiak14-Jun-04 5:47
mveDave Kreskowiak14-Jun-04 5:47 
GeneralRe: Convert to VB.Net Pin
Anonymous14-Jun-04 6:26
Anonymous14-Jun-04 6:26 
GeneralTwo Forms Pin
ymohd_22213-Jun-04 20:12
ymohd_22213-Jun-04 20:12 
GeneralRe: Two Forms Pin
Dave Kreskowiak14-Jun-04 3:02
mveDave Kreskowiak14-Jun-04 3:02 
GeneralWinsock Control Pin
GaryKoh13-Jun-04 17:11
GaryKoh13-Jun-04 17:11 
GeneralRe: Winsock Control Pin
beowulfagate13-Jun-04 19:37
beowulfagate13-Jun-04 19:37 
QuestionHow can I add one menu item on the menu system of Window when I click right mouse on file? Pin
tramdtt13-Jun-04 16:05
tramdtt13-Jun-04 16:05 
AnswerRe: How can I add one menu item on the menu system of Window when I click right mouse on file? Pin
Dave Kreskowiak14-Jun-04 0:29
mveDave Kreskowiak14-Jun-04 0:29 
GeneralRe: How can I add one menu item on the menu system of Window when I click right mouse on file? Pin
tramdtt14-Jun-04 14:46
tramdtt14-Jun-04 14:46 
QuestionWord document temp file ~WRL2159.tmp what is this? Pin
skoizumi2911013-Jun-04 14:51
sussskoizumi2911013-Jun-04 14:51 
AnswerRe: Word document temp file ~WRL2159.tmp what is this? Pin
Dave Kreskowiak14-Jun-04 0:20
mveDave Kreskowiak14-Jun-04 0:20 
Generalquestion Pin
ahmad_yossef13-Jun-04 14:21
ahmad_yossef13-Jun-04 14:21 
GeneralRe: question Pin
Dave Kreskowiak14-Jun-04 2:57
mveDave Kreskowiak14-Jun-04 2:57 

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.