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

Software Development Network >> Vidhya Sagar's Q&A profile

Vidhya Sagar

Member List

_Quimbly_
lingga
erodcav
Fusion54
lecedre
chew-z
AZZAT
Aleniko29139
pdxJaxon
Yahweh
Unmesh Gundecha
kennm
Glen Satuito
Prashweenet
Thomas Ivarsson
Steven Bone
washaw64
Nico_M
Jade Skaggs
Yodatg
Only Title

Vidhya Sagar's Q&A profile

  • Windows Forms ODBCDataAdapater.Update

    Good afternoon, I'm having an issue right now when I try to update a datagrid. It can currently insert, but only 1 time. Same goes with the updating. If I try to insert/update an error would pop up saying the following: Concurrency violation: Updatecommand affected 0 records. This happens regardless whether I insert, update, or delete. Any thoughts   EDIT: I found the problem. What my problem was, was that I didin't want to see any (null) in the datagrid, and got rid of this by doing IsNull(<Name of Column>, '') as <Name of Column>. THis messed things up, but I got rid of it, and now works. ...Show All

  • Windows Forms Why using childForm.MDIParent = this not show childForm

    I use the following command but it does not run : childForm f=new childForm; f.MDIParent = this; f..show(); If I omit the second command f.MDIParent = this; It run normally I do not understand that because in .net 1.1 they are correct. Please tell me what the problem. Thanks in advance! Hi Pvphuc: I think nornally we just set childform. MdiParent =parentform ; it would works. would you please post all your code and error you meet because, maybe all of us haven't catch your means, and all things seems works ok on my PC. Best Regards! ...Show All

  • Visual C++ Numerical recipes in C++ Book

    Hi all, I have question about Numerical recipes in C++ book and Example book. Is it worth to buy it those books, and are someone know good book for FFT analysis Thanks in advance. Hello Re: Numerical recipes in C++ Book Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use an appropriate newsgroup. OTP Thanks Damien ...Show All

  • Smart Device Development Bluetooth API

    I am developing a mobile application using bluetooth. I am using Windows Mobile 5.0 and develop in C#.Net. Bluetooth api functionality is given in C++. So how can I use those functionality in C#.Net. How to call bluetooth accept and other methods. As usual for OS APIs which are not available in NETCF, you can P/Invoke from C# to BT API or you can use 3rd party wrapper which would P/Invoke for you. ...Show All

  • Visual C# Button Madness (one of many posts to come)

    I know I should have been more descriptive in the subject, but the question is too long to fit. I'm trying to make a charicter creation application for a RPG. I want to have it so that when a person clicks the + button (button2), it will subtract one for the remaining points which is displayed in label20, add it to the Strength score (int Str) and then display the modified Strength in label11. Next, I have a subtract button (button10) that does the same but adds one to the remaining points and subtracts 1 from the Strength score (int Str) and displayes the remaining points and Strength in thier appropriate label boxes. To complicate matters worse, I have to 1: have to do this for 7 other stats, which none of them can go lower than ...Show All

  • Windows Forms Host a DateTimePicker in a DataGridView ?

    Hi, I'm trying to host a DateTimePicker in a DataGridView, and it seems that there's a bug somewhere (which I can't find). I took the MS example ( http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx ) and created a new VB application (2005). The only change I made to that code was to add a second column. Now... I run that application and pick a row, and then try and edit the date in place (that is, without a popup). Say the date is "19/09/2006". I click on the cell (it highlights), I click on the "19" (that highlights) and I press some numeric key (like "4"), I then press "tab" to get to the same row, second column, my date stays as (or rather, changes back to) "19th". In my ...Show All

  • Architecture Is it possible to use Domain-Specific Languages out of VS2005?

    I want to create my own windows-forms application. This application must create and show some diagrams. Is it possible to use Domain-Specific Languages out of VS2005 in my own windows-forms application ...Show All

  • .NET Development Saving a website WITH images by using the system.net.webClient

    How can I save a website including the imagefiles an not only the htmlfile by using the system.net.webClient I tried a few ideas but no one really worked well. No, you don't replace the strings in the HTML file. What you need to do is parse that html file, get where exactly the .jpg are stored and then issue separate request for downloading each of those jpg file Mariya ...Show All

  • .NET Development Downloading Problem

    this code is working perfectly but when i directed it to our download site, the downloading and my program stop responding when it reach a certain filesize and doesn't show error. please help me.   // The stream of data retrieved from the web server Stream strResponse; // The stream of data that we write to the harddrive Stream strLocal; // The request to the web server for file information HttpWebRequest webRequest; // The response from the web server containing information about the file HttpWebResponse webResponse; using ( WebClient wcDownload = new WebClient ()) { try { // Create a request to the file we are downloading webRequest = ( HttpWebRequest ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Redis setup failure...

    I have a freind I am using as a "beta tester" ... poor guy... anyway... he is trying to instal the redist version of XNA and he keeps getting the error Error writing to file: Microsoft.XNA.Framework.Game.dll Verify you have access to that directory. He is admin on his PC he tells me... Any Ideas He rebooted and now says it says error code 2350 and after the DLL error he hits retry and gets . "The installer has encountered an unexepected error installing this package this may indicate a problem with the package. Error code is 2350. strange. I have no idea.... the redistributable version should be download and run....Kind of scary too if you plan on distributing an XNA game on the PC pla ...Show All

  • Windows Forms Adding Catogories to ToolBox

    hi, I am implementing a tool box kind of control in project, and am using the Toolboxservice class. Though it is clear on how to add items to the toolbox, it is not clear to me on how to categories (e.g. "General","All Windows Forms", "Common Controls" etc). The MSDN documentaiton is not quite good on this. Can any one give me right pointers please. thanks Sesh The following links might be useful http://msdn2.microsoft.com/en-us/library/66kwe227(VS.80).aspx http://www.codeguru.com/Csharp/Csharp/cs_controls/custom/article.php/c8489/ ...Show All

  • Visual Studio Tools for Office Inactive event handler on custom toolbar

    Hi, I am using Word 2003 and VSTO 2005. I have a .doc solution deployed by the Publish Wizard. When I open this .doc file there is a custom toolbar with different buttons on it. When I click on the buttons the corresponding event handler is called and executed. So fare everything works perfectly fine! Then I reopen an other instance of the same .doc file (so now I have two Word windows open which are customized by the same assembly). If I click on a button on the custom toolbar in the second Word window, nothing happens at all…. as if the event handlers have been de-activated! Can anyone help me on this Thanks a lot! Claudia Hi Claudia 1. Have you declared the butto ...Show All

  • Internet Explorer Development RunOnceEx Broken w/IE7?

    I was curious to find that our installer failed to update our BHO on systems with IE7. I trailed it down to the RunOnceEx keys (see kb 232509). The keys added by our installer were ignored. They work fine on systems without IE7. I moved the keys to RunOnce, and that solves the problem. I'd prefer to use the RunOnceEx, but I was mostly just wondering if this is a known problem, and whether it's by design. Thanks, - Henri Thank you most kindly Lorente Jeremie. Your remedy worked perfectly for me, I have slipstreamed IE7 and KB 928090 plus four other IE7 Updates/Hotfixes, plus RyanVM Update Packs , into XP SP2 Pro using nLite V1.3.5 . Your advice to add REG ADD %KEY% /V Flags /T REG_DWORD ...Show All

  • Visual Studio Express Editions Random numbers

    I want that some variables have a random number. I used that code: var1 = Int(Rnd * 25) var2 = Int(Rnd * 25) Var3 = Int(Rnd * 25) But I'v got still a problem. The variables haven't a real random number. When I start my program then are var1, var2 en var3 = 17,14,13. Now there isn't a problem. It looks like it are random numbers. But when I quit the program and I restart it. var1, var2 and var3 are again 17,14 and 13!!! Is there a command that give me each time other values. So real random well the Random class works on the some algorithm perhaps involving the current time. you may want to place a slight delay on the thread but not recommended. Since the time difference between generating 1 number and the other is small, probab ...Show All

  • Windows Forms TreeView and TreeNodes

    I'm working on a program that returns a registry key's path. The path always return in the format "Root_Key\Subkey\Subkey\key". I also have a list that stores the subkeys found and I need a way that I can read from its path and add each path individually to a treeview's list so it will be like regular RegEdit, but it only shows what you have searched for. I have no problem returning the path of the keys.  I need to read from the path per say "hkey_users\key1\key2" and have the parent node added "hkey_users" and add the sub key "key1" and insert the sub key "key2" in"key1". ...Show All

©2008 Software Development Network