Mike Klimentiev's Q&A profile
Visual Basic Publish two projects referenced together
Hello, I have VB.Net 2005 Pro. I built One solution contains two projects Pro1 and Pro2. Pro2 Is a reference in Pro1, Now If I wanna publish Pro2 there is no problem, but If I wanna publish Pro1 the problem comes in this message Could not find the file "Microsoft.Windows.CommonLanguageRunTime, Version = 2.0.50727.0" How Can I publish My Sol !! Unfortunatly that is correct. You will need to build EXE1 manually before building EXE2 if you use a file reference. There is an option you might try to setup the build depenency manually. Select Project->Project Dependencies and mark EXE1 as a dependency of EXE2. T ...Show All
Visual FoxPro Microsoft treeview: Newbie Question
I'm using VFP6 with Microsoft Treeview. I have a little newbie doubt: Can I programatically collapse and/or expand a tree node What command do I use in order to do it Thanks in advance. It's simple. For example: ThisForm.TV.Nodes.Clear ThisForm.TV.Nodes.Add(, 0, "ListRoot", "Lists") ThisForm.TV.Nodes.Add("ListRoot", 4, "Lists", "Printable lists") ThisForm.TV.Nodes.Add("ListRoot", 4, "ExportableLists", "Exportable lists") ThisForm.TreeViewObject.Nodes(1).Expanded=.t. ...Show All
.NET Development Binding to a datagrid
Can anyone help with this one Have a form with a listbox and 5 textboxes, by clicking the different customer id's in the listbox this then displays the relevant info in the textboxes which is first name, last name, city, state and zip code, this works fine but I'm trying to display at the same time the order details for each selected order id in a datagrid but can't get it to work The order details to be displayed in the datagrid from the database are OrderID, OrderPrice and CustomerID, do I need to incorporate a data relation here This is the coding I have so far Imports System.Data.OleDb Imports System.IO Public Class Form1 Inherits System ...Show All
Visual Studio Team System Team Build: SQL Error 512
I am getting an error on the RC bits that seems to be the same as this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=244702&SiteID=1&mode=1 I am getting this in the event log: Detailed Message: System.Web.Services.Protocols.SoapException: A database error occurred (SQL error 512) at Microsoft.TeamFoundation.Build.Server.BuildStore.AddProjectDetailsForBuild(String buildUri, ProjectData project) Exception Message: System.Web.Services.Protocols.SoapException: A database error occurred (SQL error 512) at Microsoft.TeamFoundation.Build.Server.BuildStore.AddProjectDetailsForBuild(String buildUri, ProjectData project) (type ...Show All
Windows Forms New to .NET and UIP Application Block
I am learning .NET coming from some experience with Java and Struts giving a foundation in the MVC pattern. I'm determined to apply the MVC philosophy to my .NET development when appropriate . I've read through the UIPAB help file a couple of times but I'm finding the documentation to the UIP Application Block to be a little too terse and technical and missing details for beginners. For example, at http://msdn.microsoft.com/library/en-us/dnpag/html/uipab-ch03.asp#uipab-ch03_topic3 under the heading " Starting and Resuming Tasks " the docs tell you that to start a task you must call UIPManager.StartOpenNavigationTask("MyOpenN ...Show All
.NET Development bug in Int32.Parse
In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't. The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional int x = 0; x = Int32.Parse("0") // throws FormatException x = Int32.Parse("00") // works fine x = Int32.Parse("000") & ...Show All
Visual Studio Tools for Office ActionsPane does not show up...please helps...
Dear Experts, I just follow "Visual Studio 2005 Tools for Office Hands on Labs for Word 2003" from MSDN....I tested alright, have no problem at all and also have no errors at all...BUT WHY.. ..When I did "Save As" i.e. Cached.doc, then I open the "Cached.doc" my actions pane wont shown up and also the check boxes, list boxes on the word document file wont shown up either....is it because abug coming from VS 2005 software... ...or something else.. Please help me... Thanks, Jennifer I would assume your customization just fails to load. Do you get any error dialogs By default, the path to th ...Show All
Visual J# Return a class in a get-method
How do I return a userdefined classtype (other than Object) in a get-method It is easy in java, but in V J# public class WhatEver { private MyClass myClass; public WhatEver() { myClass = new MyClass(); } public MyClass getMyClass() { return myClass; } } The above code works perfectly fine in VJ# 2005. Did you see any problem with above code If so please provide the exact error message and full code. Thanks, ...Show All
Windows Forms DataGridView Columns Reflecting User's Checkbox Choices
Hi everyone, First off, I am able to reflect the user's dropdown box selections. These selections act as the "where" clause in the select statement. However, the problem I'm currently facing is having the DataGridView columns reflect the user's choices with checkboxes (which are not on the DataGridView). In other words, I would like the user to determine whether or not a field is shown in the DataGridView. This means that if the user checks the Account checkbox, for example, then the select statement should show up as select Account from datasource where ... group by Account Further, in the ...Show All
Visual Studio Tools for Office Button is not getting removed after uninstalling the Word add-in
Hi All, I'm creating and installing a Word Add-in. The add-in creates a button on standard toolbar. When I uninstall the add-in the button is not getting removed. The add-in is the basic add-in from the link http://support.microsoft.com/default.aspx scid=kb;en-us;Q302901 as it is. The code in OnBeginShutdown is as follows: public void OnBeginShutdown(ref System.Array custom) { object omissing = System.Reflection.Missing.Value ; System.Windows.Forms.MessageBox.Show("MyCOMAddin Add-in is unloading."); MyButton.Delete(omissing); MyButton = null; } Can anyone let me know what am I missing I've even tried using oCommand ...Show All
SQL Server DtsConnection -- Consuming DTS DataReader In Code w/ Parameters
I am trying to pass a parameter into the DtsCommand object, but always get the error "a requested parameter does not exist in the package". I have a variable defined at the top scope named EmailPromotion so I tried the following command.Parameters.Add(new DtsDataParameter("User::EmailPromotion", 1)); and command.Parameters.Add(new DtsDataParameter("EmailPromotion", 1)); no luck either way For those of you who are looking for the steps to change the variable namespace, follow these steps: 1) In the SSIS package, open the variable window 2) In the buttons at the top of the variables window, click the on ...Show All
Windows Forms Test Certificate Signing problem
Hi, I have created a test certificate using VS 2005 and installed it in the Trusted Root Certification Authorities and Trusted Publishers. I have set my manifests to be signed by this certificate. Then I am publishing it into an intranet zone ie http://<machinename>/<appname> When i try to download the application from the same machine, I get a "The publisher could not be verified" prompt, and the publisher name is coming as "Unkown Publisher". Is this a bug, because I have the certificate installed on the same machine, even if I get the prompt why am I getting an "Unkown Publisher" as the publisher name Thanks, Kunal ...Show All
Visual Basic So what is with the @ symbol?
Would some one tell me what the @ symbol is doing for me here - and direct me to a list off all possible oddball symbol usage like this - I found it in some code and I've no idea what @ is doing here. Dim myValue As Decimal = 1000@ If myValue > 0@ Then 'run code here End If See here: http://msdn2.microsoft.com/en-us/library/s9cz43ek(VS.80).aspx ...Show All
Visual Studio ParameterFieldCurrentValueException when exporting or printing crystal report
Hi. I get the ParameterFieldCurrentValueException exception when I try to export or print a crystal report (I am using the version bundled with Visual Studio 2005). The report works fine until I add a sub report to it. The sub report has 1 table but I have not put any of the fields onto the report. Neither does it have any parameters set up so I can't see why it is looking for parameters. Thanks, Will. Yeh, I have exactly the same problem as soon as you have a sub report on the main report and try to execute it, it throws a missing parameter exception. I created a app in the Beta 2 release of VS 2005 an ...Show All
SQL Server Query the Full-Text Words List?
Hi Guys. I’m doing searches in a DB and am using the Full-Text Indexing. CONTAINS() will only process strings (words!) three letters or more in length. Even though it can do substring searching, it will only do this if it recognises the parameter as a word . So take this code for example: Dim mySQLStatement As String = "SELECT TOP 100 Description, Price, Stock FROM Products WHERE " x = Split (strString, " ") For i = 0 To x.GetUpperBound(0) & ...Show All
