2,245 Posted Topics

Member Avatar for pace59

Call your ISP and have them monitor your smart jack. That will indicate the point of failure as their network or on your site.

Member Avatar for sknake
0
93
Member Avatar for ankusaxe9

[url]http://www.rentacoder.com[/url] [url]http://www.google.com/search?hl=en&q=related:www.rentacoder.com/[/url]

Member Avatar for sknake
0
32
Member Avatar for Link82

Try this: [code=sql] Select managerEmpID, Count(*) As Cnt from dbo.tblManagers (NOLOCK) Group By managerEmpID Order By managerEmpID [/code]

Member Avatar for sknake
0
357
Member Avatar for shindu

Use notepad to inspect the file contents. If you're familiar with linux you could also use it to get the file type based on signature. Its called "[URL="http://en.wikipedia.org/wiki/Libmagic"]libmagic[/URL]" or "file magic": [code=bash] sk@sk:~/p6$ ls PDL-Generic.bin PTSERVERv2-6a.bin UDPDownload.exe UDPDownload.ini sk@sk:~/p6$ file * PDL-Generic.bin: data PTSERVERv2-6a.bin: data UDPDownload.exe: MS-DOS executable PE for …

Member Avatar for barryt
0
109
Member Avatar for anupjp

That doesn't make any sense. Can you post code demonstrating the problem? Actually it might make sense, look at this thread: [url]http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework.windowsforms/topic15625.aspx[/url]

Member Avatar for thewebhostingdi
0
2K
Member Avatar for functionalCode

