Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
35% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
9
Posts with Downvotes
7
Downvoting Members
9
6 Commented Posts
~62.6K People Reached
Favorite Tags

89 Posted Topics

Member Avatar for judithSampathwa

Are you saving it as a string or integer (/double/decimal etc.)? Try .ToString("00000000.00")

Member Avatar for Renathu
0
8K
Member Avatar for cajunsunshine

(Posted with a public account) I had the same problem. In Windows XP SP3, Control Panel > Internet Options (to open Internet Properties dialog), Connections tab, LAN settings. In "Local Area Network (LAN) Settings" dialog, section "Proxy server" had a check for "Use a proxy server for your LAN (These …

Member Avatar for Jason_19
0
10K
Member Avatar for VernonDozier

Has anyone on Yahoo tried running the "Repair database" command in the Webhosting Control Panel > Create & Update > MySQL Database area?

Member Avatar for Nishant_3
0
3K
Member Avatar for kimbula...

You are both going about it a really long way, and it will make the program slower. Add a masked textbox, and set the mask to numeric only, or just add a numeric up-down.

Member Avatar for kplcjl
0
5K
Member Avatar for emorjon2

Check out this link its a very comprehensive website on how to rollout a unix clone which includes a bunch of code : [url]http://jamesmolloy.co.uk/tutorial_html/index.html[/url]

Member Avatar for muazzamalikazmi5
0
396
Member Avatar for daviddoria

Just to clarify if you need M_PI you usually need to do the following: [code] #define _USE_MATH_DEFINES #include "math.h" [/code] in that sequence! then you get M_PI defined! An alternative would be to use the c++ version [code] #define _USE_MATH_DEFINES #include <cmath> [/code] cheerz

Member Avatar for duskoKoscica
0
2K
Member Avatar for hanchiu

I just ran into this myself and found a solution on another board. On your desktop, if you have any shortcuts to any folders on a network, on another computer, or on any other external resource, and if that external resource is not available, then, for whatever reason, when you …

Member Avatar for jpeek345
0
991
Member Avatar for happygeek

I guess both Bing and Google found the value after the looking at the site [URL="http://www.tweetaboogle.com/"]http://www.tweetaboogle.com/[/URL]

Member Avatar for isoconsultant
1
725
Member Avatar for DigitalPackrat

go to [url]https://sourceforge.net/projects/c-cpp-calender/[/url] its more than what you need

Member Avatar for bbman
0
901
Member Avatar for ultrAslan

this is more than what you need [url]http://sourceforge.net/projects/c-cpp-calender/[/url] go through the code

Member Avatar for bbman
0
177
Member Avatar for bbman

Guyz i need changes in this stored procedure "between" or anything like ven i enter a start date and end date on as 26 dec twice i get error set @Result = (select COUNT(*) from Employee_Leave where Employee_Id = @Employee_Id and Leave_Date = @start_Date AND ) and does not duplicate …

Member Avatar for BitBlt
0
206
Member Avatar for newbiecplusplus
Member Avatar for bbman

