2,245 Posted Topics
Re: Could you post the actual IP address you are trying to reverse? There are many things to look at here and it is difficult without knowing the actual IP address. I need to know the outbound IP of your mailserver and the IP of your DNS server. | |
Re: This should do the trick: [code=vb.net] Public Class frmKeyboard Private Sub frmKeyboard_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress 'Stops user key presses e.Handled = True End Sub Private Sub frmKeyboard_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Give the form access to key presses before … | |
Re: Its amazing after the world almost ended for Y2K that people would use anything other than a 4 digit year! | |
Re: Are you sure its not using gcc? Most distros alias 'cc' to 'gcc' which is probably what is happening here. [code] sk@sk:~$ which cc /usr/bin/cc sk@sk:~$ ls -al `which cc` lrwxrwxrwx 1 root root 20 Oct 15 2004 /usr/bin/cc -> /etc/alternatives/cc sk@sk:~$ ls -al /etc/alternatives/cc lrwxrwxrwx 1 root root 12 … | |
Re: I use just about every search engine for SEO but I only use google when I want to find something. That being said I had to put yes... | |
Re: Do you literally mean *draw* the DataTable as in render it like a control -- or do you mean load a table on a form while a [ICODE]DbConnection[/ICODE] is open? Here is an example of loading a DataTable on a form while having an OleDb connection open: [code] Imports System.IO … | |
Re: One other field you may be interested in is [icode].DataPropertyName[/icode] if you're looking for the bound field's name. You would access it the same way adatapost showed you in his post. | |
Re: I am in the same situation. Currently I am a software developer but i'm going for a BS/Computer Science -- and a BBA/Undecided. Then i'm going for my MBA. I think 10 years from now I might be done with programming all day and want to move up the corporate … | |
Re: What language is the original software written in? Also take the buffer you receive and write it to a text file and upload it here. | |
Re: [QUOTE=kaninelupus;984909]Hmmm... does make one think. Does not that turn the "donation" into a "subscription fee"? Not against subscriptions, but all for calling things what they truly are.[/QUOTE] You are "subscribed" to daniweb right now for free... so it wouldn't be a "subscription fee", right? Unless you want to call it … | |
Re: [code] Private Sub populate() 'Instantiating a new connection con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ System.Environment.CurrentDirectory.ToString() & "\DataBase.mdb") ' 'Opening the connection con.Open() 'Instantiating a new data adapter dAdapt = New Data.OleDb.OleDbDataAdapter("select * from Watches", con) 'Instantiating a new dataset dSet = New DataSet 'Populating the dataset with the results … | |
Re: Why are you comparing to make sure it isn't equal to the fromDate and toDate? Also is this MSSQL? [code=sql] Declare @StartDate DateTime, @EndDate DateTime Set @StartDate = Cast('1/1/2009' as DateTime) Set @EndDate = Cast('1/1/2010' as DateTime) Select * From Invoice Where OrderDate >= @StartDate and OrderDate < @EndDate --or … | |
Re: You can also use OleDb to display the data: [code] Imports System.IO Imports System.Data.OleDb Public Class frmExcel Private Shared Function GetExcelConnString(ByVal FileName As String, ByVal FirstRowContainsHeaders As Boolean) Dim sFirstRow As String If (FirstRowContainsHeaders) Then sFirstRow = "Yes" Else sFirstRow = "No" End If Dim ext As String = Path.GetExtension(FileName) … | |
Re: This will open the Excel spreadsheet with the defaul ".xlsx" handler. You just need to ensure they have Office installed: [code] private void button4_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start(@"C:\Data\Spreadsheet.xlsx"); } [/code] | |
Re: On the client maches you need to write the stderr and stdout to a text file. If an app crashes before [icode]Application.Run()[/icode] it will write out the diagnostic info: [code=dos] AppName.exe >> debug.txt 2>&1 [/code] After the app crashes take a look at debug.txt and it should indicate your problem | |
Re: > I'm still noticing in the C++ section that [noparse][code][/code][/noparse] is adding line numbers and saying "C++ Syntax". It's not supposed to do that, correct? You can get around that behavior. Take a look at [this post](http://www.daniweb.com/forums/post981568.html#post981568). | |
Re: Try this: [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim idx As Integer = DataGridView1.Rows.Add() DataGridView1.Rows(idx).Cells(0).Value = "Abc" DataGridView1.Rows(idx).Cells(1).Value = "123" DataGridView1.Rows(idx).Cells(2).Value = "456" End Sub [/code] | |
Re: As far as I know the "X" just sends the form close message to your form and you cannot distinguish the caller. This will work though: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace daniweb { public partial class frmImage … | |
Re: I also wanted to point out that .NET has a [icode]Dictionary<>[/icode] class that may do what you want. Other than that i'll wait next to danny on seeing more code. | |
Re: Upload your project with the database. There is probably something that can be done to improve the performance. | |
Re: This should do the trick: [code=vb.net] Public Class Form1 Private Sub OpenPicture() If (OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK) Then PictureBox1.SuspendLayout() ClearPicture() PictureBox1.Image = Image.FromFile(OpenFileDialog1.FileName) PictureBox1.ResumeLayout() End If End Sub Private Sub ClearPicture() Dim img As Image = PictureBox1.Image img = PictureBox1.Image PictureBox1.Image = Nothing If Not (img Is Nothing) Then img.Dispose() End … | |
Re: This is slow: [code] private void button1_Click(object sender, EventArgs e) { Bitmap bmp = (Bitmap.FromFile(@"C:\letter.bmp") as Bitmap); pictureBox1.Image = bmp; Bitmap bmp2 = (bmp.Clone() as Bitmap); for (int x = 0; x < bmp.Width; x++) { for (int y = 0; y < bmp.Height; y++) { Color c = bmp2.GetPixel(x, … | |
Re: [QUOTE=serkan sendur;983867]when it comes to mobile development, you guys have no idea, do you?[/QUOTE] Nope :( I don't even know how to create a project using the compact framework. I have been tempted to look in to it a time or two when you have asked a question. | |
Re: Developer express is awesome! :) Unfortunately I do not see a question in what you posted. Developer express is a set of controls and has nothing to do with your database. Please elaborate. | |
I think the username completion feature pops up in a rather awkward spot. See the screenshots | |
Re: Post the code you have so far and we'll go from there! | |
Re: You should largely disregard DNS for identifying the original of an IP address. DNS names can be set up anywhere and there is significant overhead with performing a DNS resolution on inbound IPs which will eventually plug up your server. What you should do is find a database of IP … | |
Re: Use HttpWebRequest and fill out the form fields. You're going about this task the wrong way :) You want a 'scraper' that downloads content. | |
Re: Drop a button and a panel on a form and try this code: [code] Public Class frmDynamic Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim lastComboBox As ComboBox = Nothing Dim i1 As Integer For i1 = 0 To 10 lastComboBox = GetComboBoxUnder(lastComboBox) Panel1.Controls.Add(lastComboBox) Next … | |
Re: Post a sample XML file here. It requires an API key to get the information and I don't feel like signing up :) You can scrub the file before you load the data in to a DOM. |
The End.