Sean Alford's Q&A profile
Visual C# How to send A file to pre-specified IP Address
Hi all .. i'm working on A remote Access program, in fact I have used Special OCX that manage the whole connection trouble, but there's problem that faced me which is I need to send some file to My Client ( which is in Fact the Remote PC that I controled and accessed through it's IP ) if any body has an idea 'bout the library or even a code for this case I hope he/she could post it here .. and I will be thankful .. Have A Nice Day Hello ...Show All
Visual Studio Team System Project creation fails
Hi, I'm getting the following error when creating a new project in TFS: Event Description: Task "Currituck.WITs" failed Exception Type: System.Web.Services.Protocols.SoapException Exception Message: Server was unable to process request. ---> Violation of UNIQUE KEY constraint 'UQ_ADObjects__DomainName_SamAccountName'. Cannot insert duplicate key in object 'dbo.ADObjects'. SoapException Detail: <soap:Detail xmlns:soap="http://www.w3.org/20 ...Show All
Smart Device Development Bind a TreeView control to a SqlCeResultSet
Is there a way to bind a Bind a TreeView control to a SqlCeResultSet I cannot seem to find any examples of this. TreeView does not support complex data binding. You can bind to one of TV properties, but that makes little sense. By the way, data in result set is flat 2D table, why are you trying to use TreeView in a first place Please consider using DataGrid instead, that's the only control which benefits fr ...Show All
Visual C# how to update graphic in a different function
This is my code for drawing a set of 8 circles: private void tbInputTest_Paint(object sender, PaintEventArgs pe) { //Get the Graphics object g = pe.Graphics; //Create an array of rectangles Circles = new RectangleF ; for (int i = 0; i < 8; i++) { Circles = new RectangleF(310, 30+(i * 40), 30, 30); g.FillEllipse(Brushes.White, Circles ); g.DrawEllipse(Pens.Black, Circles ); } } ...Show All
Visual Studio Express Editions Using Passport in C# Form
Hi guys, Is it possible to add Microsoft passport into my C# application . I have a username and password textbox on my form and I would like it to authenticate and log user in, then once logged in it will open another form. Is there an SDK that I need regards Sten There is an SDK (sadly what links I find end up turning bad) however I would direct you to the Microsoft Service Manager site as well ...Show All
Visual C# Communiacting with DLL in c#
I am working on a project which communiactes with a Radio Device (WR G303e Radio Receiver)connected to PC via USB. I comes with an API WRG3API.DLL implemented as a 32-bit driver. In the SDK it has examples for Delphi and C/C++. My Question is..... How can i import/communicate (with) this dll to work in C#. I am looking for some1 2 reply... please help me if any1 out there has any info about this issue... Kind Regards t4urean I think you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Latest DirectX SDK Update for Windows 2000?
Hi guys, I wanted to update my SDK to the February update but it seems support for it has been dropped from Windows 2000. Is there plans to change this or is it going the way of the XP now Cheers. Windows 2000 is unsupported as a development target. Your apps will run on it, but you can't develop on it. You should also note that, unless you have paid for an extended support contract, Windows 2000 i ...Show All
Windows Forms CurrencyManager object
What is the CurrencyManager object I found many .NET samples with this object reference but when I can't declare an object of this type in VB.NET (and Visual Studio.NET IDE). Many thanks Cold In addition to the other messages: When you&nbs ...Show All
Visual Basic Converting VB6 to VB.NET ERRORS
Hello all, I have converted my application from VB6 to VB.NET, but at this time I have several problems which I can't solve. **First: 'UPGRADE_WARNING: Couldn't resolve default property of object CTL.Clear. Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm keyword="vbup1037"' CTL.Clear() **Second: 'UPGRADE_WARNING: Couldn't resolve default property of object CTL.ListIndex. Click for more: 'ms-help://MS.VSCC.2003/commoner/re ...Show All
SQL Server SQLXML 4.0
I just installed SQL2005 and VS2005. It appears that a new version of SQLXML is available, SQLXML 4.0. Does anyone know if this version is compatabile with SQL2000 I am going to use the SQLBulkLoad library. I could not find a download of SQLXML 4.0. Does anyone know how to redestribute this version of SQLXML Thanks I did some more looking and discovered that the SQL2005 installation CD includes SQLXML4: "Z:\ENGLISH\SQL20 ...Show All
.NET Development Using Bluetooth with VS 2005 beta 2
I was watching the " Creating a Managed Bluetooth Application Using Microsoft Visual Studio 2005 " MSDN video, and there was an example of using new bluetooth classes for connecting to a PocketPC via bluetooth. I have the VS 2005 and i didn't fount these classes. Classes like "ServerHandle" or "Core" and others dosn't exist. I want to use bluetooth to make my laptop as a Headset for my phone. I need to register a bluetooth Head ...Show All
Visual Studio Express Editions SystemParametersInfo
I know that I need to use the SystemParametersInfo API to get the desktop background but again I am having some problems. Can anyone point me in the right direction with this. I would greatly appreciate it. Here is what I have so far. Public Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" ( ByVal uAction As Integer , ByVal uParam As Integer , ByRef lpvParam As ...Show All
Visual C# Disposing object
Let's say i have a Form and that form private member that is a TypeDataSet. Should Form implement IDisposable because TypeDataSet has a dispose method Thanks, In general, whenever a class has members that implement IDisposable, the class should also implement it So it can dispose it Form class already implements IDisposable. If Form-derived class has disposable members, call member's Dispose function from for ...Show All
Visual Basic SYSTEM.IO: Fastest way to Read a Text File (1,000,000) lines
I have a million line text file and what would be the best and <b>fastest</b> way to read the Text File. I need to read the data in the text file all at once into the memory and then start reading line by line and do some other process. I do not know if it is a good idea to read all the data into the memory but when I read line by line using the StreamReader, the process is very slow. Please suggest... Here is the following co ...Show All
.NET Development LTM help File?
Sorry in advance if this is off topic...please advise In the past, I've used LTM (Local Test Manager) for testing a OLE DB providers conformance and had much success with it. The tool shipped in older versions of the MDAC SDK. I've obtained v 2.70 of LTM.EXE from the MSDN platform SDK but there is no online help (LTM.CHM) Anyone know where I can down load a copy The SQL Server Data Access forum is bett ...Show All
