2,245 Posted Topics

Member Avatar for Diamonddrake

Subversion + Trac + Tortoise SVN. I personally do not like source control integrated with Visual Studio because when the IDE eats a project I don't want it committing changes and locking files in the repository without my knowledge. To me source control and the IDE should be autonomous. The …

Member Avatar for Diamonddrake
0
96
Member Avatar for clueless123

Good morning from Atlanta Danny and Ramy :) [code=c#] using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Windows.Forms; namespace daniweb { public partial class frmSort : Form { internal class MyWord : IComparable { public string Word { get; set; } public int Rank { get; set; } public MyWord() { …

Member Avatar for serkan sendur
0
92
Member Avatar for progtick

Sounds to me like you have a circular reference issue. With libraries you cannot link them to eachother, ie: You can call the open source proj from your proj or You can call your proj from the open source proj You cannot call both ways though -- because that creates …

Member Avatar for sknake
0
107
Member Avatar for shobhitzone

[QUOTE=shobhitzone;924064]Hi all, how to make mailserver in c#[/QUOTE] Please start new threads when your question has changed and ask specific questions. If you're asking how to make a mailserver I will go out on a limb and say that you are probably not prepared to develop one. Its not something …

Member Avatar for sknake
0
94
Member Avatar for sambafriends

[QUOTE=serkan sendur;923807]> what would you lose if you instead of int a = b + c use int a = Math.Add(b,c) ?[/QUOTE] In addition to what danny said calling [icode]Math.Add()[/icode] pushes another call on the stack where as [icode]a=b+c[/icode] does not

Member Avatar for Ramy Mahrous
0
177
Member Avatar for kormie

Not that I am aware of and this sounds like a bad idea. Can't you just fix the warnings? You can also "SET NOCOUNT OFF" to hide the rowcounts .. but that is as much as I know about supressing server information. You can hide some errors on a case …

Member Avatar for sknake
0
113
Member Avatar for agent154

You want it to run on any machine with any path but don't want to fully qualify it? What is the problem with choosing a path at runtime? You have to tell the database driver where to look for the file and typically if you do not use a fully …

Member Avatar for sknake
0
110
Member Avatar for Antonescu Andre

You can also take a look at [url=http://en.wikipedia.org/wiki/UPX]UPX[/url]. I UPX pack .map files in to my finished executables so I can get detailed stack traces on my delphi apps without having the compiler's map file sitting in the same directory. You can extract packed resources but it takes a little …

Member Avatar for sknake
0
193
Member Avatar for dquiles

You should build that query in code for a few reasons -- 1) It is impossible for the sql server to cache an execution plan for a query using exec() 2) it is impossible to debug. It is hard to tell you why that query isn't returning any results without …

Member Avatar for dquiles
0
197
Member Avatar for ViLeNT

I actually made a little script once that takes an md5 checksum of most $PATH directories and uploads them to a remote server for intrustion detection. It was more academic than useful but you want the same concept: install.sh [code=bash] #!/bin/bash if ( ! [ "$1" = "-f" ] ); …

Member Avatar for ViLeNT
0
204
Member Avatar for serkan sendur

[QUOTE=serkan sendur;921280]how to reorder columns in listview? Thanks[/QUOTE] scissors+glue

Member Avatar for serkan sendur
0
738
Member Avatar for Donish

You can use a variety of online merchants for credit card processing. If this website is an extension to an existing company you should contact your bank and find the merchant they use. Paypal is one option but you also have YourPay which was bought out by firstdata: [url]http://www.firstdata.com/yourpay/[/url], and …

Member Avatar for dnanetwork
0
1K
Member Avatar for majc

"controls" should be "Controls". C# is a case sensitive language. This compiles: [code=c#] private string[] getSelectedEvents() { return null; } private string[] getSelectedControls() { return null; } private List<EventInfo> ctrlEvents = default(List<EventInfo>); private void button2_Click(object sender, EventArgs e) { string[] eventsName = getSelectedEvents(); string[] controlName = getSelectedControls(); for (int i …

Member Avatar for sknake
0
376
Member Avatar for ecedano

When you compile the assembly it merges the designer and resource files as a single definition of the class. They are separated in Visual Studio for readability. As far as I know you will have to go about this manually

Member Avatar for ecedano
0
132
Member Avatar for BOI-Guy
Member Avatar for sionnyn

You could watch the access logs on the webserver (access_log for apache) and find the source IP address of users. It isn't a hard task. I don't understand what you are trying to accomplish by finding this information out?

