Search:

Type: Posts; User: Holywhippet

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    12
    Views
    1,172

    VS 2010 Re: How do I pass in a reference to an array?

    Hmm, looks like my mistake might lie elsewhere. I'm trying to store audio data and I think I'm missing some kind of encoding that I need to do first. Thanks for the help.
  2. Replies
    12
    Views
    1,172

    VS 2010 Re: How do I pass in a reference to an array?

    I couldn't really make a VB.NET version of the code, that was the problem. Making a reference to the start of the byte array in VB.NET isn't something I seem to be able to do. I tried just feeding in...
  3. Replies
    12
    Views
    1,172

    VS 2010 Re: How do I pass in a reference to an array?

    No, import from memory loads the byte data into the memory blob (binary large object) class. There is a second method, attach to memory while writes it back out again.
  4. Replies
    12
    Views
    1,172

    VS 2010 Re: How do I pass in a reference to an array?

    You could be right. I tried the following code in C# and it worked ok:



    byte[] inBytes = File.ReadAllBytes("c:\\temp\\NotesRecording.wav");
    ...
  5. Replies
    12
    Views
    1,172

    VS 2010 Re: How do I pass in a reference to an array?

    I'm referencing the library.

    According to visual studio the format is:

    Public Sub ImportFromMemory(ByRef blobMemory as Byte, Size as UInteger)

    I did try passing in the first byte of the...
  6. Replies
    12
    Views
    1,172

    VS 2010 Re: How do I pass in a reference to an array?

    It is from one of the inbuilt libraries for ArcGIS programming: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/ImportFromMemory_Method/004200000142000000/

    The class...
  7. Replies
    12
    Views
    1,172

    VS 2010 How do I pass in a reference to an array?

    I'm trying to use a subroutine in a library for the software I'm using. The function declaration is this:

    Public Sub ImportFromMemory ( _
    ByRef blobMemory As Byte&, _
    ByVal Size As...
  8. MsOf365 Re: Trying to iterate through folders and emails

    I'm using the active explorer object to clear all selections then select each email one at a time.

    I thought about looping but it doesn't seem to work. I think Outlook isn't doing any processing...
  9. MsOf365 Re: Trying to iterate through folders and emails

    It isn't the addin. Even without activating it Outlook takes a few seconds to change to a new folder. The folders I'm trying to test with only have a few emails in each (3 or 4) so that shouldn't be...
  10. MsOf365 Re: Trying to iterate through folders and emails

    The problem being that I'm using a third party add in that works on the currently selected email. I can't select any emails in a folder until it is the currently viewed folder in Outlook and it...
  11. MsOf365 Trying to iterate through folders and emails

    For the software I'm developing I need to do the following - iterate through a series of folders making them the active folder in Outlook then select each email in each folder one at a time and do...
  12. Replies
    4
    Views
    882

    MsOf365 Re: Can I invoke a button via code?

    Ok. Thanks. Will try my own uploading code.
  13. Replies
    4
    Views
    882

    MsOf365 Can I invoke a button via code?

    At work we are trying to use a CRM system. Said system has a plugin for Outlook that we have installed. One of the buttons that the plugin includes lets the user upload an email to the CRM system....
  14. VS 2010 Any suggestions on how to make some minor changes for different deployments?

    For one of the main pieces of software I've written I'm finding that I need to produce 3 different version, 5 times over. Basically I have the internal version with no copy protection and all...
  15. Any suggestions for copy protection and eCommerce?

    I've got a piece of software I've developed here at work. A few years back we were selling it to the public but there were a few issues like firewalls, install directories etc. This was when we were...
  16. MsOf13 How do I clear out the "Tap icon" message when I set a placeholder image

    I'm currently working on an application which builds up a powerpoint document using a template document in VB.NET. It goes through each record, adds a slide from the template and replaces or deletes...
  17. Re: Problem with post build event in Visual Studio 2010

    It wasn't a pre build event though, it was a post build event.

    I found the problem, it was actually this: http://stackoverflow.com/questions/7189269/running-javascript-with-cscript

    For some...
  18. Problem with post build event in Visual Studio 2010

    I'm not sure if this is the best forum for this problem. I've been using this trick:...
  19. VS 2010 Re: Getting negative X value for mouse down in a picture box

    I think I found the reason: http://stackoverflow.com/questions/5760827/what-is-the-type-of-mouseeventargs-x

    Basically they are using a 32 bit integer to store the location, not each value in the...
  20. VS 2010 Re: Getting negative X value for mouse down in a picture box

    I think I've worked it out, and it's a strange bug I think. Even though the X,Y values are integer types it seems they must be cast into a short at some point. The negative values start appearing as...
  21. VS 2010 Getting negative X value for mouse down in a picture box

    For part of my software I have a window which contains a panel which in turn contains a picture box. The user selects an image and the picture box is set to be the same size as the image. The panel...
  22. Can I declare the location of a function in an external DLL at runtime?

    I'm using a third party library for copy protection called Copyminder. One of our clients has had trouble using it because the security restrictions at their university stops software from writing to...
  23. VS 2010 Re: How can I identify the class/interfaces of a COM object?

    I have a number of the Arc COM libraries loaded and imported. I don't know what class the object is though so I don't know which library it is from.
  24. VS 2010 Re: How can I identify the class/interfaces of a COM object?

    I tried:
    Debug.Print (TypeName(checkVal))
    it just gave me:
    _ComObject
  25. VS 2010 How can I identify the class/interfaces of a COM object?

    I'm doing some programming for ArcGIS which has COM object support and an SDK you can use in Visual Studio. Some part of the documentation for Arc is very limited though. I've extracted a variable...
  26. VS 2010 Re: Hiding process nature from .exe running from program

    **Edit**

    Scratch that, I worked out my mistake. Thanks.
  27. VS 2010 Re: Hiding process nature from .exe running from program

    Ah, thanks. I'll give that a try.
  28. VS 2010 Hiding process nature from .exe running from program

    I've got a third party program that I run from one of my tools to do some processing. At the moment I'm running it like this:



    Dim processInfo As ProcessStartInfo = New...
  29. VS 2010 Re: Trying to rotate lines using RotateTransform and TranslateTransform

    Thanks. Now I get it - the drawing has to be from 0,0.
  30. VS 2010 Trying to rotate lines using RotateTransform and TranslateTransform

    I'm a bit confused on how to use these two for what I'm trying to do - mostly TranslateTransform.

    What I've got are a series of lines with segments. For example, I might have a line which is...
  31. Re: Can someone explain this code snippet to me please?

    Thanks.
  32. [RESOLVED] Can someone explain this code snippet to me please?

    I'm converting some old code from VB 5 to VB .NET. I've run into this subroutine but I'm kind of puzzled about two lines.

    uValLst is a listbox.

    The code is here:



    Private Sub...
  33. VS 2010 Can I force an image into a certain colour format at load time?

    I've got a program I've been working on which lets the user pick a background image. The problem is, some of these images can be fairly large and I get out of memory exceptions when I try working...
  34. Re: Can't call javascript in parent window from Iframe

    I think I have worked out the problem, but might be out of luck for a solution. IE doesn't handle SVGs by itself, it needs a plugin. I think the plugin software isn't aware that there is anything...
  35. Can't call javascript in parent window from Iframe

    I've got an application I'm writing where I have an IFrame showing an SVG drawing. When the user clicks on certain items in the SVG it calls a javascript function in the parent window.

    In the...
  36. Replies
    2
    Views
    751

    VS 2005 Can I run code at compile time

    Hopefully I can explain this correctly. I've been building tools for ArcGIS. Part of ArcGIS is toolboxes which is basically a collection of tools bundled together. I know how to make toolboxes, but...
  37. Replies
    5
    Views
    1,173

    Re: How do I use current login credentials?

    I was mainly just trying to get into the "invoke via the web" mentality mostly. Doing it via include did occur to me, I just felt it was kind of "cheating" since I won't be able to do it via other...
  38. Replies
    5
    Views
    1,173

    Re: How do I use current login credentials?

    As I said, I'm going to be calling some of the PHP I write from multiple locations - like from other web pages and other applications. So I've got a PHP page that will receive data, store it in a...
  39. Replies
    5
    Views
    1,173

    How do I use current login credentials?

    I've been coding some PHP pages for data entry. One page is meant to be usable from a number of sources - both from other web pages and desktop applications. Basically you feed it some parameters, it...
  40. How do I get a unique ID for excel rows using OleDB?

    I'm writing a tool that will insert a GUID value into a particular column of an Excel table or an Access table if the field is empty. Most of this is simple enough - I know how to get the list of...
Results 1 to 40 of 176
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width