Harald Bacik's Q&A profile
SQL Server 2005 April CTP Install Failure
SQL Server Setup could not conect to the database service for server configuration. The error was: [Microsoft}{SQL Native Client} Named Pipes Provider: Could not open a connection to SQL Server [2]. Refer to server error logs and setup logs for more information. For details on how to view setup logs, see "How to View Setup Log File" in SQL Server Books Online. That is the error when attempting to install to W2003 running as a VPC2004 guest OS. The framework and VS Beta 2 are installed and functional. During setup I recall no configuration option that required the use of Named Pipes. For the most part I used all d ...Show All
Smart Device Development VS2005 Smart Device CAB building problems
Hello... I am having a problem building a CAB file for a .Net CF PocketPC application. In VS2003, I would just simply select the "Build CAB File" menu option and, like magic, a CAB file would be created that would include the necessary DLLs or other dependencies. The size of the file, including some 3rd party DLLs, was about 1.8MB. Now, using VS2005 I finally discovered that you have to create a separate CAB file project. Not difficult, but certainly not intuitive...at least for those that have VS2003 experience. The PROBLEM is that the resulting CAB file is 35MB! It has all of the .net DLLs that were never part ...Show All
Software Development for Windows Vista The program hang up at DestroyWindow when I'll shut down my camera-program
Hello I use Visual Studio.Net 2003 and W2K. The program freezes at DestroyWindow when I'll shut down my camera-program I use Vfw32.lib to get Pictures from a camera. The program runs without errors. But if the program runs more than one minute and I shut down the program, it stops at DestroyWindow. Here is the function: void V_leavevideo(){ if (V_is_capturing){ capCaptureAbort(ghWndCap); V_is_capturing=0; } // Disable and free all the callbacks capSetCallbackOnVideoStream(ghWndCap,NULL); if (fpV ...Show All
Visual Studio Changing crystal reports connection string dynamically using auto-attach feature
I need to switch between the databases at runtime for my crystal reports in .NET 2.0. Is it possible to change the crystal reports connection string at run time in .NET 2.0 Please provide me any sample code which illustrates dynamically changing the connection string of crystal reports at rune time. Thanks in advance, Vaishu vaishali.mspp wrote: Try this code sample: Dim crtableLogoninfos As New TableLogOnInfos() Dim crtableLogoninfo As New TableLogOnInfo() Dim crConnectionInfo As New ConnectionInfo() Dim CrTables As Tables Dim CrTable As Table 'Declare ReportDocument ...Show All
Windows Live Developer Forums And the winner is...
Within a few weeks, the winner of the Worlds best app contest will be anounced, so I think it's an interesting question to ask: Who (or which app) will win My guess: In the Games section I think somebody from the netherlands will win... There are a few good games (actualy a lot of good games, but these are the best in my opinion): - Hangman (very basic and simple, doesn't require a fast pc, everybody knows how to play it - Tankwars (the one with the most launches, I like it, but it get's kind of boring after a few times... But it's still a good 2 player game! - Pool (nice graphics, very smart use of MSN Ear ...Show All
Visual Studio msdbg2.dll not correctly installed
Hi When trying to debug a native C++ application the VC (VS2005) displays an error message like this: Unable to start program 'MyApp.exe'. A debugger 'msdbg2.dll' is not correctly installed. Please repair your Visual Studio installation. I have installed the Visual Studio 2005 on three different machines (All XP Pro SP2) one of them a clean install. All 3 exhibits the same behaviour. Any insight will be much appreciated :-) The app would debug just fine on VS2003 - which I deinstalled before installing VS2005 (The clean install didn't have any VS installed) Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-42 ...Show All
Visual Studio Express Editions creating a .exe File
Hello, i have a really simple question, I’m a noob on Visual Basic. Can I create .exe Files with Microsoft Visual Baisx 2005 Express Edition greetz steverino Hello Steve, yes you can. See this page for more info about what types of projects you can create in VB Express: http://msdn2.microsoft.com/en-us/library/b4z62wxz(en-US,VS.80).aspx Console applications and Windows applications produce an executable file (.exe) HTH Antoine Visual Basic team ...Show All
SQL Server Direct access to MSDE tables without providers
Hi, How can get direct access to MSDE tables without providers Thank's Alexei You need a data access provider for accessing the database. HTH, Jens Suessmeyer. ...Show All
Smart Device Development Closed event fires twice
Hi All, I have a form that is opened as a dialog (Form.ShowDialog). When I call Close() from within the form code the Closed event is fired twice... why Here is the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace LVDDataLogger { public partial class FormLoopsChange : Form { private Station lvd; private int index; public bool ApplyAll = false; public FormLoopsChange(Station lvd, int index) { InitializeComponent(); this.lvd = lvd; this.index = index; ...Show All
Visual Studio Express Editions Can't assign a property from a module
Hello I have a form called Mainform and a module called module1. On the form, there is a statusbar with a label and a progressbar. Now I have this code in the module: '// Place a progressbar an our statusbar Public Sub provide_status( ByVal text As String , ByVal complete As Integer ) Mainform.ToolStripProgressBar1.Visible = True Mainform.ToolStripStatusLabel1.Text = text Mainform.ToolStripProgressBar1.Value = complete End Sub '// Please call this when your process finishes Public Sub status_finish() Mainform.ToolStripProgressBar1.Visible = False End Sub I call the f ...Show All
Visual Studio Team System Development Database Version Control within distributed teams
Dear members, We are using TFS as version control tool for our distributed teams located at different geographics locations, they are connedted to same TFS server so the source control is synchronized wihtout any issue but ofcourse every team have thier own database server to continue their development work, so now the issue comes of database version control. So heres the scenario - Database consists of Tables, Constraints, Stored Procedures,Diagrams, default data in various tables (esp the app permissions data) - any team can do change in their database but it shuld be sync to the main database so the other teams can syn the changes in thie ...Show All
Visual Studio Tools for Office ContentControls & VSTO(v.3 aka 2007)
I have yet to throw on the newest CTP of VSTO, i have the second newest version. I would like to use Content Controls in my document solution as a way to show visual cues to the users. From the content controls i have seen, they only appear different when the user hovers over the next, i am looking for a way to have these ContentControls always on with the blue outline around the content control. It would also be very useful that i can hide my content controls programmaticaly and the content contained wherein. does anyone know if these types of things can be done with the lastest ctp or if these kinda things mite be considered for the final ...Show All
Software Development for Windows Vista C++ and WWF
I don't see any discussion about C++/CLR code generation, just C# and VB. Will this be added That makes me sad. We are a C++ shop and have lots of old code. The new C++/CLR version in 2005 looks like the strongest of the .NET compatible languages. ...Show All
Visual Studio Tools for Office Is it possible? excel named ranges.... subtotaled?
I have an excel spreadsheet with named ranges on it, I am total the named ranged: this is one named range column header1 column header 2 columnheader3 sum of column header2 this another column named range So what I would like to do is add another section just below this one…. this is one named range column header1 column header 2 columnheader3 ...Show All
Visual C# Threaded Controls
I'm a little confused on how to show a progressBar with style continious on a seperate thread. Do I need to create the progressBar at runtime...or can I pop one on the form and just invoke it Style Continious can just be set in properties...with nothing really to do in the threadproc...know what I mean My form is also getting very "crowded"....mucho hidden panels groupbox, etc. Rather create at runtime and just bringtofront....let it run...and then abort when finished. TIA You can add the control dynamically, at runtime. See "To add a control to a form programmatically" in this doc . You'll still need ...Show All
