Results 1 to 31 of 31

Thread: Testing MVP code

  1. #1

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Testing MVP code



    Added new tag. You should only use this (MVP) tag if you have an agreement with Microsoft to use it (otherwise, you are violating their copyright on the graphic).

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    Thanks Brad - I'll change it tomorrow morning (been a long day here!)

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Testing MVP code

    So, what is the new tag? [mvp] ? apparently not.... :mvp: ? nope, not that either....*stumbles around in the dark* *CRASH!*

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Testing MVP code

    I'll give you a clue.. to get the auto-formatted text "Internet.com" (the JM tag) you need to use something like this: [jm]a[/jm]

  5. #5

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    actually, there is an issue with the tag right now. I'm not sure what happened to it. If you see the MVP logo in the first post of this thread, then it is likely fixed....

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  6. #6

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    hmmm.... there might be an issue with our using multiple servers.... I'm looking into this.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  7. #7

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    [xxx]
    This is a test

    [COL]This is a second test.
    A second test.
    [/COL]
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  8. #8

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    [mvp]something here that will be hidden[/mvp]

    equals

    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  9. #9
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    Brad - I though you were talking about the MVP image - apparently yours comes from a link that's not working right now?

    What are you trying to do for us here?

    [edit] Actually now it is. Brad is there a reason that the MVP image in this thread sometimes appears as a [X] picture box and other times appears properly?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  10. #10

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    Quote Originally Posted by szlamany
    [edit] Actually now it is. Brad is there a reason that the MVP image in this thread sometimes appears as a [X] picture box and other times appears properly?
    And that sir, is a good question. I think it has to do with a server being out of sync with the others. There are a couple of other codes that seem to fluxuate a bit too. I'm going to have to get an admin to look into this to see if they can figure out why the link breaks sometimes. (x is an indicator for a broken image link)

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  11. #11
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    Ok - thanks for that answer...

    Now what exactly is the use of the new (MVP)xxx(/MVP) tag?

    What would you like us to do with it?"

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  12. #12

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    Quote Originally Posted by szlamany
    Now what exactly is the use of the new (MVP)xxx(/MVP) tag? What would you like us to do with it?"
    You don't have to do anything with it .

    I added it to Codeguru, so I also added it here. On Codeguru, the IMG tag is disabled in the signatures, so the image you have in your signature is not possible there. By creating a vBulletin Code, people there will be able to use the MVP tag in their signature and thus be able to at least display the MVP image in their sig.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  13. #13
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    Nice to see you are being thorough and consistent

    Was there a reason for the "something here that will be hidden" comment?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  14. #14

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    Quote Originally Posted by szlamany
    Was there a reason for the "something here that will be hidden" comment?
    Because you have to put text between the tag or the tag will be ignored. With the MVP tag, the text between the open and closing tag is ignored. I guess I could put that text to the side of the image or something...

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  15. #15

  16. #16
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    Not really...

    [edit] - but of course after I posted this it did work!
    Attached Images Attached Images  

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  17. #17
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    Brad - when I get the e-mail notification - and click it from outlook - it's this link:

    http://www.vbforums.com/showthread.p...42#post2759942

    and that link does not work - it shows the [x]

    [edit] After I posted this - the link was

    http://www.vbforums.com/showthread.p...47#post2759947

    and of course I can see the image now.

    Probably doesn't help - but at least I can duplicate the problem that way.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  18. #18

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    I believe the issue is that our program for replicating images across all the servers is missing a server. That would cause the image to randomly not show up (be broken) even though the URL remains the same. Rather than forcing this image to be correct on all servers, I'm leaving it for our developers to take a look at to see if we can fix the problem for good.

    Once I know it is fixed, I'll post something. Until then, the image may randomly break.

    This will get fixed though

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  19. #19
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Testing MVP code

    You could put the MVP id in the tag and thus have the image link to the user MVP homepage?
    e.g.
    [ MVP id="34440"]

    </feature creep>

  20. #20
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    It is against the rules of use to have the image be clickable and go anywhere...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  21. #21

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    okay - so I need to read the rules. I'll see if I can get permission to use the link to a profile....


    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  22. #22

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    I stole szlamany's format:

    MVP

    You have to use the value in the MVP profile URL, not your ID number (which you should probably keep somewhat confidential).

    So for my icon above, I'd link to https://mvp.support.microsoft.com/default.aspx/profile=AE1FAEA9-FCC0-495C-86F1-0528CD261FA9]

    by using:

    [MVP=AE1FAEA9-FCC0-495C-86F1-0528CD261FA9]abc[/MVP]

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  23. #23
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    Robdog e-mailed me this rule last January - not sure where he got it from...

    Web Sites The Microsoft MVP logo may be used as one- color or full color in Web sites. Please use the .PNG files for Web site application. The logo must not be larger than your company logo. If you choose to assign a hyperlink to the MVP logo on a Web site, the URL needs to point to http://mvp. support.microsoft.com/default.aspx.
    That was why I "undid" the hyperlink in my logo and added MVP as a token next to it...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  24. #24

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    I'm asking one of the leads for clarification or permission on the linking. Let's see what they say later today (they are on Pacific time so it is still early there). I'd be a bit surprised if you couldn't link it to your profile page on the MVP site....

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  25. #25
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Testing MVP code

    Cool. Incidentally are we going to have a VBForums / CodeGuru drink session at the summit?

  26. #26

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    Quote Originally Posted by Merrion
    Cool. Incidentally are we going to have a VBForums / CodeGuru drink session at the summit?
    I think somewhere I said something about buying one drink for everyone (from VBF & CG). Of course, you'll have to take a small sip before passing it along, so that there is enough for everyone....

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  27. #27
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Testing MVP code

    Probably the same place I did.... it's stated in the AUP for the Logo.... not sure why it is that way, but that's how it is. You can link all the text you want.... just not the image... seems counter intuitive.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  28. #28
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Testing MVP code

    I can see their point of view.

    It's their logo - their image - and it's all about the program itself. Not about the individual.

    That would be my guess anyway...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  29. #29

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    Quote Originally Posted by szlamany
    I can see their point of view.

    It's their logo - their image - and it's all about the program itself. Not about the individual.

    That would be my guess anyway...

    My guess would be that they don't want you linking it to your own personal web site that might not represent them in the best light. I'll be surprised if they say we can't actually link to an MVP profile on their (the MVP) site. Let's wait and see what they say.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  30. #30

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    You can set the boolean flag:
    VB Code:
    1. Option Explicit
    2.  
    3. Dim blnOkToMove As Boolean
    4. [COLOR=RoyalBlue]Dim blnOkToMove As Boolean kkk[/COLOR]
    5. [COLOR=Red]Dim blnOkToMove As Boolean[/COLOR]
    6. Dim blnOkToMove As Boolean
    7. Private Sub Form_Load()
    8.     blnOkToMove = False
    9.     [COLOR=Red]blnOkToMove = False[/COLOR]
    10.     blnOkToMove = False
    11.  
    12. End Sub
    13.  
    14. Private Sub mnuFileList_Click(Index As Integer)
    15.     If Index = 1 Then
    16.         CommonDialog1.ShowOpen
    17.         Picture1.Picture = LoadPicture(CommonDialog1.FileName)
    18.         blnOkToMove = True
    19.         [COLOR=Red]blnOkToMove = True[/COLOR]
    20.         blnOkToMove = True
    21.     ElseIf Index = 2 Then
    22.         Unload Me
    23.     End If
    24. End Sub
    25.  
    26. Private Sub picture1_mousemove(button As Integer, shift As Integer, X As Single, Y As Single)
    27.     If Not blnOkToMove Then Exit Sub
    28.     [COLOR=Red]If Not blnOkToMove Then Exit Sub[/COLOR]
    29.     If Not blnOkToMove Then Exit Sub
    30.     Text5.Text = X
    31.     Text6.Text = Y
    32. End Sub
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  31. #31

    Thread Starter
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Testing MVP code

    Quote Originally Posted by Merrion
    Cool - now if there were some way of creating a mechanical device for combining these boolean values using logical operators we could achieve great things.

    I'm guessing this code was meant for a different answer?

    This is the testing forum. The code is not relevant. I was testing an issue with the formatting that had been pointed out.

    Brad
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width