Software Development Network Logo
  • VS Team System
  • Audio and Video
  • Microsoft ISV
  • IE Development
  • Visual C#
  • SQL Server
  • Windows Vista
  • SharePoint Products
  • Visual FoxPro
  • Visual Basic
  • Visual Studio
  • Game Technologies
  • Windows Forms
  • .NET Development
  • Smart Devicet

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

Nilkanth

Member List

watch is
Kennon2005
Computer Science Student
Jason Zhang
spagbol
redshock
BelalSalah
buladbanaw
Mapa3matuk
tkeller01
Alex-MyRpg
Milesw
coastal skier
MEW99
mEt
Jehan Badshah
supagu
Drunkboat
Ofir Epstein
lawazia
Only Title

Nilkanth's Q&A profile

  • Visual Basic How to secure sensitive data in connection string?

    Hi. I am creating Windows Application using VB.NET 2005 When I add new data source to my project using, data source configuration wizard it asks if I want to exclude the sensitive data in the connection string. I know it will just show password and user id in the connection string in the app.config if I include them in the connection string. But how can I encrypt or set these information in the application securely I seen alot of examples done w/ ASP.NET (encrypting web.config) but I can't find any for apps.config. Thank you. Thank you for your help. I looked at several articles and this is the solution I came up with. I added following codes to enrypt app.config, but something funny ...Show All

  • Software Development for Windows Vista IShellWindows behaviour changed under Windows Vista?

    Hi It seems to me like IShellWindows only enumerates "true" Shell Windows under Vista when UAC is enabled. Internet Explorer Windows are ignored, unlike in previous Windows versions. If I disable UAC completely (via msconfig), it works as under Windows XP. However, when UAC is enabled, no matter what user rights I have tried, it behaves as described above. Is there a way to elevate the rights of an appication so that it can enumerate the IE windows Or is there another way to enumerate all open Internet Explorer windows in Vista and access their IWebBrowser interface Thanks in advance, Robert PS: I have posted this under "Internet Explorer Extension Development" a few weeks ago, but I got no usable answers. S ...Show All

  • SQL Server how to write this sql

    I have table T1 with fields T1.ID, T1.CheckBoxCol The T2 tabel has the same ID as T2.ID and T2.CheckBox1, T2.CheckBox2, T2. CheckBox3 Now, I need to check T1 and if T1.CheckBoxCol=1 then set T2.CheckBox1=1 else if T1.CheckBoxCol=2 then set T2.CheckBox2=1 else if T1.CheckBoxCol=3 then set T2.CheckBox3=1 for each T1.ID How can I do this UPDATE T2 SET CHECKBOX1 = (CASE WHEN T1.CHECKBOXCOL = 1 THEN 1 ELSE 0 END) , CHECKBOX2 = (CASE WHEN T1.CHECKBOXCOL = 2 THEN 1 ELSE 0 END) , CHECKBOX3 = (CASE WHEN T1.CHECKBOXCOL = 3 THEN 1 ELSE 0 END) FROM T2 JOIN T1 ON T1.ID = T2.ID ...Show All

  • Visual Studio Team System Team Project Creation fails

    I've just installed team foundation and I'm trying to create a team project, but it fails part way through with: Error TFS30170: the plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking. Explanation Plugin error text "Response is not well-formed XML" Any ideas of what could cause this Thanks, Dave Hi can you please tell me which methodology r u using for creating team project ... MSF for agile or MSF for CMMI.. Thanks, Kathir ...Show All

  • Visual C# Thread Safety and Collection Problem

    Hello, I'm working on a Network Application which holds all the connected clients in a Dictionary (Collection) and when Clients connect or disconnect this collection needs to be Modified as per requirement. All works fine with small work load e.g if a single client connect or disconnects or may be 2. But when a bunch of Clients say 30 disconnect altogether then I get Excetpion Collection Modified, Enumeration Operation may not execute come thing like this. I know this is all due to Thread Safety where multiple disconnection occurs. I have used lock and thought its enough but I'm getting this error. Here is my Code: public void Disconnected( ClientProxy sender, EventArgs e) { try { lock (clientProxyDictiona ...Show All

  • Visual Basic Classes and Custom Controls

    Yes i was wondering, is it better to make classes and your custom controls or just code everything into a project. I been working on a program for a hardware store, and I haven't done any custom controls, or classes (dlls), do you suggest moving forms and operations to classes and to custom controls . What Pros and Cons would each one give later Any good tutorial that would explain on the correct creation of dlls and custom controls Just for info, the database program for the hardware store is very small, the program ocupies about 1mb of hd space, this does not include .Net 2.0 or the crystal reports distribution package. Any guidence would be apreciated. Thanks in advance, and have a nice coding week. ...Show All

  • Visual Studio Express Editions Get all running processes

    hey im trying to find a good way to find the name of all running processes i have tried using this ; but its quite long and random Dim c As String Dim d As String c = 1 d = "" Do Until c = 10000 Try d = d & Process.GetProcessById(c).ProcessName & Environment.NewLine Catch ex As Exception End Try c = c + 1 * 1 Loop MsgBox(d) im sure theres a better way to do this if anyone can help please Well, console.writeline is for a console program, like Window's Command Prompt. IF you want a UI try this: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Procs As Process For Eac ...Show All

  • Visual Studio exec task failing in conjuction with echo shell command

    I'm running this exec command inside a msbuild file and not getting the expected results. There is something going on in the conversion of the html code and I've tried various scenarios with no luck. < Exec WorkingDirectory = " $(MSBuildProjectDirectory) " Command = " @echo &#94;&#60; html &#94;&#62;&#94;&#60; body &#94;&#62; Success. Up I'm up!!! &#32; Time on this server: &#94;&#60;&#94; %= now^(^) &#94; % &#94;&#62;&#94;&#60; /body &#94;&#62;&#94;&#60; /html &#94;&#62; > test.txt " /> This outputs the following to test.txt: <html><body>Success. Up I'm up!!! Time on this server: &l ...Show All

  • Visual Basic Version control

    Hi, when I build and publish a VB.net 2005 program, the version number is incremented automatically - is this held in a variable anywhere that I can use to display within my application Check out the following My.Application.Deployment Namespace http://msdn2.microsoft.com/en-gb/library/dzt1y5bx.aspx More specifically the currentversion property which will give you the clickonce publish version number ...Show All

  • Visual Studio Express Editions data bind with vb code

    Good day So close yet so far. I wonder if anyone can help with a little code. I have a sql details veiw on a windows application form.(only one table) I,v written code behind a button click event in order to open a spacific row of data , eg Item ID number 3. This also corrosponds to the number in the menu box , showing the data row. The code lookes like this. Me .Table1TableAdapter.Fill( Me .Database1DataSet.Table1) But every time I click on the button the , no matter which row of data I,m presently on it goes to row 1. But I want to go to row 3. How can I finnish off the code to read the correct row. Thanks Rob Hi rob, Im not to sure if im correct or not, but your filling your table adapter from the da ...Show All

  • Visual Studio downloading the trial

    i was going to download the trial version until my teacher in my computer science class gets me a install cd to borrow. hes part of some microsoft organization where he can get his students the install cd to install at home, then return to him. anways. everytime i try to downlad it its in an img form, but when i click save, and i go to open it, its only 2kb instead of the 2.something gigs. i have nero and i heard it can causes some problems with img. help ...Show All

  • SQL Server Optimistic Concurrency Control Error

    Hi, I have a table X: ID (PK, int, not null) cstID(FK, int, not null) Name( nvarchar(100),not null) Desc( ntext, null) I am using the table view in Enterprise manager, if I manually type in a new row, then I edit that row, setting "Desc" = NULL, then I delete that row (from within the table view) I get the error: Data has changed since the results pane was last retrieved. Do you want to save your changes now (Optimistic Concurrency Control Error) Things to note: There was a FTI on this table, I deleted it, didn't help. No other process or users are editing/viewing this table The error doesn't occur if edit any other column, just setting the "Desc" to NULL creates this error. Some other tables in my DB ex ...Show All

  • .NET Development dataadapter.update not updating dataset from datatable new row

    I’m having a problem getting my dataset to update by adding a new row to the datatable. I have manually created my connection. When I debug by using breakpoints I can see the new row being added to the datatable (by viewing the datatable visualizer) but when I call my dataAdapter to update the dataset no changes are made to the dataset. I have a feeling the dataset won’t see the changes until I call end endedit but that doesn’t seem to make a difference either. I don’t get any error messages. Here is my code: The following is in formLoad: Dim cmdSQLStatement As String = "Select * from Owner" Dim connString3 As String = "user id=" & frmRA.glUserName & ";password=" & frmRA.glPassword &am ...Show All

  • Visual Studio June GAT Installation Issues

    Hi All, I had major issues in in uninstalling previous version of GAX. I had to revert to editing the registry and using msizap.exe as pointed by Tom in the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=502698&SiteID=1 . After doing so I successfully installed the June version of GAX. Since then I am not able to install GAT. It says GAX is not installed. If I try to uninstall June GAX it wants me to unregister following package(s) guid81f72285_df90_4e71_9ca5_233fdadf6200, MetaGuidancePackage. I have removed every file or registry entry which has 81f72285 in it. No success. I have installed and installed VS 2005 twice but still can't get around this problem. Any help / pointers would be appreciated. Regards, ...Show All

  • Visual Basic About Drawing Data Storage

    Hi! All I have a question when i develop a drawing software using vb2003. Connecting seriates point data forms an undee graphic. and which way i could use to store these mass data Writing to text file or DB or else Could anybody give me some suggestions Looking forward to your answer ...Show All

©2008 Software Development Network