87 Archived Topics

Remove Filter
Member Avatar for pseudorandom21

Well guys, I'm having a hard time learning enough about ANNs to apply them to a problem. Firstly my general understanding is that the network adapts during the "training" phase to produce the correct output with the given set of inputs. This is obviously useful with image recognition, or handwriting …

Member Avatar for pseudorandom21
0
194
Member Avatar for pseudorandom21

So.. I really don't know anything about modern databases at all. How can I learn to work with databases? Is it simple to create one? What should I do?

Member Avatar for kvprajapati
0
89
Member Avatar for pseudorandom21

Hello all, a lot of times I see C# code written without the use of #region and #endregion, I'm just wondering if there is any reason not to use it, and what are your thoughts on using it. I think it's an amazing feature that lets you clearly identify groups …

Member Avatar for ChrisHunter
1
177
Member Avatar for pseudorandom21

Sooo... Every DLL injection result I've read so far only uses a pre-made DLL, loads it into another process and says "darn I'm good." They do absolutely NOTHING useful and a couple of them are rip-offs of one another only using a different programming language. Google has failed me! Once …

Member Avatar for pseudorandom21
0
188
Member Avatar for pseudorandom21

So the "this" eh, handle.. in C#, in what ways is it different from "Me" in the latest version of VB ??

Member Avatar for Vator
0
88
Member Avatar for pseudorandom21

I'm trying to draw a "selection box" with a Graphics created with an HDC to the PrimaryScreen, but it doesn't appear to update properly, as in when I draw something it tends to stay there. Am I doing something wrong, or is there something I'm not aware of? [disregard] Actually …

Member Avatar for pseudorandom21
0
111
Member Avatar for pseudorandom21

I plan to use the WebRequest class to POST some data to a form, specifically a message and a file. I don't know the first thing about websites so I was hoping someone could help me out. I know how the message data is supposed to be formatted and how …

Member Avatar for papanyquiL
0
150
Member Avatar for pseudorandom21

Do any of you know of a plugin for VS2010 that plays music? I'm kind of assuming plugins for VS are written in some kind of native code...

Member Avatar for pseudorandom21
0
103
Member Avatar for pseudorandom21

I wanted to minimize changes to code in my save-file function by only making changes in the class that will be saved. Instead of making a "save-file" function in the class, I decided to try making it serializable but I receive a runtime error saying "PublicKeyToken=null" not marked as serializable. …

Member Avatar for pseudorandom21
0
106
Member Avatar for pseudorandom21

Is there a decent IDE for Java? Meaning, one that you don't think will end up making me rage and have annoying features that get in the way all the time making it unsuitable for development? What is the best IDE performance wise?

Member Avatar for peter_budo
0
302
Member Avatar for pseudorandom21

For simulating mouse movement on windows would it be better performance-wise to move the cursor to absolute coordinates or to move it relative to it's previous location? Obviously if moving to an absolute location each pixel in between must also be reached.

Member Avatar for pseudorandom21
0
368
Member Avatar for pseudorandom21

Hey I'm making a small application for my gaming buddies, and I have a picturebox that I'm drawing on. The problem is, it appears as though the Location property of the MouseEventArgs is wrong, and it becomes even more so toward the bottom + right portion of the picture, like …

Member Avatar for pseudorandom21
0
95
Member Avatar for pseudorandom21

I have a C++/CLI form, and a native class in separate files. I include the header file of the native class at the top of the Form.h This causes the compiler to try to compile the constructor of the Form as a native function and spits out 100+ errors and …

Member Avatar for jonsca
0
128
Member Avatar for pseudorandom21

Hello, I'm hoping you can help me make a smart decision. I have some code written in native C++, a full program actually--and I need to use it with C#. The application is, at the moment, very basic. It has a console user interface, and settings need to be changed …

Member Avatar for George Truesdel
0
788
Member Avatar for pseudorandom21

I've found that often in my code I have a need for primitive variables protected with synchronization objects such as a boost::mutex, and I was wondering if the boost library provides a template similar to this one I'm considering, based on the C# property methods get/set: [code] template<typename var_type> class …

Member Avatar for vijayan121
0
259
Member Avatar for pseudorandom21

Do any of you (reading this) know of a good learning resource for implementing a neural network, instead of papers describing the theory? Or perhaps someone can explain how one can apply the information on perceptrons given [URL="http://www.cprogramming.com/tutorial/AI/perceptron.html"]here.[/URL]

Member Avatar for jonsca
0
82
Member Avatar for pseudorandom21

What would be a common strategy for using DLLs coded in native C++ in C#? I'm not really finding much good information about it, other than writing the DLL in C.

Member Avatar for mike_2000_17
0
778
Member Avatar for pseudorandom21

I'm just wondering how programmers rate their own skills, for instance I haven't been using C# very long, but I do feel I have a good grasp on the language. If I see on a job listing: "* 3+ years C# or Visual Basic.NET " What the heck is 3+ …

Member Avatar for abelLazm
0
131
Member Avatar for pseudorandom21

I have a DataGridView on a form that updates the datagridview automatically and will allow the user to manually edit the information. I need to save the information in the DataGridView somehow. I don't know what the best option would be. I could of course use a file to store …

Member Avatar for pseudorandom21
0
112
Member Avatar for pseudorandom21

