Alan Ren's Q&A profile
Visual Studio Add-In Wizard problem in VS 2005 Beta 2
Hi, I'm trying to build an Add-in with the VS 2005 Beta 2 wizard. After completing the wizard and pressing F5, I can see the Add-in in the "Tools - Add-in Manager". The Add-in itself, however, is not shown in the Tools menu. While running in Debug mode, the line : Command command = commands.AddNamedCommand2(addInInstance, "MyAddin4" , "MyAddin4" , "Executes the command for MyAddin4" , true , 59, ref contextGUIDS, ( in ...Show All
Windows Forms how to develop a taskbar
i want to develop an application which will be like a ticker above the windows taskbar and i need to reserve a space so the windows dekstop will be -taskbar -my ticker can you please explain what you are trying to do. are you trying to emulate windows taskbar and want to recieve events for every new task being created/updated or destroyed. ...Show All
Windows Forms dataset to xml to rtf problem
Hi there I create xml file from a dataset and then use the created xml file and a xslt file to create an rtf file. Here is the code to generate the files: System.IO.FileStream myFileStream = new System.IO.FileStream ("c:\\mySchema.xml", System.IO.FileMode.Cre ...Show All
SQL Server Making our SQL Server 2000 application ready for SQL Server 2005
We have several applications that were developed using SQL Server 2000. Most of our customers run MSDE, some the full SQL Server 2000. We are in the process of making sure our applications will work properly in SQL Server 2005 / SQL Express. I have a few questions regarding this issue:- 1. Should I set the compatibility level to 80 for our databases or should I aim to make our applications work the 90 compatibility level ...Show All
Windows Forms Downloading HTML pages...
Is there a method to download 5 HTML pages at the same time using C#, and DIRECTLY from the server, without going through cache Also, just a neat little trick I learned a while back when dealing with caches: if you ever ...Show All
Visual Studio 2008 (Pre-release) Modal Dialog Window Always Being TopMost Window Relative to the Parent Window
Is there anyway to make a dialog window appear always on top of the parent window If you change the dialog windows ShowInTaskBar property to false and you switch applications and then switch back, your application becomes unusable. The parent window hides the dialog window and you effectively can't do anything anymore as you can't get to the dialog window. I know there is a TopMost Property that I can set, but that makes the window the absol ...Show All
Smart Device Development Activesync
I am trying to write an application that can make activesync start.... I downloaded pocket pc sdk 2005 and it has a c++ example, but I would like to have it done in c#.. There are other things I wish to do and c# is my language of expertise. Any idea what to do..I hae vs 2005 Bear23 wrote: I am trying to write an application that can make activesync start.... I downloaded pocket pc sdk 2 ...Show All
Visual C++ vc++8.0 bug: access violation upon call of any CImageList methods
I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0 into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes w ...Show All
Visual Studio Team System Defect tracking tool
As far as i have researched, I found that VSTS has bug tracking tool. Please correct me if I am wrong. Also does anybody know any other BUG/DEFECT tracking tool by Microsoft Please let me know immediately. Thanks. Team Foundation Server includes bug tracking (Work Item Tracking). See http://msdn.microsoft.com/vstudio/teamsystem/team/default.aspx for more information. It is the only bug tracking tool Microsof ...Show All
Visual Basic VB Selecting the lowest Integer
Hello again! The program is coming along great... I have a situation where I randomly generated 4 integers between 1-50 What I want to do next is have the program select the lowest and highest numbers from the 4 different dim integers. Can anyone out there lead me in the right direction thanks! Hey i want to be able to sort number into ther corect order i have the number 1-10 in text boxs out of o ...Show All
Visual Studio Express Editions Random Letters
How do I get a Random Letter I think I need to first get a Random number, then have the number = a Letter i.e A=1, B=2 etc but how do I do this This is shorter Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim intLetter As Integer Dim arrNumber(0 To 25) As Integer Dim Number As Integer Dim i, y As Integer ...Show All
Visual Studio Express Editions compile issues
I am a student currently having my attachement. I need to understand whether is there a way to compile a project( example like using solution file) in cmd This is because i wish to create something like a nmake file to compile any project. Any help is appreciated. thanks csc.exe http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/csharpcompiler.asp ...Show All
Windows Forms Using Clickonce to install MSI?
Hey everyone, I'm not sure if this question has been answered before - so forgive me if it has already.... I was thinking of using Clickonce to install an MSI file (which would be installing services), and then using Clickonce to download new versions of the MSI file and install them. I believe that the MSI files can configure the services (e.g. stop the service from running, install the new one, and start it.) Does anyone know if ...Show All
Visual C++ msvcr80d.dll not found
I've created a simple Win32 console application. When I try to debug it, I get the message: "This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix the problem." The Release version runs fine. Any idea as to what the problem could be Thanks, Jonny This means several things. a) your console application does not have manifest. Either embedded inside or ...Show All
SQL Server The Cubes collection has been updated on the server - error
I am using SQl Server Analysis Services 2005 and an associated Visual Studio 2005 web application that utilizes the cube generated in Analysis Services. My problem is that after I make changes to the cube I sometimes get the error: "The Cubes collection has been updated on the server" . I've rebuilt the cube and deployed it..shouldn't that be enough I also rebuilt the web app and am still getting the error. How do I get passed th ...Show All
