|
Hi everyone
i have the problem to debug my web applications.
i m loggin through administartor account.
it is the member of debugger users,Vs developers group.
i have also added aspnet account to debugger users group.
It is some previleges problem.
error is
"error while trying to run the project.you do not have previleges to debug web server process."
from this forum itself i got solution that i should attach aspnet_wp to my application.But
it did'nt allow me to attach aspnet_wp.exe
i m using windows XP.
error comes while i m going to attach aspnet_wp.exe
Or is there any other solution for it so that i can debug my web applications.
one thing which i noticed here is that i m able to debug my windows applications. but not any web applications.
plz help me out.
i m struggling with it from 15 days.
plz plz plz guide me
"unable to attach to process.Access is denied."
-- modified at 3:47 Monday 25th December, 2006
|
|
|
|
|
|
Anyone have any idea how to do it?
Pablo
Sometimes I think there's no reason to get out of bed . . . then I feel wet, and I realize there is.
|
|
|
|
|
Hello,
Wondering if anyone has any insight into how one would edit code programmatically through reflection. For example I'd like to change a method's custom attribute setting if certain criteria apply.
All I need to know is if this is possible a hint on the call necessary to make this edit.
Thanks in advance!
--PhB
PhrankBooth
|
|
|
|
|
Emitting code is covered here[^]. I've never had a use for it, so I don't have any sample code.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Greetings!
I want to create project with video abilities.
Here is short description of my needs:
Application needs to be done with .NET Framework.
Application should consist from two parts:
Client application and server application have different functionality, but they both should work with web-cams installed on their sides (client and server sides).
First part is a client application.
Client application can connect to different web – cams and see content of web – cam.
User of client application can talk to server application using microphone and listens answer from server user.
Except this, client application should have ability to save video from server side.
Server application should have similar video abilities with client application.
I analyzed different technologies for my purpose and I lost one's the head in technologies.
Please suggest me what technology best suites for my project.
Thank you all for your attention for my question
Best Regards,
Alex
|
|
|
|
|
Hi
I have a problem with set cursor into TextBoxes, which are usually unvisible.
After some events the TextBoxes I set some TextBoxes to visible. To set the cursor to the actually visible TextBox use Select() or Focus(), but the cursor doesn't change it's position and stay in the last TextBox, only after a minimize and maximaize action or change to the other programs and back to this program moved to the expected TextBox. Invalidate or Refresh and DoEvents cann't help. I think it's something wrong with exessive using of my internal events, because in a testprogram witout my events the cursor behave as I expected.
|
|
|
|
|
Hi
after insertion some lines the vertical scroll is coming, but the RichTextBox still show the upper side and doesn't scroll to the last line and doesn't show the last inserted line. Should I get the count of lines and scroll line by line?
Info: This RichTextBox has't any focus. It's only a logging MultiLine-TextBox .
BR
|
|
|
|
|
I had the same problem with a listbox: I do not know a way to have it scroll automatically
to keep the bottom line visible, so this is what I came up with (and I assume something
similar applies to a RichTextBox):
public void Output(string s) {
lb.Items.Add(s);
if (Control.MouseButtons==MouseButtons.None) {
lb.TopIndex=lb.Items.Count-1;
}
}
BTW: the value for the top index is not correct
(it should actually be Items.Count - numberOfLinesVisibleInListbox)
but it works just fine as is, so why bother. (But the -1 is necessary).
Luc Pattyn
|
|
|
|
|
I'm sorry if I post this here, because I cannot find the thread about Compact Framework. Well, to the point. We know that we can use custom image as the toolbox item (Framework). We just use the attribute ToolboxBitmap to set the component/control icon. But at .NET Compact Framework 2.0 I cannot find the attribute like this, does anyone know alternate way to use custom icon for the component/control (on designer for sure not runtime).
Thanks for helping.
|
|
|
|
|
It looks likes it's not supported. BTW: The CF Forum is called "Mobile Development".
The alternative is to add a 16x16 pixel BMP as an embedded resource with the same name as the control class.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
With namespace or not, e.g class name is "classA" in namespace "nsA", so on resource use "nsA.classA.bmp" or only "classA.bmp"?
Thanks for the reply.
|
|
|
|
|
Shouldn't need it. If should just be classname.BMP.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I tried that but not working, I'm VB.net, my component is in this namespace "CRMSoft.Controls.Forms.NumberPicker.vb" Bitmap and left it at "CRMSoft.Controls.NumberPicker.bmp" not right?
Cleber Roberto Movio
|
|
|
|
|
Hi
I would like to list all the available servers from tnsnames.ora file.
DBNAME =
(DESCRIPTIOMN= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=113.114.2.145)(PORT=1521))
(CONNECT_DATA=SERVICE_NAME=dbname))
In this file i want to read exactly "service_name = dbname". How to do it in C#. Any one could you help me please?
kesavan
|
|
|
|
|
Please don't cross post.
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.
|
|
|
|
|
|
Ok another problem with .NET Remoting.
Server create object in mode='singleton' by file configuration. Object has member 'parent_'.
Like this:
-----------------------------------------------------------------------
RemotingConfiguration.Configure(@"TestServer.exe.config", false); remoteobject_ = new RemoteObject();
remoteobject_.parent_=this
-----------------------------------------------------------------------
I tried connect to this object in client like this:
-----------------------------------------------------------------------
RemotingConfiguration.Configure(@"TestClient.exe.config", false);
WellKnownClientTypeEntry[] ClientEntries = RemotingConfiguration.GetRegisteredWellKnownClientTypes();
remoteobject_ = (RemoteObject)Activator.GetObject(typeof(TestRemothing.RemoteObject),ClientEntries[0].ObjectUrl);
-----------------------------------------------------------------------
and i noticed, that client work with other remote object than server. Why? How client can work with object, that already created by server?
|
|
|
|
|
I fined solution! Thank's codeproject
qqq
|
|
|
|
|
By using this, what exactly is locked? A specifiek variable or the thread itself or the variables that have been modified with 'System.Threading.Interlocked.Increment'?
I THINK 'THE VARIABLES THAT HAVE BEEN MODIFIED BY THE THREAD'. WRIGHT?
If you have the following:
public static void Synchronization_WriterLock()
{
System.Threading.ReaderWriterLock oReaderWriterLock;
oReaderWriterLock = new System.Threading.ReaderWriterLock();
miCount = 0;
try
{
oReaderWriterLock.AcquireWriterLock(100);
try
{
System.Threading.Interlocked.Increment(ref miCount);
Console.WriteLine(miCount);
}
finally
{
oReaderWriterLock.ReleaseWriterLock();
}
}
catch (ApplicationException e)
{
Console.WriteLine("Failed to get a Writer Lock");
}
}
What locks what?
-- modified at 17:03 Wednesday 27th December, 2006
|
|
|
|
|
Can anybody help me . I use remote object with events. When client connect to event - system throw SecurityException:
"Message = "Type System.DelegateSerializationHolder and the types derived from it (such as System.DelegateSerializationHolder) are not permitted to be deserialized at this security level."
In MSDN i finded this:
--------------------------------------------
To adjust the security level
1. Modify the configuration file(s) generated in conversion.
- or -
2. Edit the converted code.
--------------------------------------------
but how to do it?
qqq
|
|
|
|
|
OK. I find solution! Thanks
qqq
|
|
|
|
|
Hi all
I am developing one installation wizard. I have one issue. If i click the next button I made the current form visible = false and creating instance for the next from and showing the form. There problem I facing is, I dont know how to show the previous form by hidding the current form. Can anybody help me please....
Thanks
kesavan
kesavan
|
|
|
|
|
CurrentFormName.Hide
PreviousFormName.Show
Obviously that's VB code, but you should be able to figure out the C# equivalent pretty easily.
|
|
|
|
|
Just to be clear - if you're inside the current form, you need to only call Hide, and specifying the name of the form classes won't work, you need to specify the name of form instances that are visible within the scope of the method that's got the call in it
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|