Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adding a hyperlink to a sentence of text in a bulleted list Pin
Shameel15-Jul-11 9:26
professionalShameel15-Jul-11 9:26 
GeneralRe: Adding a hyperlink to a sentence of text in a bulleted list Pin
Wheels01215-Jul-11 9:29
Wheels01215-Jul-11 9:29 
GeneralRe: Adding a hyperlink to a sentence of text in a bulleted list Pin
Shameel15-Jul-11 9:32
professionalShameel15-Jul-11 9:32 
GeneralRe: Adding a hyperlink to a sentence of text in a bulleted list Pin
Wheels01215-Jul-11 9:35
Wheels01215-Jul-11 9:35 
AnswerRe: Adding a hyperlink to a sentence of text in a bulleted list Pin
BobJanova13-Jul-11 22:26
BobJanova13-Jul-11 22:26 
QuestionEmulate a helpbutton with a toolstripbutton c# Pin
Luis Amador13-Jul-11 7:59
Luis Amador13-Jul-11 7:59 
AnswerRe: Emulate a helpbutton with a toolstripbutton c# Pin
Ravi Bhavnani14-Jul-11 12:01
professionalRavi Bhavnani14-Jul-11 12:01 
QuestionManaging windows updates (WUApilib) Pin
Jacob D Dixon13-Jul-11 4:32
Jacob D Dixon13-Jul-11 4:32 
I'm working on a application that will manage Windows updates for you (asynchronous). Everything is working except it will popup messages to users.

Like when installing Language Packs it will display the installation for that, and if trying to install Internet Explorer 9 it will popup and ask the user to Accept, Ask me Later, or Don't Install.

Is there a way to hide everything and just install it? I've search through Microsoft's pages on this API and can't find it.

Here is where I perform the install. I didn't include any of the code for the callbacks or downloads because it would a huge post which you all probably wouldn't like lol. If you want me to I can.

public static void Install(UpdateCollection installs)
        {
            if (installer != null || installs.Count > 0)
            {
                if (updateSession == null)
                    updateSession = new UpdateSessionClass();

                try
                {
                    installer = updateSession.CreateUpdateInstaller();
                    installer.Updates = installs;
                    installer.AllowSourcePrompts = false;
                    installer.parentWindow = null;

                    WUInstProgress installProgress = new WUInstProgress();
                    WUInstCompleted installCompleted = new WUInstCompleted();

                    installCompleted.InstCompleted += new InstCompletedDelegate(installCompleted_InstCompleted);
                    installer.BeginInstall(installProgress, installCompleted, null);
                }
                catch (Exception ex)
                {
                    ReportError(ex.ToString());
                }
            }
            else
                ReportLog("Install collection was null or empty");
        }

AnswerRe: Managing windows updates (WUApilib) Pin
Not Active13-Jul-11 5:26
mentorNot Active13-Jul-11 5:26 
AnswerRe: Managing windows updates (WUApilib) Pin
Dan Mos13-Jul-11 6:51
Dan Mos13-Jul-11 6:51 
GeneralRe: Managing windows updates (WUApilib) Pin
Jacob D Dixon13-Jul-11 10:11
Jacob D Dixon13-Jul-11 10:11 
AnswerRe: Managing windows updates (WUApilib) [modified] Pin
Jacob D Dixon13-Jul-11 14:47
Jacob D Dixon13-Jul-11 14:47 
GeneralRe: Managing windows updates (WUApilib) Pin
Dan Mos13-Jul-11 21:16
Dan Mos13-Jul-11 21:16 
Questionalternatives of macros in c# Pin
aeman13-Jul-11 2:22
aeman13-Jul-11 2:22 
AnswerRe: alternatives of macros in c# Pin
BobJanova13-Jul-11 2:28
BobJanova13-Jul-11 2:28 
AnswerRe: alternatives of macros in c# Pin
PIEBALDconsult13-Jul-11 2:46
mvePIEBALDconsult13-Jul-11 2:46 
AnswerRe: alternatives of macros in c# Pin
Shameel13-Jul-11 3:07
professionalShameel13-Jul-11 3:07 
GeneralRe: alternatives of macros in c# Pin
BobJanova13-Jul-11 4:06
BobJanova13-Jul-11 4:06 
GeneralRe: alternatives of macros in c# Pin
Shameel13-Jul-11 4:47
professionalShameel13-Jul-11 4:47 
AnswerRe: alternatives of macros in c# Pin
jschell13-Jul-11 9:13
jschell13-Jul-11 9:13 
AnswerRe: alternatives of macros in c# Pin
PIEBALDconsult19-Jul-11 14:40
mvePIEBALDconsult19-Jul-11 14:40 
QuestionUsing C++ Code in C# Project/Solution? Pin
AmbiguousName12-Jul-11 21:14
AmbiguousName12-Jul-11 21:14 
AnswerRe: Using C++ Code in C# Project/Solution? [modified] Pin
Pete O'Hanlon12-Jul-11 23:10
mvePete O'Hanlon12-Jul-11 23:10 
AnswerRe: Using C++ Code in C# Project/Solution? PinPopular
Shameel12-Jul-11 23:38
professionalShameel12-Jul-11 23:38 
GeneralRe: Using C++ Code in C# Project/Solution? Pin
Pete O'Hanlon12-Jul-11 23:43
mvePete O'Hanlon12-Jul-11 23: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.