87 Archived Topics

Remove Filter
Member Avatar for pseudorandom21

Anyone know of a way to obtain an MD5 checksum of a file (through HTTP) before downloading it through HTTP?

Member Avatar for Reinhard_1
0
7K
Member Avatar for pseudorandom21

Can I use a DLL embedded in an executable (as a resource) without writing it to the disk? (Windows)

Member Avatar for pseudorandom21
0
1K
Member Avatar for pseudorandom21

I'm attempting to transfer some OpenCV images over the network, I've been trying to put them into a format I can easily encrypt and transfer, but I'm almost certain it's not going to work properly. Essentially the IplImage is a structure but it has a pointer that points to some …

Member Avatar for pseudorandom21
0
771
Member Avatar for pseudorandom21

Is there some trick to networking between LAN machines? I want a client/server system on the network but I haven't a slightest about the IP. I'd like to avoid dropped packets, so from my limited knowledge I'd go with TCP. Etc. How do I locate another machine via IP on …

Member Avatar for BobS0327
0
124
Member Avatar for pseudorandom21

Java: I have a bunch of stuff drawn to the blank space of a JApplet app. I need to add a JButton at a specific location. I don't know how. What's the easiest way to do this?

Member Avatar for DavidKroukamp
0
186
Member Avatar for pseudorandom21

My simple POP3 client (set up for Gmail) isn't downloading all of my messages... Any idea why? I have 350 messages in my inbox and the program only says 296 of them show up. Program.cs [code] using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.Net.Security; using System.IO; …

Member Avatar for pseudorandom21
1
1K
Member Avatar for pseudorandom21

Here is a sort of description to my yet-unimplemented AI agent to play tic-tac-toe. It doesn't have to win, it just has to work, and my description of it has to be good. Tell me what you think: [code] /* "RATION_AL" The goal of my agent is to implement an …

0
147
Member Avatar for pseudorandom21

So I can set a global low level keyboard hook from within a DLL pretty easily, but does it actually load that DLL into every process? How is it then, "Global" ? Any useful insight into the way this works? I use the command line program "tasklist" with the /M …

Member Avatar for dexblack
0
225
Member Avatar for pseudorandom21

Is there a library that's easy to setup and use with Visual Studio 2010 for AES encryption/decryption? I've been fiddling with CryptoPP and it's endless link errors and iterator_level_not_equal error messages for an hour now, so I think it's time to look for an installer or a new lib. Any …

Member Avatar for Narue
0
238
Member Avatar for pseudorandom21

Is there a simple way to get a list/array of all the predefined colors? (without listing them all individually) ? It seems as though the colors are properties of the class "Color" rather than an enumeration.

Member Avatar for JamesCherrill
0
587
Member Avatar for pseudorandom21

Can I use my own code that I slapped a GPL on and provided to sourceforge in my own commercial application? In that way, does the GPL somehow relinquish my own rights to my IP?

Member Avatar for Rashakil Fol
0
214
Member Avatar for pseudorandom21

I've been fiddling with some boost spirit stuff, and my code seems to start infinitely looping somewhere in the standard library stuff. Any ideas what's wrong? The qi::phrase_parse works very well, but the karma gets me. [code] #include <iostream> #include <string> #include <vector> #include <algorithm> //#include <boost/spirit.hpp> #include <boost/spirit/include/qi.hpp> #include …

Member Avatar for mike_2000_17
0
191
Member Avatar for pseudorandom21

I've been trying to make a reliable IRC client for a while now, and I know very little about sockets. I have read the RFC quite a bit, but programmatically responding when appropriate, and detecting errors still boggles me. How is the program to know the server will send three …

Member Avatar for pseudorandom21
0
155
Member Avatar for pseudorandom21

If ASIO had better documentation I could probably have found for myself an answer, but instead... Is there a way to determine bytes available to read using the asio::ip::tcp::iostream ? I really like the tcp iostream because it's super-easy to use, but I haven't found it exactly feature-packed. Does it …

Member Avatar for vijayan121
0
181
Member Avatar for pseudorandom21

It has occurred to me that there are very many factories in my area that use CNC (Computer Numerical Controlled) Lathes and other computer controller machinery. Is the operation of this machinery typically a job for a software programmer or does it require specialized knowledge? Is it worth doing with …

Member Avatar for jwenting
0
96
Member Avatar for pseudorandom21

I have a combobox I need to display some data in from a Database, but there are duplicates and I don't know how to select the distinct ones. Any help?

Member Avatar for pseudorandom21
0
223
Member Avatar for pseudorandom21

I have a form with a number of controls on it, and I had thought that the "Controls" property of the form instance contained all of the controls on the form as per the documentation. Actually it does, but now iterating over all of my controls becomes similar to iterating …

Member Avatar for darkagn
0
142
Member Avatar for pseudorandom21

