Gergely Meszaros's Q&A profile
Visual C# Logical program structure.
Hi All, Is it a good idea to break up a program's code structure into individual classes for each tabPage when using a TabControl component on a form Or should I separate my code into projects that create classes that encapsulate like functionality into separate modules Does anyone have a good online reference that is useful for providing a basic rule of thumb for breaking up projects into managable, logical pieces that they would ...Show All
Visual Studio Query Builder Re-use
Hello, I have been trying to find the interface or Factory that would allow me to interact with the Query Builder that is used when adding a query to a DataSet. I have been looking in the Microsoft.VisualStudio.Data namespace but have mainly found the DataConnectionDialogFactory or the DataConnectionFactory... But I haven't been able to track down the Query Builder.... It looks like the Query builder is a reusable interface that has a c ...Show All
SQL Server SQL Server 2005 Express JDBC Driver???
Hi All, I have no previous experience with servers, but I have to install SQL Server 2005 Express in order to run another application. My question is: which JDBC Driver do I need to install in order to access that Java application Could I hear from you Thanks! Hoffmann Has anyone tried using Merlia.jar provided by I-net thanks, Madhav ...Show All
Visual Studio Team System ? VS2005: How to SuppressMessage for an entire class ?
I'm porting a load of our VS2003 code to VS2005, and at the same time trying to clean up the code by running Code Analysis on it. My biggest problem is with a load of structs that I have defined for P/Invoking Windows API functions. For example, the Windows API function called MEMORY_BASIC_INFORMATION: public struct MemoryBasicInfo { public IntPtr BaseAddress; public IntPtr AllocationBase; &nbs ...Show All
.NET Development Comparing two data tables
I have a form which has two data tables with the same schema. They have the following schema pk_Items (Primary Key, guid) ItemKey (Integer) Additional fields I want to remove from the first table any rows that have a matching item key in the second table. How can I do this Thanks Run a loop, for all rows in DT2, Find pk_items Do a DataTable.Rows.Find on the column that ...Show All
Visual Studio Can Visual Studio 2005 Beta 2 coexist with Beta 2 of Express Editions?
I have 2005 Express Edition Beta 2 of VB, C#, C++, Web Developer, and SQL Server installed on my computer. Do I need to uninstall these before installing Visual Studio 2005 Beta 2 or can those Express Edition betas co-exist with the Visual Studio Team Suite beta I also have a CD for SQL Server 2005 Developer Edition Do I need to uninstall SQL Server Express Edition before I install this Thanks, J.S. ...Show All
SQL Server Change query issues
I am trying to take this statement: Select Total = SUM(gt) FROM (Select Distinct CustomerName, CustomerNumber, FeeGoal_AZ AS FG, FeeSchedule, (cast(FeeGoal_AZ as numeric(30,10)) / FeeSchedule) * 100 AS gt from DCR WHERE branch='00002' group by CustomerName, CustomerNumber, FeeGoal_AZ, FeeSchedule ) as dTable and change up (cast(FeeGoal_AZ as numeric(30,10)) / FeeSchedule) * 100 AS ...Show All
Visual Studio Team System Another 32000 error
I'm getting this error when installing the foundation server piece Error 32000. The Commandline “c:\program files\microsoft visual studio 2005 Enterprise Server\BISIISDIR\sdk\bin\Bisregedit.exe” http://TEAMSRV01:8080/SCC/public/application/ServiceDefinition.aspx ” TEAMSRV01 BisDB’ returned non-zero value: 1. I get a choice to retry to cancel. If I click retry a few times nothing really happens, I get the same error and the installation s ...Show All
Visual Studio Express Editions Publishing test application on IIS
I did a test application that I publish via IIS on WinXP localy with http://mycomputername/testapplication and it does work. Howerver, when I use http://mydomainename.com/testapplication witch is the same pc whith the same IIS It ask me for a username and password. I put my pc username and password and it refuse the connection. I put my accountname in inetpub folder ntfs security to full control. and still doesn't work Any Idea Thanks ...Show All
Software Development for Windows Vista Queries regarding XPSDrv sample
Here are a few questions for the XPS team There is a sample XPS driver in the location ..\WinDDK\5308\src\print\PrintFeatureFilters\.. . I tried to build this sample after installing the Feb CTP Platform SDK and Visual Studio 2005 beta (using build -cZ from the Vista Checked Build Environment). However, the build did not succeed, and no log file was generated On trying to compile individual souce files (for specific filters), compilation e ...Show All
Visual C++ Linking-Error with VSC++ 8.0
hey ho, I just updated my project from VSC++ 7.1 to VSC++ 8.0 Express Edition. Unfortunately, i get a linker error every time i compile my project: 1>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ( $ ...Show All
Windows Forms TreeNode label
Hello, If I have a label in the edit mode, and the user makes a text selection, is there a way to capture the selected text only. There is an attribute on the text box that does that. Thank you Hi, I don't know the direct answer you're looking for, though I am sure there is an API you could use to get that information. Instead, have you considered using a TextBox and setting its properties to make it appea ...Show All
Visual Studio 2008 (Pre-release) controlling animation in between?
i am using a Border control, and animating its width from 20 to 50, iam animating it for say 5 second, with AutoReverse = true for again changing is width after 5 sec. I am activating it with MouseDown event on the border. Problem arises if in between i again click mouse on border, animation restarts from width 20, i want its width to start from the current width and not always 20, although animation duration&nb ...Show All
Visual Studio Express Editions WebBrowser control
How can I make the WebBrowser control work in VBE 2005 I keep getting Name "webbrowser1" is not declared in the following line: webBrowser1.Document.GetElementById("NAME").SetAttribute("Value", "username") I have added the Microsoft internet controls as as reference. Thanks, Antonio If you want to have the WebBrowser control ...Show All
Windows Forms Run a program in the background
How can i run a program in the background I've putted 0% oppacity but when i press alt+tab it shows that there is something running. Thanks, Guilhreme Run in the background in what way Have no UI at all Just not show up in the alt+tab display You may want to look into running it as a Windows Service or perhaps adding a NotifyIcon (so as to give the user some way to get to your running app) and hiding any for ...Show All
