Click here to Skip to main content
15,885,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Bizarre problem with VBA in an Access Form Pin
CHill6020-Jul-20 5:30
mveCHill6020-Jul-20 5:30 
AnswerRe: Bizarre problem with VBA in an Access Form Pin
CHill6020-Jul-20 5:44
mveCHill6020-Jul-20 5:44 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
Peter R. Fletcher20-Jul-20 7:43
Peter R. Fletcher20-Jul-20 7:43 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
Dave Kreskowiak20-Jul-20 7:59
mveDave Kreskowiak20-Jul-20 7:59 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
CHill6021-Jul-20 2:21
mveCHill6021-Jul-20 2:21 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
Dave Kreskowiak21-Jul-20 5:00
mveDave Kreskowiak21-Jul-20 5:00 
GeneralRe: Bizarre problem with VBA in an Access Form Pin
CHill6021-Jul-20 5:07
mveCHill6021-Jul-20 5:07 
QuestionVB Script Using Com Interface with Out String Pointer Pin
Thomas Andreas Kocher9-Jul-20 23:40
Thomas Andreas Kocher9-Jul-20 23:40 
I want to Use the following Com Funktion ( From idl File)

[id(2)] HRESULT Request  ( [in] long id, [in] BSTR version, [in,out] BSTR sender, [in] BSTR login, [in] BSTR selection, [in, out] BSTR* data , [out, retval] long* retval );


from my Visual Basic Scriot ( Visual Studion 2015) wenn i call my funktion from ma scrip like tis

Private Sub Request_1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Request_1.Click
      Dim r As Integer
      Dim data As String
      Dim ID As String
      Dim sender As String
      sender = "DatO"
      If ID_KS_1.Text <> "" Then
          ID = "ID_KS=" & ID_KS_1.Text & ","
          sender = "KS_Trifact"
      End If
      ErrorText.Text = ""
      If obj Is Nothing Then obj = CreateObject("NmsTaskDbSv.64Bit_NmsDbData")
      'UPGRADE_WARNING: Couldn't resolve default property of object obj.Request. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"'
      'r = obj.Request(15101, "1.0", sender, "customerservice/customer", ID & "ACCOUNT=" & Par_1_1.Text, "test")
      r = obj.Request(15101, "1.0", sender, "customerservice/customer", ID & "ACCOUNT=" & Par_1_1.Text, (data))
      If (r = 0) Then
          Result_1.Text = data
      Else
          ShowLastError()
      End If
End Sub



it seams to work but rhe response dues not arrive in the data variablele wenn i make the call j = CreateObject without () lik this

'r = obj.Request(15101, "1.0", sender, "customerservice/customer", ID & "ACCOUNT=" & Par_1_1.Text, data)




i get a type mismatch error ho i have to call Request to get the Data String as answer

Thanks
AnswerRe: VB Script Using Com Interface with Out String Pointer Pin
Dave Kreskowiak12-Jul-20 14:45
mveDave Kreskowiak12-Jul-20 14:45 
QuestionHow to get one I have multiple objects of the same type at run time with VB 2010 Pin
Member 1487052122-Jun-20 18:01
Member 1487052122-Jun-20 18:01 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Dave Kreskowiak23-Jun-20 13:55
mveDave Kreskowiak23-Jun-20 13:55 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Ralf Meier23-Jun-20 20:47
mveRalf Meier23-Jun-20 20:47 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Member 1487052124-Jun-20 3:54
Member 1487052124-Jun-20 3:54 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Richard MacCutchan24-Jun-20 4:27
mveRichard MacCutchan24-Jun-20 4:27 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Dave Kreskowiak24-Jun-20 7:02
mveDave Kreskowiak24-Jun-20 7:02 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Ralf Meier24-Jun-20 19:55
mveRalf Meier24-Jun-20 19:55 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Gerry Schmitz25-Jun-20 3:44
mveGerry Schmitz25-Jun-20 3:44 
QuestionUpdater for multi-user program Pin
Member 1487021322-Jun-20 6:32
Member 1487021322-Jun-20 6:32 
QuestionRe: Updater for multi-user program Pin
Maciej Los22-Jun-20 6:42
mveMaciej Los22-Jun-20 6:42 
AnswerRe: Updater for multi-user program Pin
Member 1487021322-Jun-20 6:52
Member 1487021322-Jun-20 6:52 
GeneralRe: Updater for multi-user program Pin
Maciej Los22-Jun-20 7:04
mveMaciej Los22-Jun-20 7:04 
AnswerRe: Updater for multi-user program Pin
David Mujica24-Jun-20 7:42
David Mujica24-Jun-20 7:42 
GeneralExcel vba userform video game project Pin
Member 1483176618-Jun-20 4:20
Member 1483176618-Jun-20 4:20 
GeneralRe: Excel vba userform video game project Pin
Dave Kreskowiak18-Jun-20 10:19
mveDave Kreskowiak18-Jun-20 10:19 
GeneralRe: Excel vba userform video game project Pin
Member 1483176618-Jun-20 20:31
Member 1483176618-Jun-20 20:31 

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.