Posts
 
Reputation
Joined
Last Seen
Ranked #221
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
94% Quality Score
Upvotes Received
26
Posts with Upvotes
22
Upvoting Members
17
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
21 Commented Posts
~146.65K People Reached
Favorite Tags
Member Avatar for TheRoyalFalcon

You should forget about converting C++ to VB.NET and look for something originally in .NET. It's a lot easier to use the excel library or ADO.NET than to hack the file format as a binary stream. ;) There are a lot of threads on reading and writing excel on the …

Member Avatar for liangting03
0
1K
Member Avatar for mc8888

[QUOTE]i also knw..but i wan to c the full program ma...[/QUOTE] I think Ancient Dragon was trying to say that he won't do everything for you because it's your homework and not his. If you do some of it yourself then I think the guys here will be more willing …

Member Avatar for Zain_12
0
6K
Member Avatar for playagain

For a queue just think of stuff where something goes in one end and out the other in order. For a stack just think of stuff where something goes in one end and out the same end in order.

Member Avatar for priya..
-2
12K
Member Avatar for Sambot

[url]http://en.wikipedia.org/wiki/Vehicle_identification_number[/url] There are tons of links on google about how to decode the number. You can pick one of them and turn it into code. :)

Member Avatar for Beatrice_1
0
134
Member Avatar for bajanpoet
Member Avatar for shorty001

[QUOTE]I need a guide to make a real exe file.[/QUOTE] Type all of your code into the visual C++ editor and then press ctrl+shift+b. That builds your project and creates an exe file in the Debug or Release folders of the project folder. You can also do it the clicky …

Member Avatar for ps- india
-1
2K
Member Avatar for kobi

Does [url=http://msdn2.microsoft.com/en-us/library/70w4awc4.aspx]this[/url] answer your question?

Member Avatar for JirkaJirka
0
209
Member Avatar for 1qaz2wsx7

[QUOTE]3) I want that the Minimize button of the ControlBox in a form will do more things besides Minimizing the specific form, how can i change what this button does ?[/QUOTE] You can't change that behavior. You have to remove it completely by setting the FormBorderStyle to None and make …

Member Avatar for JerryShaw
0
2K
Member Avatar for blondie.simon

Did you set the version number by going to Project/Properties/Assembly Information and typing it into the dialog? That's where My.Application.Info.Version gets it from.

Member Avatar for Djoulz
0
8K
Member Avatar for SurviBee

All numbers are stored in binary. Do you mean generate a random number and then save the binary conversion as a string?

Member Avatar for samtronxindia
0
562
Member Avatar for Mr Gates

... Was that reply really so necessary that you had to post in a thread that's been inactive for almost four years? :confused:

Member Avatar for brainysmurf0316
1
666
Member Avatar for asilter

The fastest way is to shift the pointer. If your array is a pointer made by malloc it's really easy. [code=c] p += 1000; [/code] Be sure to shift it back before you free the memory though, or you'll get an exception. ;) If your array is a real array …

Member Avatar for IcantC
1
176
Member Avatar for Sukhbir

You [I]can[/I], but it might not turn out well. I don't think malloc/realloc/free are supposed to be mixed with new/delete. If you want to realloc some memory allocated with new, you should do some kind of allocate-copy-free pattern. [code=cplusplus] template <typename T> T *MyRealloc( T*& src, int oldSize, int newSize …

Member Avatar for abhityagi85
0
2K
Member Avatar for mimsc

