blah blah blah is here! blah blah » Close

0
votes
1 answers

Find newest file in large directory

Hello, I have a directory with 100.000 files. I just want to find the newest file in this directory the fastest way possible. All code that is reading all files first is to slow (so far) for this, is there any fast way to do this? (u ...

1
votes
2 answers

Disable Inherit File Permissions

Hello, When I'm trying to edit read access to this file for user group "Everyone" it is not possible because the access rights are inherit by it's parent [img]http://users.telenet.be/seti2k/inherit.jpg[/img] Is there a wa ...

0
votes
2 answers

C# TClientSocket

Hello, I have a device that needs to recieve data over Serial communication. There is a RS232 to RS485 converter in between. I have a Delphi program that is connecting to this device over a [b]TClientSocket[/b] [u]Delphi Code:[/u] ...

0
votes
1 answers

Write exact location in text file

Hello, Is it possible to write to an exact location in a text file. So write to some 'point' in your text file. what I mean with it is the following: These are some examples of locations in a text file. [url]http://users.telenet. ...

0
votes
2 answers

Full ASP.NET Website

Hello, This is more like a general ASP.NET question, I'm new to ASP.NET and I'd like to create my first full website. I'm familiar with the C# framework and I'm also familiar with PHP, but I'd like to go to ASP.NET now. My question i ...

1
votes
4 answers

Save panel as image

Hello, Short and simple question: [b]How to save the drawing (contents) on a panel as an image?[/b] Thanks in advance! Best regards, Sam

0
votes
1 answers

Appending Images

Hello, I have 2 images with resolution 375 x 144. Is it possible to append these 2 images and make 1 image from it? So basically 1 image with resolution 375 x 288. This will make it more clear: [url]http://users.telenet.be/seti2k/me ...

0
votes
1 answers

Font height

Hello, I wrote my own font and I want to use it in my program. But to work right it needs a font heigt of 12. I'm using this: Font myFont = new Font("myFont", 12); lblText.Font = myFont; But when I use: PLCFont.GetHei ...

0
votes
3 answers

Get Memory Type

Hello, With the ManagementObjectSearcher and the query "SELECT TotalPhysicalMemory FROM Win32_ComputerSystem" I can get the physical memory in the computer. But is there a query ([b]or any other way[/b]) to get the [b]type o ...

0
votes
2 answers

SQL0666 iDB2SQLErrorException

Hello, I'm trying to read data from some AS400 tables. The connection itself works perectly fine, but whe I try to read the table I'm getting an error saying: "[b]SQL0666 SQL Query exceeds specified time limit or storage limit[/b]& ...

0
votes
1 answers

C# Rotate Image

Hello, is it possible to rotate an image in a console application? So basicly write some sort of tool where I can write the directory (ie: C:\my_pictures) and then the tool loops trough all .jpg files in the directory and rotates them 9 ...

0
votes
1 answers

Passing data

Hello, I'm trying to make a 'version checker' in one of my programs. What do I want to do? Well: my program is called "buffer.exe". When I execute it normally it does it's thing. When I use: "buffer.exe --version" it ...

0
votes
1 answers

The operation could not be completed

Hi, Short question: when I try to save (CTRL+S) or compile (F5, F6) my C# project I'm getting the following error: "The operation could not be completed", see screenshot: http://img81.imageshack.us/i/visualstudio.jpg/ This start ...

0
votes
1 answers

Vista PingReply

Hello, I'm using the following code to perform a ping: Ping p = new Ping(); p.PingCompleted += new PingCompletedEventHandler(p_PingCompleted); p.SendAsync(new IPAddress(new byte[] { 10, 2, 1, 25 }), 1000); p.Dispose(); And then I'm ca ...

0
votes
1 answers

Simulating Keypresses

Hello, I'm making a program to queue several keypresses, and then execute them when I click the "Go" button. The code I'm using: using System.Runtime.InteropServices; SendKeys.SendWait("a"); SendKeys.SendWait(" ...

Feedback