Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
83% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
0 Endorsements
Ranked #630
~25.8K People Reached
About Me

Software Developer

Interests
Travelling, Photography
Favorite Tags
Member Avatar for metalla_nz

Well in any database driven application, i think any changes to the database will cause a lot of trouble in the working of the application. Esp if you are playing around with columns of tables. While adding/removing columns, you will have to make appropriate changes in the queries/stored procedures as …

Member Avatar for Garr
0
311
Member Avatar for jatin24

Hi, Im trying to include the feature of automatically generating a word document through C# using a pre-defined template. Im able to insert 'mailmerge' fields in the word template documents at specific locations, and accessing these through the code in C#. I can update the values of these fields, no …

Member Avatar for vnikitha
1
3K
Member Avatar for jatin24

I'm facing this strange problem while working with DataGridView. In my application that i'm building, there is a form with some tabs, and im using the dataGridView Controls in some of the tabs. These dataGridView controls have already been configured, with a number of columns already added, and has been …

Member Avatar for sebbu
0
2K
Member Avatar for itslucky

Try this: [CODE] crystalReportViewer1.LogOnInfo[0].ConnectionInfo.IntegratedSecurity = true; [/CODE] Insert this line after you've set the ReportSource property.

Member Avatar for S.L.KEER
0
2K
Member Avatar for pratikasthana17

Find out more about the gateway you are registered with. I've done something similar using the Clickatell Gateway. Any of the popular gateway would have a 'Developers' section on their website where you can find information about different types of technologies/ways you can use for using their gateway and create …

Member Avatar for szurcsii
0
465
Member Avatar for jatin24

I'm trying to find a way where the database name and the server name can be dynamic. I'm developing an application which uses C# and crystal reports. Both application and the reports use the same database which is setup on a separate database server. This application now needs to be …

Member Avatar for johnsonjeven
0
3K
Member Avatar for penguin22

Try the following: [code] Application objOutlook = new ApplicationClass(); NameSpace objNS = objOutlook.GetNamespace("MAPI"); MailItem objmail = (MailItem)objOutlook.CreateItem(OlItemType.olMailItem); objmail.To = "sample.email@domain.com; objmail.BCC = "bcc@domain.com"; objmail.CC = "cc@domain.com"; objmail.Subject = "Subject of the email goes here"; objmail.Body = "Body of the email goes here..."; [/code] You dont have to use all the …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for jatin24

So i have this SharePoint 2010 Publishing site collection and i can create subsites under it simply by going to Site Actions > Create New Sites. There's a button that says 'More Options' which gives me more options for the new subsite. I get extra options like 'Permissions' and 'Navigation …

0
113
Member Avatar for igalbk
Member Avatar for jatin24

Im trying to customize the Contact Card that appears on the Office Communicator 2007. The default information about the pesron that appears on the Contact Card is not enough and would like to include some more information. I've downloaded the API and also looked into adding custom tabs using an …

0
111
Member Avatar for evanguiton

DELETE from [Staff] However id recommend using stored procedures. Much faster, safer and efficient!

Member Avatar for jatin24
0
583
Member Avatar for MxDev

I had to do something similar about a week ago and did something very similar what Diamonddrake suggested. However this method looses all the formatting of the text that was on the doc file. Is there any way you can preserve that formatting when its copied to the RichTextBox? If …

Member Avatar for avirag
0
3K
Member Avatar for terdie

Hi, Well the database is updated instantly as soon as something is added/modified. I dont think there is any need to refresh it from the application end. However if you are using the 'Server Explorer' from Visual Studio, or SQL Management Tools, then u will need to refresh manually to …

Member Avatar for mangesh_dhole12
0
989
Member Avatar for Anupama G

Did you mean DataGridView in C# windows based applications or GridView in ASP.NET ?

Member Avatar for Anupama G
0
268
Member Avatar for mackemforever

You cannot edit this application coz the files you have are the binary files and not the source code. You need to get the Source Code first. If you think the source code is in VB or C#, you need to install Visual Studio, Visual Studio Express. I think you …

Member Avatar for Diamonddrake
0
160
Member Avatar for brightstar2016