First of all, what is a "data source", the kind that can be attached to a "DataGridView", what are they used for, and how can I use one?

Member Avatar for Momerath
0
329
Member Avatar for pseudorandom21

I only know a little bit about the Global Assembly Cache. After creating a WPF application, in the toolbox, if you right click and select "Choose Items", it will open a window in which you can specify controls you want to use that are in the GAC. Is it safe …

Member Avatar for mcriscolo
0
151
Member Avatar for pseudorandom21

What is the meaning of "immutable" when relating to an Int32 ? Int32 i = 0; i++; //etc

Member Avatar for Momerath
0
115
Member Avatar for pseudorandom21

Is there a way to store binary code in memory (as a value) then execute it? For instance if I have an array of bytes I have filled with the binary code of say, a .exe, is it possible to execute it?

Member Avatar for gerard4143
0
3K
Member Avatar for pseudorandom21

What happens when an exception is thrown from within a new thread of execution? How do I catch it? Must it be within the same thread? Also, what is the proper way to update a control residing on a form, from within a new thread? I think it would be …

Member Avatar for pseudorandom21
0
133
Member Avatar for pseudorandom21

Hey guys, I'm making a global operator, and I have a line where I'm comparing a std::string::difference_type to a std::string::size_type, I think the difference_type is usually a signed integer, and the size_type an unsigned.. Any ideas for an algorithm change? Also, there is a lambda function used I would like …

Member Avatar for pseudorandom21
0
120
Member Avatar for pseudorandom21

[url]http://www.boost.org/doc/libs/1_46_0/libs/smart_ptr/shared_ptr.htm#ThreadSafety[/url] This section somewhat confused me, in my code I have a matrix of shared_ptr's pointing to an entirely thread-safe class. But the shared_ptr documentation says it is only as thread-safe as the built-in C++ types. Does this mean that if I read/write to my thread-safe class using shared_ptr's at …

Member Avatar for mike_2000_17
0
185
Member Avatar for pseudorandom21

Is there a way to define a property with default get/set functionality for a variable?

Member Avatar for Momerath
0
99
Member Avatar for pseudorandom21

I found this excellent video on one of Microsoft's websites: [url]http://msdn.microsoft.com/en-us/ff728575[/url] I'm really just wondering how to organize the window procedures for my Dialogs/Buttons/etc. Would one normally after creating a dialog throw the window procedure into a new file? I don't like tiny bits of code in different files, so …

Member Avatar for BitBlt
0
159
Member Avatar for pseudorandom21

It may have only been Visual C++ 6.0 or something, but I think I remember needing to add curly braces after a switch's case label to declare variables, is this still true with VS2010 and C++? ex: [code] switch( 1 ) { case 1: { int a; //<-- ok } …

Member Avatar for Saith
0
79
Member Avatar for pseudorandom21

I'm a college student, about to have an associates degree and start working on my Bachelor's for CS. I have a project that I've been working on for a while now, and I'm thinking about making it open source, and hosting it on sourceforge. The reason I would do so, …

Member Avatar for mike_2000_17
0
106
Member Avatar for pseudorandom21

Okay, so the problem is: I need a way to display a graphic with a few lines of text over the picture. An amount determined at run-time of these will be created. They also needs to be contained in a scrollable container, and scroll properly. It sounds simple but I'm …

Member Avatar for pseudorandom21
0
146
Member Avatar for pseudorandom21

How are iterators used in C# ? suppose I have say: [code] List<int> someList = new List<int>(); /* assume some items are added here */ /* and now I wonder if C++ style iterators are available? */ for( var i = /* iterator begin of list */ ; i != …

Member Avatar for kvprajapati
0
117
Member Avatar for pseudorandom21

C++/CLI @ runtime add a PictureBox to a tab control, I need to do this at run-time because they're to represent some data the user must be able to manipulate. I actually need them to be in some kind of scrollable panel on the tabcontrol. Any ideas?

Member Avatar for jonsca
0
149
Member Avatar for pseudorandom21

Hello, I thought I was doing things right when I created a delegate to call a function to access the container's data, but it still throws an exception. I have something similar to: [code] public ref class myform : public System::Windows::Forms::Form { private: System::Windows::Forms::ComboBox^ form_combobox; private: delegate String^ getItemDel();//<-- delegate …

Member Avatar for pseudorandom21
0
162
Member Avatar for pseudorandom21

Using C++/CLI-- Is there a good way to return a value (not a DialogResult) from a form shown as a dialog? I plan to use Invoke on a method to update the previous form from within the dialog, if not. I also would like to thank the fine members of …

Member Avatar for Ancient Dragon
0
336
Member Avatar for pseudorandom21

For some reason, and it's probably one of those accessibility things like tab ordering, when I hit the spacebar after selecting a button on my form, the spacebar clicks the button. This is NOT acceptable, and I have considered a work around of selecting an invisible panel or other "dummy" …

Member Avatar for pseudorandom21
0
73
Member Avatar for pseudorandom21

Hi, I am in need of a good reference for C++/CLI. Right now I need to know how to exit the main loop of a form, such as if the user clicked the 'X' at the top right. Nevermind, the function Close() is what I needed.

Member Avatar for jonsca
0
312

The End.