DanielD's Q&A profile
Visual Studio Problems with some links
I am having problems accessing some links in the Help System installed on my pc. Some links don't make the mouse pointer turn to a hand and are unclickable, this occurs in both the Visual Studio 2003 and Express help systems. The last time I only reinstalled the MSDN Library, although before that I reinstalled VC++2003 and the MSDN Library. ...Show All
SQL Server Problem trying to use the RS Web Service
I've created a web reference to a copy of Reporting Services (2000) on my work network using VS 2005. I then have the following code in my test page; Imports mw03aste Partial Class rs Inherits System.Web.UI.Page Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load If Not Page.IsPostBack Then &nb ...Show All
Windows Forms Click Once - How to get version
I have a clickonce app in VS 2005 that I am trying to print the current version number for. If I do this: System.Deployment.Application. ApplicationDeployment .CurrentDeployment.CurrentVersion.ToString(); Then I get the error: Application Identity not set. What gives Hi Keith, The property your are using is correct. Is you app ClickOnce deployed. You can try the following code to get the version if (System.Deployment.Appl ...Show All
SQL Server SQLInfoMessageEventHandler and PRINT statement in SQL Express
I have a stored procedure contains a few PRINT statement that return the status to the client. On the client side, I am using vb.net to add handler for it, as follow: '-------------------------------------------------------------------------------- con = New SqlConnection("Data Source=.\SQLEXPRESS;Initial Catalog=IntranetMaster;Integrated Security=True;Persist Security Info=False;Connect Timeout=0") AddHandler con.InfoMessage, New S ...Show All
SQL Server Locking a file
I am currently developing an data collection application that utilizes SQL Express 2005, I do not have the funds atm to upgrade to another version. I will be offering a free/crippled version of my application available for download. I do not want the free version to require the user to install SQL Express 2005 to use the data base. My question is this, I am wondering if I can take the database file itself and lock it, then use it like a flat fil ...Show All
Visual C# Nullable Int32 Parse
Is it possible to parse a string into a Nullable Integer If the string can be parsed the Parse method would return an integer, if not it would return null. Here is how I would expect it to work: String s = "5"; Int32 i; i = {Something}.Parse(s); I have seen this question asked many times, but could not find an answer so I am guessing it cannot be done in v2. You can write your own {Something}, it need only cont ...Show All
Visual Studio Team System Ability to add "State" to the columns on Links within a work item
Is there any way to modify what columsn are shown on the "Links" tab of a work item view For instance, for related links, I want to show a column that has the appropriate "State" of the work item (Proposed, Active, Closed, etc). Is there any way to do this Thanks, ~slee I would add that I would have loved that feature as well Slee. Without it, it is quite hard to see from the work item view if all the tas ...Show All
.NET Development Event subscription model
Hi, I've been struggling with the following scenario for a while and have yet to find a good solution for it, so maybe someone give me some hints: I have a component that retrieves financial market data, let's call it FMD. All the data comes in at one method and gets published via the NewData event. I have several subscribers to this NewData event, let's say S1, S2, S3. Every subscriber sends a request to the FMD, telling him to get data for a c ...Show All
Visual Studio Team System How to set version information in a builded exe file
Hi all, When I build a solution, there will be exe file generated. Each time I build a solution, I want to set a unique version to the exe file. (right click the exe file, there should be a tab about the version informatin of the exe file.) Where and how could I set this version information Thanks, Leon Leon, You will need to programatically modify the AssemblyInfo.cs/vb file in your build script. There is a set of custom MSB ...Show All
Smart Device Development MFC CPropertySheet/CPropertyPage
Good day. I use MFC classes CPropertySheet and CPropertyPage to implement tabbed application. I've got some questions: 1. How can I move tabs to the top of screen I tried to apply TCS_BOTTOM attribute, but it doesn't work: CTabCtrl* pTabs = this->GetTabControl(); DWORD flags = pTabs->GetExtendedStyle(); flags |= TCS_BOTTOM; pTabs->SetExtendedStyle(flags); 2. When I have only one PropertyPage in my Sheet, components of this pag ...Show All
Windows Forms "Cannot find keycodev2.dll or invalid keycode"
Hi, I created winforms and was able to deployed it using NTD. I used VS.Net 2002 and VB.Net. I have crystal reports in my forms. Everything is working except when i tried to view the reports in client (Win 2000, installed w/ . ...Show All
Visual Studio Express Editions mediaSoundPlayer.Play() does not always play right!
This is supposed to play a click sound. It usually does, but it frequently plays a PFFFFFFT instead!mediaSoundPlayer.Stream = My .Resources.PodVwBy mediaSoundPlayer.Load() mediaSoundPlayer.Play() I have other sounds in the program, and, they misfire occasionally, too! The built in help suggests something similar to this: Public Class Form1 Private Sub Button1_Click( ByVal sender As S ...Show All
Windows Forms removing the focus rectangle from a flat button
i've set up a form with a set of flat buttons, and am wondering if there is any way to remove the large, unsightly inner focus rectangle from them. i notice that a heavy black border also appears around the button when in focus, and&n ...Show All
Windows Forms assistance modifying HMI
I would like to hear from vb programmers that are familiar with human machine interface software, in particular a program called lookout direct (ver. 4). This program collects data from an automated process through a programmable logic controller and stores&n ...Show All
Visual Studio Express Editions sql express database
Hi, I've created databases using sql 2000 etc, but how do you create databases and tables on sql express There is no Enterprise Manager or query analyser that I can see Do you have to create them through Visual Studio intead As far as I know there is no Enterprise manager for SQL Express (as there was no for MSDE). You can manage the SQL2005 via command prompt, using the VisualStudio IDE or with the Microsoft S ...Show All
