Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - Gianni

Páginas: [1] 2
1
Visual Basic 6 / Add a button to another application
« en: Enero 21, 2014, 05:36:35 am »
Hello

I would like to add a button to another application to extend function of this application.
Is this possible using vb6?

Thanks for suggestions

Me gustaría añadir un botón a otra aplicación para ampliar la función de esta aplicación.
¿Es posible usando vb6?

Gracias por sugerencias

2
Visual Basic 6 / Re:Help to convert some Javascript code to vb6
« en: Noviembre 07, 2013, 11:38:26 am »
Thanks I have resolved

3
Visual Basic 6 / Help to convert some Javascript code to vb6
« en: Noviembre 06, 2013, 08:52:16 am »
Hi
I need to convert this line of Javascript code in vb6:

poly.latitude.length is an array of single value

Código: [Seleccionar]
for(var c = false, i = -1, l = poly.latitude.length, j = l - 1; ++i < l; j = i)
How implement for next cycle?
Código: [Seleccionar]
i=-1
l=Ubound(array)
j=l-1
For i = -1 to l
'Some stuff
j=i
next i

is this correct?

4
Visual Basic 6 / Create a Desktop visible only on secondary screen
« en: Octubre 23, 2013, 03:45:12 pm »
Hello

I have a question about Creating New Desktop.

In windows OS it's possible to create and run multiple desktops.

...but

It's possible create a new desktop visible only on the secondary display monitor?

5
Visual Basic 6 / Re:Global (system Wide) Hooks
« en: Octubre 11, 2013, 02:50:54 pm »
Hello raul338

My window if fullscreen(maximize)
I want to prevent the user from moving other windows on my window.

6
Visual Basic 6 / Global (system Wide) Hooks
« en: Octubre 11, 2013, 12:37:02 pm »
Hello

I 'm writing a program that should display on the secondary monitor a form in full screen.

This form must be locked because :
I have to prevent other windows overlap on the secondary display .
The mouse pointer should not be visible on secondary screen.

I thought to implement a Global (system Wide) Hooks using WH_CBT message.
but it seems a drastic solution and difficult to implement.

Have you any idea how can this problem be solved ?

--------------------------------------------------------------------------------------------------------------------------------------------
Estoy escribiendo un programa que se debe mostrar en el monitor secundario de un formulario en pantalla completa.

La ventana de este programa debe ser bloqueada porque:
Tengo que evitar que otras ventanas se superponen en la pantalla secundaria .
El puntero del ratón no debe ser visible en la pantalla secundaria.

Pensé para implementar Global (system Wide) Hooks usando el WH_CBT mensaje
pero parece una solución drástica y difícil de implementar.

¿Tienes alguna idea de cómo se puede solucionar este problema?


7
Hello
thanks for link cobein.

The code seems to work.
Now I have another problem ... but I will explain this in another thread

8
Hello and thanks for reply

cobein:
sorry, your link is invalid

Waldo:
You are correct .
The problem is how to check loss of focus of my application to be able to recall again ClipCursor.

Estás en lo correcto .
El problema es cómo controlar la pérdida de foco de mi aplicación, para que pueda volver a ejecutar ClipCursor .


9
Hello

I have a problem.I need to Constraining mouse pointer to primary display in a system with Dualview monitor.
With ClipCursor it works until I click a window (changing focus), then it stops constraining the mouse.
How I can fix it?

Tengo un problema . Yo tendría que limitar el puntero del ratón en la pantalla principal en un sistema con Dualview monitor.
Con ClipCursor funciona, pero tan pronto como se hace clic en una ventana ( el cambio de enfoque) , el puntero del ratón ya no se limita al monitor principal.
¿Cómo puedo solucionarlo?

Gracias por la ayuda

10
Visual Basic 6 / clsTimer ( Cobein )
« en: Junio 05, 2013, 10:05:43 am »
Hola

¿Necesitaré usar clsCom (Coco) , pero no tengo clsTimer ( Cobein ) .
Hay alguien que me puede enviar clsTimer ?

Gracias por la ayuda

11
Visual Basic 6 / Re: DataMatrix Encode SDK IN vb6
« en: Junio 14, 2012, 08:13:06 am »
Try to change Integer to long in your EncodeDataMatrix declaration

12
HI

I have resolved this problem.
The problems was the LONGLONG datatype.I have changed to CURRENCY in TypeLib.
Now I can SetInt.Problems remains with String datatype,but it is not very important.

Now I need to use a callback function.

I have this Idl definition:
Código: [Seleccionar]
[
    object,
    uuid(1E8701D0-258F-43ED-9EDC-434FD16E922D),
    helpstring("Switcher Object")
] interface IBMDSwitcher : IUnknown
{
    HRESULT AddCallback([in] IBMDSwitcherCallback* callback);
    HRESULT RemoveCallback([in] IBMDSwitcherCallback* callback);
    ..others properties
    };

[
    object,
    uuid(6C6E4441-9421-4729-9951-988659E3A44A),
    helpstring("Switcher Callback Delegate")
] interface IBMDSwitcherCallback : IUnknown
{
    HRESULT PropertyChanged([in] BMDSwitcherPropertyId propertyId);
    HRESULT Disconnected(void);
};

I need to get the Disconnected Event.
How I can Implement this Callback?

Thanks for Help

13
Hi
Yest I have the TLB compiled with MIDL as a reference in my project

14
Visual Basic 6 / error 5:Invalid procedure call or argument COM dll
« en: Mayo 16, 2012, 03:28:23 pm »
Hi to all

I have a problem with a third-party com dll.
I have the IDL description of this dll.
I 'm trying to modify this IDL for use dll from vb6.

I have to Get/Set value:

there is no problem to get the values ​​from the dll , but when
I try to set the values ​​, vb raise the error 5:Invalid procedure call or argument (for any datatype)

This is the IDL description: BlockPropertyId are constant
   
Código: [Seleccionar]
    HRESULT SetFlag([in] BlockPropertyId propertyId, [in] BOOL value);
    HRESULT GetFlag([in] BlockPropertyId propertyId, [out] BOOL* value);
    HRESULT SetInt([in] BlockPropertyId propertyId, [in] LONG value);
    HRESULT GetInt([in] BlockPropertyId propertyId, [out] LONG* value);
    HRESULT SetFloat([in] BlockPropertyId propertyId, [in] double value);
    HRESULT GetFloat([in] BlockPropertyId propertyId, [out] double* value);
    HRESULT SetString([in] BlockPropertyId propertyId, [in] BSTR value);
    HRESULT GetString([in] BlockPropertyId propertyId, [out] BSTR* value);

Someone have any idea about this error ?

I see in the object browser:
Código: [Seleccionar]
Sub SetString(propertyId As BlockPropertyId, value As String)
In vb6 I use this code:
Código: [Seleccionar]
Object.SetString propertyId, "Hello"Why vb raise the error 5 ?

Thanks for Help

15
Visual Basic 6 / Re:Skinner class & desktop flicker
« en: Diciembre 16, 2011, 04:56:30 am »
Hello Raul thanks for reply.

I already use classes to handle dialog , but the problem remains.

For menu problem, can you explain with an example ?

Thank for help

Páginas: [1] 2