|
if you know the interface of the webservice,but you aren't sure what knid of transport protocol can be used, and whether to carray the infomation with the soap1.1 .Even you dont know where is it ,the web service.
How can you call the service in the runtime when you get some services that are fit ?
In dotNET, if you only dont know the address of the service, you can config the *.conf file together with the application to indicate the location.
hello world!
|
|
|
|
|
Set the URL of the webservice object at runtime. Make sure the definition is set to by dynamic.
File Not Found
|
|
|
|
|
Make sure the definition is set to by dynamic.
what is the definition?
hello world!
|
|
|
|
|
hello
long story, short tell ...
maybe someone knows a recipe to get the information if and which direct x version is installed? i tried to get it about the gac, but i dont find a member (using fw 2 & c#)?
thx for help
|
|
|
|
|
Hi,
there is version info in the registry under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX
|
|
|
|
|
in the beginning i want to load the .html file inside the axWebBrowser and when i will click anywhere inside it i want the page to be opened inside Internet Explorer or any other browser (while the axWebBrowser will stay the way it was)
thx in advance!
|
|
|
|
|
Hi,
IIRC that is the default behavior, so try this:
string url="http://something";
AxSHDocVw.AxWebBrowser browser=new AxSHDocVw.AxWebBrowser();
object dummy=null;
browser.Navigate(url, ref dummy, ref dummy, ref dummy, ref dummy);
|
|
|
|
|
i'm loading an html page into AxWebBrowser like this
object o = System.Reflection.Missing.Value;
axWebBrowser1.Navigate(@"c:\1.html",ref o,ref o,ref o,ref o);
and i want that on clicking any link inside the .html, that it will be opened in internet explorer or some other browser....
any ideas?
|
|
|
|
|
Hi,
yes that is how I understood your question from start, and it is exactly what my
code in my app is doing (both under 1.1 and 2.0): the Navigate argument shows in the
axWebBrowser, and whatever you click in that page opens in IE.
And I would like to know how I can prevent it, i.e. have all clicked links open
in the same axWebBrowser !
|
|
|
|
|
i did as u sayed
and it opens all in same Axwebbrowser
here the code
string url="http://www.cnn.com";
AxSHDocVw.AxWebBrowser browser=new AxSHDocVw.AxWebBrowser();
((System.ComponentModel.ISupportInitialize)(browser)).BeginInit();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
browser.Enabled = true;
browser.Location = new System.Drawing.Point(8, 112);
browser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("browser.OcxState")));
browser.Size = new System.Drawing.Size(600, 300);
browser.TabIndex = 1;
this.Controls.Add(browser);
((System.ComponentModel.ISupportInitialize)(browser)).EndInit();
object dummy=System.Reflection.Missing.Value;
browser.Navigate(url, ref dummy, ref dummy, ref dummy, ref dummy);
}
here a rephrase of my problem:
How to force an IE window to be opened on link click from axWebBrowser:
I'm not interested in simple solution of getting the url and opening IE from process.start(IE,url)
the closest thing i had in mind is : when i right click the link from axWebBrowser and choose "open in new window" it opens it in new IE window, so I'm looking for a way ti imitate it somehow and perform the same action on left mouse click on that link (and in the background it will open a new IE window), like re-routing from axWebBrowser into IE.
again, im not interested in the url that is being opened on "open in new window" its more complicated than that, thats why I'm looking for a way to "re-route" from axWebBrowser into IE.
thx ahead!
|
|
|
|
|
i need to make make gridviewer to appear as main row and subrows under it like:
a
a1
a2
a3
b
b1
b2
b3
c# 2005 desktop application
ma_refay
|
|
|
|
|
and you share this information with us why?
life is study!!!
|
|
|
|
|
hi,
I am creating a editor and i have created a standard toolbar for File main menu.
i.e. A toolbox with new,open,save,saveas toolbox buttons.
Now i want to create a many tool bars of "Docking Toolbars"
e.g.Like Microsoft excel toolbars.
pls help me
With regards
Prasad
-- modified at 6:46 Wednesday 28th February, 2007
|
|
|
|
|
use ToolStripContainer
life is study!!!
|
|
|
|
|
hi,
Thank u for u r reply
can u explain me pls.
With regards
Prasad
|
|
|
|
|
He's already told you. Now that he's told you about ToolStripContainer it should be easy enough for you to take this further and actually do some research on your own.
BTW - please don't use text speak in your messages as it can be difficult to read. Text speak was designed for small screens where removing vowels was necessary to get the words to fit in. I assume that you aren't viewing the forums off your mobile phone, so you have more of a viewing area.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
HI,
I hope u didn't get my question.
see i want to have separate toolboxes for different menuitems
whenever user doubleclicks on it it should go to its position and user can able to reposotion it .
reference microsoft Excel Toolboxes.
Pls help me
With regards
Prasad
|
|
|
|
|
I hope u didn't get my question.
see i want to have separate toolboxes for different menuitems
whenever user doubleclicks on it it should go to its position and user can able to reposotion it .
reference microsoft Excel Toolboxes.
Pls help me
With regards
Prasad
|
|
|
|
|
Hello,
I have created an email application.
Error Message: The remote certificate is invalid according to the validation procedure.
But keep on getting this error message each time I try and send. The remote smtp is working ok as that has been tested using outlook, so i think something to do with my code, or something i have not done.
I have also tested this code using gmail's smtp server:
gmail@smtp.com using my gmail account details. Sent e-mail ok.
The code i am using to connect to a remote server is this below. can anyone tell me if I have done something wrong.
<br />
private void button1_Click(object sender, EventArgs e)<br />
{<br />
MailAddress msgTo = new MailAddress("steve1_rm@hotmail.com");<br />
MailAddress msgFrom = new MailAddress("Steve1.rm@gmail.com");<br />
MailAddress msgSender = new MailAddress("steve1.rm@gmail.com");<br />
<br />
MailMessage mailMsg = new MailMessage();<br />
mailMsg.To.Add(msgTo);<br />
mailMsg.From = msgFrom;<br />
mailMsg.Sender = msgSender;<br />
<br />
SmtpClient client = new SmtpClient("xx.xxx.xx.xxx", 25);<br />
client.Credentials = new System.Net.NetworkCredential("xxxxx@smtp.xxxx", "xxxx");<br />
client.EnableSsl = true;<br />
<br />
try<br />
{<br />
client.Send(mailMsg);<br />
}<br />
catch(SmtpException ex)<br />
{<br />
MessageBox.Show(ex.Message);<br />
}<br />
catch(Exception ex)<br />
{<br />
MessageBox.Show(ex.Message); <br />
}<br />
}<br />
Many thanks if you can help me with this problem,
Thanks,
Steve
|
|
|
|
|
Hey guys,
I'm quite new to C#. I am using Visual C# 2005 Express which I downloaded from Microsoft.
I have searched for a good 30 minutes, and I couldn't find anything which was helpful.
What I want is, when you press control + u another Form comes up. I have tried this:
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.ControlKey && e.KeyCode == Keys.U)
{
username myUsernameDialog = new username();
myUsernameDialog.ShowDialog();
}
}
However, that doesn't work. I really do not know where to go from here.
Thanks in advance,
- Gordon
|
|
|
|
|
hi
This is working. Change the control condition as given below:
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control == true)
{
if (e.KeyCode == Keys.U)
{
Form2 a = new Form2();
a.ShowDialog();
}
}
}
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Thank you. Harini
|
|
|
|
|
Hmm...
That doesn't work for some reason :S
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control == true)
{
if (e.KeyCode == Keys.U)
{
MessageBox.Show("Yay!");
username a = new username();
a.ShowDialog();
}
}
}
It compiles/runs fine, but it just doesn't work. Do you know what the problem could be?
Cheers!
p.s. I voted 4/5.
|
|
|
|
|
Hello,
You have to set the "KeyPreview" property to "true" at your Form?
this.KeyPreview=true;
All the best,
Martin
-- modified at 8:00 Wednesday 28th February, 2007
|
|
|
|
|
Thanks mate, that did it! I told you I was new :P
|
|
|
|
|
I have a user control on my asp.net page . This user control has 4 buttons on click of these buttons a new page opens below these user controls. Now after the page is opened and i click anwhere on the page the focus goes to 1st button in user control irrespective of the button i click. Hence when my user hits enter every time the first page opens. I have checked the code and there is no focus set for this in my code. I dont understand why it is happening. I wnt that when the user select a button the focus remains on it even if i click on the page.could some body help me..... I require it.............
-- modified at 5:34 Wednesday 28th February, 2007
|
|
|
|