• Member Avatar for deceptikon
    deceptikon

    Replied To a Post in how to write to fil in program folder in VB.net?

    The same way you'd write a file anywhere else. However, the Program Files folder is protected and may not be accessible depending on the user running the application. Impersonating a …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in A c++ program that calculates th esum of odd numbers between 3 and 35

    Daniweb is not a homework service. Don't expect anyone to do this for you, or you're sure to miss your deadline.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in help in c

    You've provided insufficient code to diagnose a problem.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in How can I limit the size of generic collections

    Honestly, I wouldn't worry about it unless you're under some harsh memory constraints.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in How can I limit the size of generic collections

    Why exactly do you need this? Unless you're writing a library (in which case a wrapper is the appropriate solution), it's more a matter of careful coding and checking invariants …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in surprise

    Impressive texturing.
  • Member Avatar for deceptikon
    deceptikon

    Gave Reputation to ddanbe in data storage in float datatype

    [This article](http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html) explains it all.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in C++ Primer 5th Edition- Stanley Lippman

    I'm not aware of any. However, if you get stuck on a question you can post it here and we'll help you work through it. That would be vastly more …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in VB MySQL Login Code Error

    I'm not hip on the MySQL classes, but you probably want a `MySqlDataReader` instead, and that object can be initialized with `cmd.ExecuteReader()`, provided it follows the same design as the …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in VB MySQL Login Code Error

    `reader` is an uninitialized local variable. You need to create an object of `DataTableReader` and assign the reference to your variable.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in What are you watching?

    Game Grumps on YouTube.
  • Member Avatar for deceptikon
    deceptikon

    Edited Converting PDF to images

    I work with images...a *lot*. Often this involves image processing of various types such as resizing, resampling, and various cleanup operations. However, a common issue is that people like to …
  • Member Avatar for deceptikon
    deceptikon

    Created Converting PDF to images

    I work with images...a *lot*. Often this involves image processing of various types such as resizing, resampling, and various cleanup operations. However, a common issue is that people like to …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Having trouble on this program that i'm making...

    > All the exprets criticise for using conio.h. I can't speak for all experts, but I only criticize unnecessary use of `conio.h`. If it's used with purpose rather than as …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in no PASTE

    Sounds like a high traffic situation to me, either from your end or ours. Daniweb is a rather script-heavy site, which means it's more sensitive to any kind of connection …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in How to Print DataGridView data ?

    > but, THIS IS PRINTING "BITMAP" The principle is the same. You're printing an image, so the image must be drawn. The difference in your case is that you'd be …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Having trouble on this program that i'm making...

    > Furthermore it's old and unsupported, Where available it's supported, the problem is that it's not always available due to not being standard. > People stopped using it 20 years …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Interface

    > What is an interface in C#? [Click Me.](http://msdn.microsoft.com/en-us/library/87d83y5b.aspx) [And me too.](http://msdn.microsoft.com/en-us/library/ms173156.aspx) > How does IList differ from List? `List` is an implementation of `IList`. > Where do we use …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Best place to define an enum in C# ?

    For smaller projects I place enums in a project-level Enumerations.cs file. For larger projects I tend to break things down into folders where each folder holds related stuff and might …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Encryption Algorithm

    > I was actually wondering how difficult it would be to produce your own algorithm Very difficult. The big name algorithms were developed either by world renown mathematicians and/or governments, …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in "constexpr" Visual Studio 2013 update 2

    Because Microsoft couldn't reach full conformance in time and they created their own priority list of features (which includes C++14 features) based on what they believe customers want most.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in which Language to to take seriously

    It really depends on what kind of code you'll be working with. If you're only doing system level stuff, learning UI components isn't as important. If you're only doing the …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Programming Logic and Problem Solving

    > When I run into a problem that seems easy enough that I should be able to solve without much help and I have trouble solving the problem I become …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in SAVING PICTURE IN PICTURE BOX INTO SQL SERVER

    Your `PictureBox` stores an `Image` object, which is not directly compatible with a SQL Server `image` column. What you need to do is convert the `Image` object to an array …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Encryption Algorithm

    > Is it possible to create an encryption algorith using C#? Just to be clear, are you taking about implementing an existing algorithm in C# or inventing a whole new …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Designing for mobile

    > It was everyone else who started taking me seriously :) If it makes you feel better, I never take you seriously. :D
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in What salary Should I expect in new delhi

    As a fresher, take what you can get and build a portfolio of experience. The big bucks come later, regardless of what schools tell you. The days of a noob …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Three-quarters of organisations still run XP, 64% expect to be attacked

    > Apologies if that led you down the road, not intentional. Careful there Davey, we might start thinking you're a disingeunous journalist who's into fearmongering. ;) Ernieway... > According to …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in 'Timer' is an ambiguous reference between 'System.Windows.Forms.Timer'

    The WinForms timer only runs in the UI thread. If you want to run in another thread, use another timer. I'd recommend `System.Timers.Timer`.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in 'Timer' is an ambiguous reference between 'System.Windows.Forms.Timer'

    Apologies, I assumed you wanted the `System.Timers` timer. But it looks like you're trying to use the `System.Windows.Forms` timer: var MyTimer = new System.Windows.Forms.Timer(); [This](http://msdn.microsoft.com/en-us/magazine/cc164015.aspx) may be of use to …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in 'Timer' is an ambiguous reference between 'System.Windows.Forms.Timer'

    The .NET framework has three `Timer` classes. One is in `System.Windows.Forms`, one is in `System.Timers`, and one is in `System.Threading`. When you include more than one namespace with the same …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Windows Forms

    > What actual real type could I use instead of var? The type is `Form1`, since that's the name of the class, and it derives from `System.Windows.Forms.Form`: Form1 instance = …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Number of rows selected in SelectedCells collection

    `OfType` is a LINQ extension method. You'd need to add `System.Linq` to your Imports statements and make sure that the appropriate assemblies are referenced.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in C# Lists

    Note that `ToList` is a LINQ extension method, so apply references and `using`s appropriately.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Arrays

    > Can you acomplish the same thing with arrays for example an array containing both ints and strings? Yes, actually you can. The reason `ArrayList` works with multiple types is …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Beards

    > I no longer sport a beard, it put 10 years on me. I notice that with a beard I get carded less often. There's truth to facial hair adding …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Lists and Arrays

    > A list can be like List<string, int> myList; it is harder to do that with an array. That's not a legal declaration. `List<>` only supports a single generic type. …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Lists and Arrays

    > In C# what is the difference between arrays and lists? An array has a pre-defined size that cannot change. A list has a dynamic size. > Can we store …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Beards

    I have a beard, and a damn fine looking one at that. But off the top of my head, I can't think of anyone else I've worked with recently in …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Barcode Recognition (Spire.Barcode)

    Spire.Barcode appears to only have a .NET build, so yes, that's a reasonable assumption concerning mobile devices.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in DatagridViewCheckbox column

    You're going to get a cellclick event if a click is registered within the cell. That's at a higher level than focus of the internal control, so you can't avoid …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in What programming language should I learn?

    > he only reason that I find python, html, css, javascript easy is becuase I have learned them. Fair enough. To answer your question, I'd suggest [Code::Blocks](http://www.codeblocks.org/) for C++, which …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Test question confused

    > So if you dont declare protection it is default set to private? Enumerations and interfaces are `public` by default when nested in a class. Top level types default to …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in What programming language should I learn?

    > Reuben (12 years old, wanting to be a programmer when older) - please don't take my age into a beignner like you should learn python, it is a simple …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in call Forms in a DLL

    Provided the DLL references appropriate assemblies for your presentation (WinForms or WPF), displaying a form and returning the result is a no-brainer. The key will be deciding *how* you want …
  • Member Avatar for deceptikon
    deceptikon

    Created Barcode Recognition (Spire.Barcode)

    I love barcodes. In my line of work (image processing and document imaging), barcodes play an integral part in high quality automation. As such, I've developed code from the lowest …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Data Loss Upon Re-opening Program

    > As soon as i open the program back up the data disappears. That sounds like you're doing something to truncate the table(s) when the application loads. I'd start by …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Number of rows selected in SelectedCells collection

    This is untested, but off the top of my head seems reasonable: rowCount = dgv.SelectedCells.OfType(Of DataGridViewCell)().Select(Function(x) x.RowIndex).Distinct().Count() Essentially, each of the selected cells has a RowIndex property. You can use …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in RPG In a week.... simple right?

    The error says your `Button` class is missing a default constructor yet an object of that class is being created as such. Can you post the lines in particular from …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in selection sort

    Why don't you think it's correct?

The End.