LouisDePage's Q&A profile
Visual Basic Using images as baground slows down my program alot!!
Hi Im working on an aplication and is far from finished, but already now the program seems to be a bit slow. I've experimented with using a picture as a bagground (i really like these small fading bagrounds from light blue to white) but this seems to realy slow my program down when switching beetwen forms (not just in design fase, also in the compiled version) i only use gif images 256 colors so it isnt large images (about 12 kb). I use th ...Show All
Visual Studio 2008 (Pre-release) Dynamically Building a Multi-Column ListBox
I've followed Henry Hahn's example to format a multi-column ListBox. http://blogs.msdn.com/henryh/archive/2005/06/23/431846.aspx In particular, I'm interested in the way the header scroll viewer synchronized with the items scroll viewer using data binding: <ScrollViewer HorizontalOffset="{Binding Path=HorizontalOffset, ElementName=Master}" This works fine as in the example. In my application, however, I don't know how m ...Show All
Visual C# vertical text in MSHTML editor
Hi, It is mentioned here http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnmshtml/html/mshtmleditplatf.asp that the MSHTML editor has a feature of vertical text editing. How can I enable this feature with .net 2.0 I see and many thanks for the reply. But where within mshtml can I locate this parameter I just could not find it in the above link & the related links. ...Show All
Windows Forms datagridview "subrow" in one "row"
Hi all :) I would like to know how can i obtain(if possible) with the datagridview something like this: http://img161.imageshack.us/my.php image=screen0cd.png Thx in advance :) ...Show All
Visual C# notifyicon1 from disk
Is it possible to load a tray(notifyicon1) from disk. I'd rather not use a res file as the icon is pretty large. Hi, you can mak icon instances of as many icons as you want to change and then change them at runtime. If that is what you wanted to know. ...Show All
Windows Forms DataGridViewComboBoxColumn - Display vs. Actual (data) value
Hi All, Is there a way to specify display value and actual (data) value for a DataGridViewComboBoxColumn For example, my database table has a column account_type of type NCHAR(1), which is used to store either 'C' for Credit or 'D' for debit. When the data records are retrieved from the table and displayed on a DataGridViewComboBoxColumn cell, I want it to be displayed as "Credit" or "Debit" respectively. Vise-versa, when users add ...Show All
Visual J# v2.0 Bugs
Just installed .NET v2.0 and J# v2.0. Boy, what a disappointment. Socket.getLocalAddress() returns 0.0.0.0 for a TCP outbound connection (v1.1 works correctly). I would guess it doesn't work right for Sockets returned from ServerSocket.accept(). I don't have time to debug Microsoft's software for them, however. System.getProperty("java.vendor"), System.getProperty("java.version"), and System.getProperty("java.class.version") ...Show All
SQL Server Issues with moving backups via XCopy
When we take backups, we xcopy them from a folder (on a remote server) containing all of the backups for the databases on that server accross a network onto a central server, into a folder for that server/database. However, should one of the backups we have moved accross the network and onto the central server get deleted or moved, the XCopy does not attempt to move the copy from the remote server back onto the central server the next time we r ...Show All
Visual Studio Express Editions sqaure root
hi i was wondering about this sqaure root thing. I don't know how to do it, but i saw something undr help and coppied it. but i only got it to work it console mode and it was only 10 numbers long or something (sqaure root of 2 i was wanting) so i was wondering how to make it go forever Try this if you are after a simple square root. double x = 456; x = Math .Sqrt(x); MessageBox .Show(x.ToStri ...Show All
.NET Development Typed Dataset with Information.Schema Query HELP!!!
I've been using the Information.Schema query to retrieve tables and fields.. I want to put them in a TYPED DataSet but there will always be errors. It will tell me to buidl the project again and find errors which were none.. Why How can I generate a typed dataset using the Information.Schema Try the following forum: .NET Framework Data Access and Storage ...Show All
Windows Forms ** VB.Net & Joined Tables **
Hey .. ** Hellow , everybody .. I need your help plz as regards "Database Programming" as my bein newbie In SQL Server .. Plz take a look at the Following snippet code & help me abt how to WOrk out with a joined tables ..."jumb to the end of the Code for more Explanation" .. ------------------------------------------------------ CPMOconn.Open() cmSQL = New SqlCommand("select CWO_No,Status,TFR_No from CWO ", CPMOconn) dasearch = New Sql ...Show All
Architecture Advantages of OOP ?
Hello, Im a fun of OOP designs. I design my bussiness classes when I start a new project. Then maybe I will write mapper classes for bussiness classes to map DB tables or using an O/RM tool or an ODBMS . Think that this project is big one and it has long deadline. You will develop it 2 or 3 years. Requirements will be changed. To develop this project with OOP designs and n-Tier application design is good idea. But I am asking myself ...Show All
Smart Device Development "Unable to connect to remote server"
We have developed a .NET application for a Symbol 900 Pocket PC device. Frequently, we rcv. the following message when the device is out of network range: "Unable to connect to remote server" Is there any way to disable this message so that application users don't have to continuously click OK to terminate the message The message in no way compromises the functioning of the application; I would merely like to find some way to prevent this messa ...Show All
.NET Development System.ComponentModel.Component.Process is NotInheritable?
Obviously no, because this code is allowed: Public NotInheritable Class MyProcess Inherits Process End Class But, when I try this: Dim p As MyProcess = CType (Process.GetCurrentProcess, MyProcess) Allways produces this error: 'System.InvalidCastException' , casting not valid Could some one explain Why Thanks a lot! flashdata Process.GetCurrent ...Show All
Visual Studio 2008 (Pre-release) Image handling and painting framework
Hi! I know that Avalon renders its windows with DirectX, thus I assume that DirectX will be the preferred way paiting as well. Is that correct and what will be used for image handling (bitmap operations) in Avalon (as a replacement for GDI+) Useful document on session 0 in Vista. http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/Session0%20_Vista.doc Here is an extract from page 4 of this document. ...Show All
