Posts
 
Reputation
Joined
Last Seen
Ranked #24
Strength to Increase Rep
+16
Strength to Decrease Rep
-4
89% Quality Score
Upvotes Received
641
Posts with Upvotes
581
Upvoting Members
288
Downvotes Received
71
Posts with Downvotes
68
Downvoting Members
50
295 Commented Posts
~2.04M People Reached
About Me

Hi All,

I'm a software developer and nothing else.

Favorite Tags
java x 450
c++ x 381
php x 195
Member Avatar for Mike Askew

There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some useful links and resources. # Web Tutorials # [Home and Learn Tutorial](http://www.homeandlearn.co.uk/csharp/csharp.html) [CodeProject Tutorial P1](http://www.codeproject.com/Articles/219869/Object-Oriented-Programming-in-Csharp-NET) [CodeProject Tutorial P2](http://www.codeproject.com/Articles/222295/Object-Oriented-Programming-in-Csharp-NET-Part-2) [CodeProject Tutorial …

Member Avatar for Shahzad111
17
3K
Member Avatar for imhim45

Hello..... Where I am wrong in this program. I am getting declaration syntax error. #include<iostream.h> #include<conio.h> int factorial(int) int main() {clrscr(); int n,r,nr,fn,fr,fnr; int ncr; cout<<"/n Enter n and r = "; cin>>n>>r; fn=factorial(n); fr=factorial(r); nr=n-r; fnr=factorial(nr); ncr=fn/(fr*fnr); cout<<"/n nCr ="<<n<<" C "<<r<<" = "<<ncr<<endl; getch(); return 0; } Thanx

Member Avatar for Deathstr0k3
0
2K
Member Avatar for jyotiu

Hi ppl I am developing website for my friend's very small resort, please see [url removed] this resort have 8 rooms in total and all rooms are of same type so every room is equally priced. I just need code or logic to check availability of given [B]no. of rooms[/B] …

Member Avatar for Ahmad_74
0
2K
Member Avatar for mspriyya

data1,true,2000,422 data2,false,2001,421 data3,true,2050,427 data4,true,2004,432 the above data is in sample.txt. I want to write a program using a for loop and any filereader class or by any means, such that my output will be stored in as follows: My_Data[1]= data1,true,2000,422 My_Data[1][0]= data1 My_Data[1][1]= true My_Data[1][2]= 2000 My_Data[2]= data2,false,2001,421 My_Data[2][0]= data2 …

Member Avatar for kvprajapati
0
20
Member Avatar for devianleong

PLease help me. I'm doing a login form with ms access but this line of code having problem "Dim dr As OleDbDataReader = cmd.ExecuteReader" Below is the source code Imports System.Data.OleDb Public Class Form1 Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\leong\documents\visual studio 2010\Projects\WindowsApplication4\WindowsApplication4\coursework.mdb") Dim cmd As OleDbCommand Private Sub Button1_Click(ByVal sender …

Member Avatar for Ansh8390
0
2K
Member Avatar for trippinz

What happens is when the dialog comes up, if I press cancel it opens "c:\\text.txt" How do i make it so that if i press cancel the program reads nothing (it reads "c:\\text.txt" right now) SaveFileDialog [code] private void button38_Click(object sender, EventArgs e) { string l_text; string l_filename = "c:\\text.txt"; …

Member Avatar for JamesCherrill
0
3K
Member Avatar for Blink383

My problem is setting the size of the JButton. I want it to be a little button centered below the "Hello World" JLabel field (as it is now it spans the full width of the JFrame). I am unsure what is causing the setPreferredsize to be ignored. I am an …

Member Avatar for JamesCherrill
0
1K
Member Avatar for ayesha789

Hi, I can show data from the database using query [CODE=php] <?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . mysql_error()); } $a= $_POST["SiteId"]; mysql_select_db("abc", $con); $result = mysql_query("SELECT * FROM sitepinfo WHERE SiteId='$a'"); echo "<table cellpadding=2 cellspacing=2 width=100% > <tr> <th bgcolor=#5D9BCC>SiteID</th> <th bgcolor=#5D9BCC>Maintained By</th> </tr>"; …

Member Avatar for AhsanZaman
0
8K
Member Avatar for judithSampathwa

hi there, I have a mask text box with the mask as $9999999999.99 as money. when i type in a value as 12345.67 it appears as $_____12345.67 and when i save it to the database it is saved in the correct format as 12345.67 as money as the data type. …

Member Avatar for Renathu
0
7K
Member Avatar for Lokesh_S

Hi, I'm generating word doc on the fly by using html in asp .net with C#. And I want to add image at top but after creation of word doc I'm not able to see that image. I don't want to use Word or any third party dll. Please Help …

Member Avatar for RabidDog5150
0
821
Member Avatar for Saidar

Hey there everyone, I need to write a small program to get a certain task done, but I have zero experience in manipulating text files. Can someone please give me a start on how to write the following program: The program should take all the text files in a folder, …

Member Avatar for ALex_67
0
2K
Member Avatar for kgenn

