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
P

profoundwhispers

@profoundwhispers
About
Posts
66
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • c++ codeparser
    P profoundwhispers

    Is there a CodeParser concrete class to parse C++ code? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# c++ question learning

  • RSS related question
    P profoundwhispers

    If I'm coding an RSS reader in C#, what's the method by which I can tell whether or not this specific item in this feed is new or not? There are no ID tags in the Item XML element in the feed. How can I tell whether or not the user has already downloaded this item? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# question csharp xml learning

  • Editing XML in a user friendly manner
    P profoundwhispers

    If I have an XML file that contains classic "Contact" or "Customer" or "Purchase Order" data used in examples out there, is there a way I could, from within this same XML file provide the user with an interface to edit this data in a webbrowser? This should be such that, for example, the user would call: http://myserver.com/thexmlfile.xml and be presented with a form (editable fields) instead of the default XML view of data that internet explorer provides. Is this possible? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    XML / XSL com sales xml tutorial question

  • Setting webbrowser form fields
    P profoundwhispers

    How can I get an internet page, set its textboxes (fields) programatically and simulate a click event on its submit button (or programatically submit it). I know I could achieve the same effect by posting data directly, but I need to present the page to the user first. Any ideas? Thanks! Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# question learning

  • WebBrowser's Document Complete event
    P profoundwhispers

    body.onload is not exposed via the mshtml interface. I have an AxWebBrowser component inside my Windows Forms project. That's where the event is hooked. Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# question learning

  • WebBrowser's Document Complete event
    P profoundwhispers

    When I process this event, it gets called multiple times per page. Why is this? How can I stop it, or should I use another event? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# question learning

  • Question about WebBrowser editing
    P profoundwhispers

    I have an AxWebBrowser control displaying a certain page that has two input boxes. I want to Click a button on the form, and have values inserted into those two input boxes. How can I do that? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# question learning

  • Error message that doesn't go away
    P profoundwhispers

    An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in system.windows.forms.dll Additional information: Unable to get the window handle for the 'AxWebBrowser' control. Windowless ActiveX controls are not supported. This happens whenever the application terminates. Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# com help learning

  • To Heath (we talked about this subject before)
    P profoundwhispers

    Thank you that was very clarifying. Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# csharp question html com learning

  • To Heath (we talked about this subject before)
    P profoundwhispers

    Well, what I'm doing right now is, I'm providing the binary deserialization mechanism in the static constructor, since I only need to load the settings from the file once in the lifetime of the program. Then, I'm providing a Save instance method so that I could save multiple times, which is needed whenever the settings dialog is opened and closed with Ok button. If there is nothing wrong with this in your opinion, then don't post an answer; otherwise, please comment. Thanks! Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# csharp question html com learning

  • To Heath (we talked about this subject before)
    P profoundwhispers

    public sealed class Singleton { static readonly Singleton instance=new Singleton(); // Explicit static constructor to tell C# compiler // not to mark type as beforefieldinit static Singleton() { } Singleton() { } public static Singleton GetInstance() { return instance; } } That was from this[^] article. Maybe you can answer this question: Is there an explicit need there for the private constructor to avoid initialization? If we remove it completely, will .NET supply a default public parameterless constructor? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# csharp question html com learning

  • How can I do the following...
    P profoundwhispers

    Heath Stewart wrote: singleton pattern I'm sorry, but I don't know what that is :( Heath Stewart wrote: Just put the classes in an assembly... So you do suggest classes instead of structs? I read in an article on CodeProject before by Nishant that whenever you find that you're using a class merely to store values, it's better to use a struct. Comments? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# json question tools xml learning

  • How can I do the following...
    P profoundwhispers

    I have an application, that needs to have a settings dialog. I want the settings to be available to the rest of the application all the time, even when the settings dialog is closed. In other words, this dialog is merely a utility for the user to modify these settings and save them. I'm thinking, I should have the settings struct, so that it's a value type, which doesn't need instantiation to be used, and be available all through the application lifetime. Now the challenges are: 1- What's the best method to load/save this struct? Can XML serialization work here? If so, how? 2- Can I bind the struct's fields/properties to controls on the settings dialog, so that any modification will automatically reflect in the struct, which, in turn is the one responsible for actually loading/saving all the settings? Thank you. Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# json question tools xml learning

  • Converting strings to DateTime structs
    P profoundwhispers

    Yes in fact, it is always in this format. How should I write this function? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# question learning

  • Converting strings to DateTime structs
    P profoundwhispers

    I get dates in the following format: Mar-07 13:45 How can I feed this to a ConvertTo.DateTime expression without getting an exception? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# question learning

  • Source code filters in VS help do not persist
    P profoundwhispers

    You know this inverted shortcut icon on top of each page in VS.NET help; you're supposed to click on it, and it drops down a yellow menu that makes you filter the page by C#, VB or JScript. Well, I have to do this for each page. I want it to stick. Can I do that? Thanks. Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# csharp visual-studio help question learning

  • VS .Net
    P profoundwhispers

    I'm sorry, did that sound sarcastic? That's not what I meant if it did. It's just that your opinion matters to me, I sort of look up to you! Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# csharp visual-studio c++ mobile question

  • VS .Net
    P profoundwhispers

    Uh oh. You mean using VS.NET will always make me beneath all those who develop by hand? But I thought that the real essence is not code writing, it's really the thinking behind it, if you know what I mean. This is why IDEs are okay, because they let you concentrate on writing the code that really matters, not the one you know by heart how to write already (like instantiating forms and controls). Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# csharp visual-studio c++ mobile question

  • Best way to save state (Windows Forms)
    P profoundwhispers

    Okay, it's not THAT critical :) Thanks! Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# winforms windows-admin xml tutorial question

  • Best way to save state (Windows Forms)
    P profoundwhispers

    Every 30 seconds or so, I need my application to persist state, just in case the power goes off or something like that. What's the best method based upon this time frame? For example: - Save to an XML configuration file. - Save to registry. - Save to binary file (serialize object?) - Something better? Thank you. Sammy "A good friend, is like a good book: the inside is better than the cover..."

    C# winforms windows-admin xml tutorial 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