|
If I have the WDSL is there a way to create my variables on the fly based on what is in the WDSL......I guess I don't understand the importance of what it is beside telling me the datatypes of all the fields.
Also, basically a soap client is an app that receives data in XML format via connecting to some port over tcp/ip?.......Right?
I'm trying to understand how an app is produced when all you have is the WSDL and that it uses SOAP to communicate.
Thanks
Tom
Tom Wright
tawright915@gmail.com
|
|
|
|
|
i am building this program and i want it to be able to send some sort of message to another computer based off test results. If the results come back bad i need the program top flag another computer. I have never done any thing like this so i was looking for ideas??
|
|
|
|
|
Karma31251 wrote: i want it to be able to send some sort of message to another computer based off test results.
OK. You'll need to write two apps, based on TCP/IP sockets or .NET Remoting.
The first will be the processor of the data and send out the resutling message. You'll also need to writing something that tracks which machines to send the messages to.
The second app will run on the client machine that will recieve the messages. When this app starts, it needs to "check-in" with the server to let it know that a client is listening for messages. It'll work something like the ubiquitous chat application, or which there are hundreds of examples out on the web.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i guess you mean over a network? Well if its how i imagine the program to be you will need to create 2 programs, a server and a client one, the first one will be the one which creates the message and the second will be the one which will recieve it. So you will be using an interface to connect over network, if using windows winsock would be a good guess, so the client will listen waiting for the results. By bad i guess you mean that it is below/above a certain level, and it would be fairly easy to do an if statement to catch that.
However your message is a bit vague, am i talking along the correcr lines?
|
|
|
|
|
everyhing you assumed was correct and it did clear some things up.
thanx
|
|
|
|
|
Hi all. I have a textbox in which i will add "Comments" on aspx page along with an Add button. On this page , i have a gridview as well. The problem is,
When i enter value in TEXTBOX and press ADD button, the value in textbox should have to be populated in Gridview without PAGE REFRESH. Please make sure the current scenario.
I have a table ABC with a column Comments. I pull Data from ABC table in Gridview. so, when i add value in Textbox and press add button, basically it will save first in ABC table and then refresh the gridview behind the scene. Please let me know How I can achieve it. Thanks for your consideration
|
|
|
|
|
Your question should be posted in the Web Development or ASP.NET forums. What you want can only be done in client-side script since you don't want a post-back to the server.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi,
I am trying to select the current email from someones inbox (not open one just the highlighted one) using vb.net + vsto SE from VS 2005, and am having difficulty finding a property that relates to it, I am assuming its would be in the active inspector method? If not would it be part of the MAPI folder?
Thanks for any help
Chris
|
|
|
|
|
There is no "current email" as far as MAPI or any other email datastore goes. The "current" email only has any meaning in the application thats showing them. There's nothing that says "this email is selected" in MAPI. Soooo, you're question is a bit vauge.
Are you writing an extension for Outlook?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
yes, its an outlook 2003 addin, and i'm trying to mark a selected email in the same kinda way as marking a mail read/unread.
|
|
|
|
|
Well, I don't do Office integration, so my help is probably going to be limited, but you might want to take a look at this[^] page. The formatting is a bit messed up, but you can copy the code into your favorite editor to study it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Yes that helps a lot, thank you very much
|
|
|
|
|
Hi!
I want to make a project which can draw graphics user write values then the program draw graphic.Can i make this (i am the beginner of programming)?
Is there any sample code?
I couldn't find
|
|
|
|
|
I'm sure thats possible, you might want to do a search on google for direct draw? or look at direct x in vb might help
|
|
|
|
|
Check out the System.Drawing.Graphics namespace
for example :-
Dim oGraphics as System.Drawing.Graphics = Me.CreateGraphics<br />
Dim oPen as New Pen(Color.Blue, 10)<br />
oGraphics.DrawLine(oPen, 45, 45, 95, 95)<br />
oGraphics.DrawArc(Pens.Green, 8 ,10 ,30, 30, 90, 180)<br />
<br />
Dim oBrush as New SolidBrush(Color.Purple)<br />
oGraphics.FillRectangle(oBrush, 100, 100, 50 ,50)<br />
oGraphics.FlllEllipse(Brushes.Orange, 10 , 10, 30, 30)<br />
Steve Jowett
|
|
|
|
|
hmm does it have the values that the user give
|
|
|
|
|
Hi,
I am adding text to a text file but I don't want to have any duplicates. I am searching a system for files and if the file occurs twice I only want it added once to the text file.
If any one can help it would be great.
Thanks
|
|
|
|
|
johnjsm wrote: Hi,
I am adding text to a text file but I don't want to have any duplicates. I am searching a system for files and if the file occurs twice I only want it added once to the text file.
If any one can help it would be great.
Thanks
There are many ways of implementing this...
You could write it to a database table and check if it already exists (probably the easiest method)
You could create a tree structure or some kind of sorted array in memory and search in it...
|
|
|
|
|
I agree with Chandra. The text file is just a place to store stuff when your app isn't running. So, do your work in memory, then write the end result to the file when your done. Don't try to work with it in the file itself.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi,
i am looking for code example for saveing data to database.
i have recordset as datatable in .net and now i want to save this datatable records to the
database on sql server so how this is possible.
please tell me with code so i working on that way.
i use like this code also. "insert into saleitm select * from datatable"
but its giving me error
so tell what i do.
mitesh
mitesh_pattani@rediffmail.com
|
|
|
|
|
mit2223 wrote: i use like this code also. "insert into saleitm select * from datatable"
but its giving me error
What error? Are the structures of both tables the same??
|
|
|
|
|
It would help if you knew SQL before you try to write code to do it for you. Might I suggest something from the menu[^]?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Dave Kreskowiak wrote: Might I suggest something from the menu
Hmmm, SQL cookbook might have some nice entrees in it
If you try to write that in English, I might be able to understand more than a fraction of it. - Guffa
|
|
|
|
|
Hi
I have this C# code I wrote that I'd like to implement in a VB.NET project:
<br />
using System;<br />
<br />
public class PairTT<T1, T2><br />
{<br />
public T1 First;<br />
public T2 Second;<br />
<br />
public PairTT(T1 first, T2 second)<br />
{<br />
this.First = first;<br />
this.Second = second;<br />
}<br />
}
I tried this in VB.NET:
Public Class PairTT(Of T1, Of T2)<br />
End Class
But VS2005 complains about the second "Of" saying "Keyword is not valid as an identifier".
Any help with this would be greatly appreciated!
|
|
|
|
|
Got it:
Public Class PairTT(Of T1, T2)<br />
<br />
End Class
Easy when you know how!
|
|
|
|