1mac's Q&A profile
Visual Studio Express Editions How to set a date field to null
I have a bound text box showing a date field and I can enter a date into this no problem and save the changes. I have spent the past two days trying to find a way to allow the user to delete the date i.e. set the field back to null! I have found several articles on the net but nothing that provides an answer or explains why something that should be simple should be so hard!! I guess what you're asking is, ...Show All
Windows Forms Checking to see if a textbox contains letters
I am trying to validate a textbox. The user can enter in anywhere from zero to three characters in a text box. When the user hits submit on the form, I want to check and make sure they only put numbers into the textbox. &n ...Show All
SQL Server error: 'Dts' does not exist in the namespace 'Microsoft.Sqlserver'
I tried to create a package from a C# program, and I copied this from SQL server online book: using Microsoft.Sqlserver.Dts.Runtime; But I got compilation error: The type or namespace name 'Dts' does not exist in the namespace 'Microsoft.Sqlserver'(are you missing an asssembly reference ) What am I missing Thanks a lot Hello, if you get this problem on your server. build your site in release mode and then ...Show All
Windows Forms DataGridView - related DataTables, one for values, one for list in comboboxcell
What I'm trying to do here is create a small program that lets a user manipulate the price and pricing type of a product. There's two DataTable's in my DataSet. Parts and PricingTypesMapping. Parts is a simple list of parts, including the part type, and pricing type. A part type defines what pricing types are allowable. So the part type "bolt" will be mapped to the pricing type option of "per quantity", whereas shadecloth wou ...Show All
Visual C++ Using HBITMAP in Forms
Hi, I would like to have a windows form showing an image, using HBITMAP, continuously. I already show the image through MyPictureBox->Image->FromHbitmap((System::IntPtr)hbm); However, I am grabbing live images from a web cam, manipulating them, and I want to show the 'live' manipulated images on the windows form, but still leave the window useable (i.e. not freezing the window while images are being grabbed, processed and displ ...Show All
Smart Device Development Consuming Web Serivce in PPC 2003 SE Emulator is slower than that of PPC2002 Emulator
I consume a web service in PPC2003 Emulator through VS2005 need 55 seconds, however, I using the same code and run on PPC2002 Emulator through VS2003..........it only take 20 seconds to consume the same web service......how to inprove the response time on PPC2003SE Emulator. Yes.......Thanks.......it really fast when I deployed it on a real device........it only take 2 seconds to consume a web service...... ...Show All
.NET Development SDK installation fails
Hello Maybe the solution is to stupid, but I don't know it. At the beginning of the installation process of "WindowsR Server 2003 R2 Platform SDK Web Install" on a Windows 64Bit operating system I get the error message: "Setup was started in a non-native or WoW environment. Please run the setup package that is appropriate for your operating system". I used the WebSetup Program PSDK-x86.exe. The system requirements says ...Show All
Software Development for Windows Vista recommend way to do IPC between app and service
Hi guys, until now I've used (unnamed) Pipes to communicate between apps and services. For that to work I used OpenProcess(serviceProcessHandle, PROCESS_DUP_HANDLE), so that I can duplicate the pipe handle from the service to the app. This still works in Vista with UAP turned off - even from a guest account. But as soon as I turn UAP on, OpenProcess fails with "access denied" - even in elevated mode. I guess that's intended So since ...Show All
Visual Studio Express Editions CodeXchange and/or Addins in general
http://www.codexchange.net/ Has anyone gotten this to work I've installed it but it doesn't seem to show up in my IDE at all. Does VB Express not support Addins ...Show All
.NET Development Legacy Development (.NET 1.1) in Visual Studio 2005
(cross-posted from Visual Studio General) My company has a significant codebase that has been developed for the .NET 1.1 framework and written in the C# language with Visual Studio 2003. My development team would like to leverage the new tools in Visual Studio 2005, but we cannot upgrade to .NET 2.0 at this time. How can this be done I have been evaluating the Visual Studio Express IDE, and it has&n ...Show All
Windows Forms DataGridView flickers in realtime app'
Hello, im trying to use a read-only DataGridView in a realtime application where some users states are being monitored. What I'm experiencing is a bad flicker over the entire DataGridView, although I'm updating only a single DataGridViewCell (actually a DataGridViewTex ...Show All
Software Development for Windows Vista Delay Activity and ASP.NET
I have a workflow that contains two HandleExternalEvent activities and a Delay activity all within a Listen activity. Obviously, when the Listen activity is hit, the workflow instance goes into an idle state. My intent is that if either event is not raised to the workflow within the specified timespan on the delay, an alternate path should be taken. The workflow never comes out of idle after the elapsed delay has passed. When I fire an event to ...Show All
Visual C++ AES Implementation C++ --please help
Hi All, I need to encrypt images using the Rijndael 128 Bit encryption method. For that I have to make two dll files, one does the encryption and one does the decryption.I have taken the example code is given in the following URL http://www.codeproject.com/cpp/aes.asp. I separated it into two projects, one for encryption and other for dcryption. But it doesn't seem to work. here are the code snippets: Encryption Code ...Show All
Visual Studio Team System Certification
Exist a certification program for Team System Beta version or other Thank at this time we are looking at beta certifications around PDC, I will blog more about it when we get closer thanks Michael ...Show All
.NET Development Regular Expressions question
Hi all, let say that my string is : /// <author> aaa /// <author> bbb /// <author> ccc 1. how do i match all the authors except author aaa 2. how do i append the string "2006" to the authors names found in #1 Thanks. (Moderator: Thread moved to the Regular Expression Forum and Title tweaked for quicker thread understanding during a search) you could try [^aaa] which would re ...Show All
