Mr.Nam's Q&A profile
Visual Studio Dynamically determining link type
I'm just getting started with what may become a fairly complex DSL. Assume I have a bunch of elements in my domain model, with a variety of link types. In the designer, I'd like to be able to drag a "generic" link between two shapes, then have it dynamically turn into the appropriate link type (assuming there is a valid link). If there's no valid link type between the two shapes, there should be a visual indication during the d ...Show All
Visual Studio Tools for Office MSFlexGrid init fails only on some boxes with "Class is not licensed for use"
My app has been using the MSFlexGrid OCX control for years. My install CD registers the beast automatically (an old InstallShield v6.22 app, but it works). Previous versions of the app have worked fine on all versions of Windows. Now it fails but only on one particular box. After porting to Studio 2005 the OCX fails to initialize in the call to it's class factory's CreateInstance function with the following parameters: clsid = { ...Show All
Visual C# Query DataBase Pt. 2
Ok. I've gotten a lil farther but I am still having problems. In my database, I have a column named "SongName", and in the records, I have a song named "Ashanti - Baby". When I put this query command: SELECT * FROM TableName WHERE SongName = 'Ashanti - Baby'; It queries just fine. But when I put the following code: SELECT * FROM TableName WHERE SongName LIKE 'A*'; The query doesnt pull up anything. Can someone tell me what the problem is I ...Show All
Visual Studio Team System Testing a Web application with Active X Controls
Is testing web applications with ActiveX controls supported, if so how would one go about doing this. The application being tested was not developed in house so we do not have any code just the application. We are trying to load test the application but ran into problems recording due to the Active X controls being used. To save a fiddler recording as a web test use the File->Save->Visual Stud ...Show All
Visual Studio Custom Project Template: Custom Parameters that use scripts?
I am converting a Visual Studio .NET 2003 custom project template to VS 2005. So far it is working except for a tiny detail, and the new format is going to be much much easier for me to maintain, thanks for all the hard work the VS team has put into the redesign! With VS 2003, I had to make changes to a JScript file and if I called the method wizard.AddSymbol, I could create a variable that I could easily access in the program's source fi ...Show All
SQL Server Strings as measure
Is it possible to have strings as a measure I tried to build a cube with string measures and I choose no aggregation function for that measure, but I always get the error message: The for Analysis Services 2005 the answer is : Strings are not supported as a measure types. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
SQL Server SQL connection problem
So i installed Vis Studio '05....really awsome. Next I installed SQL express with the CTP Manager all seemed to go well. I could create new databases using the CTP manager, but anytime i try and connect using Vis Studio, i get the same error....can't connect, check remote connections. Both VIS and SQL installed on the same machine and i setup SQL to use Win Auth to connect, I also have TCP and named piplines enabled, although i dont know what na ...Show All
.NET Development Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)
While trying to send email using <code> SmtpClient obj_SmtpClient = new SmtpClient (); obj_SmtpClient.Host = "" t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body); </code> I get the error message: Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, So ...Show All
Visual C# Language selection in VS 2005 .NET deployment project
Hi all, i am working on a C# project, where i have a deployment project added to the solution. I have have made a custom install action, where i show a dialog for selecting the language for the application. I wanted to know if it is possible to let the custom install action know, which language the setup project is compiled in. So that if the project is compiled with Localization property set to english, the text on the custom ...Show All
Visual C# Installing Windows Services during runtime
Aloha, I've been trying to install a Windows service during runtime in Visual C# without using any seperate programs like installutil.exe. The MSDN library barely gives any information on this, always referring to installutil.exe or a full MSI installer package, neither of which can be done in runtime. I'm wondering if it's even possible to do this during runtime. Perhaps it would be better (but messier) to directly alter the registry perhaps ...Show All
Visual Studio could not load type Microsoft.VisualStudio.CommonIDE.TemplateWizard.Wizard
Hello, After installing VS.NET 2005 Beta 2 from the DVD (visual studio team suite beta experience kit), i installed a newer beta build . Now i had had to switch back to the Beta 2 that came with the DVD and i have all sorts of problems. Now, the latest problem is the one in the subject. Anyone can help Best regards, Lucian Chiriac Hi, i'm struggeling with the same problem, but it goes a little further: In the ...Show All
Visual Studio Express Editions Where to get Setup Projects
Hi, I have read in the help files for VC++ Express about creating a setup project so as to be able to deploy my program. I have not been able to find the setup projects in VC++ Express. I have also read in the newsgroups that they don't come with the express versions. I think this is a shame as the type of people that would most likely use the express versions of the software are most likly the same people that could do with a ...Show All
Visual C# datagrid in vs2005
In VS 2003 there was Datagrid1.Columns or Datagrid1.Rows, in vs 2005 none. I want to define width of a column, so i can't use Datagrid1[0,0]. My question is: Is necessary do datagrid1.Tablestyle[0].gridcolumnstyle[0].width or there is another way Thx YEs i know but gridview has some bug we are trying to solve. Moreover they are not the same... i haven' t datagrid.rows in vs 2005 Thx ...Show All
Visual Studio Tools for Office Orphan Winword.exe with PIA
Hey I am using PIA to run thru documents and convert hyperlinks, using VS2005. To date, PIA has been very helpful, but I have a problem with it leaving an orphan Winword.exe process behind after the process has finished. I use the PIA in a class, which has the following code to instantiate and destroy the object. Imports Word = Microsoft.Office.Interop.Word ... Private _app As Word.Application Public Sub New() _app = New Microsoft.Of ...Show All
Windows Forms How to get constant pen width when scaling graphics?
Hi! In the application I develop, objects consisting of lines are drawn on a control. Now i would like implement a zoom feature in my application. The idea is to implement the zoom by a scaling transform in the control's OnPaint method. This scaling will also affect the line widths of my objects, but I want the lines i draw to have the same widths always. I thought I could solve this by inverting the trans ...Show All
