asics64's Q&A profile
Visual Studio Tools for Office Please help me...
Dear Experts, I am creating a Word Document project using Visual Studio 2005...However, when I tried to "Run" for the test...there was a warning which is said like this: "The assembly must be granted full trust before the solution will run." What should I do know in order it works.. ...Please help me... Thanks, Jennifer Hi, Well I'm not realy an expert but I had the same problems when I sta ...Show All
Visual C# Error CS0554. user defined conversion to/from derived class
I have come across a most peculiar compiler error. When I try to define a cast operator to convert from a base class to a derived class I get this error - apparently according to the help "User-defined conversions to values of a derived class are not allowed; you do not need such an operator." Is this as insane as it appears to be or am I missing something somewhere Of course I need to define a cast operator, how else can the compiler know how t ...Show All
Visual Basic Help!! System.Reflection.FieldInfo Can't SetValue
Hi all, Did I do anything wrong here Public Sub New ( ByVal li As ADF.LoginInfo, ByVal thetype As String , ByRef obj As Object , ByVal InitialGUID As String ) _GUID = InitialGUID Dim ObjectType As Type = obj.GetType() _TheType = thetype _LoginInfo = li Dim sql As String = "" Dim _ReturnDataReader As SqlDataReader sql = "SELECT * FROM ADF_" & _TheType & " where GUI ...Show All
Visual Basic Problem with Tab Groups in VS2005, programing in C#
I have run into two problems when using tab groups in the VS editor. 1. If I have two tab groups organized vertially (never tried hz.) after navigating in a file in the second group, after clicking to edit a file in the first group I can not make any edits. I can use the arrow keys, and I can actually delete text, but I can not enter any new text. Simpy clicking on a different file in that tab group, then clicking back to the original file so ...Show All
Visual Studio Team System Team Suite 2005 RC - Can't run unit tests when web project is in solution
If I create a solution with only a class library, unit tests run as expected. If I add a web project to the solution in addition to the class library, unit tests will not run and I get an error message like this: "Operation is invalid for the current state of the object." Removing the web project from the solution doesn't immediately resolve the problem but by cleaning, rebuilding, and opening the solution from scratch unit tests will work again ...Show All
Visual C# Key pressed
Hi, I know how to check if a single key has been pressed, as long as it is an ASCII character. But how can I check for, say, the Insert key, or a combination like Control-X Regards, Guido Using the KeyDown event you can capture these keys: private void Form1_KeyDown( object sender, System.Windows.Forms.KeyEventArgs e) { Debug.WriteLine(e.KeyCode); } The Ctr ...Show All
Windows Forms DataAdapter wizard???
In whidbey, what happened to the dataadapter wizard that was in VS.NET 2003 My ADO.NET knowledge is lost... Check out the Data Source Wizard , available under Data | Add New Data Source... ...Show All
Visual Basic Notify Icon not responding to right clicks in my windows service.
I created a windows service using the Walkthough found on msdn. It works fine, but I have two problems. 1. I created a NotifyIcon, which shows up in the System Tray fine, and if I hover over it, it shows the name of my service, but it doesn't seem to respond to right clicks. I have a contextmenustrip that is never shown. What do I need to do to make the notifyIcon respond to right clicks and pop up the menu 2. The walkthrough creates a ser ...Show All
SQL Server Group Header Alternating color
I am trying to get alternating colors on group headers. The rownumber() doesn't work; that only seems to be the count of rows in the group. Does anyone have any great ideas for this Thanks! BobP I realize this was a year ago, but was wondering if anyone had figured out a solution. I am trying to alternate colors at the group level and am not having any luck... ...Show All
Visual C++ error PRJ0003 : Error spawning ' '
i got error that in vc++.net that is There is no build command line to execute. Performing Makefile project actions MyNewProject : error PRJ0003 : Error spawning '' mynewproject is tha name of the project i cant understand anything i search msdn but cant got any idea so please help me! Its urgent Thanks Take a look at the possible causes at http://msdn2.microsoft.com/en-us/ ...Show All
Windows Forms how to create simple IDE? - from Where to start ?
hello every one ... i need some guidance .. i need to develop simple IDE which can hold my custom control & generate xml tags against it like vs.net does when we developing asp.net applications. i know its not that easy.. just need to know from where to start what keywords to search any book out dere what need to be learn to develop these kind of IDE i know how to develop custom controls .. need info about creating IDE .. is der ...Show All
Microsoft ISV Community Center Forums After_Save Event???
Hi to all. I have a problem. For some sheets, I set to invisible before save. Now, I need set to visible the sheets after save, but there aren`t a After_Save Event... How can I solve my problem Any idea Thanks & Regards. The code in blue below may help. MacroSave is my global variable Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Dim sa As Boolean sa = SaveAsUI If Not MacroSave ...Show All
Windows Forms How to select a specified item in ListView
Hi there. I have a simple problem, I want to be able to select a specified item in ListView. In ListBox I know there is something called: SetSelected(int index); but I havent been able to find anything relative to that in ListView. Please tell me how it is possible. Hi, the ListViewItem has a selected property, set it to true: item.Selected = true; or you can go by: listView.Items[index].Selected = true; ...Show All
Smart Device Development Deployment error...
Hello; I'm writing a program with VS 2003 but when I start deploying to the device, I receive this error: "Error: Cannot establish a connection. Be sure the device is physically connected to the development computer." Although the device is connected with Async,VS2003 gives this error. How can I solve this... May you help me pls... Thanks in advance. a) Which version of Active Sync are you using Please, ...Show All
Visual Studio Express Editions Crystal Reports in VB Express 2005
Is there any way to get reporting capabilities into VB Express I don't want to purchase the entire visual studio, but I want a reporting tool. Hi There I have Asked the D*m Question 3 different Ways in 3 Different Forums... No Response from the MS or VB Gurus..... It's a Well Kept Secret.... Went to a Book Store Today and found a Dummies Book on SQL Server Reporting Services...From the Book it says these services will take you where y ...Show All
