Click here to Skip to main content
16,015,003 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to delete rows in datagrid?tnx Pin
10-Jun-05 6:43
suss10-Jun-05 6:43 
Questionhow TO ADD CRYSTAL REPORT TO WINDOWS APPLICATION Pin
Anonymous8-Jun-05 16:51
Anonymous8-Jun-05 16:51 
AnswerRe: how TO ADD CRYSTAL REPORT TO WINDOWS APPLICATION Pin
Yulianto.8-Jun-05 18:30
Yulianto.8-Jun-05 18:30 
GeneralPrinting HTML Code Pin
Adarsh Shah8-Jun-05 10:51
Adarsh Shah8-Jun-05 10:51 
GeneralRe: Printing HTML Code Pin
Christian Graus8-Jun-05 15:25
protectorChristian Graus8-Jun-05 15:25 
GeneralRe: Printing HTML Code Pin
Adarsh Shah8-Jun-05 20:09
Adarsh Shah8-Jun-05 20:09 
GeneralRe: Printing HTML Code Pin
Christian Graus9-Jun-05 0:17
protectorChristian Graus9-Jun-05 0:17 
GeneralRe: Printing HTML Code Pin
Adarsh Shah9-Jun-05 0:47
Adarsh Shah9-Jun-05 0:47 
ok..
1) Can I open an IE browser from the activeX dll which will have the link to the asp page (ie print.asp?id=52). and then print it some way that doesn't ask for print prompt.

2) Or may be I can call a VB application with WebBrowser control and print it.

3) Or I found something: which blocks the print dialog box .. and I can specify the direct path of the print page

Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

a = Shell("rundll32.exe mshtml.dll,PrintHTML " & """" & temp & """") '""C:\a.html""")

wnd = FindWindow(vbNullString, "Print")
While wnd = 0
wnd = FindWindow(vbNullString, "Print")
Wend
Call Sleep(100)
AppActivate "Print" 'PageCount
SendKeys "{ENTER}", True


I think the 3rd method is the best one... Any suggestions on this?

Thanks again Christian.Smile | :)
GeneralRe: Printing HTML Code Pin
Christian Graus9-Jun-05 0:51
protectorChristian Graus9-Jun-05 0:51 
GeneralRe: Printing HTML Code Pin
Adarsh Shah9-Jun-05 0:54
Adarsh Shah9-Jun-05 0:54 
GeneralRe: Printing HTML Code Pin
Dave Kreskowiak9-Jun-05 2:49
mveDave Kreskowiak9-Jun-05 2:49 
GeneralRe: Printing HTML Code Pin
Adarsh Shah9-Jun-05 2:55
Adarsh Shah9-Jun-05 2:55 
General.config issues Pin
SamNasr8-Jun-05 10:02
SamNasr8-Jun-05 10:02 
GeneralReading 2.3GB of Sequential File Pin
Sidney Fuerte8-Jun-05 9:48
Sidney Fuerte8-Jun-05 9:48 
GeneralRe: Reading 2.3GB of Sequential File Pin
Sidney Fuerte9-Jun-05 4:32
Sidney Fuerte9-Jun-05 4:32 
Generallabel autosize Pin
soumyadev_kar8-Jun-05 7:09
soumyadev_kar8-Jun-05 7:09 
GeneralRe: label autosize Pin
Mitch F.8-Jun-05 17:05
Mitch F.8-Jun-05 17:05 
GeneralWrapping Row Headers in Listview Pin
Member 20299148-Jun-05 6:51
Member 20299148-Jun-05 6:51 
QuestionHow to solve this? Thanks. Pin
shapper8-Jun-05 3:46
shapper8-Jun-05 3:46 
AnswerRe: How to solve this? Thanks. Pin
Dave Kreskowiak8-Jun-05 6:01
mveDave Kreskowiak8-Jun-05 6:01 
GeneralThread was being aborted Pin
macca248-Jun-05 3:30
macca248-Jun-05 3:30 
GeneralRe: Thread was being aborted Pin
Dave Kreskowiak8-Jun-05 6:00
mveDave Kreskowiak8-Jun-05 6:00 
GeneralCast from type 'DBNull' to type 'Integer' is not valid. Pin
msogun8-Jun-05 3:07
msogun8-Jun-05 3:07 
GeneralRe: Cast from type 'DBNull' to type 'Integer' is not valid. Pin
Dave Kreskowiak8-Jun-05 5:57
mveDave Kreskowiak8-Jun-05 5:57 
GeneralRe: Cast from type 'DBNull' to type 'Integer' is not valid. Pin
rwestgraham8-Jun-05 11:43
rwestgraham8-Jun-05 11:43 

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.