I try so, i don't know why, but this is the only way that not give me many errors but one error!!
...this error:
Cast non valido dal tipo 'Object()' al tipo 'SComm()'
traslate:
invalid cast from type 'Object()' to SComm()
Please help me again!
If Not risolvi = "" Then
objConn.Open()...
me too :(
Ok.... try with code, is incorrect the last code that i have insered...?
i must create a array of com too?
why (i don't think that this wrong i ask for curiosity) you wrote this?
Com(0).Comm(0)
Com(0).Comm(1)
Com(1).Comm(0)
Com(1).Comm(1)
Com(2).Comm(0)
Com(2).Comm(1)...
Yes this is what them want, :
Com(0).Comm(0)
Com(0).Comm(1)
Com(1).Comm(0)
Com(1).Comm(1)
Com(2).Comm(0)
Com(2).Comm(1)
Com(3).Comm(0)
Com(3).Comm(1)
No I don't change my structure in a class
maybe i should do this?
Dim Com as SERVS1Result
ReDimPreserve Com.Comm(i) '<--------//...
I try this, forgive me if i don't understand :confused:
Dim Com() As SERVS1Result 'Giusto <----------//
Dim pc As String
Dim i As Integer = 0
Dim x As Integer = 0
Dim c As Integer
Dim objCmd2 As New OleDbCommand("Conn string", objConn)
Dim objReader2 As OleDbDataReader
objReader2 =...
I try this way, but somethings go wrong......
PublicFunction SERVS1(ByVal ist AsString) As SERVS1Result
.....code....
IfNot risolvi = ""Then
objConn.Open()
Dim Com() As SERVS1Result 'Giusto
Dim Comm() As SERVS1Result.SComm '<---------//
Dim pc AsString
Dim i AsInteger = 0
Dim x AsInteger = 0...
I really can't explain how many you make me happy with your help, my english don't allow me to say it... so tomorrow I will try your second solution and give you the result.....or other problem, i don't know!
Now I'm a girl dead for the sleep (can I say so in english?)
thanks again and again and...
Sorry i don't want to disturb you again you are so polite and so clever, but my result must be so:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=
"http://www.w3.org/2001/XMLSchema" xmlns:soap=...
wow you are a genius thanks thanks thanks thanks I'm sooooo Happy
the last question:
if i want repeat only one parte of the structure?
Public Structure SERVS1Result 'no this part
Public NumeroComm As Integer 'no this part
Public Comm As SComm
---------------------------only this...
I think you must install IIS but if you search in the web you can find the way to install IIS ever on Windows XP Home (you must take the dll from a installation cd of windows 2000 Professional)
If I find my instructions I will post for you, but try to search in the web.... my instructions are in...
Thank you for answer me, and thank to comprise my english, i'm sorry that i have post bad my code i hope this is the right way
I try this code.....
but i receive a message error, I try to translate the message:
System.NullReferenceException: reference to a object not import on a istance of a...
Hy! I'm sorry if i can't explain my problem very well, i'm italian but i need help for a problem with vb.net program... so...
I made a web service that extract some value from a db and this result must be insered in this public structure:
Public Structure SERVS1Result
Public NumeroComm As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.