User Profile

Collapse

Profile Sidebar

Collapse
mwalts
mwalts
Last Activity: Nov 27 '07, 06:37 AM
Joined: May 24 '07
Location: Victoria BD Canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks for the replies. I'll try that doc type, I'll admit, I just let VS 2003 put in its default.

    I think it might have been a caching issue as well. I ended up adding localhost to the safe sites list and that did it, it now works... not sure why though.

    Thanks again for the help.

    -mwalts
    See more | Go to post

    Leave a comment:


  • ASP .NET 1.1 DropDownList working in FireFox, not IE 7

    I'm fairly new to ASP.NET, although I have a fair amount of C# experience.

    I'm creating a SharePoint Web Part, but I'm doing the development for it locally in ASP.NET 1.1

    I'm using a DropDownList control with autopostback = true in order to run code on the SelectedIndexCh anged event. Both IE 7 and FireFox are obviously loading a page again when a selection is made, but only FireFox actually shows the changes made to...
    See more | Go to post

  • Looks like I was wrong about what the problem was.. seems my event code for my DropDownList is just wrong... or something. It's set to auto post back but the selection changed event isn't firing. That sounds like something that I can look up though.

    Thanks anyway everyone :-)

    -mwalts
    See more | Go to post

    Leave a comment:


  • HtmlForm control question for ASP.NET 1.1, SharePoint related

    Hello all,

    I have to write a web part for a SharePoint 2003 server. We only have one SharePoint server, so developing directly on it isn't really viable. So I've planned to do the majority of the debugging using plain old ASP.NET 1.1 on a local machine.

    The problem I'm running into is that web parts have a form behind the scenes and you can just add your controls to the pages (parts) Controls collection. Normal...
    See more | Go to post

  • Ok, I realize now that this is the wrong forum to post this is... I want to the Edit/Delete section to try to delete it but couldn't find a delete button. Removing all the Text and trying to save just caused a validation error... oh well, I'll post this again in the .NET forum, hope some admin can delete this for me.

    -mwalts
    See more | Go to post

    Leave a comment:


  • HtmlForm control question for ASP.NET 1.1, SharePoint related

    Hello all,

    I have to write a web part for a SharePoint 2003 server. We only have one SharePoint server, so developing directly on it isn't really viable. So I've planned to do the majority of the debugging using plain old ASP.NET 1.1 on a local machine.

    The problem I'm running into is that web parts have a form behind the scenes and you can just add your controls to the pages (parts) Controls collection. Normal...
    See more | Go to post

  • mwalts
    replied to C# and Ping.SendAsync
    in .NET
    You're basically forcing the SendAsync to act like the normal Send. If you need them all to come back in the specific order, then you'll have to block and use Send. So do it in another thread to avoid freezing the UI thread.

    Something like

    //in a button press event or something

    new Thread (new ThreadStart(Pin gAll)).Start();

    //now to create the PingAll method

    private void...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to String manipulation
    in .NET
    Do you mean have the same contents, or the same reference?

    Contents:
    string hello1 = "Hello";
    string hello2 = "Hello";

    Console.WriteLi ne((hello1==hel lo2) + "");
    should give you true (or 1, whatever, can't remember what .net gives us again)
    but
    Console.WriteLi ne(object.Refer enceEquals(hell o1,hello2) + "");
    may give you false because it checks...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to Cant put a wait on external application?
    in .NET
    If you don't supply a time for the WaitForExit() call it will wait for as long as it takes the application to exit. Could you try explaining your problem a little bit better? I'm not sure I get what your asking.

    -mwalts...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to How do you make a bitmap from a string?
    in .NET
    MSDN is our friend :)

    and so are earlier posts in this forum, check
    http://www.thescripts. com/forum/thread224735.ht ml

    and
    look into MSDN for the System.Drawing. Graphics and System.Drawing. Bitmap methods and members.

    Anyway, it seems that once you have created a bitmap, you can create a fraphics object from it, alter that graphics object, and if you haven't made your bitmap reference point...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to Windows Application using Thread
    in .NET
    You have to use invoke to change values on the main thread. Which means you need to use delegates. You can pass parameters with delegates, look at this article and it should sort you out.

    http://www.yoda.arachs ys.com/csharp/threads/winforms.shtml

    Have fun,

    -mwalts...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to Help with LinkLabel
    in .NET
    yeah, that should have done it.

    I don't have the old version of IE anymore so I can't reproduce it.

    Looks like you're stuck with automation.

    Or, if you know for sure where IE is, you can do something like this

    pIE.FileName = @"""C:\Progr am Files\Internet Explorer\iexplo re.exe""";
    pIE.Arguments = "-new www.google.com" ;
    pIE.Start();...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to from C++ to C#
    in .NET
    Do you mean you need to know how to send data from a C++ process to a c# process during runtime?

    Or do you mean how do you open and parse a text file in c#?

    -mwalts...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to Help with LinkLabel
    in .NET
    Hmm, doesn't happen in Internet explorer 7, it will open in a new tab.

    Can I see the exact code your using?

    But it could be that IE recognizes that it is already open and just changes sites instead, in which case, you might have to actually automate IE

    http://www.novicksoftw are.com/TipsAndTricks/tip-csharp-open-ie-browser.htm

    -mwalts...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to Help with LinkLabel
    in .NET
    Ok, your going to want to add this statement near the top (with the other using statments)

    using System.Diagnost ics;

    now in your link Labels on click event you want to add something like this

    Process pIE = new Process();

    pIE.StartInfo.F ileName = "http://TheLink.html";
    pIE.StartInfo.U seShellExecute = true;

    pIE.Start();


    And that should...
    See more | Go to post

    Leave a comment:


  • I think there is a terminology issue here,

    A parent class is a base class.

    If you want to use a method from the class you inherit from, use the base keyword.

    I think your going to have to re-word your question

    -mwalts...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to ControlBox in Windows Form
    in .NET
    If you have the form open in Visual Studio form designer, just make MaimizeBox and MinimizeBox properties = false. They are located under Window Style right next to the ControlBox option you seem to have already found. Can be set in code too of course

    -mwalts...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to Difference between method and function !!!
    in .NET
    Not a whole lot.

    I believe the technical difference is that a function is not in a class, whereas a method is.

    You'll see method and member function used interchangeably which is fine (a function that is a member of a class, get it? Correct term when discussing C++). Function and method shouldn't be used interchangeably , but often will be.

    I'd suggest you don't sweat it, they both represent blocks of...
    See more | Go to post

    Leave a comment:


  • mwalts
    replied to C# reading XML?
    in .NET
    So, it's doing this on the doc.Load? it looks like your XML is probably "Not well formed"

    You can look at the w3c school site to figure out exactly what is wrong, but in general it could be that a tag doesn't have a matching terminator (and remember, it is case sensitive) or an invalid character is included somewhere (there are a lot of them). If it's the character issue, you'll want to look into CData sections.
    ...
    See more | Go to post

    Leave a comment:


  • I tend to avoid automation of specific programs like that unless you have very specific requirements. Now you did say you wanted it to open in Word 2000, but is it a problem if it opens in the user's default .doc program?

    If you use something like this

    Code:
    System.Diagnostics.Process pRun = new Process();
    
    pRun.StartInfo.FileName = @"C:\SomePath\TheFile.doc";
    
    pRun.StartInfo.UseShellExecute
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...