I have accepted an internship that involves re-writing a project written in "Clipper Summer of '87" in C#, and basically it's missing a couple source code files and I have no idea how to work with the database files it uses. I do know it uses something called "dBase III" …

Member Avatar for TrustyTony
0
304
Member Avatar for pseudorandom21

I have a database bound to a listbox but I would like to view only certain items, how to do that? It sounds like a really simple task but I don't know how to do it.

Member Avatar for pseudorandom21
0
106
Member Avatar for pseudorandom21

Is there any reason I'm missing as to why not many languages let a programmer create a table of constant information at compile time? Something like: [code] public const Dictionary<string,decimal> SOME_DICT = new Dictionary<string,decimal>( {"A", 1.9}, {"B",2.3}, {"C", 4.4444} ); [/code]

Member Avatar for thines01
0
136
Member Avatar for pseudorandom21

What is the equivalent of the "setw" stream manipulator for C++ in Java? I've been messing with the java.util.formatter class, but haven't figured this out yet? [url]http://www.cplusplus.com/reference/iostream/manipulators/setw/[/url]

Member Avatar for stevanity
0
141
Member Avatar for pseudorandom21

Windows API Can the KEYBDINPUT structure in the INPUT structure be used to send a mouse click? I know there is a different structure for the mouse but I would like to use the KEYBDINPUT structure if possible.

Member Avatar for ret801
0
164
Member Avatar for pseudorandom21

I have a number of plain text strings that I need to allow a user of my program to change, what is the usual/best way of doing something like this? I was considering using C# properties for them all (and a "edit properties page") but I'm not sure that's the …

Member Avatar for Mohammed Ammar
0
134
Member Avatar for pseudorandom21

Hi I have a struct in my form, and I need to pass a reference/handle to it to a separate class, which is ok with the simple "ref" keyword. Now, how do I store this ref to a struct in the class (as a member variable)? Is this possible? I …

Member Avatar for pseudorandom21
0
95
Member Avatar for pseudorandom21

Hello all, I'm a Jr. in college and I haven't studied machine learning yet to any extent. I would like to at least know how to specify this project I have in mind though. Basically I'd like to have a number of input images to "train" the software with, and …

Member Avatar for pseudorandom21
0
158
Member Avatar for pseudorandom21

Hey guys what's the easiest way to find the Nth occurrence of a character in a string? I'm hoping there is a standard library function with a name like "NthOf" or something. Thx.

Member Avatar for Momerath
0
440
Member Avatar for pseudorandom21

Hello there, I'm not too entirely familiar with the operation of scheduled tasks within Windows XP and I'm tasked with finding an operable solution. Firstly, a couple things come to mind: 1. Start the process with windows using a low priority and sleep until it is time to function. This …

Member Avatar for Momerath
0
217
Member Avatar for pseudorandom21

Is there a built-in way to convert a string to an operator like + or - ? I get the feeling support for it isn't there but it's worth a try...

Member Avatar for ddanbe
0
90
Member Avatar for pseudorandom21

Basically I'm wondering what a sensible approach to learning Windows driver development would be. I have a logitech mouse that logitech decided to drop support for Vista/W7 on, and I'd like to write a driver for it but if that isn't possible it's fine and I would work with some …

Member Avatar for Narue
0
80
Member Avatar for pseudorandom21

Hey, I need to know how to add my program to the environment variable PATH without messing up my PATH in the process... Of course I plan to use Environment.GetEnvironmentVariables() and set... Anyone have some experience with this?

Member Avatar for pseudorandom21
0
132
Member Avatar for pseudorandom21

I'm looking for a... general purpose uber high-level programming/scripting language, with a small learning curve. I'm thinking it would be suitable for automating tasks like simple file IO, http requests, searching/sorting, simulating user input, etc. So what language would you carry with you on your day-to-day mundane tasks?

Member Avatar for TheNNS
0
224
Member Avatar for pseudorandom21

I need to run some code written in Java from my personal website. How do I even begin?

Member Avatar for NormR1
0
125
Member Avatar for pseudorandom21

I was just wondering what is the usual solution for synchronizing solutions between laptop/desktop (or maybe in another case between home/work) ? I was thinking an svn repo. would do the job, but where to find free hosting, or can I host it myself?

Member Avatar for pseudorandom21
0
204
Member Avatar for pseudorandom21

Do freelance programmers get somewhat f'd on projects, mainly the fixed-price ones? I can understand paying $16.00 for a utility if it doesn't take two or three days to complete, oh and the requirements keep changing too! Bet employers don't tell their unlucky programmers that the requirements will change and …

Member Avatar for JustCC
0
158
Member Avatar for pseudorandom21

I had a seemingly bright idea for a cleaner and easier to use operating system feature, for when the Windows clutter just gets too bad. Basically I want to alter the behavior of every window, such that when it loses focus it is minimized. But I don't know how to …

