Click here to Skip to main content
15,892,575 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an7-Oct-04 2:45
Mohammad Daba'an7-Oct-04 2:45 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an7-Oct-04 4:08
Mohammad Daba'an7-Oct-04 4:08 
GeneralRe: add text file to sql database, VB6.0 Pin
Dave Kreskowiak7-Oct-04 5:40
mveDave Kreskowiak7-Oct-04 5:40 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an8-Oct-04 6:34
Mohammad Daba'an8-Oct-04 6:34 
GeneralRe: add text file to sql database, VB6.0 Pin
Dave Kreskowiak8-Oct-04 7:18
mveDave Kreskowiak8-Oct-04 7:18 
GeneralRe: add text file to sql database, VB6.0 Pin
Mohammad Daba'an8-Oct-04 22:09
Mohammad Daba'an8-Oct-04 22:09 
GeneralRe: add text file to sql database, VB6.0 Pin
Dave Kreskowiak11-Oct-04 4:23
mveDave Kreskowiak11-Oct-04 4:23 
GeneralBad GAC! Bad! ...or... COM Object Problem with VB.Net Pin
Mike the Red6-Oct-04 6:38
Mike the Red6-Oct-04 6:38 
Overall goal:
Allow web visitors to select frames from a streamed WMV video, then receive the selected frames via email in JPG format. No controls or specific software can be installed on or required of the client computer other than Windows Media Player 9 and IE 6.

Currently Selected Approach:
Server is IIS 5.0.
Using client-side scripting, store the user's selected frames using the Windows Media Player object's timestamp from the player.controls.currentPosition property. Then send these timestamps to an ASP "processing page" to pull the frames from the video and email them to the user. A few 3rd party controls (Server-Side ActiveX) have been found which provide the functionality to pull frames from a WMV and save them as JPEGs.

Obstacle:
None of the 3rd party controls provide an interface (COM) which is accessible to an ASP page.

Proposed Solution:
Create a COM wrapper to provide the necessary interface.

Obstacle for Proposed Solution:
Testing has shown that a VB.NET Class Library cannot be called from an ASP page unless it is registered in the Global Application Cache(GAC) using gacutil /i, which requires the Class Library to be strong-named.

The VB.NET compiler will not compile a strong-named Class Library with a reference that is not strong-named. None of the 3rd party Server-Side Controls I've found are strong-named.

-----


I need to know how to make the compiler create a strong-named Library with a reference that is not strong-named, or how to get my ASP page to create an object (Server.Createobject(progID)) from a Library that is only listed in the Registry (regasm /u) and NOT in the GAC.

I have tried creating a wrapper Library (not strong-named) and registering it with regasm /u, and then creating it in an ASP page Server.Createobject(progID), but the ASP Parser gives me an error: 0x80070002 with no description.

This is the same error # as when trying to CreateObject with an invalid progID, however, in that case (invalid ID), there is a description stating that you have tried to use an invalid ID.




What I wouldn't give for a VB6 compiler. . .

I hope the information I gave isn't TOO detailed, but I know details make things easier for people to respond.

I am running out of ideas. If anyone has run into a similar problem or knows what I am doing wrong (or not doing), please help.

Alternatively, if anyone has another idea for a solution to the overall problem (way up there at the top of the post), that, too, would be greatly useful.

Many thanks in advance,
Mike the Red
GeneralRe: Bad GAC! Bad! ...or... COM Object Problem with VB.Net Pin
Steven Campbell6-Oct-04 11:59
Steven Campbell6-Oct-04 11:59 
GeneralRe: Bad GAC! Bad! ...or... COM Object Problem with VB.Net Pin
Mike the Red7-Oct-04 7:58
Mike the Red7-Oct-04 7:58 
GeneralVB6 and API calls Pin
aslm6-Oct-04 3:50
aslm6-Oct-04 3:50 
GeneralRe: VB6 and API calls Pin
Anonymous6-Oct-04 12:24
Anonymous6-Oct-04 12:24 
GeneralProblem in "LookupAccountName" function Pin
zeemalik6-Oct-04 0:33
zeemalik6-Oct-04 0:33 
QuestionWH_CBT Global hook? Pin
Hadi Fakhreddine5-Oct-04 20:26
Hadi Fakhreddine5-Oct-04 20:26 
AnswerRe: WH_CBT Global hook? Pin
Anonymous6-Oct-04 11:03
Anonymous6-Oct-04 11:03 
GeneralRe: WH_CBT Global hook? Pin
Hadi Fakhreddine7-Oct-04 20:27
Hadi Fakhreddine7-Oct-04 20:27 
GeneralRe: WH_CBT Global hook? Pin
Anonymous11-Oct-04 9:26
Anonymous11-Oct-04 9:26 
GeneralUsing OpenPrinter/SetPrinter in Win2K3 Pin
cnurse5-Oct-04 20:05
cnurse5-Oct-04 20:05 
GeneralRe: Using OpenPrinter/SetPrinter in Win2K3 Pin
Anonymous6-Oct-04 8:31
Anonymous6-Oct-04 8:31 
GeneralRe: Using OpenPrinter/SetPrinter in Win2K3 Pin
cnurse6-Oct-04 18:36
cnurse6-Oct-04 18:36 
GeneralRe: Using OpenPrinter/SetPrinter in Win2K3 Pin
Anonymous6-Oct-04 19:05
Anonymous6-Oct-04 19:05 
GeneralRe: Using OpenPrinter/SetPrinter in Win2K3 Pin
cnurse6-Oct-04 19:30
cnurse6-Oct-04 19:30 
GeneralRe: Using OpenPrinter/SetPrinter in Win2K3 Pin
cnurse6-Oct-04 20:02
cnurse6-Oct-04 20:02 
GeneralRe: Using OpenPrinter/SetPrinter in Win2K3 Pin
Anonymous6-Oct-04 20:51
Anonymous6-Oct-04 20:51 
GeneralRe: Using OpenPrinter/SetPrinter in Win2K3 Pin
cnurse6-Oct-04 21:00
cnurse6-Oct-04 21:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.