|
.NET Remoting works only once
Hello...
I am implementing .NET remoting with a WebService as client. All works
fine the first time, but when I call again the method from WS that
gets the remote object and calls a remote method, I don`t get into the
method(I've put a breakpoint in it... and it stops only the first
time...).
The second time I get to this line... and ... it stops... no
exeption.. no nothing..
remoteObjec...
|
2 |
6/7/2007 4:12:16 PM |
|
TcpClient
Hi,
I see that TcpClient.Connected only gets updated after
an I/O operation. This stumps me. I have a service
that listens for connections, and spawns a thread
for each connection to deal with client requests.
I maintian the thread as long as the service is running
and the socket is connected. So I have something like
this:
//c++ pseudo code
void BasicThread(Object^ obect)
{
...
|
6 |
6/7/2007 2:54:37 PM |
|
Undeletable Desktop Icons
I restored my C drive from an external hard disk backup and now have four
desktop icons that cannot be deleted. The error message states "Cannot read
from source file or disk."
I've not used VB before. How can I delete these four icons?
Thanks in advance for your help....
|
3 |
6/7/2007 1:56:50 PM |
|
problem changing registry
I have a number of distributed sites that need to have a registry
setting in order to stop serenum incorrectly identifying our serial
device as a mouse etc.
I have written the following code in an attempt to change the registry
settings, but a SecurityException is thrown with message 'Requested
registry access is not allowed'. This is despite being run in an
administrator account in Window...
|
1 |
6/7/2007 10:22:30 AM |
|
udp (UdpClient) not transmitting in vista
I have a program (works fine under XP), sends a udp message using .net
udpclient and listens for a udp response from dedicated music server that our
company manufactures. It does not work under Vista.
I have Norton Anit-virus for Vista (completely turned off).
I also have Windows firewall (completely turned off).
Windows Firewall with Advanced Security shows everything turned off and no
...
|
6 |
6/7/2007 8:28:07 AM |
|
Running Application Without .net Framwork
I want to run the Application on CLient computers WITHOUT
installing .net Framwork on their Computer.
Is this Possible?
Is not then does Microsoft Started doing any work to overcome this
problem?
Because Client wants just an .Exe file....! So that installation is
Simple.
There is Some information available on Given Link:http://www.dabcc.com/
article.aspx?id=3284
IS there Same kind of fac...
|
4 |
6/7/2007 8:00:17 AM |
|
margins and bounds? [Printing]
hi ,
i have a simple question. Do the margins and bounds for a page have to
be considered together?
As in , should i add up the two to get the *real* printable area?
can i , or should i turn the margins off? by setting it to (0,0,0,0)
because i'm printing things like reports and bills?
Gideon
...
|
3 |
6/7/2007 4:30:35 AM |
|
ASynch sockets race
I have a fully asynch socket server application. I find however that
sometimes it locks up.
The client sends me a packet before I have posted a BeginRead. My beginread
then completes but I never get called back. Both sides end up waiting for
each other.
THe IAsyncResult return by BeginRead has IsCompleted=false
At first I thought it might be becuase I was doing some sycn IO during
...
|
2 |
6/6/2007 11:57:58 PM |
|
How to do a "NET VIEW" command
I'm looking for a solution to execute the DOS command "NET VIEW" in .NET 2.0.
Are there any classes in .NET or can I use WMI?
Or do I need to capture the DOS output?
Thanks...
|
2 |
6/6/2007 10:11:23 PM |
|
gotdotnet replacement?
Its been a while from the anouncement of gotdotnet (Sad, I loved the site!)?
is there any replacement out there that has the same enviroment and quality
especializing for .Net?
...
|
3 |
6/6/2007 10:02:39 PM |
|
dynamic functions...
i need to be able to create a dynamic C# function on the fly on an existing
type that exists within an assembly already loaded into memory. basically,
the body of this dynamic function will be loaded from an external source
(e.g. a file).
how can i best accomplish this task?
also, is there a way i can unload this function when i dont need it anymore?
thanks for all your help,
-- ...
|
5 |
6/6/2007 9:34:31 PM |
|
RijndaelManaged class
When I run my application as a NonAdmin user(a user who is a part of the
"Users" group), it throws an exception at a point in the code where
RijndaelManaged class is instantiated. Exception thrown is "Requested
registry access is not allowed". Any help wld be highly appreciated....
|
5 |
6/6/2007 5:08:30 PM |
|
Regular Epx
I am using the Regular Expression Validator, and I need to test for a
pattern that allows words in quotes, or multiple words in quotes
seperated by the word "OR".
I can get the single word in quotes check [^"]*, but I don't know how
to add the OR delimeter. Any suggestions?
See example Below.
1) "TEST"
2"TEST1" OR "Test2" OR "Test3"
Thanks
...
|
6 |
6/6/2007 4:00:17 PM |
|
Passing arguments to ClickOnce applications
Hello,
Is there a simple way for passing arguments to applications deployed with
ClickOnce and having off-line capabilities.
My app takes arguments if I start it with the whole path to it
"c:\whole\path\myapp.exe /arg=123" but as I do not know where the
application reside on the client PC's I don't know the whole path.
Is there a way to do so by a system-variable as %the_path_to_you...
|
2 |
6/6/2007 2:39:24 PM |
|
About Certificates and digital signing
I am trying to make a digital signature for a Zip Package using the packaging
facility provided in .NET 3.0 . But the problem is that i need a certificate
to use it, can i use a personal certificate, just for test before buying a
true certificate. If so can someone tell me how to get or make a personal
certificate?...
|
3 |
6/6/2007 2:14:00 PM |
|
Add an image to an imageList from a ressource
Hi,
I want to add an image in an imageList.
I use the VS designer to create my imageList. When I try to add an image
to it, VS open the Windows Explorer... and I want to use an image in my
ressource file.
I used the ressource designer to add the image...
Thank you for your help....
|
3 |
6/6/2007 8:03:30 AM |
|
Custom Software Development
iTechArt Group - Custom Software Development and Offshore outsourcing
Company
http://www.itechart.com/
Offshore custom software development company iTechArt - Web site and
Content Management Solutions development, CMS consulting: Ektron,
Drupal and DotNetNuke
iTechArt Group provides high quality custom software development
services and offshore software development. On December 2006, ...
|
1 |
6/6/2007 6:01:02 AM |
|
Auto hide AppBar (Desktop Bar)
Hi folks,
I'm building an AppBar application, which needs to support auto hide status
(and on mouse hover - to pop up).
Can anyone give me some directions in how to do that? code snippets? The
application is written in C#.
Appreciate any help I can get,
TIA,
- Tal.
...
|
1 |
6/6/2007 5:55:25 AM |
|
How to clone an object ?
Hello, friends,
In c#.net, I need to clone an object passed into a method,
private object generateCollection(object userInfo)
{
//I then need to generate a group of userInfo,
//How can I clone this passed in object?
//Do we have syntax something like this?
//object newUserInfo = new typeof(userInfo);
}
Thanks a lot....
|
3 |
6/6/2007 5:39:42 AM |
|
Regex Favorite parser
I am creating some program which should get URL param from IE favorites
files. And I need create correct Regex for this.
Now I have this
string WorkString =
@"URL=http://www.test.com/homepage.asp?cool=rere%*&*#&(@&=sdfsdfsd%"
Regex URLrequest = new Regex(@"\s*URL\s*=\s*(?<URL>[\w\W]*)\s*",
RegexOptions.Compiled);
Match matcher = URLrequest.Match(WorkString);
if (matcher.Succes...
|
2 |
6/6/2007 2:52:34 AM |
|
Outlook express
Is there anyway I can go into a history to find permently deleted emails? Can
you recover them after you deleted them out of the permently delete file?...
|
1 |
6/6/2007 12:46:01 AM |
|
.NET - problem with application
Hello.
I've wery weird problem with some of programs, that usually works fine
(including my laptop).
I think it's concernred with .NET
Problem is:
When I launch Photoshop CS2 (problems are with localized pl version and us
tryout as well) I got message (in Polish):
"Culture ID xxxxx (0xyyyyy) is not a supported culture"
Codes of culture looks like random number - each PS launch create s...
|
1 |
6/6/2007 12:38:41 AM |
|
autoscaling of winforms
hi,
i'm a newbie to winforms....
i've designed few forms...
but when the resolution is changed to lowest number..
i'm not able to see certain buttons on my form...
how do i fix this issue...I've enabled AutoSacle to true on my winform
do i need to set any properties on the winforms or controls?
please do help out....
...
|
2 |
6/5/2007 5:29:06 PM |
|
Dynamic compilation
Hello.
I have a big problem. In fact, I have a program coded in C#. In this
one, I generate a vb.net assembly. Everything is ok. It works well.
But now, my problem is the following.
I want to export the .net object in1 created in the code I want to
compile.
Input is a class used in my c# and vb source
For example:
Input in1 = new Input();
in1.value="2";
And in my code I want ...
|
2 |
6/5/2007 5:08:47 PM |
|
Debug this if you can.
I have a class A derived from interface B.
I create object of A (using reflection) and then i try to cast the
object A to type B,
object objA = MyReflectionFunction("classA");
B objB = (B) objA; //Exception thrown here
I get Invalid cast exception.
Now the funnier part is that before/after the offending line is
executed, if i copy
B objB = (B) objA;
to the immediate window is VS2005...
|
14 |
6/5/2007 4:05:38 PM |