Member Avatar for pseudorandom21
0
142
Member Avatar for pseudorandom21

Hey, I'm wondering if it's a good idea to put my email in the about box of a utility I wrote, and in the source code. My thinking is the developers or users will be able to contact me if they have problems with it or ever need to update …

Member Avatar for charlybones
0
100
Member Avatar for pseudorandom21

I copy data from a "DataGridView" to the clipboard, but it contains lots of mysterious tabs that shouldn't be a part of the data, here's a sample of what I mean: [code] Keywords Searches omaha nebraska apartments 260 houses for rent in omaha nebraska 140 houses in omaha nebraska 720 …

Member Avatar for pseudorandom21
0
197
Member Avatar for pseudorandom21

I need to extract an integer value from the end of a string, and I'm a little bit lost on algorithm functions/classes in C#. Is there any sort of convenient class/function to help with this? Here is a sample string: "omaha nebraska weather 2400"

Member Avatar for pseudorandom21
0
153
Member Avatar for pseudorandom21

In the past I used a "Finite State Machine" to follow a sequence of keystrokes to completion, but I don't think it's effective and I was wondering how you guys would implement this: (I have the keyboard & mouse hook lib worked out) When a sequence of events (keystrokes & …

Member Avatar for gusano79
0
125
Member Avatar for pseudorandom21

I recently stumbled upon a boost installer (which I think is awesome), here [url]http://www.boostpro.com/download/[/url] and I was wondering if there is anything similar for QT and Visual Studio 2010? On the QT Website I found this page, but no VS2010 installer. Will the 2008 one work ? [url]http://qt.nokia.com/downloads[/url] I suppose …

Member Avatar for GreenDay2001
0
103
Member Avatar for pseudorandom21

I need to know a bit about this "default int" thing in C. What I mean is, is this actually ok and with what version of C is it ok? [code] main() { return 0; } [/code] As far as I knew this was standard modern C (i.e., no retarded …

Member Avatar for Narue
0
148
Member Avatar for pseudorandom21

Hi this project is actually C++/CLI but I expected more useful help from the .NET developers (most things are similar). So, I have a transparent form (completely transparent) and I want to draw a visible rectangle onto it and since I am using C++/CLI I was hoping to do it …

0
72
Member Avatar for pseudorandom21

The idea(s) aside, how does a lone programmer with a few languages at his disposal make awesome software? Do you think with proper research, planning, and design a lone programmer can make awesome software, or do you think it will usually require a couple of partners? How do I learn …

Member Avatar for pseudorandom21
0
257
Member Avatar for pseudorandom21

I'm hoping for a second opinion on which of these two motherboards to buy (I hope this is the right place). [url]http://www.newegg.com/Product/Product.aspx?Item=N82E16813128511&Tpk=Gigabyte%20A75M-UD2h[/url] [url]http://www.newegg.com/Product/Product.aspx?Item=N82E16813138331&Tpk=Biostar%20TA75A%2b[/url] Obviously the Biostar has better advertising, which one would you pick, and why? (Space inside my case is not an issue at all, and the USB 3.0 …

Member Avatar for omega066
0
106
Member Avatar for pseudorandom21

Hi, I'm trying to display a message in the compiler output using VS2010. In C/C++ we can use:[icode] #pragma message(">> Win32 <<") [/icode], but for C# I'm not really sure what options are available.

Member Avatar for shajis001
0
157
Member Avatar for pseudorandom21

Not sure where to post this, hopefully here. Basically if I make an application that does some stuff in the background, how does an antivirus know it isn't a trojan horse or something? Will my application be flagged as a virus, or is it generally safe to assume it won't …

Member Avatar for skatamatic
0
363
Member Avatar for pseudorandom21

Anyone know of a generic guide for using third party C++ libraries, specifically with Visual Studio 2010? I'm thinking "winging it" isn't cutting it, I want a resource to learn more about how these things are usually prepared, and used. I swear I saw a mention of a library system …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for pseudorandom21

The worst thing about C++ in my opinion is trying to use a library (with VS2010 at least). It always causes me great pain, and usually I am not met with success. So, I'm trying to use the Magick++ library, which is a part of the ImageMagick program, and I …

Member Avatar for Celtrix
0
257
Member Avatar for pseudorandom21

Ok so my parents bought a Nintendo Wii to use for Netflix, which is overall pretty sweet for me during the two more months I'll be living at home. So far I'm loving Netflix, but is there any way to pre-load movies instead of streaming them? I would like to …

Member Avatar for jingda
0
233
Member Avatar for pseudorandom21

So.. I want information on drawing on top of a DirectX game, like how Steam does it. I would consider naively trying to obtain a "device context" of the client area of the game's window, and then try some 2D drawing functions. D: I don't know if that's going to …

Member Avatar for pseudorandom21
0
330

The End.