|
I forgot c# didn't allow standalone procedures. :-/
|
|
|
|
|
|
Dominik Reichl wrote:
A whole article exists on this topic: http://www.codeproject.com/csharp/MessageBeep.asp[^]
I found it. IT won't build out of hte zipfile, and while I fixed the problem with the 2nd project not being in the solution, I can't find either dx9 reference to import. Now that I think about it, it's probably a moot point since IIRC the client for this project's running on older windows and is unlikely to have dx9 to begin with.
|
|
|
|
|
hi all.
i developed client/ server interaction program and i tested it well on my local pc but when i gave my friend the client tool through talking with him on yahoo messenger i uploaded my client and he downloaded it so i gave him my ip address iam using dial up connection i ran my server listening on my new ip address from my connection so i gave him my ip address to provide it in the client tool to try connecting he put the ip address but he couldn't be connected knowing he was using DSL connection why that iam using tcplistener and tcpclient in asynchronous socket connections what is that problem .
Miss With The Best And Die Like The Rest
|
|
|
|
|
Could be any number of things. First, can your friend ping your IP address? Is your server application running on Windows XP SP2? Are you running any firewall software on your machine? ...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Iam running my server on windows xp without any firewalls
but i want to do something like yahoo connection you can connect your messenger from any network even if you wre behind the firewall you can allow the packet transmision on this port and it will work i need my application to run and connect to my server like any hacker tool
Miss With The Best And Die Like The Rest
|
|
|
|
|
Windows XP SP2 has a firewall built into it that restricts access to the machine from the outside world. Once again, what version of XP are you running?
snouto wrote:
connect to my server like any hacker tool
You had to mention that word, didn't you...
If your client software can't get through to your server, it won't make any difference what you want or how you want to do it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have a problem with checking file permissions. I'm trying to check wether a user can write, read to a specific folder/file but when i test my code it says it can even thou i have removed all permissions. Don't know if the code is correct.
<br />
FileIOPermission filePermission = new<br />
FileIOPermission(FileIOPermissionAccess.Write,<br />
Request.PhysicalApplicationPath+@"test\\test.txt");<br />
try<br />
{<br />
filePermission.Demand();<br />
Reponse.Write("Permission demand successful");<br />
}<br />
catch( SecurityException securityEx )<br />
{<br />
Reponse.Write(securityEx.Message);<br />
}<br />
|
|
|
|
|
Did you just unchecked the boxes marked Allow, or did you check the boxes marked Deny? If you just unchecked the Allow boxes, you're actually letting permissions from the parent folders to apply to the file in question. You have to explicitly deny access to the file if you wan't to take all rights away.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have tested all things when it comes to permissions. It still says that it can write.
But it cant when actually trying to write to a file.
There something with the permission code thats wrong I just dont know what.
|
|
|
|
|
Hi there
I want to set a progressbar property in my user control and I don't want to be changable in runtime.
Can anyone help me?
|
|
|
|
|
Is that what you mean ?
private bool canChange = true;
private object myProp = null;
public void SetProp(object value)
{
if(canChange)
{
this.myProp = value;
this.canChange = false;
}
}
|
|
|
|
|
No
in my UserControl there is a progressbar and progressbar has a Style property and I don't want user of my usercontrol to change this property.
my userControl shuold not have this propery in its properties
|
|
|
|
|
You can just make this progressbar private,or if you need it to be public you may try :
public override myProgress.Style
{
}
|
|
|
|
|
I'm trying to run an example that I found in a book that is for VS 2005.
They use
"using System.Collections.Generic" (which is not there in VS 2003)
and also they use IEnumerable to provide foreach support to a class like this:
public class ClassName : IEnumerable<string>
and then
public IEnumerator<string> GetEnumerator()
{
foeach(){ }
}
I'm not able to tack on the <string> to either IEnumerable or IEnumerator in VS 2003 (to show that I'm returning a string from the foreach function) and I'm wondering if I'm missing including something or if this just cannot be done in 2003.
Thanks
<small>"One of the Georges," said Psmith, "I forget which, once said that a
certain number of hours' sleep a day--I cannot recall for the moment how
many--made a man something, which for the time being has slipped my
memory."</small>
|
|
|
|
|
|
Thank you
"One of the Georges," said Psmith, "I forget which, once said that a
certain number of hours' sleep a day--I cannot recall for the moment how
many--made a man something, which for the time being has slipped my
memory."
|
|
|
|
|
i have problem with .net reflector
the following message alwayes appear
"the version of .net reflector is out of date"
even i update the reflector to most recent version
sorry if this not right form
thanks in advanced
|
|
|
|
|
Hello,
I am developing a web base proj using asp.net(C#). I just wondering how am i going to put it on web. I am using a dynamic dns, do i need to change any settings or configure my IIS? How can i do it??
Please help...
Thanks!!
|
|
|
|
|
|
|
While trying to write a Serial Device Comm app, I came across a class called CommBase written by Jim Hind.
I kept trying to implement it in my app but, kept getting an error about it not being reference or no directive. I then realized that the class description for CommBase was an abstract class.
So I created another class that referenced this one and it work fine. So why would anyone want to do this? I'm not quite sure I understand what an abstract class is, can anyone explain the need for this sort of thing?
Thanks
Tom Wright
tawright915@yahoo.com
|
|
|
|
|
An abstract class is a class that is meant to be derived from by other classes. It is used to provide a single interface that can be implemented differently. While interfaces also provide the functionality, abstract classes allow implementation, so you can have the abstract base class provide a sort of template, with the missing parts filled in by the deriving classes.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hey,
Anybody know how to recodr voice from the mic ...???
Mhmoud Rawas
------------
Software Eng.
|
|
|
|
|