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

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

jbhatia

Member List

Dror
sam17
DonaldM
Thilakavathy
paso
Criminet
Pockey
DavidAWinter
SaucerBoy
DevDiver
DRoden
Matt Lin
chongqing
Wes123g
PeteJM01
Jenny777
MarioBR
Bill Cumming
murph___
Troy Lundin
Only Title

jbhatia's Q&A profile

  • Visual Studio Express Editions Cannot get name of selected node in treeview

    Coming from a VB6 background and now trying to learn how to do drag n drop in .NET seems to be somewhat challenging. I currently have 2 treeviews which I can fill with no problem. Just to get the basic feel of this I am not adding anything more than 4 items with no children. For simplicity they are in this order: Book, CD, DVD and Tapes. When I click on Tapes for expample in the view and go to drag it to the second treeview all I get is Book. The only way that I can get it is to hard code the number selected in the tree. trvItems.Nodes.Item(3).Text Replacing the "3" with anything else gives me the first item in the list. This is one of the ways that I have tried this: trvItems.Nodes.Item(trvItems.SelectedImageIndex).Text) Any tho ...Show All

  • Visual Studio Express Editions Reading through Magnetic card

    Hi folks, I have successfully added my mag. card reader ..but how can i read the string, coming from the card so that I can manupulate it .. if anybody know s the code or function for that pls come fwd Thanx rax Thanks for replying.. but I am reading the card through USB magnetice card reader. well, I dont think I have to use the system.io.port objects since I am using VBA. What I have done is just pass the information of card in a function parameter as a string.. but I want to parse the string (using string functions) so that I can fetch the useful information ... Appriciated!! thanks ...Show All

  • Visual Studio Team System Microsoft Project Plan (.mpp file) in Project Portal always locked

    Hi, Was wondering if anyone has seen this problem and possibly have a workaround for it. If we create a project plan using Microsoft Project 2003 (or 2007), publish the plan to the team server and then save the .mpp into a document list in the Project Portal. When attempting to edit the file project always displays the error "The file is locked by another user", read-only, notify, etc.. However the other user is me! Sometimes the error can be avoided by deleting Temporary Internet Files but not always. Curiously this only affects .mpp files that have been associated with a team project and are stored in the project portal. Storing them on the file system, or storing unbound plans in the portal works just fine. ...Show All

  • SQL Server Create a PDF file directly to disk?

    Hello all, I use Reporting Services and an aspx page to create a PDF file. I need to save the file directly to a disk file with a name, without asking the user if he want to open or to save it. I'm using the folowing command: Response.WriteFile("http://" & System.Environment.MachineName & "/ReportServer %2fReportsApp%2fRptFSUnicoR&rs%3aCommand=Render&rs%3aFormat=PDF&MyID=" & IDFun, True ) Any idea how I do that Regards Hi Chris, Thank you for your answer. I'm afraid I will have to think in another solution. As Report is generated from Reporting Services I thought I could have another parameter to force the "save" at the time I render the Report. Best reg ...Show All

  • Visual Basic date routines

    Does anyone have a VB Net 2005 routine that will get every date for a given year Thanks Not sure this is exactly what you are looking for .. but maybe something along these lines ... Function GetYearDates( ByVal year As Integer ) As IEnumerable( Of Date ) Dim dt As New Date (year, 1, 1) Dim dtNext As New Date (year, 1, 2) Dim lst As New Generic.List( Of Date ) : lst.Add(dt) While dtNext.Year = year lst.Add(dtNext) : dtNext.AddDays(1) End While Return lst End Function Richard ...Show All

  • Smart Device Development Speech API 5.0

    Hi, I'm developing a pocket pc application in C#.NET, VS2005. I need to incorporate Text-to-Speech feature in the application. SAPI5.1 doesn't support WinCE. But this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/wceappservices5/html/wce50consapi50sdksamples.asp is telling that SAPI5.0 supports WinCE. I searched for SAPI5.0, but couldn't find it. Anybody knows where SAPI5.0 SDK can be found... There's an answer to that few posts below yours: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=871948&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=865394&SiteID=1 ...Show All

  • Visual Studio 2008 (Pre-release) Help me design Menu/Toolbar item coordinator

    Hello, I figure this is something that has been solved over and over again. There must be a pattern for it. I want to design a menu system & tool bar system for my rich client application. I want the menu/toolbar system to be smart enough to enable/disable items as the user’s context changes. For example, when the user enters the order window, the Order menu item along side the Order buttons on the toolbar are enabled and when the user moves to configuration the configuration items are enabled and the Order menu items are disabled. What is the best way to achieve this functionality Is there a way I can utilize commands and some sort of a coordinator that keeps track of what the context is I don’t want to write a bunch of ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Please Post First Impressions Here.

    For the working stiff's like myself, could those of you who have successfully downloaded GSE post you first impressions here. Thanks. Went home for lunch and download and installed. Everything ran without a glitch. Compiled and played Space Wars with my Xbox Controller for about 30 seconds. Can't wait to get back home and dig into the code! ...Show All

  • Visual Studio Express Editions Problem with PictureBox >? Not Working ! Why ?

     I want this photo Usa.jpg to show in picturebox .              if TextBox1.Text = "Usa" then           PictureBox.Show This --> Usa.jpg How  ::In Visual Basic 2005 Express Edition:: Maybe something like this would work better: Private Sub Setpicture() Dim picture As Image = Nothing Dim ofd As New OpenFileDialog ofd.Filter = "Image Files(*.BMP;*.JPG;*.GIF;*.TIF)|*.BMP;*.JPG;*.GIF;*.TIF" ofd.Multiselect = False ofd.InitialDirectory = My .Computer.FileSystem.SpecialDirectories.MyPictures If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then Try picture = ...Show All

  • Visual Studio Team System Load test response time identical with or w/o gzip compression

    We have two web servers: one is configured with gzip compression while the other one is not. I'd expect that when we run the load test against the web server w/gzip compression, the response time would be faster. But our testing shows both servers have similar response time. Any idea why I ran the webtest, reviewed the request headers from the results, and I could see "Accept-Encoding : gzip". What else should I check ...Show All

  • SQL Server OpenQuery() to Linked Server hangs, leaving SPID with open tran, then templog.ldf grows without limit.

    Hi, We have a customer that is using SQL Server 2000, and experiencing the following intermittent problem -- occasionally templog.ldf will grow and grow until it fills the entire disk. This is a rare problem, it has happened less than 10 times in the past two years, for a job that runs once a minute. But it has happened on 3 different SQL Servers, (two production servers, and one test server). Our suspicion is that the root cause is an OPENQUERY() to pull data from a linked server (Oracle database on Unix). We have seen that these OPENQUERY() statements occasionally hang and cannot be killed. The OPENQUERY() is used to populate a local table, and when we originally populated permanent tables with OPENQUERY(), then there would be a ...Show All

  • Windows Live Developer Forums Windows Live Contacts Gadget beta release!

    I'm pleased to announce that the Windows Live Contacts Gadget has been released to beta! The Contacts Gadget allows end users to access their Windows Live (Hotmail + Messenger) contacts in the context of third-party web sites, and use those contacts with the web site. It's easy to add the contacts gadget to your web sites - just reference the .js files on dev.live.com, copy one channel.htm file to your web server, and write a little code to construct the contact gadget and respond to its callback events. More details can be found here: http://dev.live.com/contactgadgets I'll be posting articles and code samples over the next few days on my blog . If you have any questions, feel free to ask! -Danny Hmm. Not sure w ...Show All

  • Visual Studio Express Editions How to print Datagrid in C# ?

    hi i found an article in codeproject as DataGridPrinter that print datagrid good. but it has written with VB.Net and i want it in csharp. when i create dll in VB.Net and i use it in c# the following error shown me : Unable to cast object of type 'System.Windows.Forms.BindingSource' to type 'System.Data.DataTable' and when i set Datagrid1.DataSource = ds1.Tables["Table1"]; the following error shown me : //in Line 374 Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index how to solve my problem and do you have a other class that print datagrid in C# with header and footer thanks .. Hi Hamed If you go back to Code Project an do a search for PrintDataGri ...Show All

  • Visual Basic VS doesn't recompile..

    Lately this stupid Visual studio 2005 have made this little problem. When i change my code and tries to run it, it doesn't recompile the new added code but just keeps using the old one! When i then tries to pause it when it displays a messagebox ( wich i have deleted from the code) it stop and says that there is no source code to display. I have tried the rebuild function but dont help. Also tried shutting the studio down and open it again, but that dont help either. Anybody have a solution How stupid is this: I try deleting the code in the button, where it doesn't recompile, and afterwards delete the entire button from the designer. When i press the debug button its al there in the compile ...Show All

  • Visual FoxPro How to change to memory variable to a row number

    oSheet("10:" + ltrim(str(m.mrow)) ).NumberFormatLocal = "#,##0.00_)" or: oSheet( textmerge("10:<<m.mrow>>") ).NumberFormatLocal = "#,##0.00_)" or one of other N ways... ...Show All

©2008 Software Development Network