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

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

Jcnipo

Member List

Ritesh Singh
PGolini
FransRudolf
Jana
tovvenki
Lay Lay
yus_nash
Totino
tetsu-
david_tenne
Xtek
fcampanini
r prasanna vignesh
hanguyen
Daikoku
aussie_1968
Babu Krisnaswamy-MSFT
LIMTL
Jimbrowsky
JoeP
Only Title

Jcnipo's Q&A profile

  • Visual Studio Tools for Office worddocument.saveas does save - but the document is empty

    Hello. I use the document.saveas command in my addin and everything seems to be ok. But when I reopen the document it is empty... What am I doing wrong Here is a bit of my code: object FileName = filename; object FileFormat = Microsoft.Office.Interop.Word.WdSaveFormat.wdFormatRTF; object LockComments = false; object AddToRecentFiles = true; object ReadOnlyRecommended = false; object EmbedTrueTypeFonts = false; object SaveNativePictureFormat = true; object SaveFormsData = true; object SaveAsAOCELetter = false; object Encoding = Microsoft.Office.Core.MsoEncoding.msoEncodingUSASCII; object InsertLineBreaks = false; object AllowSubsti ...Show All

  • .NET Development Help: new to Data access stuff

    hi all, i am completely new to working in data base access using c# and visual studio 2005. i do not have db yet. where can i get beginners tutorial on creating, and accessing data base in VS2005 and c# will really appreciate. rnv Hi there, try this article http://www.dotnetspider.com/tutorials/DatabaseAccess.aspx it explains a lot about how to access a database from C#. Also Google "Database Access + C#" and you'll get a lot of help! Good Luck mcm ...Show All

  • Visual Studio Team System A couple of questions from a newbie to VS 2005

    Hi, Can anyone answer a few questions for me about the load testing tool that comes with VS 2005 1) Does it work with ASP   We are not a .NET house as yet. 2) Can the automated scripts be triggered to start by a client-side event Thanks, Greg 1) Yes, web tests work at the HTTP layer so they will work with any web server platform. 2) Test runs can be kicked off from mstest.exe on the command line.  I'm not sure exactly what you mean by a client-side event. Josh ...Show All

  • Visual Studio Team System Performance Tool - Is not working

    Development OS: Windows XP x64 Visual Studio 2005 RTM C# Windows Form application, the Solution consists of about 5 projects.. one exe, 4 dlls. All are strongly named. I'm trying to do instrumentation but am completely mystified by serveral problems and the documentation is rather poor.   I start the Wizard.. I select the assembly that's going to be the exe. I select the instrumentation option. I provide it its own path. I set this as the post-insturment event command: "C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe" -R "C:\Projects\WinIrc\WinIrcNet\bin\INSTRUMENTED\WinIrcNet.exe" "C:\Proj ...Show All

  • SQL Server Making "incremental" updates to a data warerhouse

    We have a legacy database whose data needs to be included in our yet-to-be-built sql 2005 data warehouse. Some of the tables don’t have any natural candidates for a primary key. (Of course, we also need to add other data to the mix.) Suppose we load the empty warehouse initially. In following loads we don’t want to include those records that haven’t changed from the first load (“duplicates”) but we also don’t want to delete the contents of the entire warehouse because of the load time. Any ideas/best practices how to handle “incremental updates” to a warehouse would be appreciated. TIA, Bill ...Show All

  • Visual Studio Solution Platforms Drop Down Dialog

    I have created a new project type based on the MPF and the IronPython integration sample. I have provided the names of our platforms in the GetPlatformsNames of the ConfigProvider class for my project. When a user creates one of my projects, the "Solution Platforms" dropdown box is populated with one, and only one, of my two platforms. When I enter the Configuration Manager (or the configuration dependent property pages), I can select either of my platforms on a per project basis, but when I select a platform different than the default active platform, it is not selected as the active platform. How do I get my seco ...Show All

  • Visual Studio Team System VALIDDATE constraint no longer valid in RC?

    When attempting to set VALIDDATE constraint on a DateTime field, I get an error message (using RC): The element 'FIELD' has invalid child element 'VALIDDATE'. List of possible elements expected: 'REQUIRED, READONLY, EMPTY, FROZEN, CANNOTLOSEVALUE, NOTSAMEAS, VALIDUSER, ALLOWEXISTINGVALUE, MATCH, ALLOWEDVALUES, SUGGESTEDVALUES, PROHIBITEDVALUES, DEFAULT, COPY, SERVERDEFAULT, WHEN, WHENNOT, WHENCHANGED, WHENNOTCHANGED'. Indeed, VALIDDATE is no longer listed as a valid child. Am I missing something in the documentation MSDN online library still lists it as a valid child of the FIELD element. Thanks, Andy ...Show All

  • Visual Studio Team System Problems when change the default port of "8080". how to config ?

    Hi. in my ex-post : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=254699&SiteID=1&mode=1 I learn how to config with TFSReg. but now, when I really need to open my TFS to internet. I have some new issues. I now need to open the TFS Server with a non standard port (non 8080). I would like it to be "9000" for example. so I go to the IIS and change the web to use 9000 port instand of 8080. later I use the Team Explorer to open the team server. the reporting and WSS functions going fine, but not the Work Item and Source control. in the TFSReg post and sample. I only find a way to confi ...Show All

  • .NET Development puting a comboBox in my datagrid

    I have two tables tbl1 and tbl2. Tbl1 is the datasource of mydataGrid. Tbl1 has 4 columns (all with mapping names from Tbl1). I want to add a combo box in the fifth column that has its values from Tbl2. I m coding windows form application and not a Web application. Is that possible and how pls. Thanks Hi, You can manually add a combobox column in your gridview. After adding the new combobox column, you can see that it has a DataSource and DisplayMember properties. Use that to display data from your tbl2. To add a combobox column to a datagridview, select the gridview (F4 for properties) click the columns property, there ...Show All

  • Windows Forms How to show an index search like display in listbox?

    Hello, I would like to link an user input textbox with a list display, while user input character will be compared with the listbox content and the closest one will be poped up to the top of the listbox. (The way a lot like Dynamic Help Index works). Could somebody please suggest a way to do this. Thank you very much. James Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged Dim foundindex As Integer = ListBox1.FindString(TextBox1.Text) ListBox1.SelectedIndex = foundindex End Sub You can also use FindStringExact. ...Show All

  • .NET Development Timeouts

    A Treeview is used to select the record to be displayed. On clicking a node a record is displayed. It is possible to click 9 nodes & get the record displayed but the 10th bombs out with a TimeOut message. "Error. System.Data Timeout expired....." On restarting VB (2003) clicking the record causing the bomb is displayed correctly so it is not an issue with that record. I have VERY carefully checked that every "cnn.open" is correctly matched with a "cnn.close" I have also stepped through the code line by line in the debugger and the "Close"s are executed correctly. A record consists of ...Show All

  • Visual C++ Unlinking the CRT...

    Here's a fun question: how do I get the CRT out of a project, utterly and completely The project in question is a mixed-mode C++ DLL. /NODEFAULTLIB leaves me with dozens of link errors to CRT functions that I'm not calling from my code so I'm assuming the compiler is sneaking stuff in on my behalf (how very kind of it). What functions do I need to implement on my own and how do I do that Some of the more obvious ones like atexit I've already tackled but the DllMain functions responsible for calling constructors and destructors (I'm guessing atexit came from destructors) on global variables are a mystery to me. I've gone hunting through ...Show All

  • Visual Studio WHAT'S THE STATUS OF THE BUG IN THE CLASS DESIGNER?

    The class details window is no longer accessible after you set it's autohide property.  The workaround you proposed, as far as I know, is: DO NOT SET THE AUTOHIDE PROPERTY. This was reported to you many months ago during the BETA cycle, and now the bug persists in the RTM. This is very annoying because I've become accustomed to the convenience of setting the autohide properties of most windows except the code and form designer.  But when I inadvertently do this to the class details window, the only way I figured out to get it back is to delete my VSsetting file.  This, unfortunately, removes my entire personal configurati ...Show All

  • Visual Studio Team System Connecting to TFS failes

    Hi, I have one server which exposes TFS to the Internet via HTTPS and it requires a certificate. I have two client-computers, one can access the TFS, the other can't. The one that failes shows the following output, when using the following commandline in a folder that has a workspace associated with this server: Commandline: tf get /recursive /noprompt > tf_get.log 2>tf_get_error.log Error: Team Foundation Server server.com does not exist or is not accessible at this time. Technical information (for administrator): Client found response content type of 'text/html', but expected 'text/xml'. The request failed with the ...Show All

  • Windows Forms Creating an Index feature just like VS Help

    Hi All, I've had to struggle quite a bit to create an index feature just like you get in VS Help (i.e. an alphabetical list of topics, and an edit field where you can type a few letters to find the topic you want). Anyway, I finally managed, so I thought I would give something back here by telling how. I implemented this feature with a TextBox and a ListBox (I also looked at ComboBox and ListView but couldn't overcome some issues). The ListBox was set to have sorted = true (naturally). The first thing was to select the first item in the list which matches the letters that have been typed into the TextBox. Note: The select also en ...Show All

©2008 Software Development Network