I don't think you're in the right forum. It looks like you want [url=http://www.daniweb.com/forums/forum24.html]this one[/url]. And when you need help it's best to be specific about what problem you're having. Just asking for suggestions and pasting reams of code won't get you much. I'd probably be able to help you, …

Member Avatar for masijade
0
2K
Member Avatar for JaksLax

C++ is case sensitive. Change it to list instead of List and if you don't do [INLINECODE]using namespace std;[/INLINECODE] you have to prefix the name with std. [code=cplusplus] #include<list> class MergeSort{ public: MergeSort(); bool sortedIsEmpty(); int sortedGetLenght(); bool sortedInsert(int); bool sortedRemove(int); int sortedRetrieve(int); int locatePosition(bool); private: std::list<int> intergerList1; }; [/code]

Member Avatar for nikash
0
3K
Member Avatar for n.aggel

What do you mean by making the data structure heavier? You have to free the memory and to free the memory you have to visit every node. The only heavy thing about the clean function is that it uses recursion. That's a pre-order tree walk so you can make it …

Member Avatar for ani malviya
0
216
Member Avatar for emran834

I have a few questions? [LIST=1] [*]What version of Access? [*]Are you using OLEDB or ODBC? [*]Can you post your connection string? [/LIST] The connection string should look like this for Access 2007 with a password. [code] Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\mydb.accdb;Jet OLEDB:Database Password=password; [/code] Standard security with ODBC should look like this …

Member Avatar for propatrio
0
2K
Member Avatar for Shannanigin

Send the text of those two text boxes as arguments to a stored procedure. The stored procedure should check if the username exists and the password matches. Something like this I guess. [code] create procedure ValidateUserLogin @UserName varchar(30) , @Password varchar(30) as begin if exists (select * from UsersTable as …

Member Avatar for khusiaaaan
0
770
Member Avatar for BalagurunathanS

A typed dataset is a custom class generated for your project by Visual Studio that makes common jobs easier. It adds things like named properties that match column and row data in the tables. It's generated code and not a part of .NET, so you can't use typed datasets without …

Member Avatar for vinod991
0
165
Member Avatar for sgriffiths

Go over the string and count spaces. The number of words is one more than the number of spaces in the string if the string isn't empty. [code=cplusplus] #include <stdio.h> #include <ctype.h> int main( void ) { char string[100]; int i; int count = 0; printf( "Enter a sentence> " …

Member Avatar for jephthah
0
268
Member Avatar for 1qaz2wsx7

If by mail box you mean an email application like outlook, you can use the Process class from System.Diagnostics. [code=C#] System.Diagnostics.Process.Start( "outlook.exe" ); [/code]

Member Avatar for Seema
0
2K
Member Avatar for radskate360

You don't even need to read lines. Just read characters and test them because all you're doing is dropping letters into categories. [code=cplusplus] #include <cctype> #include <fstream> #include <iostream> #include <map> #include <string> using namespace std; enum {CONSONANT, VOWEL}; bool isvowel( char ch ) { static string vowels( "aeiou" ); …

Member Avatar for phanirampally
0
162
Member Avatar for Hamrick

A simple solution that prints the first n values in the fibonacci series up to the limit of an unsigned long. The program takes either command line arguments or interactive input for n and has code in place to make the program more flexible, like printing to a file.

0
155
Member Avatar for DeathEvil

Try dividing by 10 until the number as an int equals 0. [code=c] float temp = net_pay[i]; while ( (int)temp > 0 ) { temp /= 10; } printf( "Before the radix -- %f\n", (float)(int)net_pay[i] ); printf( "After the radix -- %f\n", temp ); [/code]

Member Avatar for 42Wired
0
187
Member Avatar for zmariow

I don't think you can get templates like that. You'd still have to know how they work to make the controls function, and that's the biggest part of writing an UI. But tools like visual studio make designing the UI really easy...

Member Avatar for sknake
0
678
Member Avatar for Dave Sinkula

[QUOTE]Do you ever hear about people dying due to overexposure of campfire smoke?[/QUOTE] I don't think people camp enough to die of campfire smoke like they do of cigarette smoke. ;)

Member Avatar for jbennet
0
4K
Member Avatar for asilter

You need to include stdlib.h. The error cryptically tells you that malloc wasn't declared and the compiler just assumes it's a function that returns int and casting from int to char* isn't friendly.

Member Avatar for SphinCorp
0
297
Member Avatar for apchidara

Here's a function for loading an excel spreadsheet using ADO.NET. It's in C#, but you should know how to convert between the two languages. :) [code=csharp] using System; using System.Data; using System.Diagnostics; using System.ComponentModel; using System.Collections.Generic; using System.Data.OleDb; public class ExcelSpreadsheet { private List<string> _worksheets = new List<string>(); [Description( "Gets …

Member Avatar for rmjagnaan
0
938
Member Avatar for bkastel1

I think I'd make a custom control that copies a listview except instead of text items it contains user controls with all of the stuff you want in them. You probably want more than just a progress bar and doing it with user controls means you can do more and …

Member Avatar for CraigSchaefer
0
2K
Member Avatar for piote

1) Yeah, you can tell the BinaryReader what encoding to use with the System.Text.Encoding class. [code=csharp] BinaryReader reader = new BinaryReader( stream, Encoding.BigEndianUnicode ); [/code] 2) No, but you can use the System.BitConverter class to turn an array of bytes into whatever type it supports. And it supports both single …

Member Avatar for sidharthrshah
0
169