Member Avatar for jbennet
0
377
Member Avatar for polybillons

In line with what bobchrist said -- are you talking about asset tags to track physical inventory?

Member Avatar for sknake
0
32
Member Avatar for revski

Use the SaveDialog and OpenDialog. That uses the Win32 API to open up the default browsers. [code=delphi] procedure TDatabaseBackupFm.ButtonSaveFileClick(Sender: TObject); begin if SaveDialog1.Execute then Memo1.Lines.SaveToFile(SaveDialog1.FileName); [/code] The SaveDialog should be in your toolbox.

Member Avatar for FlamingClaw
0
134
Member Avatar for nccsbim071

[QUOTE] I have anathor class file named "Class1.cs" which is outside the Codes folder. The source of the class is as follows: [/QUOTE] You probably need to add a "using appName.Codes;" if you have folders with codes in it. It is likely the code is in another namespace

Member Avatar for nccsbim071
0
247
Member Avatar for Dajer

What are your disk space requirements on the clients PC? I deploy a number of applications with SQLExpress as Ramy mentioned and have not had an issue with users running it. If your download SQL 2005 Express here are some setup parameters to get you started: [code] setup.exe /qb ADDLOCAL=SQL_Engine,SQL_Data_Files,SQL_Replication,Client_Components,Connectivity,SQL_SSMSEE …

Member Avatar for sknake
0
122
Member Avatar for mansi sharma

