FLIPKE's Q&A profile
Windows Forms How to get the correct value for DataGrid.Select(index) after DataView.Sort
I've read a lot of postings, but still don't seem to get this right. Hopefully someone out there can help. This is in C#, using Winforms: I have a datagrid, a combobox, and a textbox all on the same form. I would like the user to be able to use the combobox to 'select' one of the columns in the datagrid and then enter a search value for that column in the textbox. When the user has entered enough text to match a value in the selected co ...Show All
Visual Studio Express Editions pls help me about mobile script...
hi you ! what do i do if i want to develope for mobile devices (send sms to mobile phone from website)... thanks so much To send Messages to a Mobile Phone you will need to find a provider that has a system that you can tie into so that you can communicate view there messaging gateway. Another option is to use a GSM Modem and have your application talk to the modem to send the messages. You might be a ...Show All
SQL Server Cannot alter or drop fields
I must change replication schema from: Publisher - SQL2000(8.0.2039), Disrtibuter/Subscriber - SQL2000 to: Publisher - SQL2000(8.0.2039)(The same server), Disrtibuter/Subscriber - SQL2005(9.0.2047)(new server) I have removed all subscription, publications, distributer and publisher. So there should not be now any information about replication. Now I want to make some changes with tables and i try to alter and drop columns on publisher da ...Show All
Visual C# Windows-Service StartUP
Hi folks, it is possible to change the Startup Option of a windows service for example from automatic to manuell like in the managment console I don't think there is a standard fuction for that in the .net framework, but you can always use interop to access a service. You need to call the following Win32Api methods (use dllimport): 1. OpenScManager 2. OpenService 3. ChangeServiceConfig 4. CloseServiceHandle (for the service ...Show All
Visual Studio Express Editions MDI Closing RCW Error
This one has got me completely stumped !! I've got a MDI window with mulitple forms inside, as a merged menu item I have Close window (on the Child) that appears in the MDI forms file menu list (this all works 100%). Now, if I click the close menu it fires the event handler in the child forms menu handler and executes a simple Close.Me function (that also works 100%). So what's the problem Okay, I want to spice up the menu a bit so I've pu ...Show All
Visual C++ Relative paths to include supporting files - how to set-up a VS project for deployment?
Hi there, I have an application that includes: a) Graphic files b) several additional command line programs (exe's) c) Some text files. Thus far this has all been developed in the debug environment. Now that I need to deploy the application I need to bundle all the support text files, programs and graphics with my application so that it will be deployed as a single application. I am aware that I need to set up "relative paths" but I have no clue ...Show All
.NET Development Copy row contents to same table as new record
Hi all, I've searched a lot but I am looking for a simple way for a user to copy the contents of an existing record to a new record in the same table. I was hoping to find a dataset.table.row.item(index).copy feature, or something similar. Any suggestions are much appreciated. Thanks! Thanks again for your help! I had not tried the Constraint method I mentioned, and I'm glad I waited! ...Show All
Visual C# input text into another form
Im not sure how to I can get my program to put text into another unrelated program. For example if I press a button, how can I get IE to open and for the website address be automatically placed into the address bar (The website will be specified in a textbox in my program) All I have is this so far when the user clicks the button, beyond that I have no idea since Im a beginner: using System.Diagnostics; { Process process = new Proces ...Show All
.NET Development SecurityAction.DemandeChoice is obsolete ?
I'm working with Beta 2 (v2.0.50215) and I'm using PrincipalPermissionAttribute. As I wished to use more than 1 attribute on a single method, I tried the new SecurityAction.DemandeChoice flag. To my surprise, the compiler said this flag is obsolete ! I've not found anything about that on the web (nothing about that on MSDN2 for example) except in a Mono mailing list. Has this new feature been removed Is there other removed feat ...Show All
Software Development for Windows Vista Create Dual Boot PC with 2 HDs
I am going to install a second HD in my PC to put Vista on. Is there simple instructions on how to create my systems so XP stays on one drive and Vista on the other and when I boot up i choose the OS i want to use The same way it has been done for almost a decade. During installation point it to the hard drive that you want to install it on. Install. Reboot. When you boot up you will be presented with ...Show All
Visual Studio new to GAT
Hello, I'm new to GAT and want to evaluate whether it may fit my needs or not. Therefore I need some additional information: I've read that GAT can generate code from templates. Can code generation only be used when a new project is created or (now comes the important part :) ) can you even specify to insert documentation-headers etc. when a new class/method is declared in an existing file Thanks in advance! Mak ...Show All
.NET Development VS2005 and Preprocessor Definition
Hello, I'm porting a web application from VS7.1 to 2005 but i have a crasy problem. My app will compile in 2 different products (different database queries) depending on a global #define specified in the project's conditional compilation option. But now with VS2005 I don't have a project, and I'm unable to set a global define. Any suggestion on how to fix it I can't set it page by page because pre project is very big and each time i need t ...Show All
Visual Studio Express Editions How do I get mathematics functions
I have just downloaded Visual C# Express. I find that it has no mathematics functions and many others missing such as sleep(). Can someone tell me how I get these. I have looked in the MSDN library at System.Math and can see no way to download the mathematics functions. Is this something that is missing form the Express edition You have the Math class http://msdn2.microsoft.com/en-US/library/s ...Show All
Visual Studio Team System Default checking of the "Enable Code Analysis" chek box, in the project properties.
Hi, While building the code, across the Fxcop rules, we select the rules required from the Project properties window in code analysis tab. Also we manually check the Enable Code Analysis check box. Is there any other way to do all that checking by default instead of manually. Is there any code snippet which perform this Please help me in this regard. regards, Hi Dhatri, The Visual Studio 2005 Code Analysis feature cur ...Show All
.NET Development DataTables and NULL values
Hi there, My question is how do I handle reading NULL values from non-string columns from a datatable I'm using Visual Studio 2005. I have a datatable that I fill from a table in SQL server. Many of the columns are nullable and that is reflected by the AllowDBNull property on each of the columns in the datatable. However when I access the values in a data row I get an exception. This is obviously because the NullValue property on the ...Show All
