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

Software Development Network >> sanjeeva.s's Q&A profile

sanjeeva.s

Member List

dwrayment
Old Jeffrey Zhao
Shazen
retkow
Rafael (Live Butterfly)
i-developer
Rahul Singla
EsteemDE
Tomas Petricek
dustinto
Sébastien Nunes
SkyWalker781
Doriak
nate-d-o-double-g
Tao Wang CSI
Jeff Williams
AlexBB
Ramanujam Sampath
Gangy
KitGreen
Only Title

sanjeeva.s's Q&A profile

  • SQL Server SQL Server 2005 JDBC Driver - getParameterMetaData() for 'INSERT ... INTO' statement

    I use the Microsoft SQL Server 2005 JDBC Driver (1.0.809.102 and 1.1.1320.0) to connect to a SQL Server 2005 database. I'm currently implementing a generic data access layer that executes an arbitrary SQL statement: public void prepareQuery(String sql) throws SQLException, ClassNotFoundException { PreparedStatement stm = getConnection().prepareStatement(sql); ParameterMetaData pmd = stm.getParameterMetaData(); int numPar = pmd.getParameterCount(); System.out.println("Number of parameters: " + numPar); // ... acquire and process 'numPar' parameters ... } Exemplarily, I created a table named 'TEST_TABLE' with three Integer columns ('C1', 'C2' and 'C3') and a Varchar column ('C4'). Calling prepareQuery("IN ...Show All

  • Visual Studio 2008 (Pre-release) Textblock animation in RC1

    I have a textblock in a viewbox that I animate width and height to get a "zoom in" function. Using Tahoma 11 in June CTP it animated smoothly to the required size and looked nice. With RC1 it animates to required size then seems to "pop" as the text adjusts. It seems to adjust to a sharper font but the "pop" is annoying. Any ideas Thanks, John Looks like it is here to stay, at least for v1. http://blogs.msdn.com/seema/archive/2006/10/20/after-animating-text-the-text-seems-to-pause-for-1-second-and-then-render-more-sharply-than-before-why-is-that.aspx John ...Show All

  • Smart Device Development How do I include a dll in my project

    Hi everybody, I’m trying to use a dll in my Project using: [DllImport("shapelib.dll", CharSet=CharSet.Auto)] I add the dll file doing: right botton of the mouse over my project - > Add existing item -> And I select the dll file. The project compiles ok but when it uses the dll I get the following unhandled exception: System.MissingMethodException was unhandled Message="Can't find PInvoke DLL 'shapelib.dll'." How can I use a dll file in my Pocket Pc Application Thank you, 1. Pick your DLL file in the solution explorer. 2. Right click on it and choose "Properties" from the menu. 3. On the property page among available properties you would s ...Show All

  • Visual Studio Team System Error accessing http://(server)/Reports - The remote name could not be resolved: 'administrator'

    We're having a problem accessing the report services home page, even when logged onto the the server and doing it from localhost. When we hit http://localhost/Reports There's an error page that comes back and says "The remote name could not be resolved: 'administrator'" (with lower case administrator). When we go to anything under http://localhost/ReportServer , it works OK. The TFS server has been running for a couple of weeks now, but we haven't done much with the reporting yet, and just noticed this problem. (On a test TFS server, it works OK). I ran the the "Reporting Services Configuration Manager", and it didn't have any errors. It had warnings next to "Email settings" and "Execution ...Show All

  • Visual Studio Express Editions ntdll.dll error only when exe file is ran.

    Hi, I have very strange situation with running c++ application. When I build project using debug mode everything is OK, but when I build application in release mode or just run exe file either in debug or release folder I get the following error in ntdll.dll file. "Exception Information Code: 0xc0000005 Flags: 0x00000000 Record: 0x000000...000 Address: 0x000000007c93426d" This is information from windows message. Here is information from building log: 'archiveEditor.exe': Loaded 'C:\Projects\archiveEditor\release\archiveEditor.exe', Symbols loaded. 'archiveEditor.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'archiveEditor.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll ...Show All

  • Visual Studio Adding a completely new page after every page

    Hello, I need to have a 2 page report. 1st page (report) is already done and contains information taken from a database. 2nd page (report) is already done and does not access any data from a database - (it is strictly toolbox fields such as text, lines, etc.) Is this possible to do If so, how should I go about doing it Any suggestions would be greatly appreciated. Thanks a billion, Paul ...Show All

  • Visual Studio Team System Possible to get warnings message popup when doing shared checkout in source control?

    Is it possible to get the same popup warning message as in Source Safe when a user is performing a shared checkout ("File checked out by another user, are you sure...")If you don't pay attention to the output window from source control you can miss that you are performing a shared checkout. eugene.z wrote: G'day, I have heard the request from many people as well. The solution we have proposed to our customer is to implement add-in that hooks up on check out event, and checks whether the file is already checked out by someone and displays warning message in that case. Aside from informational message, I do not think it is possible to allow or disallow the check out (for the lack of ...Show All

  • Visual Studio Express Editions install published project C#

    visual C# 2005 express edition Everything works fine but when I publish the application I set the publisher as my name but when I click to install the application after publishing it the error window still pops up publisher unknown this does not stop the application from installing but is not very professional. Any ideas Thank You. In order for the "Unknown publisher" to go away, you will have to sign your application with a certificate. You can find some information about signing here: http://msdn2.microsoft.com/en-us/library/ms247066.aspx ...Show All

  • Windows Live Developer Forums Redraw Map

    Is it possible to reload or redraw the map so that it will request new images from the server I am intercepting the images to display my own custom tiles, but I want to change the tiles that it loads based on certain criteria (from a dropdown box). The problem I'm having, though, is that even if I call LoadMap again or try to Resize the map, it doesn't go get new image tiles...Any one have any suggestions I think you have to destroy the map object and create a new one. As long as you preserve the important info (center point, zoom level, map style), you can ensure the new map is identical to the one you just destroyed. ...Show All

  • Smart Device Development how to play mp3/midi/wav/wma file on smartphone?

    which api i can use tks This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forum for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati< ...Show All

  • SQL Server simple question creating duplicates

    Hi, I'm trying to create duplicates in a copy of a table in the same database by inserting rows from the original table. Seems easy but I can't get any sql to work. help Hi, Now I get that message which I understand. I can probably change the data type of that column prior to the insert and any key references Which I think I can figure out. I never got as far as the insert, as I was trying to do a join. All I need to do now is go into the table designer and change the data type and also remove any key constraints, is this correct I'm trying to catch up after 2 years of not doing any SQL work. thx ...Show All

  • .NET Development regular expression pattern

    4/21/2003 : On 4/21/2003 6:02:49 PM By DBROWN :: ; &#10; On 4/21/2003 7:04:41 PM By DBROWN :: &#10; called on 4/19 ; from the above string can any one tell me the pattern to extract the date preceded by 'On ' and name preceded by 'By' Hi Pradeep, Did the post resolve the problem If so mark the post as the answer, so when others search the forums, they might be more inclined to look at a successful post than a non successful one... in the search results the Answered posts are bubbled to the top before the unanswered . Or post why it failed for you. Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) VS 2005 Extensions for .NET 3.0 (WPF)

    Hi, As a follow up to question about Visual Studio Orcas, I'd like to ask when is %subj% going to be available As I understand it, Vistual Studio Orcas and %subj% are different beasts, or am I wrong Please, comment on both final release date and next CTP release date if any. Current November 2006 CTP is getting quite old and I am really hoping for faster XAML files loading/opening, even better (i.e. semantical) intellisense support in XAML etc. Martin there is new VS Orcas CTP - January release at http://www.microsoft.com/downloads/details.aspx familyid=1ff0b35d-0c4a-40b4-915a-5331e11c39e6&displaylang=en ...Show All

  • SQL Server Report Builder prompts and nulls

    In report builder when I designate a column as a prompt no values show in a values list when a valid value is null. Any ideas why and how to work around this. Thanks. ...Show All

  • Windows Forms Drag drop source file from Solution Explorer onto a form in designer

    Hi, guys: I have the following (unorthodox ) need: I want to be able to drag a source file from the Solution explorer onto a custom control on a form and perform some actions based on that. This is all done while designing. More info: I have a control that will host a load of other controls (text boxes, check boxes., etc). All of these are defined as properties of an "entity" class that I define. For example, I have a customer class that defines properties like "Code", "Name", "Active", etc. I create a form and I drag my control from the toolbox onto the form. This control has a designer that overrides the drag and drop methods (OnDragEnter, OnDragOver, OnDragDrop). When my customer class is d ...Show All

©2008 Software Development Network