2,245 Posted Topics
Re: Call your ISP and have them monitor your smart jack. That will indicate the point of failure as their network or on your site. | |
Re: [url]http://www.rentacoder.com[/url] [url]http://www.google.com/search?hl=en&q=related:www.rentacoder.com/[/url] | |
Re: Try this: [code=sql] Select managerEmpID, Count(*) As Cnt from dbo.tblManagers (NOLOCK) Group By managerEmpID Order By managerEmpID [/code] | |
Re: 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 … | |
Re: 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] | |
Re: 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] | |
Re: [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 … | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
![]() | Re: 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 … ![]() |
Re: 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] | |
Re: You could also use a hidden input, serialize the object, and POST data to another page | |
Re: 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 … | |
Re: What is your question here? You are wanting to remove the user inputs and have it query an excel file instead? | |
Re: 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) … | |
Re: 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 | |
Re: 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] | |
Re: 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#] … | |
Re: 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 … | |
Re: 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 … | |
Re: 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? | |
Re: 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, … | |
Re: Is the physical file read only by chance? Can you also post a screenshot or the [b]exact[/b] error message you are seeing? | |
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 … | |
Re: 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] | |
Re: 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 … | |
Re: 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. … | |
Re: 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] | |
Re: [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]) | |
Re: 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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: 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) { … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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; } } … | |
Re: 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 … | |
Re: 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 … | |
Re: What doesn't work about your code? Does it not compile, does it not redirect, does it never get called? | |
Re: 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 … | |
Re: 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 … |
The End.