MedoMancer's Q&A profile
Visual Studio VS report with sql stored proc
Hello, first time trying to make a report in VS 2005 and it workd great but I am now trying to genertate the report with only the information that is the users own info. I have created a stored proc that when run display the propper data I want to see. In the TableAdapter wiz I chose "Use existing stored procedures" chose the propper procedure. When I preview the data and input the users ID no into the stored proc I see the propper data. When I ...Show All
Visual C# "Absolute path information is required" bug.
Hello, I've installed Visual Studio 2005 MSDN and I have problems with C# projects. Whenever I try to start a C# project (Windows Application or something else) I get message box: Microsoft Visual Studio "Absolute path information is required". Solution file is created in specified directory (and *.suo file), but nothing else. I also cannot open/convert C# projects from VS2003. I don't have any blocked/protected directories. Everythin ...Show All
Visual Studio Express Editions Some graphics questions in VB
Hi there, I think I accidently posted this in the wrong place before... I'm planning to make a graphics program in Visual Basic. Although I used Visual Basic a long time ago, and have somewhat of a knowledge of programming, I am by no means expert (you might say barely past beginner) and have been more of an enthusiast in the past (my real job is design and animation). Recently, I downloaded VB Express and decided to take the plunge ag ...Show All
Visual Studio Express Editions Passing array values from one sub to the other sub
Is there a way of passing values of two dimentional array from one sub to the other in VB.NET 2005 Sure, try this: Private Sub MakeArray() Dim MyArray(255, 255) As Integer Dim i As Integer Dim j As Integer For i = 0 To MyArray.GetUpperBound(0) For j = 0 To MyArray.GetUpperBound(1) MyArray(i, j) = i * j Next Next Debug.WriteLine( "Array 22,65: " & MyArray(22, 65).ToString) ...Show All
Visual Studio Problem with multiple datasets & reportViewer
Hi all, I created a default form with an attached report and added two datasets like the following. All the input parameters correspond to a field on the report: private void Form1_Load(object sender, EventArgs e) { this.reportViewer1.RefreshReport(); ...Show All
Visual Basic How to call another form
Hello, I would like to know how to call another form in asp.net. I used to work with windows applications using: dim Form2 as New Form1 Form2.show I would like to know what would be the way to do for a web app. using VB.NET 2005. Thanks for suggestions. Thanks, It worked fine. ...Show All
Visual Studio 2008 (Pre-release) Basic question: Is Typed Datasets supported or not??
Hi all, I alreday posted the issues while using typed dataset in WCF services. (Thread 1: WCF service is not working with Typed DataSet Thread 2: The 'http://www.w3.org/2001/XMLSchema:schema' element is not decl... ) This was working fine in Jan release of WINFX. It started breaking down with Feb release of WINFX. Any one tryed using typed dataset successfully Please help. Regards, Venkat ...Show All
Visual Studio Team System We want your feedback!
We're looking for feedback on any Microsoft produced code (samples, templates, designer code, etc) that doesn't pass Code Analysis, for more information see the following blog post: http://blogs.msdn.com/fxcop/archive/2006/04/11/WeWantYourFeedback.aspx If ladybug were working today (12-apr-06) I would provide example item references; there's at least two items in there outlining some existing and potential errors in the 2.0 frame ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Textures and Lighting
Hi, So this is my first post relating to the use of DirectX. I'm currently using MDX 9 (Oct 2004 SDK) writing my code in VB .NET. I've been using Tom Miller's Book Managed DirectX Kick Start. I've found the book good so far. However, after trying to start to use textures I've run into a bit of trouble. Or should I say I have ran into something that I'd like some clarification on. My program was going to achieve something simple. That is dra ...Show All
Architecture Databinding vs Multi-tier
I'm a bit confused - see if you can help me out. It seems like microsoft is really big on the multi-tiered approach to development(presentation, business, data), but now, with visual studio 2005, they're also really pushing the new and improved typed dataset for databinding. Am I wrong, or is it virtually impossible to take full advantage of the new typed dataset and still separate your system into presentation and data layers You create a data ...Show All
Windows Forms ListBox is really slow on adding about 64000 items
so, this is a problem - adding about 64000 into ListBox takes about 2-3 seconds.. my code: Can the virtual list control be used on a web page or is it for windows apps only ...Show All
Architecture Entities
I'm starting the following project: A multi database (SQL Server, Oracle and Firebird) using Winforms in the presentation layer and Web Services in the middle tier. My principal question is about the best way to implement the entities transit between the layers. I'm thinking in this option: a typed dataset based entities without the default adapters created by the VS 2005. Instead I will use a Helper class to factoring the multi database feat ...Show All
Visual C++ Can not cancel the creation of a CWinFormsView object?
If the PreCreateWindow returns FALSE, then the program asserts and crashes when trying to cast the managed control to ICommandTarget. BOOL CWinFormsView::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) { m_nFlags |= WF_ISWINFORMSVIEWWND; BOOL ok=__super::Create(lpszClassName, lpszWindowName, dwStyle, rect,pParentWnd, nID, pContext); ASSERT(ok); ok ...Show All
SQL Server Problem with ServiceBroker
I use 2 SQL Server: 1 – SQL Server 2005 Enterprise on Windows Server 2003 (Itanium) and SQL Server Express on Windows XP Professional (Pentium). I send the message from enterprise to express the message (at once I shall tell, that sending of the message in the opposite direction gives the same result) and I process the message on express . At first sight like all is correct. Messages I receive all, I read also all of them are correct. Bu ...Show All
Visual C# Row Length in a rectangular array
How do I find the row length of an rectangular array I have a class that wraps a 2-dimentional array and would like to be able to supply the row and column length as proporties. My idea is to set the value of these proporties in the class constructor based on the given values hold by a rectangular array. Alternatively I could make the constructor take a jagged array instead. If that is nessesary, I am beginning to loose the porpose of ...Show All
