Find Jobs
Hire Freelancers

convert vb.net 45 line routine to vb6

$30-250 CAD

Em Andamento
Publicado há aproximadamente 13 anos

$30-250 CAD

Pago na entrega
Requirements: Downgrade sub HighLightText to VB6. Bonus points if you can modify the routine to additionally replace text, and use addlink method via additional passed array parameters. The methods referencing 'Adobe Acrobat 9.0 Type Library' still can be used. Ie, getPageNthWordQuads, getPageNumWords, getPageNthWord, addAnnot, GetProps, SetProps, .flattenPages(), etc. Scope: I have the following global variables in my VB6 project: Dim gApp, gPDDoc, jso. This routine was found on the internet, and I'd like to incorporate it into my project. Attached is a VB6 procedure that will give you some context in referencing those variables. Also: Variable m_JSO, has already been defined by jso. Variable m_PDDoc, has already been defined by gPDDoc. -=--=--=--=--=--=--=--=--=- Public Sub HighLightText(ByVal Text() As String) If Not Me.m_PDDoc Is Nothing Then Dim m_JSO As Object = [login to view URL] Dim m_Matches As New ArrayList 'Find text For m_Page As Integer = 0 To [login to view URL] - 1 For m_Word As Integer = 0 To [login to view URL](m_Page) Dim m_CurrentWord As String = [login to view URL](m_Page, m_Word) If Not m_CurrentWord Is Nothing Then If [login to view URL](Text, m_CurrentWord) >= 0 Then [login to view URL](New Integer() {m_Page, m_Word}) End If End If Next Next 'Highlight text For Each m_Match As Array In Me.m_Matches Dim m_Quad As Object = [login to view URL]([login to view URL](0), [login to view URL](1)) Dim m_HighLight = [login to view URL]() Dim m_Properties = [login to view URL] With m_Properties m_Color = New Object() {"RGB", Me.m_HighlightColor.R, Me.m_HighlightColor.G, Me.m_HighlightColor.B} .Type = "Square" .Page = [login to view URL](0) .Rect = New Integer() {CType(m_Quad(0), Array).GetValue(0), _ CType(m_Quad(0), Array).GetValue(1), _ CType(m_Quad(0), Array).GetValue(6), _ CType(m_Quad(0), Array).GetValue(7)} .StrokeColor = m_Color .FillColor = m_Color .Width = 0 .Opacity = 0.35 End With [login to view URL](m_Properties) Next 'Finalize highlights [login to view URL]() 'Clean up m_JSO = Nothing End If End Sub
ID do Projeto: 1014002

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 13 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
3 freelancers estão ofertando em média $37 CAD for esse trabalho
Avatar do Usuário
Hi This is Piyush Patel I have 6 yrs of Exp in VB6,VB.net,SQL and MsAccess. I have developed many applications in VB6,VB.NET. Please Check My PM
$30 CAD em 1 dia
5,0 (27 avaliações)
5,2
5,2
Avatar do Usuário
Hi, I can do this. ready to start now.
$30 CAD em 1 dia
4,9 (5 avaliações)
2,8
2,8
Avatar do Usuário
Ready to start immediately .
$50 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) CANADA
Prince George, Canada
4,8
1
Membro desde mai. 11, 2010

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.