Software Development Network Logo
  • Windows Forms
  • Visual J#
  • VS Express Editions
  • VS Team System
  • Visual Studio
  • Smart Device
  • Game Technologies
  • Visual FoxPro
  • SQL Server
  • Visual C++
  • Windows Vista
  • .NET Development
  • Visual Basic
  • Architecture
  • Microsoft ISV

Software Development Network >> rakesh_halder's Q&A profile

rakesh_halder

Member List

Limason
.NET Master
Erno Vuori
Devesh Srivastava
Kuma1
ANDERSLIND
jlm890
Dr_dre
Timothy Carroll
garyyang - MSFT
Rob Thijssen
scottm87
BobExpress
m.ramos
David Foster
1Pierre1
PG1
Charley Vasconcelos
ckeaton
DavidMBaker
Only Title

rakesh_halder's Q&A profile

  • Windows Forms DataGridView Focusing a particular row

    Hi,          In DataGridView, i am trying to set the focus to a particular row, when i tried giving                     datagridView1.Rows[3].Selected=true; It just highlights that row but the focus (record pointer) is still in the first row. How do i move the record pointer(focus) to a specified row. Dear sir, When we clicked the bindingnavigator add button it should focus should be on First cell. But it is showing now to the second cell ...Show All

  • Windows Forms Textbox border colour

    I found quite a bit of information while browsing this site and forum, but am still unsure about how to properly go about getting this to work properly. I created a custom button pretty easily but have not been able to get the text in this textbox to showup properly. Just to get started, all I want is a different colour border. I will wo ...Show All

  • .NET Development Where should a config file be stored?

    I have written a program that creates an .xml config file if one does not exist. The config is stored in the same folder as the .exe I am using ClickOnce as my deployment solution. (Program written in C#) The problem is that when a user upgrades the program the config.xml file is removed. This causes the user to have to suffer through the setup wizard after every update. How can I prevent the config.xml file from being removed Is there a special directory I should be storing the file in Any suggestions or advice would be greatly welcomed. ;) What JBrown said is the simplest method, but there is also IsolatedStorage.  Pe ...Show All

  • SQL Server CASE PROBLEM

    I am using the following snippet of code: ACCOUNT =  case left(m.gldebitacct, 6)  when '700048' then '40700-497-00'  when '011195' then '60700-470-05'  else 'error'  end, I need to alter this code to deal with another case such as: case left(m.glcreditacct, 6)  when '700048' then '40700-497-00'  when '011195' then '60700-470-05'  else 'error'  end, I think it should look like the following, but when I try this I get an error: ACCOUNT =  case left(m.gldebitacct, 6)  when '700048' then '40700-497-00'  when '011195' then '60700-470-05'  else 'error'  end, case left(m.glcredit ...Show All

  • SQL Server Access MaximumErrorCount From script Task

    Is it possible to get or set the value of MaximumErrorCount through a script task I tried to assign User variables to MaximumErrorCount but could not succeed. Any type of help will be appriciated. Thanks Gautam I found a indirect way to do it. I wanted to set the maximumerrorcount same as for loop count. So I used one expression to bind MaximumErrorCount property to user defined variable and it worked for me. Still if anybody can help me set this property directly using object model through script task, that will be appreciated. ...Show All

  • Visual Studio Team System Visual Studio 2003 Integration

    Hi, How can I run FxCop in Visual Studio  and apply it only to the current class (e.g. the class that is displayed) I have created an external tool for the FxCop and also passed all the parameters I need ($TargetPath for the DLL), but how do I specify the current class or namespace Thank you... You can't do this automatically. FxCopCmd.exe currently supports a /types argument, that accepts a comma-separated list of fully-qualified type names to analyze. You could manually modify the arguments passed to FxCopCmd.exe in the external tool config, but this would be cumbersome. We're currently designin ...Show All

  • Visual C++ Textbox: string to int

    i am new to VC++2005 and relatively new to VC++. I created a textbox in which a number should be entered (age of person). the name is txbAge. Now i would like to do some mathematics with the entered number. So I have to do a conversation from "String to Int" In times of C I used atof() or stringstream to do this convertion. Is there a function to do this more comfortably in VC++2005 thanks in advance. drole ...Show All

  • SQL Server Schema changes no longer replicated to subscribers

    Hi to all, I have a merge (pull) replication between SQL Server 2005 and SQL Server Express clients. Data synchronisation is ok, and I already made some schema changes (like adding new columns) at the publisher database which were applied to the subscriber as they should. Now this doesn't work anymore. New columns added at the publisher (with ALTER TABLE or Management Studio) are no longer replicated to the subscribers. I don't get any error messages, and I can't find any hints in the logs why this has stopped working. The "Replicate_Schema_Changes" is still set to TRUE (in general, none of the publication options ha ...Show All

  • .NET Development HOW to : Copy files with all extensions

    HI ,  I want to copy files from one folder with all extension to another folder .  How do i achieve this. For example :  I've files with names like bs .txt, bs .mmx, bs .git , bs .yrt ( some extension for reference) now i want to copy all the files with bs name ( what ever may be the extensions) ...i tried system.io.file copy method using *.* at the end but it fails... Can anybody guide how to achieve it.. Regards, Bsraju In that case you'll want to use the overload of CopyTo that takes "bool overwrite" as its second parameter and pass true to it. -Shawn ...Show All

  • .NET Development Developing with ActiveDirectory

    I'm using AD groups to generate lists of people who can fill some roles in the tasks, but when away from work I (obviously) cannot access AD. Is there an established way to handle this so I can develop on the road without a connection I'm thinking I'll need to load a table locally and use that instead, but the access is radically different and would result in multiple objects to generate the list. Thanks in advance, Sorry, I am not aware of such tool. You probably will need to download all the interesting objects and serialize them to certain some store. Then when you are disconnected, you reconstruct the objects bac ...Show All

  • Visual Studio Team System How can I delete a Team Project

    Hi, How ca I delete a Team Project, I try, but ins't works. Any Idea. Use TFSDeleteProject to delete a team project from Team System. The TFSDeleteProject command-line utility is located in <drive >:\Program Files\Microsoft Visual Studio 8\Common7\IDE Usage: TfsDeleteProject [/q] [/force] </server:<server name>> <team project name > [/q] - Do not prompt for confirmation. </server:<server name>> - The name of the Team Foundation server. [/force] - Continue even if some data cannot be deleted. <team project name> - The name of the project. Use quotes if there are space ...Show All

  • Visual Studio 2008 (Pre-release) Invalid security token after approx 15 minutes of inactivity

    We have a WinForms application that is communicating with a series of WCF Services that are being hosted in IIS using the wsHttpBinding (with default settings, such as Windows Auth). If we leave our application sitting idle for approx 15 minutes we receive an exception about having an invalid security token. If within the debugger we make the service call happen a second time directly after the call that causes the exception the service call works as expected. Any ideas Thanks, Steve Hi Steve, Are you caching the channel proxy for the service . The Binding WsHttpBinding uses secure conversation by def ...Show All

  • Visual Studio Express Editions keypress......please help

    hi guys I have asked this question before with no satisfactory response....... can anyone please explain this to me ........................................................................ I am making a simple animation in vb express.............yes...I know vb is not ideal for game making...but I dont know c++ or c sharp..........so I am stuck with vb.... my problem is this.... when I press a key to move a graphic everything is fine....but if I hold the key down everything else on the screen freezes.....except my little animation ... which flies across the screen........ so how do I stop the keys from repeating ...Show All

  • Visual Studio Express Editions Several questions

    Hi, I'm new to VB, but have played with some programming just a little. I'm working on a Windows application that retrieves XML weather for any location you specify. I'd like to know how to deal with XML to use the data I want. If either is possible, I have no preference whether I analyze each line as it's downloaded or I dump it all to a file and deal with it there. I'm totally new to this, so I don't know how it works to specify what XML you want to retrieve. I'll post the link to a city so you can see what the XML looks like: http://xoap.weather.com/weather/local/USPA1290 cc=*&dayf=5&prod=xoap&par=1017300893&key=26 ...Show All

  • Windows Forms Click Events with List View Items

    I'm having real problems with click events for list view items. I have a list view (TrainingListView) with about 12 items. When the user clicks on an item (I have the activation property of TrainingListView set to OneClick), I want that specific item to open an appropriate form. I tried the below code and what I get are all forms opening no matter which item is clicked (the code below is just from the first two items in the collection). I've looked everywhere I can think of, but can't find a solution. Any help would be greatly appreciated! Private Sub TrainingListViewItem0_Click( ByVal sender As System.Object, ByVal e As System. ...Show All

©2008 Software Development Network