Click here to Skip to main content
15,915,508 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionComparing a stored Value with data in Excel Pin
HurricaneDan4-Jun-07 7:41
HurricaneDan4-Jun-07 7:41 
AnswerRe: Comparing a stored Value with data in Excel Pin
Arun.Immanuel4-Jun-07 15:38
Arun.Immanuel4-Jun-07 15:38 
QuestionDesprate need help with buttons and panels Pin
LAPEC4-Jun-07 6:28
LAPEC4-Jun-07 6:28 
AnswerRe: Desprate need help with buttons and panels Pin
Dave Kreskowiak4-Jun-07 6:46
mveDave Kreskowiak4-Jun-07 6:46 
AnswerSTOP REPOSTING Pin
leckey4-Jun-07 8:33
leckey4-Jun-07 8:33 
AnswerRe: Desprate need help with buttons and panels Pin
The ANZAC4-Jun-07 12:19
The ANZAC4-Jun-07 12:19 
AnswerRe: Desprate need help with buttons and panels Pin
Christian Graus4-Jun-07 14:45
protectorChristian Graus4-Jun-07 14:45 
QuestionThe method or operation is not implemented. Pin
Blizzardice4-Jun-07 6:27
Blizzardice4-Jun-07 6:27 
I am haveing trouble converting some vba come code to .net. The function call states that the ITrackCancel need to be there but does not need to be used. However when I don't pass one I get an embedded com error. When I do pass a new ITrackCancel I get a "The method or operation is not implemented. This item has several methods that could be implemented but I would have make it a global object to do this (I think). Does anybody have any suggestions on some things I could do with this to make it work?

The unimplemented functions look like this in the imed window
CancelOnClick = {"The method or operation is not implemented."}
CancelOnKeyPress = {"The method or operation is not implemented."}
CheckTime = {"The method or operation is not implemented."}
ProcessMessages = {"The method or operation is not implemented."}
Progressor = {"The method or operation is not implemented."}
TimerFired = {"The method or operation is not implemented."}

Blizzardice

<br />
    Private Sub simplerMap()<br />
        Try<br />
<br />
            Dim strPMFFile As String<br />
            strPMFFile = "D:\GIS_SHARED_DATA\Working\Shane\Junk\Applications\Reader\UtilityJunk.pmf"<br />
<br />
            Dim pmf As IPMFPublish<br />
            Dim mapDoc As IMapDocument = New MapDocument<br />
            mapDoc.Open("D:\GIS_SHARED_DATA\Working\Shane\Junk\Applications\Maps\UtilityReaderMapjunk.mxd")<br />
<br />
<br />
            pmf = New PublisherEngine<br />
            pmf.Publish(mapDoc.PageLayout, mapDoc.ActiveView, pmf.GetDefaultPublisherSettings, False, strPMFFile)     'Set up the publisher engine for packaging<br />
            Debug.Print("published")<br />
<br />
            Dim pPE As ESRI.ArcGIS.Publisher.IPMFPackage<br />
            pPE = New ESRI.ArcGIS.Publisher.PackagerEngine<br />
            'Specify the data package location<br />
            Dim pSettings As IPropertySet<br />
            pSettings = pPE.GetDefaultPackagerSettings()<br />
            pSettings.SetProperty("Package Directory", "D:\GIS_SHARED_DATA\Working\Shane\Junk\Applications\Reader\package")<br />
            ''Set the output data format to compressed and encrypted<br />
            pSettings.SetProperty("Vector Type", esriAPEVectorType.esriAPEVectorTypeShapefile)<br />
<br />
            ''Set the vector clip type to only include features that intersect the data frame<br />
            pSettings.SetProperty("Vector Clip Type", esriAPERasterType.esriAPERasterTypeFileGDBCompressed)<br />
<br />
            'Put the published map to package in an array<br />
            Dim pArr As IStringArray<br />
            pArr = New StrArray<br />
            pArr.Add(strPMFFile)<br />
            'Set Cancel Tracker<br />
            Dim pCT As ITrackCancel<br />
            pCT = New TrackCancel '******Set Item Here********************************<br />
<br />
<br />
<br />
            Debug.Print("Begin Package")<br />
            'Package the published map<br />
            pPE.Package(pSettings, pCT, pArr) '********Get Error Here***************<br />
            Debug.Print("End Package")<br />
<br />
<br />
        Catch ex As Exception<br />
            Console.WriteLine(ex.Message)<br />
        End Try<br />

AnswerRe: The method or operation is not implemented. Pin
Dave Kreskowiak4-Jun-07 8:16
mveDave Kreskowiak4-Jun-07 8:16 
GeneralRe: The method or operation is not implemented. Pin
Blizzardice4-Jun-07 9:21
Blizzardice4-Jun-07 9:21 
GeneralRe: The method or operation is not implemented. Pin
Dave Kreskowiak4-Jun-07 9:51
mveDave Kreskowiak4-Jun-07 9:51 
QuestionRe: The method or operation is not implemented. Pin
Blizzardice4-Jun-07 11:01
Blizzardice4-Jun-07 11:01 
AnswerRe: The method or operation is not implemented. Pin
Dave Kreskowiak4-Jun-07 13:49
mveDave Kreskowiak4-Jun-07 13:49 
QuestionHierarchical data Pin
advansis4-Jun-07 6:25
advansis4-Jun-07 6:25 
AnswerRe: Hierarchical data Pin
Dave Kreskowiak4-Jun-07 6:44
mveDave Kreskowiak4-Jun-07 6:44 
QuestionHow to unzip a pkzip file with sharpziplib? Pin
JSThomas4-Jun-07 6:24
JSThomas4-Jun-07 6:24 
QuestionEdit menu item Pin
jds12074-Jun-07 5:04
jds12074-Jun-07 5:04 
AnswerRe: Edit menu item Pin
jwlc764-Jun-07 5:40
jwlc764-Jun-07 5:40 
QuestionVB.Net Pin
SekharOne4-Jun-07 4:31
SekharOne4-Jun-07 4:31 
AnswerRe: VB.Net Pin
leckey4-Jun-07 5:27
leckey4-Jun-07 5:27 
QuestionError updating Dataset to Reflect into the Original Table Pin
Vimalsoft(Pty) Ltd4-Jun-07 4:13
professionalVimalsoft(Pty) Ltd4-Jun-07 4:13 
AnswerRe: Error updating Dataset to Reflect into the Original Table Pin
Dave Kreskowiak4-Jun-07 6:35
mveDave Kreskowiak4-Jun-07 6:35 
GeneralRe: Error updating Dataset to Reflect into the Original Table Pin
Vimalsoft(Pty) Ltd4-Jun-07 21:12
professionalVimalsoft(Pty) Ltd4-Jun-07 21:12 
GeneralRe: Error updating Dataset to Reflect into the Original Table Pin
Dave Kreskowiak6-Jun-07 16:30
mveDave Kreskowiak6-Jun-07 16:30 
QuestionProgress indicator Pin
DanB19834-Jun-07 3:56
DanB19834-Jun-07 3:56 

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.