CorkChop's Q&A profile
Microsoft ISV Community Center Forums create command button that holds a procedure to another workbook
I have a code to create a chart and put it in new workbook (then i "save as" AdvanceReport.xls). Assume that the current workbook i'm working on is oldWb, and the new workbook as newWb. The first sheet in the newWb contains the data and additional information about all charts. I need to add command button that holds a macro to copy all chart from excel to word in newWb's first sheet. I made the code already,that is: The code to create c ...Show All
Visual Basic Shared Classes
I thought I read a while back that VS.NET 2005 would introduce a way to specify that a class is shared without having to use a private constructor. I know that C# 2005 supports the static keyword for this purpose. Is there a similar technique in VB Thanks, Lance There isn't a way to disable that behavior. However, assuming your problem with that is that intellisense can get clutter ...Show All
Visual Studio Team System PublishRun: Server was unable to process request
Hi everyone, I get the following errors when the Test Run completes... it seems that permissions may be incorrectly set for this account (against the build server), but everything in the drop phase works fine for other build output, which I find somewhat confusing. Has anyone seen this before MSBUILD : warning : Test Run Failed. MSBUILD : warning : PublishRun: Server was unable to process request. ---> Access to the path '\\90dsdev001\Bui ...Show All
.NET Development Show RowState in DataGridView as color
Is it possible to change the background color of a row in a DataGridView to show its RowState For Example all rows that are new will have red background, all modified rows oragne Hi I would implement DataGridView.RowPrePaint event to custom draw the row based on RowState. (see .net help - there is a sample also on how to implement RowPrePaint event) ...Show All
Visual Studio 2008 (Pre-release) Grid DataBinding
Hi, Does anybody know how I can bind a collection of objects to a Grid I have created my own Cell object with the properties: Point (X, Y) and Name (string). I want to populate a Grid with a list of Cell objects (List<Cell>). The content of the Grid will be generated using a DataTemplate (see example below). < DataTemplate DataType = " {x:Type t:Cell} " > < TextBlock Text = " {Bindin ...Show All
Visual Studio 2008 (Pre-release) Go live for LINQ/DLINQ before Orcas?
There seems to be a lot of activity on this forum and it has me wondering...are all these questions coming from applications that aren't going to launch until after Orcas ships OR is it "OK" to create apps today that are targetting .NET 2.0 using LINQ/DLINQ :) Is there any chance there will be a Go Live license for LINQ/DLINQ before Orcas ships Whats the latest on when Orcas is expected to ship Basi ...Show All
Smart Device Development using ADO recordset in ADO.net
Hi! i m still new to .net compact frmanework.... Can anyone tell me how to add reference for ADODB in .net compact framework I cant find it at the project->add reference for microsoft ActiveX Data Objects 2.7 library. Thanks in advance....... There's no support for ADODB/ADOCE in NETCF. Providers for SQL Mobile and SQL Server 2000/2005 are included with VS 2005, other might be available from 3rd parties. ...Show All
Visual Studio Express Editions Newbe question, incrementing a value
I'm trying to increment a value every time button_1 is clicked. Can someone tell me why the following code doesn't work. Thanks in advance. Ken Public Class Form1 Dim number As Integer = 0 Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click number = number + 1 End Sub Ken, I do not see any errors in you co ...Show All
Visual Studio Express Editions Debug problem
Hi, I'm a newbie to the Visual Basic 2005 Express Edition. I've only done some very simple applications the past few days. Suddenly i encountered a weird problem (I think it started when I messed with forces I obviously did not understand, XML and SQL-databases), I get this error message when I try to debug a project, and this won't let me start the debug process (and then programming is kinda hopeless). The message I get is this: " ...Show All
Visual Studio Express Editions Visual C++ 2005 Beta 2 breaks when trying to view project options
In Visual C++ 2005 Express Beta 2 when I goto project options, I get a message box that says: "Failed to create Frameworks PropertyGrid component. Please verify that the Common Language Runtime and .NET frameworks are properly installed." I am running Windows XP Pro with SP2. I've already tried installing VC++E 2005 B2 twice. I ran the cleanup tool with Beta 2 already installed and it seems to work fine now. ...Show All
Windows Forms unbound gridview and combo box
let me explain my problem with the example. i have a Table called Order Table. Two fields ProductId OrderName (for simplicity i took only two fields) i need to show gridview one combobox ,showing product names (it is from product table) and text box&nbs ...Show All
Visual Studio "Load report failed" with a COMException 0x80004005: Invalid class string
Folks, I've installed VS2005 Pro on a totally new, clean XP Pro SP2 machine, and I can view the reports in my project no problem, but when I try to run them, I keep getting this error: System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): Invalid class string at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions ...Show All
SQL Server INSERTs given me the BLUES
cstring = cstring + "VALUES('%" + txtWatchID.Text + "%','%" + txtcenter + "%'" & _ cstring = "INSERT INTO tblNEW (watch_id, service_center_num, repair_envelope, store_number" cstring = cstring + "date_purchase, transaction_num, cust_fname, cust_lname, product_code" cstring = cstring + "value_watch, failure_date, service_date, failure_code, repair_code" cstring = cstr ...Show All
Windows Forms input not going to text box with the caret!!!
This is kinda hard to explain, but here goes. I have a user control, with a bunch of text boxes on its surface. The user control is one of several in a tab control. Sometimes, when I first bring up the usercontrol, if I click&n ...Show All
Visual Studio Team System TestContext.AddResultFile
Hi, What is the intent of TextContext.AddResultFile() do The help file just lists out the method at this point. I thought it would let me override the result file location, but that wasn't the case. Is this a result file that I can add and then populate with additional log information by calling TestContext.WriteLine Thanks. Lets say my test generates 3 files. I add them to the TestContext and the test fails f ...Show All