I'm with Ramy on this one ... I don't understand what your issue is exactly but here is a cleaned up version of the code that does the same thing: [code=c#] private void button2_Click(object sender, EventArgs e) { string a = "11-22-33-44-55"; string[] sArray = a.Split(new char[] { '-' }); …

Member Avatar for sknake
0
137
Member Avatar for pfdesign

You can create a page called ".ViewBlog.aspx" and link to it with "ViewBlog.aspx?blogId=123" then parse the Request.QueryString[] to get the blog ID, fetch the blog contents from the database, and post them. These URLs are not very attractive for SERPs so you may want to take a look at "URL …

Member Avatar for sknake
0
99
Member Avatar for josi.martarelli

You can't get the value of an identity column before an insert reliably... so this sounds like a design issue. It is possible that someone can insert a record before between you getting the ident current and your insert thus it would be wrong. What are you really trying to …

Member Avatar for sknake
0
194
Member Avatar for adnane

You do not have to host the DNS in order to host a website. You're probably better off by letting your registrar or ISP host the DNS unless this is something you really want to do. If you do want to host DNS then you need to install BIND on …

Member Avatar for adnane
0
144
Member Avatar for luismidife

A port is independant of an IP address. From the sounds of it you probably have a dynamic IP and should look in to DynDYS. They have a little application you can run to get your own hostname on a dynamic IP: [url]http://www.dyndns.com/[/url]

Member Avatar for sknake
0
165
Member Avatar for agent154

You know i've been wondering that for a while I just never looked it up, but here it is: It is an error to use both new and override on the same member because the two modifiers have mutually exclusive meanings. The new modifier creates a new member with the …

Member Avatar for agent154
0
359
Member Avatar for kspriya01
Member Avatar for wingers1290
Member Avatar for Antenka
0
401
Member Avatar for vishalonne

What do you want to use? [code=c#] private void button1_Click(object sender, EventArgs e) { string find = "blu"; if (0 <= richTextBox1.Text.IndexOf(find, StringComparison.InvariantCultureIgnoreCase)) { System.Diagnostics.Debugger.Break(); //found } else { // not found } } [/code]

Member Avatar for Ramy Mahrous
0
236
Member Avatar for phuynh77

You can add paging to a repeater or gridview: [url]http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx[/url] [url]http://aspalliance.com/157[/url] [url]http://aspnet.4guysfromrolla.com/articles/081804-1.aspx[/url] [url]http://www.developer.com/net/asp/article.php/3646011[/url]

Member Avatar for dnanetwork
0
147
Member Avatar for barryt

208.144.232.144 is not a microsoft IP ... it looks like you may have DNS issues. Try to browse to these IP addresses: [url]http://207.46.19.190[/url] [url]http://207.46.19.254[/url] [code=bash] sk@sk:~$ host www.microsoft.com www.microsoft.com is an alias for toggle.www.ms.akadns.net. toggle.www.ms.akadns.net is an alias for g.www.ms.akadns.net. g.www.ms.akadns.net is an alias for lb1.www.ms.akadns.net. lb1.www.ms.akadns.net has address 207.46.19.254 …

Member Avatar for barryt
0
614
Member Avatar for arunkumars

I think the USB port can use the serial port to communicate... i'm actually working on a project today that is using a USB connection but I haven't gotten around to looking at the comms yet but the vendor's sample code uses the serialport. Look at the [icode]System.IO.Ports[/icode] namespace for …

Member Avatar for sknake
0
120
Member Avatar for donny_boyIT

Yes ... 256mb of RAM is low by todays standards. It was above the minimum system requirements for XP but that was 3 service packs and before .NET was heavily used. You need more ram.

Member Avatar for Tom Gunn
0
62
Member Avatar for dnanetwork

No, you can do it all in managed code. Sandbox/Live transaction URL: [code=c#] private string PostingURL { get { if (_testMode) return @"https://test.authorize.net/gateway/transact.dll"; else return @"https://secure.authorize.net/gateway/transact.dll"; } } [/code] To post: [code=c#] public void Post() { string postURL = this.PostingURL; string args = GetPostUrlArgs(); string result = string.Empty; HttpWebRequest objRequest …

Member Avatar for sknake
0
162
Member Avatar for thr

C#. [url]http://en.wikipedia.org/wiki/Comparison_of_Java_and_C_Sharp[/url] Make the decision yourself. There is plenty of literature available at your local bookstore or online

Member Avatar for Ramy Mahrous
0
237
Member Avatar for chathuD
Member Avatar for chathuD
0
413
Member Avatar for notagain124

That depends on your router and network setup. Some routers now filter traffic based on the logged in user id in Active Directory, but this is not too common. This is a hard question to answer without knowing your network setup.

Member Avatar for sknake
0
53
Member Avatar for thewiredman

Please post the real DNS host entries so we can help. When I research DNS I start by looking at the glue records which I cannot do without the domain name and the intended IP you want.

Member Avatar for sknake
0
228
Member Avatar for michael123

cgyrob's response was what you asked for. What is your real goal here? Or are we not understanding your problem correctly?

Member Avatar for cgyrob
0
129
Member Avatar for friiday

[code=dos] C:\Documents and Settings\scott.SCOTTIE>S: S:\>cd DotNet\Vea\Vea\bin\Debug S:\DotNet\Vea\Vea\bin\Debug>echo "Vea.exe" >> vea.bat S:\DotNet\Vea\Vea\bin\Debug>vea.bat S:\DotNet\Vea\Vea\bin\Debug>"Vea.exe" [/code] ta da. A batch file is just like typing on the command prompt so just put C:\Path\to\executable.exe in the file

Member Avatar for sknake
0
111
Member Avatar for kronos2

[code=dos] C:\PROGRA~1\Microsoft Analysis Services>set PROMPT=C:\$G C:\> [/code]

Member Avatar for sknake
0
85
Member Avatar for anuj_sharma

It sounds to me like you installed SQL Server Express without the front-end tools. Can you tell me the switches you used to install SQL Server? You are looking for "SQL Server Management Studio" to write queries and browse the database

Member Avatar for johnly
0
121
Member Avatar for sonia sardana

That validation happens server side so you can enter any data you want but on the postback it will fire off and invalidate the data. Is that what you were asking? You should be able to use [icode]"^[a-zA-Z\s]*$"[/icode] to match only characters and white space

Member Avatar for sonia sardana
0
153
Member Avatar for manoj_dabs

The application variable is not persisted (saved). It will increment for the life of a session then go back to zero.

Member Avatar for johnly
0
1K
Member Avatar for shawnk

How are you sending the email? The code you posted seems to be for the formatting of the text .. but what command is attempting to send the message?

Member Avatar for shawnk
0
53
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
74
Member Avatar for CMSHelper

Change the default password on the router and you're good to go... its that easy.

Member Avatar for sknake
0
57
Member Avatar for ankit007

Can you post a sample of the data you are trying to parse and the code you have so far? That would be a good start

Member Avatar for sknake
0
88
Member Avatar for arunkumars

Yes but this is probably a bad idea. You're going to have bugs or some reason to upgrade and you will create a support nightmare for yourself. Add a custom action to the installer on install where it creates a deeply embedded registry key if it doesn't exist, and if …

Member Avatar for sknake
0
94
Member Avatar for Haimanti

Here is how you ask the user a question.. you have a lot of un-needed code. [code=c#] private void simpleButton1_Click(object sender, EventArgs e) { if (MessageBox.Show("Delete record?", this.Text, MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) return; //Delete } [/code] As far as deleting the data from the database you need to determine the …

Member Avatar for sknake
0
90

The End.