Start with looking at Socket Programming. [URL="http://www.devarticles.com/c/a/C-Sharp/Network-Programming-in-C-sharp/"]http://www.devarticles.com/c/a/C-Sharp/Network-Programming-in-C-sharp/[/URL] [URL="http://www.csharphelp.com/archives/archive127.html"]http://www.csharphelp.com/archives/archive127.html[/URL] Try out some examples. The 2nd link has some code example. See how you go, if you're stuck then post questions here.

Member Avatar for brightstar2016
0
95
Member Avatar for Mongz

Are you sure that the Username in Login1.Username is a string? convert it to string just to be safe.

Member Avatar for sknake
0
64
Member Avatar for jatin24

Hi, Im trying to transfer some text from the richTextBox into an existing MS word template at a specific location. I am able to transfer text to any location i like, but i want to retain the formatting of the text from the richTextBox. Im trying to copy the text …

Member Avatar for jatin24
0
2K
Member Avatar for designervc
Member Avatar for papanyquiL
Member Avatar for papanyquiL
0
112
Member Avatar for anetbegin

I've done something like that in an application i built sometime ago. firstly, you dont need two seperate tables. Just have one table with the zip code, city, state etc and everything you need. You can create a button next to the text box and on the click event, just …

Member Avatar for anetbegin
0
108
Member Avatar for tiwas

You can probably use something like an ArrayList and keep storing each and every path traversed there. So if you wanna go back, the last path stored will be the last visited and so on. To check if you are at the root, you can check the number of "\" …

Member Avatar for tiwas
0
107
Member Avatar for =OTS=G-Man

Use: [code] description = description.Substring(0, 14); [/code] or.. under the console.WriteLine(), display description.SubString(0,14) instead of just description. :)

Member Avatar for sknake
1
184
Member Avatar for kahaj

[QUOTE=kahaj;988519]I'll post my code after my questions. 1. Near the very end, I have DisplayIntroMessage() called for the event that the user desires another order. Is this all that I need to do to restart the process? [/QUOTE] Yes that should restart the process. [QUOTE=kahaj;988519] 2. If that is all …

Member Avatar for jatin24
0
110
Member Avatar for EvilLinux

simply use the 'Value Changed' event of the DateTimePicker control. [code] if (dateTimePicker1.Value > DateTime.Now.AddYears(5)) MessageBox.Show("Date should be within the next 5 years"); [/code]

Member Avatar for EvilLinux
0
239
Member Avatar for guptaalok12
Member Avatar for jismtu

You will need to use a ConnectionString and SqlCommand. Create a new connection string in the project properties, under Settings. Give it a name, type = string and Value something like this: server=YourServerName;database=DatabaseName; Integrated Security=SSPI; or server=YourServerName;database=DatabaseName; Username=username; Password=password; Once you have the connection string, include it in the class …

Member Avatar for jatin24
0
125
Member Avatar for SAINTJAB

Try this: [code] Microsoft.Office.Interop.Excel.Application exc = new Microsoft.Office.Interop.Excel.Application(); exc.Visible = true; _Workbook workbook; _Worksheet worksheet; Workbooks workbooks = exc.Workbooks; workbook = workbooks.Add(true); Sheets sheets = workbook.Worksheets; worksheet = (_Worksheet)sheets.get_Item(1); // start inserting your values here. Range range1 = worksheet.get_Range("A1", "A1"); string[] array1 = new string[1]; array1[0] = "Some text"; Object[] …

Member Avatar for jatin24
0
382
Member Avatar for pilipino93

Not sure how you could do that using the browsers you have installed (firefox/IE) but an alternative could be to use the 'WebBrowser' control in C#. Just make a form, and drag the WebBrowser control. Set the Dock property to Fill, and u can change the URL of this control …

Member Avatar for pilipino93
0
92
Member Avatar for darkocean

Well if you are opening form2 from form1, then it can be done quite easily. Simply create a public class level variable in form2: public string myStr; In form1, use this to open up form2: form1 f = new form1(); f.myStr = textbox1.text; f.show(); could'nt really understand the 2nd half …

Member Avatar for darkocean
0
119