Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ShawnDev

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Creating/using a new base class UserControl

    I have a large project I've been asked to contribute to at work, which utilizes a number of System.Web.UI.UserControl files. Most of these files duplicate about 90% of their code, so I am trying to...
  2. Replies
    4
    Views
    855

    My problem goes beyond this. Given your code...

    My problem goes beyond this. Given your code sample above, how would you handle the fact that, within button1_Click(), you don't know that Form1 is the form you need to cast to?

    What if the form...
  3. Replies
    6
    Views
    515

    Re: C#, .NET framework and SQL Server

    You don't have to own SQL Server, just have access to it. For example, if you are doing your coding at work, there might be a SQL Server you can get permission to connect to.

    Also, it is possible...
  4. Replies
    6
    Views
    515

    The pages joan_fl linked to don't explicitly...

    The pages joan_fl linked to don't explicitly state it but it looks like MSDE might even come with Visual C#.NET. (It certainly comes with Visual Studio.NET - according to the site.)

    Of course, you...
  5. Replies
    4
    Views
    855

    Okay, (in case anybody cares) I've got mostly...

    Okay, (in case anybody cares) I've got mostly what I want by using the GetType() method:


    if (m_frmAddEdit.GetType() == (new Form2()).GetType())

    - or -

    if...
  6. Replies
    4
    Views
    855

    Okay, I see what my problem is. But now the...

    Okay, I see what my problem is. But now the question becomes:

    How do I pass a reference to a class (not an object)?
  7. Replies
    4
    Views
    855

    Passing a Form reference

    I have three forms: Form1, Form2 and Form3. I want to be able to pass a reference to either Form2 or Form3 so that Form1 will invoke the appropriate one when a button is clicked. So I set up a...
  8. Replies
    0
    Views
    355

    Style changes not being redrawn?

    I'm having what seems to be a recurring problem with Mozilla: When I change a style attribute/rule dynamically with Javascript the elment doesn't always visibly change.

    At first, I thought it...
  9. Replies
    2
    Views
    577

    Thanks for the tip, but I am looking explicitly...

    Thanks for the tip, but I am looking explicitly to use the clip functionality of the CSS standard. This code needs to run in all browsers, not just IE.

    (In other words, I'm not looking for the...
  10. Replies
    2
    Views
    577

    Clipping an image

    Using Javascript and CSS, I am trying to create an animation where a picture (jpg) is displayed by an expanding rectangle from it's center point.

    I haven't gotten to the animating part because I...
  11. Replies
    2
    Views
    1,235

    Excellent! Thanks Goodz :)

    Excellent! Thanks Goodz :)
  12. Replies
    2
    Views
    1,235

    Defining a stand-alone method/function?

    I am learning Java (or more specifically, JSP) and am working on my final project for class. As part of the JSP page I am creating, I want to perform the same string concatenation on each field...
  13. I don't follow you. You want to know how to...

    I don't follow you. You want to know how to submit the form programatically (in the code - without user input)?

    Frames don't have anything to do with posting forms.

    JSP? You were talking...
  14. Replies
    8
    Views
    726

    Glad you got it working. Abandoning VBScript...

    Glad you got it working.

    Abandoning VBScript is always the right answer :D

    (No, not really - don't send me hate mail. It's a joke, son.)
  15. I'm not telling you to put that line anywhere. ...

    I'm not telling you to put that line anywhere. I'm saying if you are submitting the form programatically - by issuing that command - then the onSubmit event will not be triggered.

    How is the form...
  16. Replies
    5
    Views
    820

    Re: Download path URL-encoded in IE5.5

    Um... because IE is stupid? ;)

    I would call this a bug, but not with "text/x-application-download". You're doing something the browser doesn't expect you to do - and the developers didn't account...
  17. Replies
    3
    Views
    437

    I disagree. That is much to fine a control to be...

    I disagree. That is much to fine a control to be included in a standard. Standards are to make sure that things interoperate properly and so that certain behavior can be expected to be the same -...
  18. Replies
    4
    Views
    1,329

    No "of course" about it. You'd be surprised. ...

    No "of course" about it. You'd be surprised.

    The only thing I can recommend is that you upgrade IE. As I said, it's working fine here (also on Win2k). There isn't any way I know of that a site...
  19. function ValidateForm() { // if...

    function ValidateForm()
    {
    // if (document.itemsform.he001quantone.value is fractional)
      {
        alert("You must enter a whole number");...
  20. Yes. But the code that handles user input is not...

    Yes. But the code that handles user input is not part of what you provided. You will have to add code there (not here) to report an error and disallow the entry of fractional numbers.
  21. Replies
    8
    Views
    726

    Also, try moving the tag into the ...

    Also, try moving the <script> tag into the <head> and then calling your code from the body onLoad event. It's been a long time since I've toyed with VBScript (seldom used any more, in my experience)...
  22. Replies
    8
    Views
    726

    Do you have Host Scripting support installed on...

    Do you have Host Scripting support installed on the computers that are having problems? If I remember correctly, scripting won't work (specficially, VBScript) if you don't.
  23. Replies
    4
    Views
    1,329

    I am able to view the source with IE...

    I am able to view the source with IE 6.0.2800.1106

    Which version are you using? And where are you right-clicking? Have you tried selecting Source from the View menu instead?

    I also seem to...
  24. How is the submit being invoked? If you submit...

    How is the submit being invoked? If you submit the form in code:


    document.form.submit();

    the onSubmit event does not fire.
  25. Replies
    3
    Views
    1,038

    For server side scripting (ASP), do this at the...

    For server side scripting (ASP), do this at the end of your script:


    <%
    Response.Redirect("default.asp?fname=" & filename)
    %>

    Although, be aware that the user will never see the page before...
Results 1 to 25 of 111
Page 1 of 5 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center