|
i want to make web service that will return Object
* how can make this web service ????
Palestine
|
|
|
|
|
Hi man
visit the following website
WEBSERVICES[^]
hi to all palestinien ones ... yes palestine not others ...
Thanks alot
Hamody
|
|
|
|
|
I built application in .net remoting,any one can know how i can build a clustering server ,this mean if my server fail call another server to complete the process.
|
|
|
|
|
I am using controls at runtime foe palying movie files.
a .mvw file opens if i double click it in mediaplayer. but when i am programatically runs the same in a mediaplayer control. it does not. the error is "Error HRESULT E_FAIL has been returned from a call to a com component". but when I am using a mpeg file then it runs properly.
|
|
|
|
|
|
Syed Mujtaba Hassan wrote: Hons
When you get to the point of doing honours, you've surely learned how to think for yourself ?
Anyhow, your teacher knows how to use the web....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Subject: A short title describing your question.
Text: The message text containing your question.
Try again.
---
b { font-weight: normal; }
|
|
|
|
|
Hi i want to put a combobox in my datagrid, which i want to bind by xml.
I am using my datagrid in WinForms, and i am using Visual Studio 1.1
Thanks in advance.
Deepak Surana
|
|
|
|
|
the easiest way is to upgrade to .net 2.0 bcz I had the same problem a few days ago n I tried many different things too but eventually I upgraded to .net 2 and solved that but if using .net 1.1 is a compulsation then it is something to work on.
u can find one or two useful articles on this very site about making datagridcombobox, do read them out and see 4 urself..
Rocky
|
|
|
|
|
i want to create an object like labels, buttons. it has events. i don't want to use UserControl.
i wonder how windows can do these controls and their event functions. Is there any API function or any thing else.
|
|
|
|
|
dungeonsdarknight wrote: i don't want to use UserControl.
Why not? What's wrong with it?
Follow the MSDN guideline on Developing Custom Windows Forms Controls with the .NET Framework[^].
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi,
I am using the reportviewer in a project and am supposed to have reportviewer.exe located in the sdk packages directory C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer\ReportViewer.exe however it (and any other packages for that matter) are not there.
Although I have installed the sdk, there are no packages actually installed.
How do I get and install the packages?
Glen Harvy
|
|
|
|
|
A simple google search turned up this Microsoft download page Microsoft Report Viewer Redistributable 2005[^]. I guess that should solve your problem.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
|
Get out the VS.NET 2005 DVD and try reinstalling the SDK portions.
Wait a minute...are you using the Express Edition???
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i want to know more about SOAP
any one here can send good link to learn it
Palestine
|
|
|
|
|
|
I want to iterate through all the controls on the form even if there's a panel and controls in that panel.
Is there any collection with all controls in form no matter if there's any controls inside another control?
I hope you know what I mean.
|
|
|
|
|
Just try to recursion.
private void GetControl(Control mainControl)
{
foreach(Control control in mainControl.Controls)
{
//Do something
if(control.Controls != null)
GetControl(control)
}
}
I hope this works!
Tom
|
|
|
|
|
I thought that I could do it with recursion...
I was confused by a different types of controls that could be in win forms, but I didn't realised that all controls are type of Control...
Silly me .
Thank you..
-- modified at 17:34 Friday 15th September, 2006
|
|
|
|
|
Hi,
I'am working on a Kid safe application from Internet's improper content. I was handling the IEs navigated URLs with Webbrowser event handler. However, I am unable to handle the other browsers; Opera, Netscape etc.
Is there any way to listen port 80 of XP. Because, with that way if any incoming http content arrived the port 80, and if it's not IE, I can end task of the process that uses port 80. I need to detect of port 80's usage in runtime. For any idea or help, I would be grateful.
Thanks in advance
Allen
|
|
|
|
|
You could do this:
IPAddress ipAddress = Dns.Resolve(Dns.GetHostName()).AddressList[0];
IPEndPoint ipLocalEndPoint = new IPEndPoint(ipAddress, 80);
try{
TcpListener tcpListener = new TcpListener(ipLocalEndPoint);
tcpListener.Start();
}
catch ( Exception e ){
Console.WriteLine( e.ToString());
}
If it succeeds, then your listener is listening on Port 80
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
I had tried that earlier:
<BGCOLOR="#CCCFCC"><br />
protected void SocketThread_1()<br />
{<br />
IPAddress ipAddress = Dns.Resolve(Dns.GetHostName()).AddressList[0];<br />
TcpListener tc1=new TcpListener(ipAddress,80);<br />
<br />
while(true)<br />
{<br />
tc1.Start();<br />
Socket so1=tc1.AcceptSocket();<br />
<br />
byte[] reading=new byte[1024];<br />
int dimension=so1.Receive(reading,reading.Length,0);<br />
string data=System.Text.Encoding.ASCII.GetString(reading);<br />
<br />
listBox6.Items.Add(data);<br />
<br />
<br />
}<br />
<br />
}
When you type in the adress bar of any browser //localip:80 there comes some data. However, when you type a URL adress, no any data is incoming. I don't know the reason.
Allen
-- modified at 7:59 Saturday 16th September, 2006
|
|
|
|
|
Hello everyone!
I'm trying to capsulate Data-Access from the Model using different classes and NHibernate.
The problem is the following...
Calling the Methods down to the Database are ok. But when the result should come back in 'this' (see the comments in the Appointment-Class) no data is given, though in the AppointmentData-Class (see comment there) I can see them!!
First on the Form the user triggers the Button3, therefore one Appointment with Id "1" should be read.
private void button3_Click(object sender, EventArgs e)
{
Appointment app = new Appointment();
app.GetItem("1");
}
Calling the GetItem-Method of the instance of the Class Appointment.
public void GetItem(String Id)
{
this.Id = Id;
AppointmentData appData = new AppointmentData();
appData.GetAppointment(this);
//when the method-call comes back 'this' is empty except the field Id
}
Calling the GetAppointment-Method of the instance of the Class AppointmentData.
public void GetAppointment(Appointment app)
{
ISession session = null;
String appId = app.Id;
try
{
//using NHibernate
session = factory.OpenSession();
app = (Appointment)session.Load(typeof(Appointment), appId);
//here app is filled with correct data
}
catch (Exception ex)
{
Console.Write(ex);
session.Disconnect();
// handle exception
}
}
Perhaps someone could be me a little bit. Sorry for my bad language!
If something is unclear, I can explain it more detailed.
Many thx
Jochen Schneider
|
|
|
|
|
app = (Appointment)session.Load(typeof(Appointment), appId);
This line assigns a new object to the app variable which doesn't reflect outside the method unless you use the ref keyword. You have differentiate between changes to the state of an object and assigning a completly new object. The first case would require no extra work as Appointment is a reference type, but the second case require use of ref keyword. Change the method signature and call as follows:
appData.GetAppointment(ref this);
public void GetAppointment(ref Appointment app)
That's how it generally works, but I'm not sure if it works if you pass in this . Maybe you have no other chance than making some refactoring which maybe isn't that bad cause in my opinion your code is a bit strange (creating an appointment that creates an appointmentdata which then loads an appointment).
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|