dart_board's Q&A profile
Windows Forms Calculate Width of a String in Pixels
hallo, Given a Font and a string, is there any ready-to-use function in .NET which can compute the resulting width of the string in pixels So that I can adapt say a Label, MenuItem or Textbox to the new size of a string. thx, Steve ...Show All
Visual Studio How do I activate the Error List?
Howdy, In my VsPackage, I create a bunch of tasks in the Error/Warning List through ProjectNode.TaskProvider. I would like to activate the Error List when I'm finished creating all the tasks, but when I call ProjectNode.TaskProvider.Show() it always shows the Task List. How do I activate the Error List Thanks! Eric ...Show All
.NET Development Selecting the version of .NET Framework for applications
Hello. I've installed both 1.1 and 2.0 beta 2. Now, when I execute a .NET application I'd like to choose which version to use. Some applications work better on .NET Framework 1.1 and some require .NET Framework 2.0. Is there any way to choose .NET Framework for specific application Thank you. Hi, I don't think that this is possible. It really depends on where you compiled your program, if you compiled it in . ...Show All
Visual Studio Crystal SQL Designer + VB6
Hello everyone I'm making a project in VB6 that uses crviewer to preview a report made in CR8.5 that gathers data from a Crystal SQL Designer (.qry) file. Now, apparently, if CR isn't installed on the machine, the CR file is unable to read the .qry file ("The field name is not known" when executing the .ViewReport method) Is there any reference that I can add to solve this problem or if CR isn't istalled on the machine then there ...Show All
.NET Development Making web service on localhost externally visible
Hopefully this is easy... I created a web service (vs 2005 beta 2, IIS 5.0, win xp) that is installed locally in localhost. I can successfully access the web service from a client app I wrote and via internet explorer. my problem is, how do i allow somebody "in the cube next to me" to access the web service He always gets a "page not found" error. He has tried accessing it via my computer name and ip address. e.g., http://MycomputerName/MyServi ...Show All
SQL Server Query performance
have a database table. The table has number of fields. Out of those fields one is Company and another is DateTime. The table has thousands of records. I want to get the most recent record for each company. In order to do that I am using the following query SELECT * from CompanyDetail AS X WHERE [DateTime]=(SELECT max([DateTime]) FROM CompanyDetail WHERE Company=X.Company) ORDER BY Company Note: There is only one record exists for the give ...Show All
Visual C# Raise event from IE hosted windows user control and catch it in the Web Form that’s hosting the control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind. If possible, please send me a small sample project ( bozesan_mihai82@yahoo.com ). But, of course, I would appreciate any suggestions! Thanks in advance! Hi! Launch event from client side to catch in the server side You need t ...Show All
.NET Development A question on the new CLR Profiler for .NET Framework 2.0 Beta2
I notice that there is a new release of CLR Profiler for .NET Framework 2.0 Beta2. However, there is also a profiler in Whidbey Team System Beta2. What's the difference between them Which one should I use Thanks! To a certain extent this is what has happened - the VSTS folks have looked at CLRProfiler and integrated the most important features into VSTS. The idea was that most users would just work with VSTS. Thanks Peter ...Show All
.NET Development could not find localhost when creating new project
Hi friends am new to .net and writing a small web service application.am using vs 2005 beta2. i created new project (asp.net web service) and new project dialog box i selected location as "http" and name of project name i entered as http://localhost/customer orders webservice and as soon as i click ok i get following message saying "Could not find a Web server '<localhost>'. Check to make sure that the Web server name is valid and yo ...Show All
Windows Forms Timer Issue
Hey, Usually I am over moderating at ASP.Net, but today I have a question for you guys. I have a timer that just is not firing. Can anyone help Imports System Imports System.Collections Imports System.ComponentModel Imports System.Configuration Imports System.Windows.Forms Imports System. ...Show All
SQL Server Deploying SQL Server 2005 Express
Hello 1.) Is there any solution for integrating the deployment of the sql server express into the setup project of my vb 2005 app 'Cause it is too much to install the framework... then the sql server and then the app....... Any help would be appreciated! Thx This may help: http://msdn2.microsoft.com/en-us/library/ms165716.aspx Buck Woody ...Show All
Windows Search Technologies Expose WDS via ASP.NET web page
Hi I successfully have a web page returning results of a WDS query, but I would like to be able to expose the body of the messages ( the only WDS src I am searching is emails, PST's to be exact ) The WDS query returns the results but I cant figure out how to get at the body of the messages.. thanks! Microsoft Office SharePoint Server 2007 for Search is the server side scaleable search engine. http://office.microsoft ...Show All
SQL Server How Can I Do This Better in SQL 2005?
I have two tables, one contains ids(very small, less than 100) and the other contains history(very large, over 1000 mil); table a (id int) table b (id int, contact_datetime datetime, id2 int, id3 int) I need to pull latest contact date and other id fields from table b fastest possible. in 2000, I did following sql query, select a.id, b.contact_datetime, b.id2, b.id3 from table a inner join table b on b.id = a.id where b.c ...Show All
Visual Studio Reports for VC# 2005 Express Edition
Hi all; i read a past thread in this forum that says there are no available reporting tools for use with VS 2005 express edition. is is true for only CR report viewer, CR report designer or we can use some third party reporting tools by importing dlls or by using some addons. someone plz comment or suggest an alternative for this problem that can help in generaating reports using vs 2005 express edition. thanks and regards. M USM ...Show All
SQL Server messages aren't getting through after backup / restore on a different server...
after restoring a database and regenerating keys, I'm trying to queue messages, and they're all hanging out in sys.transmission_queue with the following message: An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission. I can't find any documentat ...Show All
