-
- weird IDE problem...
by sirocco78
- 6 Replies
- Last post
by Kurt Schuff
- after some time using vs2005 the following problem occurs (just look at this linked image ). needless to say that it makes the ide useless... anybody had similar problems
-
- How to retrieve export information from unmanaged dll?
by Sergio.Rykov
- 1 Replies
- Last post
by TaylorMichaelL
- Is there exists any tool that can extract marshal information about all exported cpp-functions from unmanaged dll
For example: someexptool.exe unmanaged.dll managedwrapper.cs
someexptool.exe crypt32.dll crypt32.cs
in crypt32.cs we could find something like :
[ DllImport ( "crypt32.dll" , SetLastError = true )]
public static extern bool CryptMsgUpdate(
IntPtr
-
- filesystemwatcher questions
by papaja
- 3 Replies
- Last post
by XRaheemX
- Hi, I have filesystemwatcher on my form. I have defined changed eventhandler that does some data processing. But, how can I from this event handler access other objects on form For example I have label. When cahnged eventhandler is called I want that Text property of label is set to some value. Let's say to today's date. I tried like this: label1.Text = DateTime.Now.ToString(); but I get error: &
-
- Dynamic memory allocation in C#?
by Saswata Basak
- 9 Replies
- Last post
by Saswata Basak
- Hi guys,
Do you have any idea as to how do we dynamically allocate memory in C#
Please post any relevant code also.
Thanks in advance.
Saswata.
-
- Thread.abort sometimes does not abort the thread
by asilter
- 2 Replies
- Last post
by Peter Ritchie
- Why does not Thread.Abort() always kill or terminate the thread What is the reason for throwing an exception after calling Thread.Abort().
if(....)
{
// I need to stop the execution of thread
}
-
- finding a file on someones computer
by Landon Parks
- 2 Replies
- Last post
by mOohA!
- Does anyone know how to point the Web Browser fucntion to open a specific folder on the "End Users" hard drive I tried using commands like "C:/Program File/etc.." but it keeps giving me errors. Also, how would I know exactly the location of the folder on the end users computer since they can change folder names and locations Is there some universal code that will tell my progra
-
- passing individual elements of a string in C#
by rtensmeyer
- 4 Replies
- Last post
by rtensmeyer
- I am trying to assign an individual element of a string to another but I keep getting the following error:
Property or indexer 'property' cannot be assigned to ¡ª it is read only
Here is the code that I am using:
string word;
string solve;
string choice_up = "A";
string choice_lo = "a";
for ( int i = 0; i < length; i++) &nbs
-
- Search for Substring in AutoCompleteStringCollection()
by Nic OConnor
- 5 Replies
- Last post
by Derek Tomes
- I have a problem that I'm trying figure out with AutoComplete.
I have dynamically created a AutoCompleteStringCollection and have multiple values however I would like this control to be very responsive so I want it to search for a substring in a AutoCompleteStringCollection Item.
For instance say my collection has the following values
Apple, Ardvark, Baker, Blue, Bannana
When I press &
-
- Class method only accessible from one instance.
by Wilotas
- 9 Replies
- Last post
by Kea
- Hi friends, i need help hehe. I have one class called user.cs, in this class i have 2 methods which i need they are PUBLIC to call it from one app section, but i want to do them PRIVATES for other app sections, what is the best way to implement it . Thanks friends.
-
- windows service starting trouble
by Thankappan
- 1 Replies
- Last post
by TaylorMichaelL
- a windows service is giving the following message when I am trying to start it.
"Some services stop automatically if they have no work to do, for example, the Performance Logs and alert service."
I am calling a constructor of a class library.
Following is the error description from event viewer.
Service cannot be started. System.Runtime.InteropServices.COMException (0x8004015
-
- Visual Studio stops responding using CDATA within Comments
by Rick Casey
- 5 Replies
- Last post
by Jeremy Meng MSFT
- I'm running Visual Studio for Software Developers on Vista. I've installed Service Pack 1 and the beta for }Vista.
Has anyone else experienced a problem when trying to create an xml comment in a .cs file such that Visual Studio stops responding and begins to eat all the memory on the system until it crashes
public partial class WebUserControl : System.Web.UI.UserControl { /// <su
-
- Wierd error : Attempted to read or write protected memory. This is often an indication that other memory is corrupt
by Mike Martin24365
- 14 Replies
- Last post
by Wardog
- Ok I have a project that runs fine from the IDE, the problem is if I install the app or run it from the bin\release folder then I get this error on one of my method calls. I have tried this on a test machine and on my development machine and the results are the same. I have spent hours trying to figure this one out....... The crazy thing is, the method shows up in the stack trace but there is not
-
- Smart Comment Editing in VS.NET 2005
by Mikey Likes It
- 3 Replies
- Last post
by Mikey Likes It
- can't figure out how to turn on Smart Comment Editing in Visual Studio 2005. An MSDN article mentions that you can access this feature from the Formatting, C#/J#, Text Editor, Options Dialog Box dialog in your project property pages, but I can't see anything there. This does not exist. This was a great feature. Does anyone know how I can get this working, or has it been removed from the release
-
- how to writing our own directshow filters???
by Kuldeep Atil
- 2 Replies
- Last post
by Kuldeep Atil
- hi friends,
can anyone please give me the basic guidelines for writing our own custom directshow filters...
Thank you...
-
- Dynamic language choice
by vankogeorgiev
- 4 Replies
- Last post
by vankogeorgiev
- I'm not sure that this is the right place for this post but I hope that you can help me with this. I'm currently a c# web developer and i want to learn some dynamic language. What do you thing I should focus on: IronPython or F# or something else and why I'm not familiar with neither of the two. What do you think will be more valuable for me and have more future as a language
-
- Index was out of range?
by AlexBB
- 10 Replies
- Last post
by AlexBB
- I really hate to bother anyone with this seemingly simple question but it appears I am at the dead end.
I got this message this morning: Index was out of range. Must be .... Parameter name: startIndex .
There are three problem with it. Number one: I have almost debugged this massive application and it seems everything has been working for some time. Unless somehow the input stream's format c
-
- Convert jpg picture to PTT/PDF
by Oleg Ignatov
- 1 Replies
- Last post
by Hayder Marzouk
- Hello, All! How can I convert jpg picture to both pdf and ptt files with C# What library need I use for it Thanks.
-
- Need help on static readonly value type constant
by rednaxela
- 4 Replies
- Last post
by rednaxela
- I'm new to C# 2.0, and experiencing issues with static readonly member which is a mutable value type. Even though most books and articles would suggest making a value type immutable, I was just trying out the language capabilities so that wasn't part of my concern. And I wrote a test code as following:
Code Snippet
using System; using System.Collections;
namespace fx.meta
-
- sometimes kill all processes and some time some of them????!!!!..
by adorer
- 2 Replies
- Last post
by adorer
- my application is to kill running processes
I have wrote this code and it is working fine but sometimes ...
It is sometimes kill all application I select and some times kill hust some of them ... what is the problem ...
this is my code ...
private void button6_Click( object sender, System.EventArgs e)
{
if (checkedListBox1.Items.Count!=0)
{
try
{
Process[]
-
- Visual C#
by Duke Nukem
- 1 Replies
- Last post
by Stefan Prodan
- How to create applet in language C #
-
- The type 'xxx.Global' is ambiguous
by nouveau
- 5 Replies
- Last post
by Martin Xie - MSFT
- Hi. Has anyone come across this error
The type 'xxx.Global' is ambiguous: it could come from assembly 'D:\Inetpub\test.xxx\bin\xyz.DLL' or from assembly 'C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\xyz\6d0e567d\86fb60e3\App_Code.zdjy7ood.DLL'. Please specify the assembly explicitly in the type name.
Thanks!!!
-
- Help with c# type-inference.
by Simon bob
- 7 Replies
- Last post
by Simon bob
- I¡¯m currently building a simple physics engine for XNA. An important part of this is the collision detection system.
In my implementation I have a collidable-interface (i.e. objects that collide), from which specific geometric objects like boxes, spheres and planes inherit. The interface declares a function Collide, for each of the specific geometric objects like: Collide(Box).
Now I w
-
- Setup project question.
by Bruno Saboia de Albuquerque
- 3 Replies
- Last post
by TaylorMichaelL
- Hi guys, I'm trying to do something somewhat specific. I'm trying to dinamically set a Windows Service name upon its installation. I've tried to do it with the app.config file, getting the value from the configuration, but it doesn't works. It seems to me that it is something related with the two classes that Add Installers adds, serviceInstaller1 and serviceProcessInstaller1. The ServiceName and
-
- Drag and Drop
by jimmyglo
- 3 Replies
- Last post
by Galin Iliev
- Hi
I have to create windows app that's using drag and drop.
For ex. i'd like to have small boxes on window app, each to have it's own functionality and parameters (which i can enter on texboxes that are on these small boxes), and by clicking and holding one of them i can drag it to some part of window, and then interconnect them (something like relational model -way, or workflow)
-
- differecse between AppendText and Text+=
by bola shokry
- 5 Replies
- Last post
by Peter Ritchie
- What is the difference between:
1) rishTextBox.AppendText("any text");
2) rishTextBox.Text+="any text";
the second arise a problem but the first dont make the problem.