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

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

Dnieto23

Member List

sachin kumar rana
PMSAR
kawano1h
Celldss
dellthinker
Zero_
arashikage
NET PR
Somsong
hrubesh
Flemming BT
Amol Pophale
arsonist
Andrew Moiseev
jzfredricks
Mr.Bean
niallhannon
Nick Hertl
Vijay_kar
mobigital
Only Title

Dnieto23's Q&A profile

  • Visual Studio Tools for Office Install VSTO Runtime without vstor.exe

    Is it possible/legal to install the VSTO Runtime without using vstor.exe Ideally I would like to include the necessary dll's in my installshield setup. I read the deployment walkthroughs which are great if you're not using installshield. VSTOStorageWrapper.Interop is the first file missing if I have a user uninstall the runtime, then start adding the dll's it asks for from \Program Files\Common Files\Microsoft Shared\VSTO\8.0. Any help is appreciated. Thanks, Dave Hi Misha I know this is an old thread but here goes. If it's discouraged to "encapsulate" the VSTOR component files into my own install, would you know of any way to incorporate it into an installation. For instance if it's ...Show All

  • Windows Forms Cannot get custom action to build in my setup project

    Uggh, This seems like it should be so simple. I've created a Win32 dll, with an exported function as follows: UINT __stdcall Uninstall ( MSIHANDLE hModule ) { /* display's a msg box 4 now */ } Then I created a .def file for the project that defines the export as follows: LIBRARY "UninstallCustomActions.dll" EXPORTS Uninstall This builds fine, and I can use dll explorer tools to examine the exported functions, and mine is there and looking good. However, now I add this project output (I tried adding the dll directly as well) to the installation project, create a custom action for uninstall and select this dll. I set the EntryPoint property to Uninstall, and make sure the InstallerClass property ...Show All

  • Visual C++ cin.rdbuf()->in_avail() always returning zero?

    Greetings, I am trying to determine if there is input on the console without blocking. I have built a simple console app in VC++ .NET1.1/MSDE 2003. I would think that after typing in some characters and a carriage return, it would return those characters one at a time. Instead, it doesn't appear that the in_avail() call ever returns anything but 0. Here is the code: #include "stdafx.h" #include <iostream> // just trying to have a nonblocking way to see if there is any input on the console // hmmm. how come this don't work int _tmain( int argc, _TCHAR* argv[]) { using namespace std; while ( true ) { if ( (cin.rdbuf( )->in_avail( )) > 0) { char c ...Show All

  • SQL Server Failed to connect to sql server problem - a strange one!

    Full Error message is: Failed to connect to server DDI-DP9IM5A5F5W. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476 When I consult the error log I see: Could not connect because the maximum number of '4' user connections has already been reached. The system administrator can use sp_configure to increase the maximum ...Show All

  • SQL Server install sql server 2005 express on 64 bit windows

    I am trying to install sql server 2005 express on 64 bit windows but i get a error message saying SQLncli_x64.msi file is missing and asks me to download it. How can i fix this problem to install the SQL server on my Windows XP x64 Edition Make sure you are installing either SQLEXPR.EXE or SQLEXPR_ADV.EXE, which are the full installers that support x64 systems. To be clear, we only support installing in WoW mode and we only support x64. You will not be able to install on I64 computers. Regards, Mike Wachal SQL Express team ...Show All

  • .NET Development Returning DataReaders

    What is the best practise for the following: I have a client that uses a data access layer to get back a DataReader for binding. The method sig for this routine is public static OracleDataReader GetReader(). But, I want to embed opening the connection within a try...catch...finally block. So the method looks like this (pseudo-code-wise): private OracleDataReader; try {open conn, populate reader via command object} catch {catch any errors} Then return the reader. The problem is, I have to declare the Reader outside the try...catch block but this means I'm trying to return an unassigned variable. Any thoughts on this Yeah thats it......anything other than DataReader! Personally, I like the business obj ...Show All

  • Software Development for Windows Vista Bug in SqlTrackingService

    Is there anyone who uses the tracking service to track dynamicaly inserted activities Because of the column limit of 2000 in the AddedActivity Table, an Deserialization Exception occurs when getting the WorkflowDefinition from the SqlTrackingWorkflowInstance if the serialized Activitiy has more then 2000 Characters. I have tried to extend the column to nvarchar(max) but this doesn't help. Can anybody help me (netfx RC1) Thomas Joel, The length is not deterministic because of dynamic information in the activity. I have adapted every occurance of nvarchar(2000) and changed it to nvarchar(max) in the Tables of the SqlTrackingStore Database and also the parameters in the stored procedures (inclu ...Show All

  • Visual C++ Please help with EnumWindow function

    code: #pragma once #include <TCHAR.H > #include <windows.h> #include <vector> // Type declarations struct TWindowItem { HWND Descriptor; char Caption; char ClassName; }; //Function declaretions BOOL EnumWindowsProc(HWND WHandle, long lParam); ....... namespace OoMetaPanel2 { vector<TWindowItem> WindowList (0); ................................... } ......................... private : System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { WindowList.clear(); EnumWindows( (WNDENUMPROC)EnumWindowsProc, 0 ); for each (TWindowItem item in WindowList) { listBox1->Items->Add(i ...Show All

  • Visual Studio Tools for Office Batch executing VSTO smarttags action

    Hi, I've tried everything I know but keep coming up empty, so if someone can point me in the right direction, that would be great. I have a collection of x-number of VSTO smarttags in a Word document. Each smarttag is the same and has one associated action (which works fine when individually clicked) but the user will have the choice of executing the action individually or in a batch. The action does some Word formatting. The C# code I'd like to use would be something like this: for (int x = 0; x<Globals.ThisDocument.SmartTags.Count; x++) smarttag.get_index(x).SmartTagActions("ActionName").Execute(); So basically, what I'd like is to iterate through the collection of Smarttags contained in the Word do ...Show All

  • Visual FoxPro Sequential Transaction Number

    I'm working on a form that needs to have a sequential transaction number. I have a Database/Table (named Trans) in place that has a single record that holds the next transaction number. I'm not sure what the best way is to have the next transaction number appear in a field on my form. Right now I have a field named T_TRANSNUM that has it's data property set to w_trans.t_transnum. t_transnum is the name of the database field where I want the transaction number stored when the form is saved. In the INIT method of T_TRANSNUM I have the following: STORE 0 TO T_VALUE SELECT TRANS GOTO 1 STORE trans.trans_num to T_VALUE REPLACE trans.trans_num with T_VALUE + 1 this.value = T_value What is happening is that the value is displayed in the form, but ...Show All

  • Visual Studio Express Editions DataGridView Modifications

    I want to be able to input a numeric value into the .Text = "Value" field. On the Datagridview table. I need to be able to input a value in each field individually Here is my current code: ------------------------------------------------------- Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Initialize the button column. Dim buttonColumn As New DataGridViewButtonColumn With buttonColumn .HeaderText = AssignmentNameTextBox.Text .Name = "Assignment" .Text = "Value" ' Use the Text property for the button text for all cells rather ' than using each cell's value as the text for its own but ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Object cache vs. GameComponentCollection

    Can anyone tell if the GameComponentCollection is designed to simplify game object cache requirements I noticed that the space wars example seems to override this with screen.Render(). If it is supposed to, are there any forseeable performance impications I don't believe so. GameComponentCollection is just a collection of GameComponent classes - it has no special functionality of game object or resource caching. The reason you saw the screen.Render() override is because space wars uses a component to swap in different game "screens" - the main menu, the play space, etc. It doesn't really do any caching in itself - the screen component seems to act as a container for the rendering code, making it easier to swap in and ou ...Show All

  • Visual Studio How to set the language filter in Microsoft Document Explorer?

    I cannot make the language filter in VS 2005 Document Explorer persist. I see other threads complaining about this same problem but no solution. Is this now an acknowledged bug or limitation If so will it be fixed in this release or do we have to wait for .Net 3.0 Yes - the MSDN Online site is managed separately from the VS releases. I believe they are currently working on fixing this, though I am unsure as to when it will get posted to the live site. It will certainly be before the next version of Visual Studio is released, however. Thanks! ...Show All

  • Visual Studio Team System Web tests for SharePoint/CMS site

    We’re using SharePoint and CMS to create and maintain four major web sites. In creating new pages, we open a new window, populate the template with text and images (images are selected from a gallery), and upon saving the new page, we intentionally refresh the new page. I’ve tried to create a web test to create (and delete) the new pages. When recording the test, everything works fine. However, on playback, the test fails on the refresh. It’s an automatic refresh, so there is no button to click. We’ve coded it in C#, but C# cannot do a postback without a button. We’ve also tried using Fiddler to capture the missing steps, to no avail. A support call to MS was not fruitful despite the excellent efforts from the tech. Has anyone use ...Show All

  • .NET Development Using classic ADO parameter objects from VC#2005

    Hi everyone Apologies if this is the incorrect forum for this posting, please let me know if I should repost elsewhere in a more appropriate location. I'm trying to use parameterized queries with classic ADO. I've done this successfully with ADO .NET 2.0, but because of the legacy ODBC drivers that we are needing to support which cause a crash when using ADO .NET I am having to use classic ADO. I'm using the following code to create the parameter and assign to the command object: private object m = System. Type .Missing; adorecordset = new ADODB. Recordset (); ADODB. Command adocommand = new Command (); adocommand.ActiveConnection = adoconnection; adocommand.CommandText = strSQL.ToString(); Parame ...Show All

©2008 Software Development Network