Results 1 to 11 of 11

Thread: Programmitically add a reference from a resource

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2003
    Location
    When?!?!
    Posts
    108

    Programmitically add a reference from a resource

    I'm going to deploy my application cross-platform (my secret), but how am I able to programmitically add a reference by code rather doing it from the IDE?

    Thanks in advance,
    DannyJoumaa
    Advanced VB6 Programmer
    Intermediate-Advanced VB .NET Programmer
    Intermediate C# Programmer
    Intermediate Win32 Developer
    Beginner Mac OS X Developer
    Contact: [email protected]

    Favorite Sayings:
    "Every time you open your mouth, you prove your an idiot."
    "God is a programmer. Satan is a bug. Life is debugging."

  2. #2

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I don't know about your secret but did you read about 'Plugin' if it serves your need ? This way you can reference your dll at runtime .

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: Programmitically add a reference from a resource

    Originally posted by Danny J
    I'm going to deploy my application cross-platform (my secret), but how am I able to programmitically add a reference by code rather doing it from the IDE?

    Thanks in advance,
    'your secret'? Right..... *cough*mono*cough*

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2003
    Location
    When?!?!
    Posts
    108
    wrong, incorrect . anywhose if you cant get that, then what is the equivalent of instr for C#? I can't find anything similar anywhere...
    DannyJoumaa
    Advanced VB6 Programmer
    Intermediate-Advanced VB .NET Programmer
    Intermediate C# Programmer
    Intermediate Win32 Developer
    Beginner Mac OS X Developer
    Contact: [email protected]

    Favorite Sayings:
    "Every time you open your mouth, you prove your an idiot."
    "God is a programmer. Satan is a bug. Life is debugging."

  6. #6
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by kasracer
    'your secret'? Right..... *cough*mono*cough*
    lol , it's not anymore . When someone says 'Cross-platform' it means Windows and Linux

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Aug 2003
    Location
    When?!?!
    Posts
    108
    + OS X
    DannyJoumaa
    Advanced VB6 Programmer
    Intermediate-Advanced VB .NET Programmer
    Intermediate C# Programmer
    Intermediate Win32 Developer
    Beginner Mac OS X Developer
    Contact: [email protected]

    Favorite Sayings:
    "Every time you open your mouth, you prove your an idiot."
    "God is a programmer. Satan is a bug. Life is debugging."

  8. #8
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Danny J
    what is the equivalent of instr for C#? I can't find anything similar anywhere...
    It's IndexOf method .

  9. #9
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by Danny J
    wrong, incorrect .
    Ahh, so my program I linked you to worked good? Good to hear!
    Originally posted by Danny J
    anywhose if you cant get that, then what is the equivalent of instr for C#? I can't find anything similar anywhere...
    IndexOf

    EDIT: beaten, damn

  10. #10
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by Pirate
    lol , it's not anymore . When someone says 'Cross-platform' it means Windows and Linux
    Uh.......

  11. #11

    Thread Starter
    Lively Member
    Join Date
    Aug 2003
    Location
    When?!?!
    Posts
    108
    I'll always have a question, no matter what time it is

    I want to put a resource in a file rather having a seperated resource. Like I want my app icon to be included with my startup module. The compiler I am going to use won't compile the project, only one class file (being that it is totally free, mind you). I want the resource to be included in the class file. Now HTF do I do that?
    DannyJoumaa
    Advanced VB6 Programmer
    Intermediate-Advanced VB .NET Programmer
    Intermediate C# Programmer
    Intermediate Win32 Developer
    Beginner Mac OS X Developer
    Contact: [email protected]

    Favorite Sayings:
    "Every time you open your mouth, you prove your an idiot."
    "God is a programmer. Satan is a bug. Life is debugging."

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