I was more interested in it from a thought experiment perspective.
Did I post well? Rate it! Did I post badly? Rate that too!
I was more interested in it from a thought experiment perspective.
Did I post well? Rate it! Did I post badly? Rate that too!
I have two threads and one will indicate to the other that it should perform some operation through a boolean flag. To set this flag I know it is necessary to have mutual exclusion so I use a monitor to restrict access to the flag and then exit the monitor. Here is my question: a long time ago I remember that sometimes processors will cache their own copy of a variable and only fetch or write this value again when it is evicted from the cache (or memory or whatever) or when it knows something is volatile. My question is, do i have to indicate this boolean flag I am using in my monitor is volatile? Regards,
Did I post well? Rate it! Did I post badly? Rate that too!
I put a datagrid in my project but I can't find a way to get at the little arrow pointing at the current row. Is there a way to remove this? Regards, JP
When you say grid you mean something like a data grid? Forgive me, I'm very new to UI. JP
The errors and warnings panel in visual studio looks really sharp. I would love to have something similar in my own app, what's a good control to use?
Did I post well? Rate it! Did I post badly? Rate that too!
I'm trying to override an indexer in a Dictionary but I can't figure out what the syntax is (or even if this is possible). I tried overloading the operator but it simply complains that you cannot have both a default property indexer and an operator. There seems to be a lot of examples for C#, can anyone help me out? Regards, JP
Did I post well? Rate it! Did I post badly? Rate that too!
Hi everyone: Is there a way that I can make the icons on the listview bigger? I tried setting them to large icon, but, they still seemed quite small. I really just want a list of pictures with no text, that would be perfect. Regards, James
Did I post well? Rate it! Did I post badly? Rate that too!
Ah, that's too bad. Yeah, I only want to edit parts of it. Using the select method has such unpredicatable side effects, its a shame there is no provided control to get around that. Thanks guys, James
Did I post well? Rate it! Did I post badly? Rate that too!
Hello everyone: I have a quick question about rich text box controls in visual basic. I basically want to change the colour of the text in one of these controls, but I can't see another way to do it then use the "Select" command. This basically highlights text and then you can make whichever changes you want. The problem is of course that this has all sorts of unpredictable behaviors which can't be foreseen, and of course, its outright sloppy. The problem is I see no other way to edit the internal data easily! What's the standard correct way to do this sort of thing? Regards, James
Did I post well? Rate it! Did I post badly? Rate that too!
Hello everyone: I have a quick question about rich text box controls in visual basic. I basically want to change the colour of the text in one of these controls, but I can't see another way to do it then use the "Select" command. This basically highlights text and then you can make whichever changes you want. The problem is of course that this has all sorts of unpredictable behaviors which can't be foreseen, and of course, its outright sloppy. The problem is I see no other way to edit the internal data easily! What's the standard correct way to do this sort of thing? Regards, James
Did I post well? Rate it! Did I post badly? Rate that too!
Is there a way I can place a user control onto a form in designer mode without having to have it go into the GAC? The tutorials out there seem to indicate this is the only way to get it into your toolbox. Regards, James
Did I post well? Rate it! Did I post badly? Rate that too!
Hey everyone: I am using BCGControlBar.net and basically I have a pane which I want to attach my own form to. Because it is not in the toolbox, I haven't the slightest how to do this. Is there a way? Regards, James
Did I post well? Rate it! Did I post badly? Rate that too!
You probably want to know about reflection. http://my.execpc.com/~gopalan/dotnet/reflection.html . This is a pointer to the current object. It's not baggage because it is useful for all sorts of function calls referring to the object itself (among other things the compiler must have it for). "I wanted to know the context in which a particular class member (a set accessor) was being used, and I thought a'ha there must be something in all that "this" baggage that will give me the name of the instancing class - but I can't find it - it seems I can get lots of info about "who" I is, but precious little about "where" I is." Do you mean you want to know which class was calling this object? That's more difficult, and usually if your using reflection, it means you did something wrong anyways. Try redesigning your code to avoid it. J Did I post well? Rate it! Did I post badly? Rate that too!
I have a struct that I am serializing in C++ so I don't have access to the .Net architecture (and I can't change that). I'm using winsock to transmit it over to a C#. How can I correctly serialise and receive this? All of the serialisation techniques I have seen in .Net are for objects also serialised in .net, or, I'm worried that if I use some sort of binary formatter I am going to get the packing of the struct wrong for my c++ struct. Suggestions anyone? Did I post well? Rate it! Did I post badly? Rate that too!
Hi guys, I asked about this yesterday, but the only suggestion I got did not help. I tried to write a service in C++ using the template provided in Visual studio 2005. The service seemed to compile and install fine, but, it does not appear in the service listings. Does anyone have any suggestions? Cheers,
No, the tasklist does not list the program under it. I am definitely installing the programming as a service (or trying) as it does the whole, commit phase sucessful, etc. Other ideas? Did I post well? Rate it! Did I post badly? Rate that too!
Hey all: I wanted to have a basic service running on Windows XP. So, I went into Visual Studio (2005) and opened up the basic Windows Service template. I compiled, no problems, and went to the debug directory of my compile. As the template indicated, I typed myprojectname.exe /install . The install seemed to run fine, but, myprojectname did not appear as a new service. Can anyone explain this? Thanks a lot! Jim Did I post well? Rate it! Did I post badly? Rate that too!
I want to develop a program that would permit me to sign on a computer at the logon screen. I assume that a windows service running with system permissions would be running in time to actually execute this, but I have no idea what I should research to interact with the logon screen. All help would be appreciated! Did I post well? Rate it! Did I post badly? Rate that too!
Hi All: This is a newb question for OpenGl but I don't see an OpenGl section so I did what was closest. I have OpenGl ES that I am going to be running on a PocketPc. I'm writing it in C++ and I am sure it has a lot of similarites to the normal OpenGl. Does anyone know how to import models (i.e people, cars, etc.) into an OpenGl environment? Also, how does one do large terrains in an openGl environment? Sincere regards, Did I post well? Rate it! Did I post badly? Rate that too!
Hey all, I had a really beginner question for you as I somewhat come ino more and more interesting things with web development. Suppose I have a website where every page has the same look and feel (e.g. A header which has a picture and some text or something). Suppose that I place this template on all pages, but one day I decide to change this template. What is the best way to set up such a system where this would be easy? Also, what if I wished to change the css styles throughout the actual pages of content themselves (i.e. a global css change). Is there a way to do this? Thanks so much! Did I post well? Rate it! Did I post badly? Rate that too!