• Member Avatar for deceptikon
    deceptikon

    Replied To a Post in TabControl

    Over the years I've been leaning more toward \#2 because it's easier to manage. When all of the controls are directly inside your TabControl, they must have unique names regardless …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in patient c#

    The percentage is a string, which makes things a bit more difficult as you have to convert that to something you can use in a mathematical expression. Let's say `InsurancePercent` …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Datagrid / Table / Grid Confusion

    Yes, there are many grid controls, but only a couple of standard .NET ones. The standard controls also vary in name and features depending on whether you're using something like …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in C# Beginner Needs Help

    > i do always study but always forget..i feel sumties like stupid !! You remember what you use often, and references are there for what you don't use often. Don't …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Input string was not in a correct format - autonumber

    If it's going back to the start of the sequence, either you're not querying the newest ID or you're overriding what the database returns. It's hard to say without seeing …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in getline until char then print

    > You can set the delimiter for getline(). Indeed, but only one delimiter. If the line doesn't end with `'.'`, input will span multiple lines. A full solution would use …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in When does it become more efficient to pass by reference?

    > So pass by reference basically boxes, or stores a pointer to the data type provided in the heap. No. Passing by reference doesn't box a value type. Let's also …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Datagrid / Table / Grid Confusion

    A `DataTable` is the back end container for data, it corresponds roughly to a database table. A `DataGrid` or `DataGridView` is a UI control for displaying tabular data. It may …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Notepad using a Two-Dimensional Doubly Linkedlist

    > Can Any body do it???? Yes. But nobody will do it for you. Please read our rules.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Suggest me website which offer me best deals for my Goa tour

    This smells like spam bait, but we'll see. ;)
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Input string was not in a correct format - autonumber

    I don't understand the question. What are you trying to do now?
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in When does it become more efficient to pass by reference?

    > My C/C++ classes swore by passing by reference as a good coding practice, and I have passed even primitive values by reference for a while now. Even in C++ …
  • Member Avatar for deceptikon
    deceptikon

    Edited Suggest me website which offer me best deals for my Goa tour

    Hey friends I am planning to celebrate my new year in Goa and I am just wondering could you guys please help me to get best deals for Goa tour …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in What's the story behind your username?

    > <M/> - It is just the first letter of my first name within tags... Is it meta? Does it mean you have no value? ;) Oh the fun of …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in std:: vs using namespace stf;

    The downside is that `using namespace` will make the entire namespace visible, even if you don't want all of the names to be visible. There's risk of naming clashes. Prefixing …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in hw in c++ ..plz write the program for me

    Hey, I have an idea! How about you do your own homework instead of asking other people to help you cheat?
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Compering values in acess2007 with Values entered in Vb 2010

    I'd recommend against using ADODB. ADO.NET ([the OleDb variants](http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbconnection(v=vs.110).aspx), specifically) should be your go-to for database connections in .NET and is the replacement for ADODB. Following the previous link you'll …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in code help,how to sort char array

    Post your code and the examples that aren't working the way you think they should.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in code help,how to sort char array

    Start by making sure that your driver is working the way you want using a standard sorting library. Here's one that uses `qsort` in C-style since you're into C-style strings: …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in produit de deux matrices

    Please post your question in English.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Compering values in acess2007 with Values entered in Vb 2010

    Using ADO.NET to connect with an Access database is straightforward. Can you post your most recent code that doesn't work? Start by doing just the bare minimum in a console …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in stegenography project related problems

    Break your program down into pieces. First I'd write a test console program that implements an LSB method for monkeying with bytes and ensure that it works the way I …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in how to get this template (attached in the post ) in vb.net

    Without a third party control, you'd need to make it yourself using expandable panels (think hiding the panel with the click of a button) and a `FlowLayoutPanel`. [Example 1](http://www.codeproject.com/Articles/53318/C-Custom-Control-Featuring-a-Collapsible-Panel) [Example …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Don't drink and drive

    If that prank were real, and I strongly doubt it was, asking about his daughter as a first priority was totally evidence of good character.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Don't drink and drive

    > but seriosly, the drinking age should be increased... (my opinion) Age doesn't equate to maturity, unfortunately.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in storing file text into array

    What content? You always free `buffer` (also note that it's a local pointer and not accessible outside of the function) and never populate `text`. The function certainly reads a file, …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in How does one write the following statement correctly?

    I apologize on behalf of everyone for worrying that you might make a dangerous legal decision. :rolleyes:
  • Member Avatar for deceptikon
    deceptikon

    Gave Reputation to irum.nageen.3 in Simple Timer Class - C++

    check this one: //Creating Digital Watch in C++ #include<iostream> #include<Windows.h> using namespace std; struct time{ int hr,min,sec; }; int main() { time a; a.hr = 0; a.min = 0; a.sec …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in how to get this template (attached in the post ) in vb.net

    Are you doing this in Windows Forms or WPF?
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Add Reference in Class Library (for external use)

    In Ketsu's example, Library 3 only needs to reference Library 2 and *not* Library 1. Library 2 references Library 1. You have to reference what you use by name. If …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Please answer .net interview Questions

    What goober wrote those questions? Question 95 is especially entertaining given the acronym vomit of its multiple choice answers, but most of the questions are amusing.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Write a simple text editor using c++

    Wow. Just...wow.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in How does one write the following statement correctly?

    > I just know that my client has a 12-man strong in-house legal team; so I'm sure they'll figure out the rest and make it happen. 12 lawyers weren't able …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in How does one write the following statement correctly?

    I'd start with something like "Applicants must be of legal age in their country of citizenship". But this is definitely something that should be written with the consultation of a …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in The best way to normalize data from two tables

    Consider a linking table. Remove tecnico from agendamento_diario then add a new table for linking the two together: agenda_link: agenda_id, tecnico_id
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in The best way to normalize data from two tables

    When you're storing a list of entities in a column, that suggests you have shared data which can be normalized. Let's take your names example and make up something to …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in runtime error SIGSEGV for lowest sum

    What does your data represent?
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in join record breakers

    > if u dont have an answer to my post>>>>>>>>>>>>>>>>>>>>just SHUT up . Last I checked, this was a public forum. AD makes a good point. Your writing style makes …
  • Member Avatar for deceptikon
    deceptikon

    Gave Reputation to osagie.odigie.77 in join record breakers

    sometimes as a c++ coder wen am given jobs by my boss to do in java/visual basic, i'd got an application that helps me do the translation to d desired …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in runtime error SIGSEGV for lowest sum

    > res would have 20,000\*20,000 elements & space needed=400000000 \* sizeof(long long) Assuming the minimum size of `long long`, you're trying to allocate about 3GB of consecutive memory at one …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Input string was not in a correct format - autonumber

    You're not assigning the text with correct formatting. Try this instead: textBox1.Text = string.Format("{0}-{1:00000000}", pcount.Substring(0, 4), pcountAdd);
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Urgent: DBNull error - 'System.InvalidCastException'

    The error seems straightforward to me. `String` and `DBNull` are incompatible types, so you need to handle them separately: If dataview(0)("name") = DBNull.Value Then ' Handle a null name Else …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in Mark All Threads Read

    You can also simply click on the NEW icon next to the forum name (on the home page) to mark it as read.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in swap using for loop in c

    Until you really know what you're doing, it's a good idea to compile code you want to show off before posting it.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in getting errors in c programs

    Stack overflow is when you put too much stuff on the stack. It's usually triggered by excessive recursion. Access violation to 0x0 is when you try to write to a …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in c programming questions

    I didn't make any claims, so there's nothing to prove.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in runtime error SIGSEGV for lowest sum

    Are you using a debugger? Please post a sample of the input that consistently fails.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in After making a program, how can I....

    To clarify, is this VB.NET? Because there's quite a difference between that and VB 4/5/6.
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in runtime error SIGSEGV for lowest sum

    A segmentation fault means you accessed memory you don't own. The two most common causes are a pointer that's not properly initialized an an index outside the bounds of an …
  • Member Avatar for deceptikon
    deceptikon

    Replied To a Post in C prog I am having problems trying to display my file correctly

    > I NEED HELP PLEAS http://www.catb.org/~esr/faqs/smart-questions.html

The End.