NBarbosa's Q&A profile
Visual Studio 2008 (Pre-release) VisualBrush Animation
Is it possibile to associate an animation inside a Visual Brush Is there any sample proving it Thanks gio Here is a sample. Thanks! Ed Maia WPF PM <Canvas xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation "> <Button Width="320" Height="240"> <Button.Background> <VisualBrush> <VisualBrush.Visual> <Canvas> <Rectangle Width="320" Height="240" Name="myRect" Fill="Blue"> <Rectangle.Triggers> <EventTrigger RoutedEvent="FrameworkElem ...Show All
Visual Studio Express Editions Problems with Downloading Registration Benefits
There have been several reports of problems with accessing and downloading registration benefits. We have investigated the issue and have news to report. This sticky thread will be updated with additional information as it becomes available over the next few days. Background In order to negotiate deals with partners and authors to provide the highest value benefits, we must must be able to guarantee a secure download center that limits benefits distribution to those who have registered. We use the Microsoft Connect site to provide our secure download infrastructure, which is why you are redirected to the Connect site from ...Show All
Visual Studio Express Editions what did I miss in com interop?
I am just trying C# express 2005 ( beta 2) from a limited XP pro user account. I setup a C# assembly as COM component for interop with some legacy application that can use either COM interface or the traditiona Native DLL interface. I ran into some rather unspecified errrors. I suspect its either the name space that I got wrong or something with my code or project setup. what did I miss in the following project info Project name SomeClass Output type: Class Library Assembly info: COM Visible & ...Show All
Visual Basic uneditable combobox
I would like people to only be able to choose things that are in the list, not be able to edit/write in it as well THANX Set Combo Box property DropdownStyle to DropDownList ...Show All
Software Development for Windows Vista Question about modifying a workflow
I custom the workflow persistence service and save the workflow activity in Oracle database. After I modified the workflow design (for example: add a State activity), the Deserialize method fail: 'Load workflow instance failed: Index out of the bound of array'. Is it for the update of the workflow And how can I solve the problem Should I use WorkflowChanges object to modify all the workflow instances in the inside or outside If I have some old-version workflow instance saved in the database, and I want them going on in a new-version workflow , how can I Zhuang, Is this only occuring on the d ...Show All
.NET Development Remotely accessing system certificate stores
I am developing a C application to use SSL/TLS. Using the samples provided by MS, I have been generally successful. I am using a stand-alone CA at this time. I have been able to run my server and client with a SSL connection on the same machine as well as 2 separate machines. However, to get this to work I have had to install the certificates on the machine on which the program is running. The issue that continues to "dog" me is how to get "remote system store access" to work. When I open the certificate store I am constructing \\<machine name>\My, but the opening of the certificate store only works ...Show All
SQL Server VS2005 and SQL Reporting Service
Dear All, I am using the VS.NET 2005 professional edition but it doesn't have reporting service project at all. I am planning to use the SQL Server Express 2005. I want to use the reporting service 2005 and report server as well. Could anyone please let me know how can I get a copy of Reporting Service embeded into VS.NET 2005 and Reporting Server for deployment even evaluation copy or from anywhere in SQL server 2005 installation disk Really appreciate any comments if any. Regards, LG VS does not include the full-blown report designer on it's own. I think (I alw ...Show All
.NET Development Data Source???????
Hello Experts, I am new to this techology. I am developing an application-in which i am uisng vb.net as the front end and ms-access at the back end. My database name is: db1.mdb and table name is: student When i tried to connect with the ms-access database in one-oledbdatadapter- wizard - it asks to enter value for "Data Source"- i don't know what it wants. i gave my db name then the table-but it replied -something like "invalid path/file name" Plz help me what can i do Thank You The connection string in your OleDbConnection should look something like - ...Show All
Visual Studio Team System Source control reports
Hi, There are a lot of built-in reports available in Team Project. Surprisingly, none of them provides reporting for source control. For instance, I will need to see what files have been checked-in during specific day, who made the check-ins, what files are still checked out and who made it, and so on. How can I get those reports Regards, James. Here is a link to a blog where someone made a report based on the source control data: http://steven.wilssens.net/DataMiningWithTeamSystemAndMicrosoftOfficeExcel2003.aspx You can query things that were presisted to the server: 1. what are ...Show All
Visual Studio Team System Team System - Website Under source control
I have the Team Build Configured and I am also able to start the build from any of the client machines. The library, console, windows services and application are all compiling with out any errors but when it comes to compiling websites I am running into issues. All of these projects are under Team System source control. The website has Project references to other library projects within the same solution but the team build does not seem to be copying these referenced assemblies into the website's bin directory after compiling those libraries, because of this the website compilation is failing, is there any thing that i need to do ...Show All
Smart Device Development barcode scanner
can i use a barcode scanner in the emulator what should i do You can if you find a way to connect it to emulator. Emulator has serial ports mapped to PC ports, that's pretty much the only the way to go - with serial port model. The problem here is: if it’s not the actual scanner you’re going to use, it won't do you any good. You’ll need actual hardware for development and testing eventually. ...Show All
Visual Studio Express Editions SQL Express Local and Remote database
did anyone try... are there any samples.. for this.. i would create aplication with local database, but in code on runtime it should change connection string and connect to remote database.... is this possible The Data Sources generated by the wizard are hard-wired to the connection strings in config file. I don't know whether you can change this programmatically at run time. At least it isn't obvious. This is also why I hate using data sources generated through the designer. I think the way to go is to create a new data source for your BindingSource when your app is not running locally. I'll see if I can locate a code example. ...Show All
Visual Studio 2008 (Pre-release) Getting data into existing objects on client
Sorry if this is a trivial question. I have a CLR-object on the client witch have WPF controls bound to it. The problem is that when I get new data from the server, all the controls seems to bind to the old object and is not updated Is there a way to get data into the existing object Im using: myObj = GetData(id); … public MyObj GetData(string id) I have tried: GetData(id, ref myObj) … Public void GetData(string id, ref MyObj myObj) But that doesn’t seem to work. Is it possible that the controls are bound to the old instance If you think in pointers terms, the DataSource property of the c ...Show All
Windows Forms scroll richtextbox with custom scrollbar
I want to scroll richtextbox with a custom toolbar ( a vscroll control ) and want to disable scrollbars of richtextbox. Any idea on how to go on that path any samples Hi, If you're scrolling a RichTextBox control (or any control that is scrollable), you can do it by interop, here's how: // First import the SendMessage function from user32.dll: [DllImport("user32.dll", EntryPoint="SendMessageA")] internal static extern int SendMessage(int hwnd, int wMsg, int wParam, int lParam); // Then add this constants to your codes private const int WM_VSCROLL = 0x115; private const int WM_HSCROLL = 0x114; private const int SB_ ...Show All
.NET Development The conversion of a char data type to a datetime data type resulted in an out-of-range datetime
I am putting the current datetime in a microsoft sql server database in the following manner: System.Data.SqlTypes.SqlDateTime time = new System.Data.SqlTypes.SqlDateTime(DateTime.Now); sql = "insert myTable (datetime) values ('" + (string) time.ToSqlString() + "')"; SqlCommand cmd = new SqlCommand (sql, conn); int result = cmd.ExecuteNonQuery(); the column of my table has datatype DATETIME I tried it 7 times yesterday and today without problem. Now (at 00:45 hours) I get an exception: the exceptionmessage: System.Data.SqlClient.SqlException: The conversion of a char data type to a datetime d ...Show All
