Neotech's Q&A profile
Windows Forms Trouble drawing theme elements transparently
I'm trying to draw a windows theme element (the window close button, specifically) to an image, and whenever I do, the image has ragged non-transparent bits. I got this code from a sample that didn't do this (it was all owner-drawn, mine draws to an image.) Any idea why it won't draw with full transparency Bitmap output = new Bitmap(closeButton.Width, closeButton.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); Graphics fx = Grap ...Show All
SQL Server installing SQL
I am trying to install SQL enterprise 2005 edition on an XP machine. Is it true that this will not work The config. manager appears but nothing else. If so, will the express version work Thanks in advance. Robert http://msdn2.microsoft.com/ms143506.aspx ...Show All
Visual C# How to Access two domain application at same time in single client pc
we have Domain A and Domain B in same network path . we want to access two domain applications at same time. How add connect two domain names in client pc. we can able connect one doamin at time. How can i access the both domain applications . rgds suresh ...Show All
.NET Development Writing to a file from a Webservice
Hi, I'm trying to keep a log writing to a file when certain operations are executed, but it's not writing anything and it doesn't report any error. MainLogger = new FileLogger("C:\\myWSlog.log"); MainLogger.Log(LogSeverity.Info, "WSHelloFromPostgreDB", "String Returned."); The same set of instructions works on a client app, but not from my webservice. Even more, I try running the web service from VS2005 IDE ...Show All
Visual Studio Tools for Office Excel screen updates - real slow
Hi, We are developing a modelling application where we are effectively showing a grid of data. A value change in a row item, results in the update of the correct field or property in the model and this in turn raises an event (loosely coupling) to update the values in the following rows. For example, the more people you put in the production line the more work get processed and this in turn affects the output which in turn affect the work c ...Show All
Smart Device Development SqlClient missing in .Net CF 2.0?
Hi I notice that on CF 2.0 SqlClient namespace is missing... I was using it on CF 1.0 How to connect to a remote SQL Server then Carlo Yes, I write " Imports System.Data" and add a reference to System.Data in my project. No SqlClient namespace is accessible. ...Show All
Windows Forms Custom control--resetting designtime appearance
I have created a custom compound control to use in my application (contains a picturebox, radio button and a textbox). All properties affecting the appearance of this control are set at runtime and are hidden from the property grid at designtime.&n ...Show All
Visual Studio Tools for Office VSTO installation
The documentation says that I must install VS.NET 2005 Beta 2 first in order to create GAC. Then I must install MS Office. My question is if I have installed first MS Office and then VS.NET 2005 can I add Office PIA's to the GAC just reinstalling .NET programmability support in Office Do I need to reinstall the whole Office just to have the PIA's added to GAC Thanks, Martin Kulov Do you have any idea of when the Culture error will be fixed ...Show All
Visual Studio Purpose of debug and release configurations
Hi there! I have posted the same question before without finding an anwser. After spending some time with VS I may now be more exprerienced to phrase the question better! The following applies to VS2005 beta 2. Follow the steps: Open VS and create a new windows app (I use VB but I guess the same goes for C#) Hit F5 to run the application. The following files are created under bin\debug: WindowsApplication1.exe WindowsApplicati ...Show All
Visual Studio Express Editions Total noob...how do i learn to use vb2005express
hey, i'm a total noob right now...i havn't had any visual anything b4, and the in-program help is useless to me, and so is the microsoft,msdn website. Any1 have any recomendations of what books/websites can help me learn with examples and explanations at my level I am already getting 2 books -- Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner and Wrox's Visual Basic 2005 Express Edition Starter Kit (Programmer ...Show All
Visual Studio Express Editions Simple Program
I'm using a device which is streaming numbers in to a computer. So I'd like to write an application which would display these numbers in large font on a pleasing to the eye background and if another one of these devices were to be connected it would be able to split the screen size with it and if another a third of the screen size allocated to each device and so on for n devices. does anyone have a solution to this, i have th ...Show All
Visual C# Any help For Graduating Project .. Need Just The Idea
hello .. I'm senior year at university .. next semester I have to build my project .. unfortunately my supervisor doesn't help me to choose suitalble idea ( in my university .. no one of instructor knows or even cares to know about VS C# !! all they know is poor DBS built on non-microsoft product !!) anyway .. I want my project to be worked under .Net framework ( esp C# or ASP.net with C#) thank for being care he ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Performance problem with Texture.FromBitmap
I reduced program boot time (when running from within the IDE) from 12 seconds to less than 1 second by re-writing Texture.FromBitmap using unsafe code. For me it was easy because I'm only using 32 bit textures and 32 bit bitmaps. It would be nice to see this function optimized in future releases of the SDK. BTW, Texture.FromStream has the same problem. -Jeremy FYI: I use the above code for Te ...Show All
Visual Basic How to send WM_LBUTTONDBLCLK message to items of SysListView32 control ?
Hi, I have a executable which is written in VC++. I don't have source and it is from third party software. When I run this exe, it loads a window and it has a ListView control (belongs to SysListView32 class). When I double click on List item, it geneares some text file and stores. I want to send WM_LBUTTONDBLCLK message to list item of SysListView32 control automatically, from VB program. I am able to get handle of VC program, and able to re ...Show All
Windows Forms Plain Text Return
Using the return character "\n" or "\r", and saving it to a text file, when opened in notepad, the return does not show, but it shows in rich text editors. Is there a return character in .net that works in notepad Thanks for your answers. I used the Environment::NewLine and it works for me. Splitting the textbox into an array was also a good idea. Thanks -Kyro ...Show All