Hi, I want to display my database, however I cannot used the conventional method (like this [url]http://www.siteground.com/tutorials/php-mysql/display_table_data.htm[/url] )as the structure is unkown. The user of the system can create and delete columns. Does anyone know how I would be able to display the columns with the stored data? If this …

Member Avatar for cereal
0
94
Member Avatar for bbman

With the command"NumericUpDown Control" I would run a command based on the number selected in NumericUpDown Control example If I select the number 5 in the Control NumericUpDown instruction must be repeated 5 times/x5 PS: sorry for my English but I am Italian

Member Avatar for bbman
0
112
Member Avatar for bbman

Hey everyone, I have the following varaibles: $_POST['month'] $_POST['day'] $_POST['year'] I need them to be put into a string format such as '2012-02-15' (Year-Month-Day). Could someone please help me do this in php? I've tried a few times but can't connect them with the "-" successfully. Thanks for your help.

Member Avatar for bbman
0
173
Member Avatar for bbman

Hi all, here's a kinda bullet-pointy explanation of what i have - I have a simple JFrame - I create a JPanel called 'ContentPane' [CODE]contentPane = new JPanel(); contentPane.setBackground(SystemColor.window); contentPane.setBorder(new LineBorder(SystemColor.inactiveCaption)); contentPane.setLayout(null); setContentPane(contentPane);[/CODE] - the JFrame has a [CODE]JMenuBar -> JMenuBar -> JMenuItem[/CODE] - The JMenuItem has a MouseListener and …

Member Avatar for JamesCherrill
0
163
Member Avatar for bbman

I want to check degbugger and write a function like this code to call API debug "IsDebuggerPresent" : Code: [CODE]#include <windows.h> bool checkdbg(){ int i = 1; __asm{ call IsDebuggerPresent //gọi api debug test eax, eax jne L1 mov i,0 L1 : } if(i == 0) return false; else return …

0
64
Member Avatar for ericwalter

@Ezz.... dont start politics in a discussion forum ... You could have just said your opinion to Arrorn but giving a link which explains all insignificant things is not a proper way to react....

Member Avatar for peter_budo
0
6K
Member Avatar for bbman

[CODE]using System; public class UserMainCode { //Assume following return types while writing the code for this question. public static int[][] output1 = new int[9][]; public static void soduko() { } public static void SolveSudoku(int[,] input1) { input1=new int[9,9]; int i,j; for(i=0;i<9;i++) for(j=0;j<9;j++) output1[i,j]=input1[i,j]; soduko(); //Write code here } }[/CODE] im …

Member Avatar for Momerath
0
141
Member Avatar for bbman

hey can anyone convert this c code into c# [CODE] #include<stdio.h> //Assume following return types while writing the code for this question. int output1; void GetBuildingCount(int marineCount,int marinePositions[][2]) { int x,y,i,j,temp; for(x=0; x<marineCount; x++) { for( y=0; y<marineCount-1; y++) { if(marinePositions[y][0]>marinePositions[y+1][0]) { temp = marinePositions[y+1][0]; marinePositions[y+1][0]=marinePositions[y][0]; marinePositions[y][0] = temp; } …

Member Avatar for zmeditation1
0
102
Member Avatar for WargRider

THANKS! WargRider's solution + a restart after everything worked for me. Hopefully this issue will be solved in the next release to prevent such hackery.

Member Avatar for aupadhye
0
716
Member Avatar for Grand666

I don't think that you mean "different architectures" You can't take a 64-bit disk image and move it to a 32-bit CPU, or from x86 to ARM or anything like that! But there are some products that allow restore to hardware with different motherboards and disk controllers than the originating …

Member Avatar for Adamjjj
0
847
Member Avatar for melmakrani
Member Avatar for bbman

Help random numbers rand() returns same numbers I am trying to make a blackjack program which uses srand() with time as seed to determine random number of card between 1-10. Two problems, one is that the first three returned numbers are always similar and one digit or so more than …

Member Avatar for Narue
0
166
Member Avatar for PaliGap

Hey, I had a similar problem and ended up using req.open(HTTPMethod,url,false); and I found a fix Firefox so that it works. Instead of using onreadystatechange, use onload. [CODE] function isFirefox() { // determines weather or not if firefox is used; return (navigator.userAgent != null && navigator.userAgent.indexOf("Firefox") != -1); } function …

Member Avatar for fxm
0
1K
Member Avatar for bbman

Hi im desperately in need of some help here.. Im exporting my html page data to csv but i am unable to get the data onto a new column the code is as follows [B][COLOR="Red"]HTML FORM[/COLOR][/B] [CODE]<form id="form1" name="form1" method="post" action="index.php"> <table class="formatTblClass"> <tr> <th colspan="6"><?=$message;?></th> </tr> <tr> <td width="68"><span>First …

Member Avatar for sudeepjd
0
1K
Member Avatar for bbman

Hey guys im trying to generate all possible string for a given pattern given a length and length of blocks. For example if length=5 and the code was 2,1 then there must a block of 2 and then a block of 1 with at at least one gap between them. …

Member Avatar for gardo
0
151
Member Avatar for bbman

alright, I'm a bit stuck here, I've tried a few things but I can't figure it out. Question is in the source: [code=c++] // test.h namespace test { class foo { static void test(); }; } [/code] [code=c++] // test.cpp #include "test.h" namespace test { // how can I define …

Member Avatar for bbman
0
132
Member Avatar for darkAngel

Hey, guys, wake up it's 2010 [code=c]c >= 'A' && c <= 'Z'[/code] lol How ignorant is it to assume your alphabet consists of a-z letters only... Please use tolower/toupper or STL/boost conversion routines, thay are aware of your locale.

Member Avatar for bbman
0
899
Member Avatar for adobe71
Member Avatar for bbman

I looked all over Google, but could not find anything other than: [CODE]File.WriteAllLines();[/CODE] It does not work, it just appends it. Cheers.

Member Avatar for Lusiphur
0
129
Member Avatar for Darkicon
Member Avatar for bbman

Hey, I am creating a usercontrol, and I would like an Items property, like in ListView.Items. How would I do this? Cheers, Jacob Edit: I'm making a static menu, that won't disappear. Would it be better to just skin a listbox? There will be events for the items.

Member Avatar for Geekitygeek
0
123
Member Avatar for drake10k

If I were you, I would just screenshot the background, and then set it to the form background.

Member Avatar for farooqaaa
0
141
Member Avatar for bbman

If I do something like: [CODE] Label _label = label1; _label.Text = "123"; [/CODE] Would label1 read "123"? Does this work for int and string? If not, how would I achieve this?

Member Avatar for bbman
0
104
Member Avatar for PatrickV

Your captcha (or equivalent) link is currently broken (7/31/2010) No string is shown adjacent to the question "Are you human?" :-(

Member Avatar for Dani
1
207
Member Avatar for bbman

Hi folks, I am a beginner in Socket Programming. I am trying to do some simple stuff but had a basic query. I would like to implement something like wget in C top of a TCP socket (i.e., without using any HTTP libraries). Just provide a URL (Example-- $wget [url]www.foo.com/bar.pdf[/url]) …

Member Avatar for Jamesbch
0
103
Member Avatar for bbman

Hey, I have an API that can move windows. If I put the x co-ordinate higher that the horizontal resolution of the screen, it will move to the next monitor. I do not have multiple monitors, so I cannot test this myself. Would I use something like: [CODE] Screen[] screens …

0
67
Member Avatar for bbman

Hey, I have tried Google, but no avail. I have an XML file, say <Items> <item> <id>1</id> <name>test</name> </item> <item> <id>2</id> <name>othertest</name> </item> </Items> I have a function Add(int id, string name). How would I read through every <item>, get the id and name, and call the add function. Thanks

Member Avatar for bbman
0
83
Member Avatar for trippinz
Member Avatar for bbman
Member Avatar for Ancient Dragon
0
103
Member Avatar for bbman

Hi, folks. I'm not a C# programmer, but for now I have the task of translating a short PHP script into C#, and I'm hoping someone here will be able to help me. The goal of the script is to bundle and minify JS and CSS files on the fly. …

Member Avatar for nav33n
0
379
Member Avatar for judithSampathwa
Member Avatar for bbman
0
55
Member Avatar for bbman

Say for example I have: [CODE] List<string> itemset1 = new List<string>(); List<string> itemset2 = new List<string>(); // Linkedlist itemsetcurrent [/CODE] Which is declared outside the functions, and must be accessible from all the functions. Now, I have a code like this: [CODE] private void SetList(List<string> list) { itemsetcurrent = list …

Member Avatar for vdeych
0
180
Member Avatar for bbman

Hey, How would I go about finding the amount of values, say "DaniWeb" in a List<string>? I just need a number, not their index. Cheers

Member Avatar for bbman
0
133
Member Avatar for bbman

hi... i want to hide a column in gridview..but must be able to access the data from that column.. whenever i make the column visibility to false..i wont be able to access the data.. it works..only when the condition is true. I tried the below method also.. GridView1.Columns.Item(0).ItemStyle.Width = 0 …

Member Avatar for prashantchalise
0
2K
Member Avatar for bbman

Hey, I have the following codes: [CODE] // In Form1.h protected: ItemGroup^ History; ItemGroup^ Favourites; [/CODE] [CODE] // In Form1(void) History = (gcnew ItemGroup()); Favourites = (gcnew ItemGroup()); [/CODE] [CODE] // ItemGroup public: ItemGroup(void); int Length() { return _length; } Item^ Items(int _index) { return _items[_index]; }; void Add(String^ _text) …

Member Avatar for jonsca
0
99
Member Avatar for bbman

Hey, I apologise for the noobishness of this question, but I am unable to move the form. [CODE] if (Screen::PrimaryScreen->Bounds.Top != Screen::PrimaryScreen->WorkingArea.Top) { this->Left = Screen::PrimaryScreen->Bounds.Right - this->Width; this->Top = Screen::PrimaryScreen->WorkingArea.Top; } else if (Screen::PrimaryScreen->Bounds.Left != Screen::PrimaryScreen->WorkingArea.Left) { this->Left = Screen::PrimaryScreen->WorkingArea.Left; this->Top = Screen::PrimaryScreen->WorkingArea.Bottom - this->Height; } else { this->Left …

Member Avatar for jonsca
0
128
Member Avatar for bbman

Hey, I have an item class: [CODE] #pragma once using namespace System; using namespace System::Drawing; ref class Item { public: Item(void); int Type() { return _type; } void Type(int value) { _type = value; } String ^ Text() { return _text; } void Text(String ^ value) { _text = value; …

Member Avatar for jonsca
0
130
Member Avatar for bbman

Hey, I have the code: [CODE] Form1(void) { array<Label ^>^ labels = gcnew array<Label ^>(itemCount); InitializeComponent(); for (int i = 0; i < itemCount; i++) { labels[i] = (gcnew Label()); labels[i]->Tag = (int)i; labels[i]->Location = Point(1, (i + 1) * 50); labels[i]->Size = System::Drawing::Size(250, 50); this->Controls->Add(labels[i]); } } [/CODE] This …

Member Avatar for bbman
0
324

The End.