daniix's Q&A profile
.NET Development Can't get a TCPClient Connection working
I've been working on this same thing for quite some time now. I'm trying to make an admin console to manage my IRC server, but I can't get past the beginning stages of establishing and maintaining a connection. I finally copied the code out of the project and made a new one with just a textbox, trying to just dump every bit of data I'm sent into that box, but even that isn't doing anything now. I've looked into IRC communication, so I know I'm using the correct syntax. Can someone look at this and tell me why I'm not seeing anything in my textbox In the project I copied this out of, I was getting one messagebox, which was good, but a little ...Show All
Smart Device Development Info User PocketPC
Hi, How can i control if an user insert a system password and how can i control if system password is right What are library that i use for find a user information in compact framework Where do i find a documentation on Compact framework Thanks Alessandro Graps I'm not sure what you mean by system password - Windows Mobile does not support multiple users. As for NetCF documentation, check out MSDN ...Show All
Windows Forms Reading IL
I was reading a .Net book that said all .Net programmers should learn to read MSIL. Does anyone know why you would want to do that I don't see the point. The value of being able to read MSIL is that you end up with a much better understanding of how the .NET Framework and CLR works. It is not necessary to d ...Show All
Windows Forms GDI+ drawing tool reqd
I'm looking for a Winforms GDI+ drawing tool specifically for placing and manipulating text annotations, customizable image icons and rotatable arrows. The end user runtime must be freely re-distributable and the price must be less than $500. I am not sure what you mean by "customizable image icons", but if you want a GDI+ tool, the ...Show All
Windows Forms Drag and drop from Windows Forms application to Windows Explorer
Hi, I'm currently developping a FTP client application in C#, and I'm looking for a solution for the following problem : I want to be able to drag a file directly from the server file view to the Windows explorer. I found a nice piece of code that does about this, but it actually creates the file in the temporary folder and then moves it to the drop location. Therefore it is not adequate for a FTP client : it works fine for small files, but if the file takes long to download, the explorer stays freezed until the end of the transfer. Of course this is not acceptable... So my actual question is : is there a way for the source of the drag/drop ...Show All
SQL Server The Trash Destination Adapter - Really needed?
Quick question... I have a conditional split transform in a dataflow... One of the outputs of the conditional split will take records that are just not needed... Do I have to send that output into the Trash Destination adapter Or can I just let those records hang Will there be a memory leak if I don't use a trash adapter I'm just thinking about if I move the package I'd have to go reinstalling the trash adapter every time... Thanks Let them hang. The Trash Destination is really only for development pruposes, the primary use being to provide a destination thus giving a path that ca ...Show All
Windows Forms scrolling a DataGridView programatically
Hi there Is there a better way of scrolling a DataGridView than just setting the CurrentCell property I just want to say "make row X the first displayed row" Am I missing something simple You can use the scrollbars directly. You can get them using the HorizontalScrollBar and VerticalScrollBar properties. ...Show All
Windows Forms Help!! Please Help (Timers problem)
Hi all, I have been having a threading problem with using many timers in my GUI Tool. My GUI Tool is a kind of tweaking tool which is created for tuning application/game. For the development purpose, This tool (let's call it tweaking tool) is also designed to have multiple small windows for monitoring varibales, and each window has it's own refresh rate&nb ...Show All
Visual Studio 2008 (Pre-release) Simple bindng failing that worked in Feb CTP
In a simple example program I am working on the position bindings are failing. The visibility binding appears to be working. The SourceUpdated is never triggered. It fails even without the SourceUpdated and related Notify property being set. This worked in the Feb CTP. The enclosing canvas is an InkCanvas. I notice that in the current documentation InkCanvas is a subclass of FrameworkElement, is that why it does not behave as before One of the benefits of InkCanvas was that it could have child elements that were selectable and interactive with the user. Has this changed If so, it is a big step backward from prior CTPs. Any ideas < E ...Show All
Visual Studio Express Editions How do I view Console.Writeline?
I'm rather new to programming. I've read two VB Express books and everything that I could find concerning Console.Writeline, and yet I still cannot figure out how to view what I write to it. When I use Debug.Writeline, I can view what I write to it in the "Immediate" window. I guessed that I should be able to view Console.Writeline in the "Output" window. Is that correct I tried things like the example below, and nothing appeared in any of the windows that I looked at: ' System.Console.WriteLine Imports Microsoft.VisualBasic Imports System Public Class TipCalculator Private Const tipRate As Doubl ...Show All
SQL Server Package Runs but as soon as it is scheduled in SQL Server it hangs
Hi I'm trying to get a cute FTP script running from a package that connects to a FTPS web site. Regardless of what method I use to execute the script it runs sucessfully in Debug mode, if I import the package into Integration Services from SQL Server Management Studio it runs, however as soon as create a SQL Server job using the stored package it hangs. I have tried an Active X, VB.Net and an Execute Process item and get the same result everytime. I'm also getting the same problem now with a java script I'm running from an 'Execute Process' item. Runs fine until I create a job.. Has anyone experienced the same problem I hav ...Show All
Visual C# DOS window doesn't close after process started?
Hi, I'm trying to run a process from a Windows application. Example: if (Regex.IsMatch(textDomain.Text, "( =^.{1,254}$)(^( :( !d+.)[a-zA-Z0-9_-]{1,63}. )+( :[a-zA-Z]{2,})$)") && Regex.IsMatch(textRecord.Text, "^( :( :25[0-5]|2[0-4]\\d|[01]\\d\\d|\\d \\d)( ( =\\. \\d)\\.)){4}$")) { Process testProcess = new Process(); testProcess.StartInfo.CreateNoWindow = true; Process.Start("cmd.exe", "/c ipconfig.exe /all >> c:\\test.txt"); testProcess.Close(); } The application is running like it should, but I'm unable to hide the stupid DOS window which pops up after the process is started. I t ...Show All
Visual Studio Express Editions Copying a SQL Server Express database along with my Website
Hi! I used Visual Studio Express Web Developer to create a small website containing a SQL Server 2005 Express database. On my laptop, where I have everything installed, the website works just fine. When I tried using the Copy Website function in WD Express (to copy from my laptop to IIS running on my desktop PC), the website was copied successfully but the database didn't copy. So, on my desktop, the website fails when trying to access the (non-copied) database. I expected that when using the Copy Website function, it would copy the database, too. I can understand why that might not h ...Show All
Visual C# Generic types: Ensuring the existance of multiplication
I've finally started reading up on generics. Now I'm trying to implement a generic Matrix<T> class. I've got the basics - I store elements in a two-dimensional array and i've provided an indexer to access individual elements. I want to implement matrix multiplication, so I need to limit the types that this class can accept to ones that define multiplication. My idea was to use a constraint on T(an interface of some sort), but I couldn't find one that would ensure that T has multiplication. Any idea how to achieve this Also, it would be really cool if I could actually instantiate a Matrix to hold any type (for example, strings), but onl ...Show All
Microsoft ISV Community Center Forums Business Scorecard Manager Test Server
Hi all, (Firstly i hope this is the correct forum) I really hope someone can help mne with this as i'm at my wits end trying to figure out whats wrong. I have just set up a test server with Windows 2003 Server, SQL server 2005 and Business scorecard manager 2005 (All evaluation versions). Having read and followed the installation documentation everything seemed to install with no problem. The problem i am having now is that when i try to connect to a data source via the business scorecard builder it will not list the available databases in the list. I know they are there. I have installed the Adventureworks sample databases. I can o ...Show All
