lorserker's Q&A profile
Windows Forms DatgridView like in SQL 2005 Management Studio
In SQL 2005 management studio, when you open a large table the grid displays the rows in the grid asynchronously, you can manipulate the result grid while all the records are being loaded...Anyone know how to achieve this in VB.NET or C# Sure! Check out the DataGridView App using BackgroundWorker for Async Data Load sample: http://www.windowsforms.net/TrackViews.aspx ID=217&Type=Samples&Redir=%2fSamples%2fdownload.aspx%3fPageId%3d1%26ItemId%3d217%26tabindex%3d4 -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
SQL Server Windows Authentification Behavior
If you setup SSRS 2005 with windows authentification across the board (your report datasets, datasources, models, etc.) is the expected behavior a or b a) user tries to run report via WebPart in SharePoint and gets prompted for their domain username and password b) user tries to run report via WebPart in SharePoint, credentials are passed, no need to input their username and password. I am getting both, one user gets prompted while the rest of the staff don't and the report just opens. The user who's getting prompted tries their domain username and password and it doesn't work. This user is not locked out. Check th ...Show All
Visual Basic Using virtual function in VB.NET from C++ DLL
Hi, I'm running into a problem when trying to use class interfaces from this library called Audiere. The library was written in C++ as virtual functions that were COM compatible. To use the interface you call a function in the DLL that returns a pointer to the interface (Factory ). They are bindings for Purebasic and Delphi that use the interfaces directly. I made a binding for the D language using interfaces that inherited from the IUnknown interface and it worked. Since .NET supports COM interop I thought this should work easily. I created the interfaces and marshaled them as IUnknown(I had to inherit from IUnknown to get it to work in D). ...Show All
Visual Studio Express Editions VB.NET Express Beta & Crystal Reports
How i can implement a Report in my project .. i use the beta version of VB.NET Express.. in VB.NET 2003 i can add ... but in this version doesnt show ... Salu2! Hi Gareth, good morning. I haven't developed a report in a very long time, I have been developing stored procedures for the las 5 years, so I am really not up to date. I remember that I have to create first the report and then call it from visual basic, but this feature was with vb 5. I added the dll as you said in the article and seems to work fine, but I don't know how to insert the data of my tables in the report, do you k ...Show All
.NET Development Error - ADODB ver 7.0.3300.0 be installed in GAC first
ADODB ver 7.0.3300.0 be installed in GAC first While installing the vb.net application, I am getting this error. How to do it right I ran into this with a few applications where I was using the new Visual Studio 2005 Report Viewer. It seems this is something the report viewer controls require. I ran into it while using ClickOnce deployment, so I'm going to assume you're using it also. On the publish tab, if you click "Application Files" and select the "Show all files" checkbox at the bottom you should see the ADODB.dll file. Set the publish status to "Include" and the download group to "Required", an ...Show All
.NET Development Passing Dictionary in WebService
I tried to pass Dictionary as a return value of a webservice Here's a snippet of the code: //I marked BL.Customer class as serializable. [Webmethod] public Dictionary<string, BL.Customer> GetAllCustomer() { Dictionary<string, BL.Customer> customers = new Dictionary<string, BL.Customer>(); customers.Add("1", new BL.Customer("John")); customers.Add("2", new BL.Customer("Jane")); &nbs ...Show All
Windows Forms Remove the X from a from
Is it possible to remove the X from the top right hand corner of a form Sorry folks, I meant to say; Is it possible to remove the X from the top right hand corner of a Form ...Show All
.NET Development How to get date stamp of file in FTP server
HI, I want to check tthe date stamp of a file (when it was created or accessed last) in the FTP server. In the WEbrequestmethods class I found something called " GetDateTimestamp " but it doesnt seem to get the date stamp of a file in the server. So how do I do it Hi Can you tell me how to check for remote folder exists i tried the same way like the files, but getting errror. Rgds Arunagiri ...Show All
Visual Studio Custom text markers in VS2005 beta 2
Hi All, We have a weird problem with custom text markers under VS2005 Beta 2 (8.0.50215.44). <br> Our AddIn registers about 30 custom text marker types. We tested it under VS2005 and, seemingly randomly, some of them work and some do not. What happens is that markers do appear in the editor (tooltips are showing, for example), but they have wrong colors (not what our implementation of IVsPackageDefinedTextMarkerType says they should have) <br> We investigated this problem, and this is what we have found so far: <br> 1. When we remove all registered external markers (all entries from 'VisualStudion\Text Edito ...Show All
Software Development for Windows Vista Durable and non-Durable Workflows in same Workflow Runtime
Hi, I've got a question about supporting workflow instances that are both durable and non-durable within the same runtime. As I understand it if a workflow persistence service exists in the service container then the engine will call it for every workflow instance. If it doesn't exist, then obviously workflow instances are not persisted. If I want to have a mixed model where I could somehow 'mark' a particular workflow as durable, in other words, use the persistence service whereas another workflow would be run in-memory without persistence, how would I go about it I thought about a combined database/in-memory persistence service, h ...Show All
SQL Server saving DTS package to sql server
hi, I have a "Transfer sql server object task" in SSIS that transfers few tables from one database to another. The task works fine and the project is saved on my c: drive. I was trying to save the project on the SQL server and don't know if i am doing somehting wrong I have the following selections made: Package Location: SQL server Server: ServerName Authentication Type: Windows Package path: /TransferTables Protection Level: Encrypt sensitive data with user key Now when i hit ok i get the "No description found" error with the following details: No description found (Microsoft Visual Stud ...Show All
SQL Server INSTEAD OF UPDATE trigger and cannot be a target of an UPDATE FROM statement
Hi all, I have a view called Item CREATE VIEW ITEM AS SELECT * FROM General.DBO.ITEM UNION SELECT * FROM Specific.DBO.ITEM Schema of Item & ItemLog in General & Specific Itemcode int, ItemName varchar(50), Rate int, Flag char(1) I have a trigger (Instead of Update) on this view : CREATE TRIGGER UpdPageItem on Item instead of update as Declare @Itemcode int, @ItemName varchar(50), @Rate int, @Flag char(1) Select @Itemcode = Itemcode , @ItemName = ItemName, @Rate = Rate , @Flag = Flag from inserted If @flag = 'G' Insert General.DBO.ItemLog Values (@Itemcod ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 10 issues
Hi, Im having some problems running DirectX 10 samples. I just installed vista 5270, Visual Studio Pro and DirectX SDK feb 2006. Now i want to take a look at the DirectX 10 samples but they aint working :( First time i started a sample i got a popup saying it would run in references mode ... so i clicked no. now when i want to start a sample from directx 10, it shows the executable in the processes but nothing happens. Altho, directx 9 samples run normal. Maybe it has something to do with the graphics card. Its an onboard intell graphic card. See http://msdn.com/directx/b ...Show All
SQL Server Report Services Question
Hi all, I wanted to be able to log on to Report Services from another computer (remotely), how can I go about doing that setup from either fresh installation or after installation Or can anyone guide me to on where am I suppose to post this question in Any help from anyone is appreciated. Thanks in advance. Daren Daren, I'm going to move your thread to the Reporting Services forum. They should be able to help you there. -Jeffrey ...Show All
Visual Basic vb6 to VB.Net upgrading Sub Main() error
Hi everyone.. thanks for taking a peek on my thread. Im upgrading a VB6 application. On its sub main, after it finishes, keeps jumping to other control on different forms. Is there a way to make my project to still go through code just the way VB6 does Sup everyone.. I add a form that just calls the sub main of my main form (before adding the new one) and that avoids closing my app when executing the main part and keeps with all the other operations I need. Thanks all for your help. ...Show All