hi! ;) I just want to asked on how I can set the image as background. I put an image on the working station but once I run it, it doesn't appear on the browser. thanks. I'm using Visual Studio 2008 ;)

Member Avatar for diafol
0
6K
Member Avatar for rick.eavans

[CODE]Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click exitwithout() Me.Close() End Sub Private Sub exitwithout() myCommand.Connection = myConnection myConnection.Open() myCommand.CommandText = "Select * from orders where o_id= " & txtb1.Text & "" dr = myCommand.ExecuteReader() Try If dr.HasRows Then deletewithout() Else Exit Sub End If Catch …

Member Avatar for chilaka2
0
2K
Member Avatar for cwarn23

I've followed a tutorial for making php extensions in C++ and although there are no compilation errors, the extension just won't communicate with php. The tutorial is at [URL="http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions"]http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions[/URL] and my code is as follows: main.cpp [code=c++]#include "stdafx.h" ZEND_FUNCTION(fetch_talkphp_links); zend_function_entry talkphp_ext_functions[] = { ZEND_FE(fetch_talkphp_links, NULL) {NULL, NULL, NULL} }; zend_module_entry …

Member Avatar for Muhammad_137
0
1K
Member Avatar for poifull

Hi, I need to draw lines on a web application using Visual Studio 2008 C#. But i could only find drawing lines on a windows application. :sad: Can i convert the codes from windows application to a web application? Below is the code for windows application. I need guidances. Thanks! …

Member Avatar for pritaeas
0
1K
Member Avatar for murid

Help me... I want to sent picture with socket programming, from client to server. client : get picture from OpenFileDialog, after get the picture , I send it to server. server : after get the picture from client, the picture is saved in a destination folder. I try my best, …

Member Avatar for Haleem_1
0
2K
Member Avatar for yawar260

Hi,my name is yawar i am a student learning c#.I have combobox,when i select an item in combobox there comes data which i want to display on labels,but my problem is there comes many data,i want to display only 3 labels when only 3 data rows comes from database and …

Member Avatar for Santhosh_3
0
265
Member Avatar for Churchillrl

Hi, I am working on a personal vb.net project that will allow me to capture a full-sized image of a given web page. I've been working on this for a few of days and have not found a method that is 100% reliable. Here's what i have tried so far... …

Member Avatar for _1_18
1
4K
Member Avatar for eURe

Hi .. I have been asked to create a new thread rather than recurrent on old post ([url]http://www.daniweb.com/forums/thread116468-2.html[/url]), hope to get some help here... :) I would like to have a "Extract" button which then open a Save As dialog to save the file from the Database into local pc, …

Member Avatar for Fernando_10
0
4K
Member Avatar for Smith5646

As I dig deeper into the capabilities of Visual Studio, I have seen that you can have multiple projects in a single solution. I must be missing something because I can't come up with a reason to ever do this? My guess is that I don't understand the benefit. So, …

Member Avatar for Bryan Anthony
1
2K
Member Avatar for edcaryl

Hi, Does anyone have some good examples of ADO.NET code that demonstrates a coded connection to SQL Server such that bound controls bind to retrieve and update data. Thanks

Member Avatar for vinod_10
0
7K
Member Avatar for fhau013
Member Avatar for ankit sriva
0
1K
Member Avatar for nosfa

I have this function to return a view Function mostrar(cor As String, alinea As Char) As ActionResult ViewBag.cor = cor ViewBag.alinea = alinea Return View() End Function this is the view @Code ViewBag.Title = "mostrar" End Code <h2>mostrar</h2> <h4>@viewbag.cor</h4> <h4>@ViewBag.alinea</h4> the function is called from code but no view is …

Member Avatar for kvprajapati
0
198
Member Avatar for Sree007

Well i want to know if there is any code for converting the date time retrived from windows system date to a unix format, :?:

Member Avatar for JonyGreen
0
1K
Member Avatar for thaha01

hi i want to show images in datagrid here i m having database.. in that i was stored image path.. so I was retrieved database path values and i want to show those images in datagrid how to do this in windows application using c#.. need ur suggestions regards thaha …

Member Avatar for davidsaini
0
704
Member Avatar for crazyhorse09

I searched, but have no clue what to do. I have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter. I saw another forums suggesting adding the PictureBox as a parent to …

Member Avatar for Yunoos Shiddique
0
14K
Member Avatar for jockfaire

Hi all, I am trying to add the text entered into a textbox in a child form as a node in a TreeView on a parent form. Any suggestions for implementing this bit of functionality? The parent or main form contains a treeview control with four nodes when loaded. This …

Member Avatar for AnandK
0
2K
Member Avatar for ganesh_bala

what is the difference in exit(0),exit(1),exit(2) ? how it differs from Return statement?

Member Avatar for chandanraj
0
664
Member Avatar for padma525
Member Avatar for sankartomogo
1
3K
Member Avatar for uri3000

Hi all, Does anybody know how can i convert from **Html to PDF in ASP.NET** ? I need a componnent which does it for *under 200$*. I've tested out a few dll's but they all seem to *cost 1000$+* !!! Thanks!

Member Avatar for jmind123
0
537