Bontje's Q&A profile
Visual C# Deployment
I quite like the deployment mehtod of VS 2005 but have a niggle and wonder if there is a work around. Sometimes I write a simple console application that needs to run from a command line or batch file. If I deploy the application it is not in the path, nor is it in a fixed directory such as \Program Files\..., nor available to other users apparently. The work around is to install then copy the exe manually (after I find it) to ...Show All
Visual C# Serializing Derived Classes
Ok, I posted this in the wrong forum, so I'm trying again... I'm trying to create a class that inherits from the System.Windows.Forms.TreeNode class. I'm basically doing this to add a few properties to the class. My question is how can I ensure that these properties are properly serialized. If I was inheriting from one of my controls, I'd just do something like this: public SCNNode(SerializationInfo si, StreamingContext cont ...Show All
.NET Development IA64 VS2005 BETA2 project doesn't compile on VS2005 on win32 pc. OLEAUT32.dll
hi, I used to compile my 64bit project on an itanium using the VS2005 beta 2. Now that VS2005 cannot run on itanium, I have to compile my project on my win 2000 pc using the ia64 compiler that comes with the VS2005 team trial edition. but... Now I get the following error: error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation midl. how can I solved this problem... furthermore, my ap ...Show All
Visual C# How can I speed this up: excel spreadsheet data loading
I am iterating over data, in an excel spreadsheet, and loading it into memory. My current method for doing this is extremely slow on large (~12,000 rows) tables: while ( lRowIndex < lSheet.Rows.Count ) { String lText = (( Excel. Range )(lSheet.Cells[lRowIndex, 1])).Text.ToString(); int lKey; if ( int .TryParse( lText, out lKey ) ) { String [] lDataRow = new String [lColHeaders.Count]; lDataRow[0] = lT ...Show All
Visual Basic 2005 .Net Nightmare
As a visB programmer who has been happily coding very successful applications for many years, I have been shocked at the verbose incomprehensibility of the .net framework. Where is the wonderful Basic language that has served so well for so long Is there a way to disable all the garbage in VisB 2005 in order to just write simple single thread applications in the Visual Basic language I have been unable to get even the simplest microsoft SDK exa ...Show All
Windows Forms GDI+ Book
Hi I am have been doing GDI+ programming and am know looking to expand my knowledge with a book that goes in depth on how to use GDI+. Any suggestions Thanks Neil Here is something you might like. Graphics Programming wit ...Show All
Software Development for Windows Vista Creating Vista-like applications .. Which SDK/API to use?
This maybe a silly question, but what API/SDK do I use to create Vista-like applications I mean following the Vista UX style guidelines; creating the open/save dialogs like we have in Vista, changing the look/feel of various controls, etc. I know for sure WinFX is not the one...since this is not a platform SDK. There's a platform SDK( Longhorn Beta 1) on MSDN, but it just looks like a regular sdk (nothing special). A easy example is how do I g ...Show All
Visual C++ error about"cannot be marshaled as an unmanaged structure"
i got a struct like: --------------------- public ref struct OutPacket{ int m_replyIndex; List<MainInfo^>^ m_mainInfos; }; --------------------- when i pass it to another process, i have to transfer it to intptr : --------------------- IntPtr pnt = Marshal::AllocCoTaskMem(Marshal::SizeOf(outPacket)); Marshal::StructureToPtr(outPacket,pnt,true); return pnt; --------------------- then i got a message: ********* err = {"Type 'C ...Show All
Visual Studio Express Editions fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
Hi All: The story so far: I am having a we bit of trouble running the most difficult of all C++ programs the imfamous first C++ program Hello World! code: // Simple Hello World Console Application #include <iostream> using namespace std; int main() { cout << "\nHello World!\n" << endl; return 0; } And we get: ------ Build started: Project: Hello, Configuration: Debug Win32 ------ Compil ...Show All
Visual Studio Express Editions Code compilation problem in VS .NET C++ 2005
Hello, I have the following code which executes perfectly on "MS Visual Studio C++ 6.0". Recently, I downloaded "MS Visual Studio .NET C++ 2005 Express Edition". When I execute the same code it fails. For example, it complains that it can't recognize "cout". Can you please help me with this #include <iostream> using namespace std; int main() { cout << "Hello World!\n"; return ...Show All
Visual Studio Registering guidance with the experimental hive
Can you give me any information or pointers on how to take a guidance package that is working in the normal hive of VS and apply it to the experimental hive Thank you. Brian. You can't change this on a per-package basis, as a GAT package isn't really a full VSIP package. What you can do is make your GAT package a full VSIP package by follwing what is described here: http://blogs.artinsoft.net/ocalvo/articles/10 ...Show All
Visual Studio Express Editions How to Hide Blinking Cursor in the Textbox
I have a problem now hiding the blinking cursor on the textbox, how can i do this in visual basic express One way I did it was to create a gotfocus event. The cursor is only there when the control has focus. So, the Gotfocus event can always insure that a control other than the textbox has the focus. Private Sub TextBox1_GotFocus( ByVal sender As Object , ByVal e As System.EventArg ...Show All
Visual Studio 2008 (Pre-release) In XAML, how reference a resource, BUT NOT using it as an attribute value?
First, consider two ellipses that are to be drawn in a stack. Hard-coding it (no use of resources or styles), it might be: <StackPanel> <Ellipse Fill="Red" Width="100" Height="50" /> <Ellipse Fill="Blue" Width="200" Height="100" /> </StackPanel> ----------------- I DO find examples of how to refer to a resource AS AN ATTRIBUTE VALUE, for example the brush used to fill ...Show All
Visual C# No Overload Metod
I'm using this cmd. foreach (String programas in rkey1.GetValueNames()) { ListViewItem item1 = new ListViewItem(programas, 0); item1.SubItems.Add(rkey1.GetValueNames(programas)); listView1.Items.AddRange(new ListViewItem[] { item1 }); } And it's appearing this error: No overload for method 'GetValueNames' takes '1' arguments c-ya, Miranda Try using item1.SubIt ...Show All
Visual Basic Extracting Variables from Strings and Event for a Tabchange in a TabControl
I have a program that is meant to take a user defined string (ex. x2 + 2x + 1) and divide it, and then store those values (the coefficents of x); there is a practically indefinite number of numbers in the coefficient. I've looked at the String.Split Method, but I don't understand it very well nor do I believe it's very practical when you have to keep splitting each variable to get the coefficient. Is there an easier way to the the opposite of ...Show All
