|
hi,
iv want to create a windows application.... with a form containing 2 simple text boxes... my requirement is tat when i give the url of a .asmx file (something like http://localhost/Sample/Test.asmx) in the first text box....... all the web methods it contains has to get populated in the second text box..... tat' it.....
can this be done.... if so how should i proceed....
thanks and regards,
Damodar
|
|
|
|
|
It can be done. You can read the WSDL yourself. I also think that System.Web.Services.Discovery namespace has some classes for reading web service code. I'm not exactly sure of that though since I've never done it myself.
Logifusion[^]
|
|
|
|
|
hi,
thanks.... can u tell me as to
how to get the local path of a virtual
directory just by giving the URL of any
of the .asmx file it contains???
regards
Damodar
|
|
|
|
|
Umm, well if you're writing the code inside the service, just use the Server property. But to do it from outside would be a pretty considerable breach of security.
Logifusion[^]
|
|
|
|
|
hi,
sorry im very much new to c#.net .... can u please elaborate me on the first reply you've given....?????
how do i use the System.Web.Services.Discovery namespace....and proceed to get the list of all web methods in a given .asmx url....tat is something like (http://localhost/BIRMWS/Intray.asmx)
regards,
damodar
-- modified at 1:53 Thursday 15th June, 2006
|
|
|
|
|
Well, I've never done it myself, so I can't tell you how. But, if I were you, the first thing I'd start with is the wsdl tool. You can use it to build a proxy to talk to a web service. I know that the underlying classes used to create the proxy have been exposed because I've seen people making their own proxies before. All I can do is point you in a direction that you can start researching. What you really should try is first using the WSDL command-line tool to see what it does. Then maybe try reading the WSDL file yourself. You should be able to extract the information you need from the WSDL. Whether or not there are some helper classes out there for it, I'm not sure.
Logifusion[^]
|
|
|
|
|
im showing a nonmodal dialog when in my button1 click event in form1
button1_Click(object sender, System.EventArgs e)
{
Formshow myForm = newFormshow ();
myForm.Show();
}
how do i get values from myForm and how do i close it?
regards pauline
|
|
|
|
|
Hi Pauline,
there are several possibilities to do what you want. If you a have a reference to Form1 in FormShow than you could write a method within form1 that will be called by FormShow.
DialogResult is a property of each Form so you can set DialogResultof FormShow manually and obtain its value within Form1 (if you have a reference to FormShow)
Hope this helps (don't hesitate to ask again if not)
Regards
Sebastian
|
|
|
|
|
u can use timer to hide myform sfter certain period of time
and can access public members values of myform in form1
rahul
|
|
|
|
|
Hi,
How can we set the data type of a specific column in the DataGridView?
If anyone have any idea. Please! let me to know.
With Thanks.
_____________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
Hi,
I'm a C# newy, coming from VC++ world... and I think I need a little help.
I have a common header file, where a couple of enums are defined, which is used by multiple dlls.
I have a little C# interface that I use as a test tool. I would like to access one of the enum type defined in the header file from my C# interface.
I read a couple of articles/messages/etc already that tell it is not possible to link directly from C# to a header file (no include in C#).
I would like to avoid having to redefine the enum in the interface though. If the enum changes I would like to change it only in the header file used by the different dlls and interfaces.
Is there a way?
Any help/comment will be highly appreciated
|
|
|
|
|
I don't know much about enum in C++.
If you want to use your C++ code in C#, then the best way is to convert / recompile your code to Managed C++. Then you can use it from C#.
Unmanaged C++ -> Managed C++ -> C#.
|
|
|
|
|
I have an problem in datagrud. I've just load a database into datagrid and i want to create a button search to search data in this datagrid.how can i do it?can you help me?
Thanks!!
I'm live in Viet Nam,thereforce i don't write enghlish very well.
|
|
|
|
|
hi
could i ask you how you fill the datagrid
i mean what is the datasource ?? it is dataset ??
Tamimi - Code
|
|
|
|
|
yes, that i mean.
thank for your reply.
holp to recive your answer soon
|
|
|
|
|
i'm forgotten .i'm really sorry
cfx_9850gb
|
|
|
|
|
hi
how can I transparent flash object in vs2003???
thanks
Salmani
|
|
|
|
|
i have two forms ,form1 and form2
and in my form1 i have a button and in the button click event i have the code
Form2 f = new Form2();
f.Show();
my form2 shows
when i want to change something in form1 i should be able to,because currently i can only work with form2 bcause it is active (has focus) and when i give focus to Parent form (form1) the child form (form2) should not be minimized
regards pauline
|
|
|
|
|
I think I can help but I can't realy understand the question.
Please write it a little better (English is not my strong language) and maybe even give a code sample or some other sample (like pics or errors), and then I'm sure someone could help you, even if I don't.
|
|
|
|
|
Hello
I used VS 2003,Tools -> Build COmment Web Pages
A file consisting of project namespace is created, when I click on it, it went blank.
I do not understand the reason. Does anyone know about this?
Thanks in advance.
|
|
|
|
|
|
Of course I did it.I can find the HTML files it has created in the folder I have selected in order to save the files.There exist the HTML files,I can open them and some of them are linked to each other,but the main one is not linked to the others.I think there is a problem with the links.
Thanks.
|
|
|
|
|
Hi
I am a novice at C# and have been trying a few small challenges. The latest being a small app containing 2 forms.
Could someone please explain (In simple terms) how if I have 2 forms I can call the contents of a text box from one form to another. Eg If form1 has a text box containing a file name how I can reference this file name in form2 to say open an image file in a picture box ?
It appears to me that even though both forms are in the same name space I can not refer to the text box in form1 from form2!!!
Thank in Advance
NickB
|
|
|
|
|
|
Thanks, Both very helpful
NickB
|
|
|
|