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

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

jayankv

Member List

DavidShen
Paul iP
Patty Lau
Rob26
SoftAdmin
D_
EmilioJaenAranda
PaulLaudeman
Andrija
willmacs
sklett
ericis_com
Mjohnson
kiewie
JEFFKIM
Todd King - MSFT
manikaagarwal
alsanal
JDavide
Eric Molitor
Only Title

jayankv's Q&A profile

  • Visual Studio Tools for Office VSTO WORD / EXCEL : delete selected Row

    Hi, I am very new to VSTO but good at .NET 2005. I would like to know - in VSTO for MS Word, Can we delete currently selected Table. Basically when I use following code lines.. Word. Selection objSelection = Globals .ThisDocument.Application.Selection; if (objSelection.Tables.Count > 0) { Globals .ThisDocument.Tables[1].Rows.Delete(); } it delete always 1st table because tableindex given as 1. Is it possible to get index of currently selected table here I am also facing similar problem while try to delete current row in currently selected table as I am coding as.. Word. Selection objSelection = Globals .ThisDoc ...Show All

  • Smart Device Development App fails to start under CF2.0 when built by VS2003

    My platform is using the CompactFramework 2.0 as provided by VS 2005. A helloworld app built by VisualStudio 2005 will run on my platform, but the same app fails to run when built with VisualStudio 2003. I can see the dependent dlls load, followed by each unload after it fails. The VS2003 built helloworld app will run when CF 1.1 is deployed. The platform is a Intel IXP425 based development board (ARMV4I). Any suggestions are welcome. The issue has been resolved. NETCF V1 was built into the nk.bin initially. Later, I replaced the V1 bits with V2 bits in WINCE500 folder. The VS2003 built app was attemptin ...Show All

  • SQL Server Neither the partner nor the witness server instance for data...

    I am getting this error while trying to setup mirroring. "Neither the partner nor the witness server instance for database "shop" is available. Reissue the command when at least one of the instances becomes available. (Microsoft SQL Server, Error: 1431)" I am just using principal and mirror server, there is no witness server. I have tried fully qualified name and ip for the servers also. I can connect from the principal server to the mirror server using the management studio and it also creates endpoints on prinicipal and witness. But then gives me an error that it cannot find the instance of the mirror server and if ...Show All

  • .NET Development Strange behavior of the Trace

    I use Trace class to get logs of the Windows Service. Log file could be changed dinamicalli (you change log file name and trace should to create new file and continue write trace in them). STrace (my class) contain such function to dinamically change log file: private static void AddTextListener( string FileName) { //=========================================================== Trace .WriteLine( DateTime .Now.ToString( "yyyy/M/d hh:mm:ss" , DateTimeFormatInfo .InvariantInfo) + " Names before" ); for ( int i = 0; i < Trace .Listeners.Count; i++) { Trace .WriteLine( Trace .Listeners .Name); Trace ...Show All

  • Visual Basic read text strings from Word document footer

    Hi- I'm a newbie in office programming. I have several hundred Word files that I need to loop through (Visual Basic, Visual Studio Net) to pull string information using a text search then place into document properties. While I can get at the text in the sections using the following code (a few assignments were intentionally left out in this paste; Dim wrdDoc As Microsoft.Office.Interop.Word.Document Dim filename As String Dim findText As String Dim myString As String Dim appWord As Microsoft.Office.Interop.Word.Application appWord = New Microsoft.Office.Interop.Word.Application ...Show All

  • Windows Forms Picture Box Page Flipping Method?

    I'm just wondering.  I want to do page flipping on a picture box.  For those not familiar with page flipping, it's the method by which you draw in the background and then once all things are drawn you simply bring the page to the front.  It keeps the flickering down when doing animated drawing methods. So the question is, is there  a way to page flip a control surface Thanks, Devin You're talking about double buffering.  You can just switch this on for a forms app, not sure how the picture box responds to this.  IMO, if you're doing this much drawing, you're better off just hand ...Show All

  • Visual Studio Team System Error when creating new Team Project

    I've worked through several resources onlnine to fix other errors in the project creation process and have just about got the New Team Project option working from Visula Studio, however I'm running into an error I can't find a solution for. In creating a project named Foo2, the creation process gets through the Currituck Module, handles some CSS and WorkItemType definitions and then throws an exception saying: ---begin Exception entry--- Time: 06/02/2005 08:36:59.706 Module: Engine Event Description: Task "Currituck.WITs" failed Exception Type: Microsoft.VisualStudio.Currituck.Package.CurrituckPcwFatalException Exception Message: Cannot fin ...Show All

  • Visual C# VS 2005 My things that I don’t like list…

    VS 2005 My things that I don’t like list… November 5, 2005 Updated by November 6, 2005   In my opinion VS 2005 is the best IDE ever; still I like to make some comments.   Like to share the following with everyone with the hope that I be clarified or corrected on the presented “My I don’t like list”… I will keep updating the list by adding, modifying or removing issues along the way.   Top things that I don’t like…   ·          The “ GenerateMember ” property is a bad thing.   I don’t quite see why this property is neces ...Show All

  • Windows Forms DataGridView flickers in realtime app'

    Hello, im trying to use a read-only DataGridView in a realtime application where some users states are being monitored. What I'm experiencing is a bad flicker over the entire DataGridView, although I'm updating only a single DataGridViewCell (actually a DataGridViewTextBoxCell) at a time. Exactly: DataGridViewCell.Style.BackColor, DataGridViewCell.Style.ForeColor and sometimes DataGridViewCell.Style.Font. DataGridViewCel ...Show All

  • Visual Studio Extending C#/VB-Project Properties

    Hi! I am new to the VSIP SDK and don't know where to start. I want to extend C# and VB projects with an new property page. I have already read about sub project types but I think this has too much overhead. I only want to add an additional property page and persist some settings in the project file. Kind regards Sebastian Hi Again! Here is a more precise description of what I am going to do: I would like to extend the existing C# and VB project types with my own property page and to persist some settings in the project file through Project.Globals. My property page should be a new tab or category in the ...Show All

  • Windows Forms Thanks!!!!! But you are wrong...

    Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the  ADO.NET  API or WindowsForms.NET API) and so many people is downloading it, using it, and basing their work on it.... Is TaskVision creating, with each download, an "anti-pattern programmer" Is TaskVision c ...Show All

  • Windows Forms Passing a Parameter in a DataGrid ButtonColumn

    Greetings, I am using a DataGrid to display advertisements on a ad board. All works great, except on day 2, the links that were visited show visited today. The culprit is that the control links that are really a ButtonColumn are rendered with; href=__doPostBack('DataGrid1$_ctl7$_ctl0','')" and the next day there are mor of these same links. Ideally I would like to set the eventArgument parameter, to a unique ID to have something like... href=__doPostBack('DataGrid1$_ctl7$_ctl0',' 37452 ')" In this way each Item would be Unique.  I have thought about modifying the Render which seems like it would be simple enough but I have heard the ...Show All

  • Windows Forms DataGridView Find feature?

    Many of the third party grids provide a Find feature whereby you can define a value and a column it the grid automatically moves to the first row containing the defined value in the defined column. Does the DataGridView support anything like this I didn't see any Find type method. Thanks! Thanks for posting your solution. My problem is that I could have 10's of thousands of rows and this is going through each one sequentially (several times). I don't think that this would perform well enough in my case. (I am displaying all contacts from Outlook/Exchange and for a large company, there could b ...Show All

  • Visual Studio Express Editions Reading/Saving an Image from/to SQL Server database

    I am stuck with the problem of reading a BMP or GIF image, into a PictureBox control, from the SQL Server database. Once reading problem solved, I will need to load a picture into the PictureBox and then save it into the database. Requesting for help.   Unfotunately I can not help you with the code problem. I could help with VBA but this is new to me. I would suggest though that you store only the path to the original file. Don't store the image itself. Your database will become bloated quickly if you store the image. Use the file system to do what it does best, storing files. ...Show All

  • SQL Server Upsizing Access to SQL Server 2005

    I am upsizing a number of Access 2003 databases to SQL Server 2005 with Access Project front ends. Access Tables all upsize OK, some Queries upsize to SQL Views, some to SQL Functions and some get skipped completely. I have fixed up data type issues with Yes/No and Date/Time fields. I would like all my Access Queries to be SQL Views. Some queries may have calculated fields and I suspect this is one of the issues. The only log in the report states 'Query "QueryName" failed to upsize'. Where should I start looking. Any ideas on this please. Thanks, George I think the best place to start i ...Show All

©2008 Software Development Network