Click here to Skip to main content
15,881,938 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Why is my AnyCPU program forced to 32-bit? Pin
Eddy Vluggen21-Dec-10 4:46
professionalEddy Vluggen21-Dec-10 4:46 
QuestionGet Youtube video streams Pin
User 584223718-Dec-10 8:44
User 584223718-Dec-10 8:44 
AnswerRe: Get Youtube video streams Pin
Not Active18-Dec-10 8:58
mentorNot Active18-Dec-10 8:58 
GeneralRe: Get Youtube video streams Pin
User 584223718-Dec-10 9:06
User 584223718-Dec-10 9:06 
QuestionComparing text Pin
Soulus8315-Dec-10 5:43
Soulus8315-Dec-10 5:43 
AnswerRe: Comparing text Pin
Luc Pattyn15-Dec-10 6:19
sitebuilderLuc Pattyn15-Dec-10 6:19 
AnswerRe: Comparing text Pin
Paladin200016-Dec-10 7:55
Paladin200016-Dec-10 7:55 
QuestionPrinting pdf files in batch using VB.net Pin
Saiju Menon14-Dec-10 19:28
Saiju Menon14-Dec-10 19:28 
I am developing an application which downloads pdf files, then water marks and then print. Downloading part is completed using internet controls and water marking also done using itextsharp dll. With the following code I am able to set the printer also.

Public Function SetPrinter(ByVal prtName As String) As Boolean<br />
        Dim s As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser<br />
        Dim m As Microsoft.Win32.RegistryKey<br />
<br />
        m = s.OpenSubKey("Software")<br />
        m = m.OpenSubKey("Microsoft")<br />
        m = m.OpenSubKey("Windows NT")<br />
        m = m.OpenSubKey("CurrentVersion")<br />
        m = m.OpenSubKey("Windows", True)<br />
        m.SetValue("Device", prtName & ",winspool,FILE:")<br />
<br />
        m.Flush()<br />
        m.Close()<br />
        s.Close()<br />
    End Function


But when it comes to pdf printing its causing problem becoz I have to print multiple documents. I used AxAcroPDF viewer to print but next line is executed before the print command completes. I dnt want to make my code bulky using sleep or timer command. Is there any good way to print multiple pdfs with page range select, which execute the print command first and then execute the next line. Any pdf viewer ocx freeware also will do.

Thanks/Regards

SGM
AnswerRe: Printing pdf files in batch using VB.net Pin
_Erik_15-Dec-10 4:23
_Erik_15-Dec-10 4:23 
GeneralRe: Printing pdf files in batch using VB.net Pin
Saiju Menon15-Dec-10 22:49
Saiju Menon15-Dec-10 22:49 
GeneralRe: Printing pdf files in batch using VB.net [modified] Pin
_Erik_16-Dec-10 6:12
_Erik_16-Dec-10 6:12 
QuestionDatagridview Pin
kindman_nb13-Dec-10 20:43
kindman_nb13-Dec-10 20:43 
AnswerRe: Datagridview Pin
dan!sh 13-Dec-10 21:18
professional dan!sh 13-Dec-10 21:18 
AnswerRe: Datagridview Pin
Ger Hayden17-Dec-10 11:16
Ger Hayden17-Dec-10 11:16 
AnswerRe: Datagridview Pin
Ger Hayden18-Dec-10 5:22
Ger Hayden18-Dec-10 5:22 
QuestionSystem.Diagnostics.Process.GetProcessesByName Question Pin
gmhanna13-Dec-10 10:10
gmhanna13-Dec-10 10:10 
AnswerRe: System.Diagnostics.Process.GetProcessesByName Question Pin
Not Active13-Dec-10 10:30
mentorNot Active13-Dec-10 10:30 
GeneralRe: System.Diagnostics.Process.GetProcessesByName Question Pin
Brian C Hart13-Dec-10 11:23
professionalBrian C Hart13-Dec-10 11:23 
GeneralRe: System.Diagnostics.Process.GetProcessesByName Question Pin
Pete O'Hanlon13-Dec-10 11:28
mvePete O'Hanlon13-Dec-10 11:28 
AnswerRe: System.Diagnostics.Process.GetProcessesByName Question Pin
_Erik_13-Dec-10 12:55
_Erik_13-Dec-10 12:55 
GeneralRe: System.Diagnostics.Process.GetProcessesByName Question Pin
gmhanna14-Dec-10 3:30
gmhanna14-Dec-10 3:30 
QuestionData Transfer using MAC address [modified] Pin
ganesh_IT12-Dec-10 22:24
ganesh_IT12-Dec-10 22:24 
AnswerRe: Data Transfer using MAC address Pin
Luc Pattyn12-Dec-10 22:47
sitebuilderLuc Pattyn12-Dec-10 22:47 
AnswerRe: Data Transfer using MAC address Pin
Pete O'Hanlon13-Dec-10 1:08
mvePete O'Hanlon13-Dec-10 1:08 
AnswerRe: Data Transfer using MAC address Pin
Dave Kreskowiak13-Dec-10 9:03
mveDave Kreskowiak13-Dec-10 9: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.