LauraCapatina's Q&A profile
Smart Device Development Breakpoints causing connection loss on debug
What started out as a random problem has become a full-time issue. Attempting to run a WM 5.0 app causes a "The Connection to the Device has been lost, blah, blah, blah" error. Deleting ALL breakpoints allows the app to deploy and run perfectly. Breakpoints can then be set for debugging. Setting a SINGLE breakpoint before deploying, however, will now cause this problem. The larger the app became, the more prevalent the problem became until some critical point was reached...now it happens every time. VS2005 and ActiveSync have been removed/reinstalled. I've tried VS SP1 Beta and ActiveSync 2.5 Beta. I've tried several different devices along with the emulators. No change. Has anyone heard confirmation of this ...Show All
Visual Studio problem adding solution to Sourcesafe
Very simple task you'd think, add a solution to sourcesafe and keep it in the same directory structure and location with reference to the root, NOT so!!!! SourceSafe through Visual Studio keeps creating additional structures. This is ridiculous. My solution is at C:\projects\Prototypes\IDE\MySolution\MySolution.sln The root of the present SourceSafe is C:\projects 1. I select the solution in Visual Studio and select "Add solution to source control". A dialog appears prompting me with name: MySolution.root location: $/ This creates a node name MySolution.root in the root dir C:\projects, which I do not want. 2. Instead I change the name to MySolution and change the location to C:\projects\Prototypes\IDE\ This then, frustratingly, ...Show All
SQL Server ReportViewer client side memory utilization
I am using the ReportViewer control with Reporting Services 2005. Using remote processing, i am getting a report with around 150 pages back. When the report comes back, the entire report is downloaded to the client, then they are able to do paging. Is there a way to only download the data for the first page, then on-demand download the rest of the pages Basically need a way to page remotely. Any ideas ...Show All
Visual C++ project properties are not visible in vc++ 2003
hi all, my vc++2003 application . i select project properties .but right side options are not visible to me. can anyone help me Regards, Rups Do you mean this http://www.codeproject.com/buglist/vsnetbugblankproperty.asp ...Show All
SQL Server Run a task multiple times
I have a situation where I run the same taks multiple times during the execution. I would like to have one task which runs every time, instead of duplicating the task over and over 14 times in my script. Basically, it is an audit log, which I set variables and then insert into a SQL table the variables. I would like to do this: Task1 ------Success-----> Set Vars -----Success--> Log | Task2 ------Success-----> Set Vars -----Success-| (do the Log task again) | Task3 -------Success-----> Set Vars -----Success-| (do the Log task again) | etc This works, however, I have to duplicate Log over and over and over. No OR does not work, because it still only executes the Log task once. Another option I thought of, but cannot find a w ...Show All
Windows Forms Datagrid Column color
How to change the column color for a particular datagrid column ( not only for current cell but also for the entire column ) See the following code.... it will work (change color) only when we click in the column cell..but i need to change the entire columns color.. how to do DataGridTableStyle dataGridTableStyle1 = new DataGridTableStyle(); dataGridTableStyle1.MappingName = "TABLE_NAME"; // DataGridTextBoxColumn dataGridTextBoxColumn1 = new DataGridTextBoxColumn(); dataGridTextBoxColumn1.MappingName = "table_field1"; //TABLE FIELD NAME dataGridTextBoxColumn1.HeaderText = "Headder_Text "; dataGridTextBoxColumn1.Width = 150; dataGridTextBoxColumn1.ReadOnly = false ; dat ...Show All
Software Development for Windows Vista HTML WF Designer
I've got a beta version of my Atlas-based WF designer for download on my blog now. http://www.masteringbiztalk.com/blogs/jon/PermaLink,guid,5880f478-b448-4c39-9f2e-382d942a7b82.aspx Enjoy Hi guys, Need some help here. I have downloaded the Atlas-based workflow designer and tried to run it. I realized that the workflow designer canvas and the toolbox images does not display when i have it setup as a virtual directory on the IIS. However, it only works on the Microsoft ASP.NET Development Web Server. How can i resolve this Hope to hear from you guys soon. Thanks. Andrea ...Show All
SQL Server CAn't run DTSX from Visual Studio
I can create and edit DTSX packages in Visual Studio 2005, but I can't execute them because the start button is grayed out. Can someone help I am able to run them using the execution utility, but that's a hassle. Kathy ...Show All
Visual C++ Components in an assembly and the Windows form designer
In an assembly I have components whose only purpose is to serve as a base class for the actual components I want the user of my assembly to manipulate. Evidently the C++/CLI compiler does not let me specify that the base class is a 'private ref class' since this invokes a compiler error which tells me that the base classes for any public CLR class must all be declared as public classes also. How then can I get the Windows form designer to not list any base class components in my assembly in its list of components which can be dropped in a Window form or into a component container No. I got a suggestion that I can use the attribute System::ComponentModel::ToolboxItemAttribute(false) prior to the base clas ...Show All
Visual Studio Express Editions button control
Hi I want to know is it possible for a button to have multiple events for example: I created a form with two buttons the first button(labeled "show Image") when clicked shows an image that is not visible until the button is clicked, now once it is clicked I want the button to be able to hide the image (and the label on the button to read Hide Image). How can I get the button to do this I hope this is making sense. Please explain how to do this if it is possible. The second button on my form is an exit button. The first button text is show image and once it is clicked I want it to change from show image to hide image and have the image become non visible and the button to change back to show image command. How do I write the co ...Show All
SQL Server Quotes within a query
Help, please. I'm going crazy trying to figure out how to form this SQL query. I am querying an Informix linked server and I need to pass a variable date. I am using an expression to create the query like so "Select count(*) from " + @[User::varDBName] + ":informix.doc_tl WHERE " + @[User::varDBName] +":informix.doc_tl.d_received = {D " + @[User::varDate] +"} " The informix query needs the date to be {D "2007-01-15"} but for the life of me, I can't get the date enclosed in quotes. The error I get is An OLE DB record is available. Source: "(null)". HResult: 0x80040E14 Description: "(null)" Can anyone tell me what I'm doing wrong Thanks ...Show All
Smart Device Development Problem with Device Emulator
Hi, I encountered a problem with Device Emulator in VS2005. When I open Device Emulator Manager, I found nothing in the treeview except a single "other" node. And when I debug an application, the Device Emulator could not be connected. But It works well days before. Very appreciate you to help me. I have been following this thread and many others for a similar problem. Both my "Connect to Device" and "Device emulator manager" are empty. I have tried the remove corecon folders from both my profile and all users with no success. When I tried to install the mobile 6.0 refresh hoping that it will solve my problems, it goes upto the "Register with VisualStudio" ...Show All
Microsoft ISV Community Center Forums Change a value for a link to another Excel file
I do not know much about Visual Basic and maybe somebody know how to change the value 100,200,50,75 by a link to another excel document Dim A As Integer Dim B As Integer Dim C As Integer Dim D As Integer A = 100 B = 200 C = 50 D = 75 ActiveSheet.Shapes.AddShape(msoShapeRectangle, A, B, C, D). _ Select Range("B2").Select End Sub Create a workbook called 'Shapedata.xls' and enter values in A1:D1, then insert this code: Dim dataWB As Workbook Set dataWB = Workbooks.Open("c:\documents\shapedata.xls") 'change to correct path A = dataWB.Worksheets("sheet1").Range("a1").Value B = dataWB.Worksheets("sheet1").Range("b1").Value C = dataWB.W ...Show All
Windows Forms MustInherit
'Hi i have class a,b as follows: Public MustInherit Class a Inherits UserControl Public MustOverride Sub y() Sub x() End Sub End Class Public Class b Inherits a Public Overrides Sub y() End Sub End Class 'I get the foll. error when trying to open b in design view: 'Warning 1 The designer must create an instance of type 'vbLib.CBaseControl' but it cannot because the type is declared as abstract. ' 0 0 'And it does not make any sense why 'Thanks ok sorry this is the actual error message with my class . in this case it will be : ...... The designer must create an instance of type 'a'....... ...Show All
Visual Studio Express Editions how does one copy a dataset table to an array
Hi! I have a dataset with 1 table: 2053 rows X 12 columns. I want to copy it into an array of the same dimensions. I've tried using dataset.rows(i) and dataset.columns. But I'm not understanding how to combine the two. Is There an easier way why do you wish to copy it to an array why can you not work with the dataset/datatable directly :-) you would just be making life that bit harder for yourself the datatable contains the DataRows collection, which is an array in itself and is what is actually holding the rows. you can also index the column you want. This is the array you could use ...Show All
