madshi's Q&A profile
Visual Basic Persisting Presentation Layer?
Could anyone point me to some online reading material where I could learn how to make Persisting Presentation Layer controls like whats used in VS2005 and VB express IDE I know you can dock panels etc...and use them as containers etc...but what is the best method for implementing the roll-out and -up of the docked panels -will Either create your own user control or google for third party controls with that fun ...Show All
Smart Device Development How to add namespace microsoft.wireless in C#?
Hi, I want to add namespaces for windows CE in C# and also tell me can I use the functionality for Windows CE in WindowsXP I want to make a desktop applicaiton and the required functionaility is available for Windows CE what shud i do Thanks .NETCF compiled assemblies can be loaded and executed on the desktop (i.e. they are "retargetable"). Keep in mind, if you want your assembly to be loadable on the desktop, you should no ...Show All
.NET Development .Net Windows service and custom properties
Hello all! I'm having a heck of a time trying to find any information about adding a custom property to a windows service. As an example, if you look at the properties dialog on the SNMP service you will notice that it has two additional tabs that are used for configuring that service. I would like to do the same thing for my custom service. Can someone point me in the right direction I'm using VB.NET 2003 but any inform ...Show All
Visual Studio 2008 (Pre-release) Persistent installation errors with Beta2/RC0 : "Beta 2 was not attempted to be installed."
When I run the installer, it take about 10 miniutes of "installing" before there is an error, the error is below. I've seen that there are threads describing a similar error with earlier drops, but I didn't see any mention of a way out. I'm running on XP, I've run the removal tool but still I get the error. Has anyone else installed this drop on XP Is anyone else having this install problem with XP or other [05/24/06,12:27: ...Show All
Visual Studio Express Editions BindingNavigator
Hay, Whit this code i try to go to a reccord whit an BindingNavigator Dim ring As String ring = InputBox( "Type een ringnummer" , "Ring nummer" ) If ring = "" Then Exit Sub Else Me .TVogelBindingNavigator.Items.Find(ring, True ) End If Is this correct or what do i wrong. I'm am using this. Add a query to the Tableadapt ...Show All
SQL Server Problems with Printing and rendering to PDF
Hi, I have an SQL server 2000 and I am creating a simple 1 page report using the Reporting Services and Visual Studio 2003. Everything is working fine. When I on "Preview" or when I access the report using a URL to disply it in HTML, I get a perfect report. However, when I click on the "Print Preview" Icon (in the Preview Tab), or when I Render it as PDF, something goes wrong and it divides the report in 2 pages. On the firs ...Show All
Windows Forms Query with multiple tables
Hi Everyone! I am working with the Visual Basic .Net 2005, and I would like to do a query joining two tables. Something like: Select table1.age from table1, table2 where table1.code = table2.code and table1.name = @name and table2.class_name = @class_name Everything using the TableAdapter. Can you help me Thank you! ...Show All
Visual C# Static classes, destructor or dispose?
Hi, I just have a few questions concerning static classes. A static class seems to create itself as soon as one of its static methods are called. What i'm wondering is when do static classes clean themselves from memory and can you specify a destructor when it does clear itself from memory I'm using a static class for my datalayer, and I want to make sure to dispose of any lingering connections before the class exits. -Watson ...Show All
.NET Development Transaction for two database connections
I am not sure if this is possbile. I have a request to develop a 'method' to do transaction over two database connections. Basically the requirement is, one connection updates a database and the other updates another database; but they have to a transaction. I know COM+/DTC may be the the solution to this problem, but I do not have any experience with COM+ except some basic understanding of COM+ concept. Can someone please give me some ideas on ...Show All
.NET Development new at this
hello, i'm new at this and was wondering if someone could give me a start i need to create a webpage that will save a bunch of information to a text file or database a number entered is compared with a list, if the number is in teh list, a password is given if not the password is not given and the information is still stored i've been told that frontpage won't work for this, and was wondering what to use, i was thinking visual web developer ...Show All
Windows Forms Disable editing in data-bound controls
Hello, I have a .NET 2.0 windows forms application with some TextBox controls and a BindingNavigator on the form that are bound to a BindingSource. The BindingSource has a DataView as the DataSource, and when I change the DataView AllowNew or AllowRemove properties to true or false, the BindingNavigator immediately reflects the changes, enabling or disabling the Add and Delete buttons. However, I can always write on ...Show All
Windows Forms How to encrypt app.config(Winform, visual studio 2005)
Hello, I wanna encrypt the app.config (in visual studio.net 2005). It's because the app.config will be deployed to client PC. I wanna encrypt the file with winform application (NOT in ASP.NET) I know ASP.NET 2.0 has the solution (aspnet_regiis.exe) It's POSSIBLE to make the encryption myself with some code. The problem is.... if I encrypt the app.config with my code, what happen with the codes that Visual Stu ...Show All
Visual Studio 2008 (Pre-release) GetCustomerList() data
In the 101 samples they make reference to a class called GetProductList() and GetCustomerList() but for some reason only GetProductList() is supplied. Does anyone know where there is sample data for GetCustomerList() so I don't have to type my own Cheers, Clint As you can see in LinqSamples.cs, the customer data is loaded from ProgramFiles\Linq Preview\Data\customers.xml, and read into list form using XLinq. ...Show All
Visual Studio Tools for Office access [contextual||context||right-click] [menu||commandbar] of chart?
Hi, I would like to add an item to the chart contextual menu, but I don't know where to find it! The cell/worksheet contextual menu is accessible via ((Excel.Application) xl).CommandBars["Cell"] whilst ((Excel.Application) xl).CommandBars["Chart"] points, not to the contextual menu, but to the floating toolbar menu. "Chart Menu Bar" is, of course, the top level menu bar (File,Edit...), and so I appear to have run ...Show All
Visual C# Circular dependency + WinForms depency problem
Hello everyone. I have a question about an indirect circular dependency caused by some not-so-loose coupling, and I'm looking for options to solve it neatly. The operation is very simple - I wish to split my application into a library of core components and a bootstrapping EXE which contains all the WinForms stuff. This is in aid of writing a Linux GUI, and it is why some of the usual options are closed to me due to needing things in certa ...Show All