There is a property on the form itself called "StartPosition" -- Set it to center parent. [code=c#] this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; [/code]

Member Avatar for sknake
0
59
Member Avatar for adamdk

[URL="http://www.daniweb.com/forums/thread200070.html"]Please read this post regarding services[/URL]. It is unrelated to your question but it might save you a lot of heart ache. As far as your configuration file goes you should let the .NET Framework worry about where the file resides. You can use the [icode]ConfigurationManager[/icode] class to interface with …

Member Avatar for sknake
0
124
Member Avatar for bombjack

Can you post the relevant information from your zone file and bind configuration? I will load them up on my dns server and take a look.

Member Avatar for bombjack
0
116
Member Avatar for laghaterohan

Equals compares the exact strings: "abc123" == "abc123" EndsWith compares the string ending, such as: [icode]"abc123".EndsWith("123")[/icode] returns true, where [icode]"abc123".EndsWith("abc")[/icode] returns false. In your case the two strings are equal. "abc123" does end with "abc123", in fact it equals that string -- thus you get the same result.

Member Avatar for laghaterohan
0
246
Member Avatar for S2009

This isn't a problem with refreshing the form. It sounds like you're populating the combo box from the database only when the form opens. You also should call this method after you add OR remove an item from the database. Can you upload a sample project or paste your code …

Member Avatar for lighthead
0
5K
Member Avatar for hitchiker

What line of code is failing? You can get the OleDb driver's table names using a connection factory instead of opening an instance of Excel. This code won't compile because it uses my data library (VConnection) -- but the only property it is looking for is driver type and connection …

Member Avatar for sknake
0
642
Member Avatar for laghaterohan

You're modifying the collection inside of a [icode]foreach()[/icode] statement -- Is that the error message you are receiving? I make a list of items to delete inside of the iteration then make a second pass to delete them: [code=c#] private void RemoveQueryFromGrid() { List<DataRow> rowsToDelete = new List<DataRow>(); foreach (DataRow …

Member Avatar for sknake
0
114
Member Avatar for Thew

For class types the parameter is passed by reference so you do not need to use a pointer. Passing a string or integral value that you want to modify in a delegate would require you using pointers or by reference -- but not for TObject. In this case they are …

Member Avatar for Thew
0
76
Member Avatar for JohnE1

Try this: [code=bash] sk@sk:~$ X=95 sk@sk:~$ for i in `seq ${X} 100`; do echo ${i}; done 95 96 97 98 99 100 [/code]

Member Avatar for sknake
0
93
Member Avatar for seebharath

You could also use a hidden input, serialize the object, and POST data to another page

Member Avatar for serkan sendur
0
110
Member Avatar for vially

Before you POST a video upload a normal browser would do a GET on the page and also download all the images, css, other content for the page. They probably assume you are using a graphical browser (because it is a video site...) and check to see if you have …

Member Avatar for sknake
0
137
Member Avatar for anubhav400741

What is your question here? You are wanting to remove the user inputs and have it query an excel file instead?

Member Avatar for csayantan
0
138
Member Avatar for axn

See: [url]http://www.mail-archive.com/bug-bash@gnu.org/msg02546.html[/url] [quote] I don't think getopts knows how to parse words as options (and not as non-GNU-style, certainly). You are probably better off writing your own parser, something like this: [/quote] [code=bash] while [ $1 ] ; do [ ${1:0:1} = '-' ] || break case ${1:1} in help) …

Member Avatar for sknake
0
115
Member Avatar for narendra_dani

1. Right click on the deployment project -- View -- Launch Conditions 2. Right click on "Requirements on Target Machine" -- "Add file launch condition" 3. Fill out the necessary information on the new launch condition for flash

Member Avatar for sknake
0
151
Member Avatar for snapped2002

That is a limitation of frames. You can use a parameter for the page being loaded in the frame so history will cache that way. [url]www.website.com?param=someothersite.com[/url]

Member Avatar for MidiMagic
0
76
Member Avatar for missbeginner

You're passing the employee ID in the query string but checking a session variable? That doesn't make any sense. First page is OK: [code=c#] protected void ViewRemuneration_Click(object sender, EventArgs e) { //Button ViewRemuneration = (Button)sender; //string sendID = ViewRemuneration.ID; Response.Redirect("Remuneration.aspx?employeeId=" + DetailsView1.SelectedValue); } [/code] Change the second page to: [code=c#] …

Member Avatar for sknake
0
117
Member Avatar for mikeliketrike

It sounds OK but don't block ICMP. So many people know that a ping/pong is related to ICMP so they block the entire protocolol...which leads to a very interesting entry in the iptables manual page: [quote] TCPMSS This target allows to alter the MSS value of TCP SYN packets, to …

Member Avatar for sknake
0
150
Member Avatar for sivak

From the help file for string builder under "Performance Considerations": The performance of a concatenation operation for a String or StringBuilder object depends on how often a memory allocation occurs. A String concatenation operation always allocates memory, whereas a StringBuilder concatenation operation only allocates memory if the StringBuilder object buffer …

Member Avatar for serkan sendur
0
109
Member Avatar for AnkitKumar

How are you calling your code? I see the menu prompt with items 1-7, then you enter an array size. What sort method is causing the issue and with what array items?

Member Avatar for ddanbe
0
397
Member Avatar for schimusi

Stick them in a dictionary and do what you need to do from there. If you take advantage of a case insensitive dictionary and using Regex to split on word boundaries you can also eliminate punctuation errors in your application. [code=vb.net] Public Class FormStart Private Sub Button1_Click(ByVal sender As System.Object, …

Member Avatar for Piya27
0
478
Member Avatar for chindaara

Is the physical file read only by chance? Can you also post a screenshot or the [b]exact[/b] error message you are seeing?

Member Avatar for sknake
0
133
Member Avatar for sknake

I've been a member since February and this is the first thread I have created -- now I finally get to see where that solve button is! Anyway on a more serious -- who maintains the code templates for daniweb's programming forums? I post a lot in the C# and …

Member Avatar for sknake
0
192
Member Avatar for thewebhostingdi

What are you really trying to do here? Typically this is a bad idea and there is other ways of going around the problem. You should only be updating the UI from the main thread. The answer to your question is involed -- See: [url]http://www.eggheadcafe.com/articles/20041210.asp[/url] [url]http://www.eggheadcafe.com/community/aspnet/2/28138/problem--thread-and-crea.aspx[/url]

Member Avatar for sknake
0
103
Member Avatar for chrispaul8676

I posted a C# winform example @ [url]http://www.daniweb.com/code/snippet1244.html[/url] which may help get you started. Conceptually its the same in forms or asp.net as far as looking up a user and assigning roles. Port it over to ASP.NET/VB and post back on the thread if you have any issues and we'll …

Member Avatar for sknake
0
133
Member Avatar for slacke

There is no real harm in having every port open if he just pipes the inbound data to /dev/null -- but it doesn't make sense either. Network security in general is based on implementation of individual devices so its hard to say whether or not this will be a problem. …

Member Avatar for sknake
0
121
Member Avatar for johnny.g

Can you paste the exact error message? Have you tried: [url]http://geekswithblogs.net/bjones/archive/2005/05/01/38818.aspx[/url] [url]http://msdn.microsoft.com/en-us/library/aa337279.aspx[/url]

Member Avatar for sknake
0
93
Member Avatar for PatrixCR

[QUOTE=curi0x;909643]I just wanna ask about the symbol [B]#![/B] that I saw in many shell script examples. For instance, [ICODE][B]#![/B]/bin/bash[/ICODE]. What does the [B]#![/B] symbol means? [/QUOTE] It is also called a "shebang": [url]http://en.wikipedia.org/wiki/Shebang_(Unix[/url])

Member Avatar for sknake
0
169
Member Avatar for nikichu

Change your query to be set to a string and break the debugger in there. Your drop down list might have an empty string value which would cause the update to not work. You are also not closing your SQL connection and you will run the connection pool out of …

Member Avatar for nikichu
0
268
Member Avatar for Stefano Mtangoo

You can use cygwin to emulate a linux environment on Windows: [url]http://www.cygwin.com/[/url] Windows has a powershell which is their advanced command prompt but it does not have the look and feel of bash

Member Avatar for Stefano Mtangoo
0
98
Member Avatar for deven_a76

You need to prefix your delegate declaration with an access modifier. If you have a public event that uses a delegate reference that is private to the class then other assemblies can see an event but can't access the delegate's type, thus you get the compilation error. If you have …

Member Avatar for deven_a76
0
116
Member Avatar for Athersgeo

I'm pretty sure you're SOL. I do a lot of DTS intensive work and I have clients install SQL 2000 so i can use DTS to import data destined for SQL 2005. I don't like what they did to DTS either.

Member Avatar for cutepinkbunnies
0
138
Member Avatar for andreivanea

Andre -- upload your complete class here so we can look at it. What you posted had a slight compilation mistake or you were missing a member of the class when you posted code. That could be a make or break piece of information for solving your issue.

Member Avatar for Poab9200
0
6K
Member Avatar for S2009

Form1: [code=c#] using System; using System.Windows.Forms; namespace daniweb { public partial class frm1 : Form { public frm1() { InitializeComponent(); } public void EnableButton2() { button2.Enabled = true; } private void frm1_Load(object sender, EventArgs e) { button1.Enabled = true; button2.Enabled = false; } private void button1_Click(object sender, EventArgs e) { …

Member Avatar for Poab9200
0
432
Member Avatar for achristov

I agree with danny and ramy -- but I wanted to track that at one time. There is a plugin for CVS/concurrent version control that generates reports based on number of lines changed or added. I use svn and the SVN developers think that feature is meaningless and bloats the …

Member Avatar for Poab9200
0
147
Member Avatar for arunmagar

I think project honey pot is open source .. you can see if they have signature: [url]http://www.projecthoneypot.org[/url] You can also use chkrootkit [url]http://www.chkrootkit.org/[/url] to look for signature. By the way -- Signatures is a concept. Files have a 'file signature', network traffic may have a virus signature if it is …

Member Avatar for arunmagar
0
125
Member Avatar for ksenthilbabu

Please wrap your posts in [code] tags in the future. Can you post the raw SQL you're using here? I created your tables and was able to insert OK. [code=sql] Insert Into tblCompany (CompanyName, Amount) Values ('Sample', 2500) Declare @id int Set @id = Cast(SCOPE_IDENTITY() as int) Insert Into tblDetail …

Member Avatar for ksenthilbabu
0
491
Member Avatar for ereddick

Did you leave your explorer session open while testing it on the other machines? Some FTPDs only allow a single session per user. Also try using the DOS FTP on the Vista machine and see if it gives you a little more details on what the error is: [code=dos] C:\>ftp …

Member Avatar for rangminank
0
239
Member Avatar for plut0564

What you're after is "listing open file descriptors". In Linux you would use lsof but for solaris I think it depends on the version. Google this: "solaris list open file descriptors" It came back with a few urls: [url]http://www.mail-archive.com/solaris-users@filibeto.org/msg02028.html[/url] And what do you mean by "filling a mount point"? I'm …

Member Avatar for plut0564
0
141
Member Avatar for S2009

S2009: You asked the same question in a different way on the thread [url]http://www.daniweb.com/forums/thread201290.html[/url] I answered your question and then you ignore the post and asked the same question again -- slightly different.

Member Avatar for kvprajapati
-1
297
Member Avatar for serkan sendur

Because ref uses the address of the variable. Imagine a property like this: [code=c#] private bool connected; private string _field1; private string _field2; public string Field { get { if (connected) return _field1; else return _field2; } set { if (connected) _field1 = value; else _field2 = value; } } …

Member Avatar for sknake
0
595
Member Avatar for NextCom

No. The easiest way I have ever come up with handling this is to have all of the database information embedded in the calling application and check the data lengths before i do an update/insert. I have no idea why Microsoft did not include the column information but that is …

Member Avatar for NextCom
0
5K
Member Avatar for gobi_roy

This can happen if you are using master pages and you have a [icode]<form runat="server">[/icode] element in your master page and in your web content page you have another [icode]<form runat="server">[/icode]. Here is an example. Master Page: [code=asp.net] <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="daniweb.web.Site1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for serkan sendur
0
177
Member Avatar for missbeginner

What doesn't work about your code? Does it not compile, does it not redirect, does it never get called?

Member Avatar for missbeginner
0
91
Member Avatar for tdeck

Can you post the code for your dictionary so I can use it to generate an example? The easy way would be to use the Dictionary<string, Table> if the Table datatype is DataTable. Likewise for the child collections you could go to the parent collection and use the datatable. Make …

Member Avatar for sknake
0
104
Member Avatar for Gaurav arora

That isn't an easy task... Have you checked out existing report writers? I see a lot of people here using Crystal Reports. I use XtraReports by developer express: [url]http://www.devexpress.com[/url] Beyond that you will need to handle building the connection strings for OleDb, ODBC, SQL Native, and Oracle. Here the ADODB …

Member Avatar for sknake
0
113

The End.