guthm114's Q&A profile
Visual Studio 2008 (Pre-release) Navigate in TreeView with DataBiding
Hi everybody, I have a TreeView with items binding from my custom collection inherit from CollectionView, everything is ok except for navigate between items. I use myCollection.MoveCurrentTo(node), the position in collection is effected but it doesnt effect on tree. Here is my tree. Anyone have any ideals < HierarchicalDataTemplate x:Key = " TreeItemsTemplate " ItemsSource = " {Binding ChildNodes} " > < DockPanel LastChildFill = " True " Width = " Auto " Margin = " 0,0,0,0 " MouseRightButtonDown = " OnItemMouseRightButtonDown " ToolTip = " ...Show All
Smart Device Development Building a cab which should install an app and install it to run at startup...
I noticed that you can build a cab/cabs within VS 2003. Is there a way to create a shortcut within this cab that starts your app when the device starts I'd like to do this so it would build the correct cab, perhaps by script, every time I run BUILD CAB. Anyone got any ideas, or am I nuts Thanks! I was able to do that it vs2003 (admit, I like vs05 better). Anyway, take your cab.inf file and do something like this (in a .bat file) "c:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE\..\bin\..\bin\cabwiz.exe" "myCabFile.inf" /dest "c:\TargetMobileOutput\Cabs&q ...Show All
Windows Forms Balloon ToolTip at ToolStripStatusLabel
Hello, how can add a BalloonToolTip to ToolStripStatusLabel This Code works only of StatusStrip: Dim tt As New System.Windows.Forms.ToolTip With tt .IsBalloon = True .SetToolTip(Me.StatusStrip, "test") End With Please Help! Blade68 ...Show All
SQL Server How to create databases in SQL Express
Autofreak wrote: Hi All, I have installed the SQL Server 2005 Express edition and its running fine. I like to connect to the server and create database. Should I do it through command prompt only or any tool is available like Enterprise manager for this You can use SQL Server Express Managment Studio which can be downloaded from here: http://msdn.microsoft.com/vstudio/express/sql/download/ HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Tools for Office Visio drawing control <short question, long response>
i'm stuck. there is the ultramarvelous masked visio drawing control. perhaps i installed the sdk for visio and look the tutorial documents, the msdn technical articles and etc... i can't realize if i can or not to embed the control in a web application and change the document that belongs to the control. or i'm doomed because just can be changen whit script languaje and just the properties that the control expose, the other way is to create an addin a com component to visio application.is there a way i can get an instance of the visio document(i'm not talking about the src vsd file) to edit from web application ...Show All
Visual Basic How to update ID values in multiple tables
Hi, I am in the process of developing an IT Asset Tracking System in VB.NET. I have come across a small problem though. A user is assigned to a Desktop PC and also assigned to other items such as a Printer, Monitor etc. The workstation details along with the user is stored in one table and other items associated with the user are stored in another table. If I then disassociate the user from the Desktop PC by removing the userID, I also want the userid disassociation to happen on the other table where there were other items assigned to the user. If I then assign a new user to the Desktop PC, how can I then assign this new user to the ...Show All
Windows Forms Expose DataSet within Component
I have a control with a public property(DataSetA) of type DataSet. When the control is placed on a form, I can set the DataSetA property in the Properties window using the drop-down list. The drop-down list is automatically populated with all of the DataSets in the component tray of the form. Now, if I have a different component on this form&nbs ...Show All
.NET Development Proxy Server
Does anyone know where I can find information on writing a Web Proxy Server. I need to write a transparent proxy server which will redirect the client only under certain circumstances (eg loss of connection) I need this to be completely transparent to the client and wish to configure the ProxyServer settings of Window to use my site. All I've been able to find so far are various tcp listeners etc but these only come part of the way to my solution. Thanks in advance Martin I believe another user was looking for something like this and another user refered them to a third party site (I have no knowledge about ...Show All
Smart Device Development Role of Connection Manager
Has the role of the connection manager with IE changed with WMv5 as compared to PPC 2003 Is connection manager now deciding which route or connection (Work or Internet) is the best to use rather than relying on the routing tables For example, I have my own ip stack (VPN) and a connection defined for Work. The routing table is modified to direct certain IP addresses over my connection. When I browse to an address that can be reached via both the Internet and Work connection, it gets routed over the internet connection even though the routing table is pointing to my connection. I'm afraid this isn't the r ...Show All
SQL Server Embed HTML tags into report fields
I have a need to render data returned from a relational DB with spacing intact. The application is a viewer for input data so the end user can determine if the input data is different than the file layout specified so the data will be parsed correctly, so spacing is critical. I changed to a fixed-pitch font to ensure that the text records align properly in VS (which they do), but when I render to HTML, the spaces collapse (of course). PDFs render correctly, but we were trying for HTML output. Is there any way to replace the native spaces with so it will render correctly in HTML From the other posts, it seems not, but I want to dou ...Show All
Visual Studio External Reference Library - Errror while loading code module
Hi there, I am trying the concept of using External Reference libraries written in C# within the report designer. I followed simple samples foudn online where there is one static method that return a "Hello Word" using System; [assembly: System.Security. AllowPartiallyTrustedCallers ()] namespace MyCustomAssembly { public class Say { public static string Hello() { return "Hello World" ; } } } Then I imported the MyCustomAssembly on the Reference module of an existing working report. Whithout even making a single call to the reference I just run the report and get Err ...Show All
SQL Server SAN Replication
I'm wondering if the technology exists to use SAN replication for sql server 2005 disaster recovery. I have a bunch of prod servers I want to add to a san, I then want to have another bunch of servers at a dr site connected to another san. Is there a technolgy ( non sql ) to enable full ( real time ) san replication of the data ( for SQL Server databases ). I don't need alternate suggestions, this solution has been proposed to my clients, I don't think it's available, any confirmation one way or another would be very helpful, thanks. Yes, I am working with the HP tecnology Continuos Acces ...Show All
SQL Server SQLMobile install help
hi -- I installed SQLServer Mobile SDK several months ago and was able to use the system with VS2005 and a PPC. Somewhat later I installed SQL2005 and shortly after uninstalled SQLMobile SDK. I've had to go back and fix the project I wrote with SQL Mobile and I went to install it again. It installed fine, but the SQL Mobile provider was not available in the dialog for "client choices" when i went to configure the Data Connection. The lack of a provider then corrupted my xsd file. Is there a way to manually install the SQL Mobile provider (or fix the install ) I've uninstalled and reinstalled the SDK a couple times. Jim ...Show All
Visual C# Creating a Wizard-Style Application
My current project is to develop a wizard-style application, with next, back, cancel, etc. I'm running into a problem with how I should implement the wizard. My first thought was to use panels for each step, but this quickly became overwhelming when I had 30 panels of the same size, all on top of each other. I had to use Send to Back repeatedly until I got to the step that I wanted to work on. My next thought was to use separate forms, but I don't like this approach very much either. I would have to copy over the elements that stay the same on each step (the navigation buttons) to each from and line them up. This takes too mu ...Show All
Windows Forms VS2005 IDE changes to component model breaks my code.
I use component model services quite a bit, and require a custom container in windows forms and components but still like the ability to drag and drop custom components in design time, which can access each other during both design time and run time. Although I attempted a different method in my code a short piece of code below illustrates the problem I am facing in the new Visual Stuido If I replace the following line: private System.ComponentModel.Container components = null; by the following code which replaces it as a property, which would allow me to replace the container created in the InitializeComponent() section by my ow ...Show All
