danadanny's Q&A profile
Visual Basic Run, Message, Delete
Ok heress what i want to happen when i click a button, its saves a .bat file(which i already have working) Next it runs the bat file when the operation is done a message comes up saying "Done" Once that is done it deletes the .bat file Process.Start("c:\myBat.bat") MessageBox.Show("I've done all sorts of nasty stuff") File.Delete("c:\myBat.bat") ...Show All
Software Development for Windows Vista Are the WF project systems flavors of C# and VB.NET projects?
Hello, Are the WF project systems flavors of C# and VB .NET project systems If so, what benefit (if any) would there be in flavoring C# or the VB .NET and then custom adding pieces of the workflow design time system (e.g. designers, type system, build, debug, etc) to this flavored system, as opposed to adding pieces of the workflow design time experience directly to a custom project system (that is not a flavor) Please see http: ...Show All
Windows Forms Lost Graphics modification
Hello, I'm trying to compare 2 bitmaps. I want to save into a third bitmap the difference on this two bitmap Here's the code : Const SRCINVERT = &H660046 'The two bitmaps to comparate Dim img As New Bitmap("c:\test\test12.jpg") Dim img2 As New Bitmap("c:\test\test14.jpg") Dim g As Graphics = Graphics.FromImage(img) Dim g2 As Graphics = Graphics.FromImage(img2) BitBlt(g2.GetHdc, 0, ...Show All
Visual Studio Team System PasswordFormat Error when deploying an application
I've created a simple application diagram (web service/web app/database) and a simple LDD, internet zone with an IIS and database zone with a database server. In the deployment diagram I deploy the database into the database zone and the rest into IIS in the internet zone. I turn on Fomrs authentication for the web app/web service. Enable anonymous authentication for IIS and then validate the diagram. When I do the validation I get the following ...Show All
SQL Server SQL Management Studio install problems
Hello, I received the Visual Studio 2005 Standard and SQL Server 2005 Standard from the Microsoft Launch event in Anahiem. I was able to install SQL Express via VS 2005 without any problems. I am able to install SQL 2005 Standard without any problems the only problem I have is that I cannot install the Management Studio. I uninstalled SQL Server 2005 Standard and installed the SQL Server 2005 Express managment studio and it installed witho ...Show All
Windows Forms How to trap the mouse events (move, hover, etc) for the designerhost?
I've implemented a custom form designer based on MSKB 04 sample. I'd like to perform some actions when cursor moves over the designer. How can I trap these mouse events Or should I take a different approach for this kind of task Thanks, Alan Martin, I din't get a chance to try out the global behavior yet. Thereis a bit learning curve I need to go through on it... Behavior seems to play a big role in desig ...Show All
SQL Server Cannot convert between unicode and non-unicode string data types.
I have an Excel Source component hooked to an OLE DB Destination component in my SSIS 2005 Data Flow Task. After I mapped the excel columns to the OLE DB table columns i get these errors below. I noticed that for the first error, the Excel Field format (when you mouse over the column name in the mappings section in OLE DB component) is of type [DTWSTR] and the corresponding SQL field from my SQL table that it's mapping to is of type ...Show All
Windows Forms How to get DataGridViewComboBoxColumn's selected value for validation?
Hi. I have a bound DataGridView with a DataGridViewComboBoxColumn. I want to validate the value the user selects. I'm working in the grid's CellValidating() event handler. How do I get the newly selected value of the item selected in the combobox In the grid's CellValidating() event handler the DataGridViewCellValidatingEventArgs "e" parameter gives me the previous combobox value which is useless in t ...Show All
Visual Studio 2008 (Pre-release) Web hosted service not working - svcutil filenotfoundexception
Please go gentle on me, this is all new to me, including the c# (c++ here) I am using vista build 5270, the feb windows sdk and feb ctp fx runtime. I have successfuly compiled the webhost example (not hard) and copied the dll, web.config and service.svc to my virtual directory. Wen i browse to it with ie, i get a 'Service unavailable - service unavailable.Micorsoft-HTTPAPI/2.0' error Now based on this, i figured svcutil would not work e ...Show All
Visual Studio Team System Web Test Validation Rules: How to validate a especific HTML Element
Hi, I'm trying to use validation rules to validate the response of a Web Test. I'd like to validate that a especific object (an input type= text, id=TextBox2) has a especific value. I could validate that exists a Tag with this value, but I couldn't validate that this Tag was the one I want. I mean, If I have two inputs type=text and I want Texbox2 to have a value (foo), but this value is set to TextBox1 I'd like my test to fail. In order to do t ...Show All
Windows Forms Excel Automation + Scripting
I want to create an Excel automation project (not an Addin). The project will consist of a WinForm app and an Excel spreadsheet. The WinForm will have an embedded fsi.exe, the F# interactive console. Both the fsi.exe instance and the winform controls should have access to the Excel instance. Hope this makes more sense. Thanks, - Luis Hi Luis, I am not familar with fsi. I think you may need to contact the d ...Show All
Visual Basic Unicode question
After I have compiled my application are there ANY possible ways that UNICODE can affect the running of the application in any way at all For example (run on these systems characters typed and entered into fields will they be 4 byte characters ) If there is any possibility of any problems at all then how do I know when this is happening and how do I resolve the problems Michael J. Dyrnaes I keep asking you ... HOW do I know wh ...Show All
Visual C# stop the gif
ok i have a gif in my project and when it recives the end then goes again and again.. How can i stop the gif at the last frame Some code will be nice.. Cheers! ...Show All
Visual Basic Problem opening emailed application
Hi all Newbie to programming with a problem opening a vb program in visual studio. I have been working on a application at a different pc and have zipped the file i was working on to my home pc. The problem is that when i extract the files and try to run with visual studio and view the forms i am being told that visual studio cannot find the forms as they have been changed, removed or renamed! All the forms in solution explo ...Show All
SQL Server Unable to connect to SQL 2005 Server
Hi After change the password of my account on Windows XP Professional and joining to the corporate network, I can't connect at SQL Server 2005 Standard that was working before the changes was made How resolve this issue Did you install SQL at set it up with your username and password. If so it will need to be changed to your new password. This should be done in the SQL Server Configuration Manager. To easily see which services ...Show All
