Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
X

Xaverian

@Xaverian
About
Posts
21
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Installing a C# application programmatically …
    X Xaverian

    I've made the changes and still I have nothing ... it won't create the value within the Key ... everything else works though. To bad I can't just send you the entire project to look at ... Thanks for all your help, you've definately went further to help me than I ever anticipated. I really appreciate your help! I've learned several things from this, thus far ... :) Xaverian

    C# csharp visual-studio help tutorial learning

  • Installing a C# application programmatically …
    X Xaverian

    Ive created the Install() file and I must have missed something, here is my code ...

    namespace ScreenSaver1
    {
    [RunInstaller(true)]
    class Installer1 : Installer
    {
    const string _screenSaverValue = "SCRNSAVE.EXE";

        public Installer1()
        {
            //Default constructor
        }
        
        //override the Install method ...
        public override void Install(System.Collections.IDictionary stateSaver) 
        {
            base.Install(stateSaver);
           
            RegistryKey theRootKey = Registry.CurrentUser;
            RegistryKey theControlPanel = theRootKey.OpenSubKey("Control Panel");
            RegistryKey theDeskTopKey = theControlPanel.OpenSubKey("Desktop");
    
            if (theDeskTopKey.GetValue(\_screenSaverValue) == null)
            {
                //Add some values
                string valName = \_screenSaverValue;
                object testValue = Directory.GetParent(Environment.SpecialFolder.System.ToString()) + "ScreenSaver1.scr";
                RegistryValueKind valKind = RegistryValueKind.String;
    
                theRootKey.SetValue(valName, testValue, valKind);
            }
            
        }
    
    }
    

    }

    Everything else works fine, just not setting the registry value ...

    C# csharp visual-studio help tutorial learning

  • Installing a C# application programmatically …
    X Xaverian

    I got as far as Step #4 When I view the custom actions, there are four folders there; Install, Commit, Rollback, and Uninstall as well as the top node "Custom Actions". Right clicking on anyone of those items brings up a box and I have four additional folders to choose from, I have to select one of the folders in order to enable the "add output" button ... Question, which folder do I select in the pop-up box, and wich node while viewing the custom actions do I select or do I select the top node "Custom Actions"? I think I going to create an article for others after all this ... LOL

    C# csharp visual-studio help tutorial learning

  • Installing a C# application programmatically …
    X Xaverian

    I did follow the instructions, and I found everything in the DeBug folder as you suggested ... that is slick! I tested it and uninstalled it ... that worked too, BUT ... How do I make the screen saver being installed the default screen saver without making my relatives right click on the desktop, select properties, then screen saver, etc ... Isn't there a way to do that for them? On a side note, I am going to do some additional reading on creating "Setup Projects" after all this. Do you know of any good books, with examples? Perhaps an article on deploying the Screen Saver kit should be written for CodeProject, for both the CD option and using the ClickOnce stuff too. Anyways, thanks for the help thusfar, I appreciate it, just one more step to go! I await your answer :)

    C# csharp visual-studio help tutorial learning

  • Installing a C# application programmatically …
    X Xaverian

    If I use the "Download prerequisites from the same location as my application" and place everything on a CD for them, where do I place the prerequisites or how do I include them with the setup project?

    C# csharp visual-studio help tutorial learning

  • Installing a C# application programmatically …
    X Xaverian

    I followed your instructions all the way to #5 ... [QUOTE]Right click on the setup project's name again => Add => Project output => Choose your screensaver project and click OK[/QUOTE], when I get to this point, there are two empty dropdown boxes with no way to navigate to my project so I can add it as project output. I was also trying to use the "ClickOnce" deployment method as I have space on a server here at school to use, thought that might be easy for them to use to install and run the app, however when trying to use that method the "ClickOnce" won't grab the .scr and install it as a screen saver only in the Start > Programs > etc. etc. and you have to manually click on it to run. Doh! Any method is fine to use as long as I make it simple for them ... another question that pops up then, if using the method you described with making a new "Setup Project", when this installs, will it install it directly as a screen saver? and how would it do that, or do I have to provide more code somewhere to make it perform that action? I hope this was all clear ... Xaverain

    C# csharp visual-studio help tutorial learning

  • Installing a C# application programmatically …
    X Xaverian

    Thanks - But I don't understand what you just said ... :sigh:

    C# csharp visual-studio help tutorial learning

  • Installing a C# application programmatically …
    X Xaverian

    I'm looking for help on how to install a screen saver created from the VS 2005 Screen Saver kit, more specifically, install the screen saver programmatically and also install the .net 2.0 framework as well. I've created a screen saver for my relatives back home using the screen saver kit included with VS2005, my relatives are not pc literate, anyways, I need to have this install programmatically when they click an .exe plus also checking that they have the .net 2.0 framework installed, if it isn't then it should install the framework too ... Any help would be great, I've looked in the articles and I didn't find anything so I thought I'd post here. Code, links to code, links to articles would also be fine ... I'm a student still learning if that helps you to help me. Thanks, Xaverian

    C# csharp visual-studio help tutorial learning

  • Tags / Attributes ?
    X Xaverian

    Thank you ... I can see why the old cliche' of "10 years to pro" so relates to programming ... there is so much to know! Thank you agian!

    Visual Basic question asp-net com

  • Tags / Attributes ?
    X Xaverian

    Thank you! I thought thats what they were, but wasn't sure, no one has ever explained it to me before. I can see where these can be usefull. Is there somewhere else that I can learn more about additional attributes that are available? I've seen other attributes used as well, especially the "" attribute. Thanks again!

    Visual Basic question asp-net com

  • Tags / Attributes ?
    X Xaverian

    Ok, out of fear of getting flamed for a question that I should probably know the answer too, I'm going to post it anyways ... I read articles from time to time, like this one: http://www.codeproject.com/aspnet/CC\_MultiMediaControl.asp What are (I believe them to be attributes) before the declaration of the property, and what are they used for ... we never covered this in school, at least not yet. IE: _ _ _ Public Property ShowTracker() As Boolean Get Return mShowTracker End Get Set(ByVal value As Boolean) mShowTracker = value End Set End Property Cheers, Xaverian

    Visual Basic question asp-net com

  • [Message Deleted]
    X Xaverian

    [Message Deleted]

    The Lounge

  • Back to school ...
    X Xaverian

    Thank you everyone for your thoughts/comments/suggestions, your replies have given me a little more insight towards what I should do in order to achieve the goals I aspire to reach. I have found that I can circumvent the system without having to take a lot of math in order to finish out my schooling. However, and I should say, that it isn't without any math, just not 4 quarters of Calculus. I may just for grins take a Calculus class, but not two. Thank you again everyone - you've all been helpful :) Cheers, Xaverian P.S. Happy belated birthday CP :)


    What we need is a patch for human stupidity - no really, I could use it!

    The Lounge business help question discussion

  • Back to school ...
    X Xaverian

    ROFLMAO ... I knew someone would ...


    What we need is a patch for human stupidity

    The Lounge business help question discussion

  • Back to school ...
    X Xaverian

    So as I sit looking through various different college catalogs, viewing the requirements for different Computer Science degrees, I can't help but stop and wonder ... How much of this Calc I, II, III, and IV am I really going to use in the real world? Wouldn't basic Algebra suffice? I just finished my Associates degree (emphasis: programmer/analyst), and now I am continuing on to receive my Bachelors (emphasis: Internet Web Application Development), and God willing then my Masters (emphasis: software engineering) Comments, thoughts, help, anyone? Bueller? Bueller? Ferris Bueller?


    What we need is a patch for human stupidity

    The Lounge business help question discussion

  • Open Source Web Applications ...
    X Xaverian

    Generally you don't get a page number, just a link to the docs. Don't get me wrong, I think DNN is great, its just the support and/or help is limited and now since they moved their forums from asp.net to their site they proof all posting before allowing them to be viewed, I've had some posting not even make it to the public area for others to respond too ... I find that kind of funny. It would be great if other users of the system could post comments / suggestions back to other users of the system too. What do you think?

    What we need is a patch for human stupidity

    The Lounge help question

  • Open Source Web Applications ...
    X Xaverian

    For the past couple of years I've been following the progress of the DotNetNuke community and for the most part I am very impressed with the progress and the professionalism of the community. However, from time to time I need to post a question in the forum and usually get a reply within a short period of time, but what I have found, and its very frustrating is that the comments or answers provided usually always tell you to look at the documentation. Looking at the documentation isn't such a bad thing and usually that’s where I start, but some of the documentation is like reading the memoirs’ of a scatter brain, kind of like trying to read the MSDN files, take the ClientAPI documentation within DNN for instance, just useless and I can never get a straight answer from the lead on that project ... always just "Look at the documentation...” So my question for the Code Project community is this: What’s your favorite, or what open source web community do you like and why, also include what its like getting help to questions when developing code for the application. Cheers, Xaverian

    What we need is a patch for human stupidity

    The Lounge help question

  • Playing tag at recess outlawed...
    X Xaverian

    Maybe we should just line up all the attorneys and play tag with them. How many do you think you can hit, oops I mean tag? ... TeeHee

    What we need is a patch for human stupidity

    The Lounge html database com

  • Rant: Things That Don't Work
    X Xaverian

    Yeah, I stopped purchasing things from Wal-mart a long time ago ... less frustration, more money in my pocket etc. etc. Hey, welcome to the world where you can experience the HIGH cost of LOW prices! Cheers, Xaverian

    What we need is a patch for human stupidity

    The Lounge csharp visual-studio help question learning

  • vs2005 online help... [modified]
    X Xaverian

    If I purchase a MSDN subscription, can I get support for it? I might just have to call for help on using it - I've done better using Google, CodeProject, etc. etc.

    What we need is a patch for human stupidity

    The Lounge c++ com help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups