Jeff Papiez - MSFT's Q&A profile
Visual Basic IDRISI API SERVER
I have tried your code, but that it is not the problem I am having- I supect it isn't working because the API I am accessing is an exe file not a dll and is designed for VBA not for the new VB.net framework. The structure and way of dealing with API is different, therefore it doesn't work. Thanks anyway Leo I have tried your code, but that it is not the problem I am having- I supect it isn't working because t ...Show All
Windows Forms How to populate a listview?
Please help, i want to populate my listview from a datasource, how do i do that all i can find in the web is adding single listitems and subitems, i'd appreciate any help. and also, deleting multiple items.. thanks in advance. As much as I want to, I am re-installing my Visual Studio 2005. The current version of Visual Studio installed on my machine is Visual Studio 2003 and Visual Studio 6.0, neither of the versions I have rightnow has su ...Show All
SQL Server Active Directory 1000 rows limitation
we are using select distinguishedname, employeeid, sn, middlename, givenname, displayname, samaccountname, mail, cn, telephonenumber from OpenQuery( ADSI, 'SELECT telephonenumber, distinguishedname, employeeid, sn, middlename, givenname, displayname, samaccountname, mail, cn, telephonenumber FROM ''LDAP://DC=domain,DC=xxx,DC=xxx'' WHERE objectCategory = ''Person'' AND objectClass= ''user'' But it only returns 1000 rows which i read all ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems with Sprite.Draw2D & October SDK
Hi, I replaced my Direct3DX reference (1.0.2906.0) with the latest version included in the October SDK (1.0.2908.0). However, when I now compile, my code fails with "Overload resolution failed because no accessible 'Draw2D' can be called with these arguments:" Sprite.Draw2D(Texture, Rectangle, Rectange, Point, Color) The "dxreadme.htm" states that the D3DX dll is unchanged from the August version. So what is this 1.0.2908 I have gone back ...Show All
SQL Server SQL Server 2005 Express & Windows Reporting services
Hi, I've just installed SQL Server Express 2005 on our shiny new Windows Server 2003 R x64 server. It has an Intel 830 D chip that uses x86 and 64EMT. Problem is that I get the message "64-bit ASP.Net is Registered. Required 32-bit ASP.Net to install Microsoft Reporting Services 2005(32-bit)." Is there any way that I can remedy this Thanks in advance Robert Hi Robert, This sh ...Show All
SQL Server Passing a variable to the UPDATE Command
Hello everybody, I have a problem in passing a variable into the Update command. This is my stored procedure. CREATE PROCEDURE UpdateTable @tsID INT, @UpdateDesc varchar(1000) AS DECLARE @TableNumber INT DECLARE @TableName NVARCHAR(100) DECLARE @SQL VARCHAR(100) /* I have to get the name of the table to be updated by first getting the TableId ( an INT field) from a table TS_SUBTASKS and with that the table name from anot ...Show All
Visual Studio Express Editions Visual Basic 2005 Express Format Painter
Hi, Does Visual Basic 2005 Express have a Format Painter function like Word, Access, Excel... I would like to be able to make all of the buttons on a form the same colour, without having to manually change the background in each button's properties box. I realise I could copy and paste the buttons. I have tried a search for format painter and read throughmany pages of these threads. Cheers, Phil ...Show All
Windows Forms datetime picker column in datagridview
hey i have a little problem i want to add datetime picker column to datagridview and edit all it (time and date together) but the problme is that i can edit only date (i post the control code below) i use this code from MSDN, but added some modifications on custom format. Custom format works perfectly, but i can't edit properly tha time when i add that datetimepicker column in to m y datagridview. thanks for any help. using System; u ...Show All
.NET Development Why on earth are there not logical operators for bytes in C#?!?
Hi there, I have most of my program written in C#, now I need to do some logical operations (AND, OR, NOT/COMPLEMENT) with some byte variables. Why on earth does C# not have logical operators defined for bytes ! ! Visual Basic.NET does. Is there some way I can add them because my code is really simple with them, otherwise it gets unnecessarily complicated. Thanks, Chris Hi, You can avoid one ...Show All
Visual C# Generic comparison to null broken in July CTP
Everyone knows that one cannot ordinarily use ==/!= on generic types because these operators might be undefined. However, up to Whidbey June CTP it was possible to write (x == null) or (x != null) when x was a generic type. After all, the documentation explicitly states that null comparisons are possible (and will return false if typeof(x) is a value type). Now I've installed the July CTP, and suddenly compilation gives an error on such null com ...Show All
Visual C# Dictionaries and the objects they contain!
I was just wondering, is there some way to synchronize the modification of objects that are in dictionaries (or any other IEnumerable interface for that matter), if they are modified without referring to the dictionary I find that this code snippet doesnt work (I might be too naive): foobar bar = new foobar(); bar.setText("hollathere"); Dictionary <string, foobar> someDict = new Dictionary<string, foobar>(); someDict.Add("handl ...Show All
.NET Development ObjectManager.DoFixups() - exception
I'm receiving the exception "Object with ID # was referenced in a fixup but does not exist" from ObjectManager.DoFixups() (actually the function that throws the exception is ObjectManager.GetCompletionInfo()). This is occuring in Beta 2 and did not occur in Beta 1. I can see that the object has been registered with the object manager. The object that I'm registering is a place holder type that has a surrogate and is not of the type expecte ...Show All
Windows Forms In VS2005, The Component Container does not have a reference to the Form
I am trying to create a custom control that inherits from BindingSource. I need a reference to the containing form of this new control. From the BindingSource, I can use the .Container property to get the ComponentContainer, but there is no property or method to get a reference to the form from there. Does anyone know how to get a reference to the form using Windows API Thanks, Hi, Could you please be more clear in your problem d ...Show All
Windows Forms Problem with ToolStrip - controls in Content Panel appear under ToolStrip
I have a UserControl that has a ToolStipContainer, with a ToolStrip in the top Panel, 4 UserControls and a WebBrowser control in the Content Panel. On the ToolStrip I have buttons to select the current control. When a control is selected, it is supposed to fill the Content Panel. The problem is, the WebBrowser and one of the UserControls in the Content Panel are under the ToolStrip! The other 3 UserControls appear under the ToolStrip, in ...Show All
Visual Studio Team System Sourcecode corruption
I'm having some strange problems using Source Control. Previously I added a borland project just to test how the Source Control worked, and then deleted the files when I had played around with checkout, checking, testing with work items etc. I've now created a small project in VS 2003, and added the project to TF Source Control. When opening the solution from source, the content of the solution file has completely different content from what I c ...Show All
