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

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

SteveMargolis

Member List

Wommat
DarthMacgyver
Matteo VS
shirine
froggy77
Sherley Lee
jeremymarx
JP Tocker
John Fran
hdb
RonSchlegel
vegabros
Carles Garcia
Paul732887
Jenska
Nishad.A.R
Big1
Regula
Bunk
Mystikef
Only Title

SteveMargolis's Q&A profile

  • Visual Studio Addins/VSIP?

    Hi,   Here is what I have to achieve. I want my custom menu item in Visual Studio to show up when a particular project type is opened. e.g. The menu item should show up only when I am working with a C# project. It should hide when I am working with a ASP.net project for example. I ran the addin wizard to create the menu item, but how do I handle the project creation events to display/hide the menu item dynamically. Thanks, -K Thanks for the reply Aaron. I tried the DTS project guid as well however, my menu item still shows up. Basically, I just pasted the DTS project GUID inside the contextGUI ...Show All

  • SQL Server Is it possible to modify column data type of view

    The SQL Server Management Studio shows the data type of each column of views. I am wondering how SQL server determines the types since my SQL code of views does not specifiy data types for any columns. I am much more interested in knowing whether the data types can be modified. Could anyone offer some hint Thanks, hz SQL Server uses the underlying schema information to do so unless you don’t specify a different data type than the source data type (liek within CONVERT). You can change the resulting data type in the view e.g. via CONNVERT(VARCHAR(10),GETDATE(),112), which was a datetime before and a varchar afterwards. HTH, Jens ...Show All

  • .NET Development Cannot find member name System.Data.SqlClient.SqlError

    [reposted from newsgroups] Hello, We've got a WinForm application that uses remoting to connect to our servers. Fairly recently, we've started seeing the above error instead of the SqlException we should be getting. I've found one thread through google that seems to be about this problem, but the post that supposedly solves it is no longer available and the KB article for hotfix 887549 doesn't mention this particular error. The problem appears to be that Windows Server 2003 SP1 installs a newer version of System.data.dll than XP has. XP: 7/15/2004 - 1.1.4322.2032 Server: 3/24/2005 - 1.1.4322.2300 Any suggestions ...Show All

  • SQL Server console apps only work if user is SA

    Hi When I try to use a user other then SA my console apps don't work. I can run the Stored Procedures used in console application from Query analyser when logged in with the username/password that I'm attempting to use for the console applications. Under Users in Enterprise Manager Database access is 'permit' for my user. By the way my web application which uses the same user name and password as in console applications is working . I also have dts packages running using dtsexec accessing the database with the same user name and password and they work fine. MDAC 2.8 SP2 on windows server 2003 spi C:\Program Files\Microsoft SQL Serve ...Show All

  • Visual Studio Workarounds

    I use a WindowsForm Reportviewer. C# 2.0 I generate the report and all is OK but when the user try to print (print button in toolbar), the application open the printdialog, I select the printer and press Ok. But the application doesn't generate a document. When I try again, all work fine. If I close the application and restart, occurs the same (first doesn't works, second works, all time works). somebody have any idea Thanks form Spain.               Are you using the RTM version of the controls and of the 2.0 framework   We saw iss ...Show All

  • Visual Studio Tools for Office ServerDocument.AddCustomization() starts new Word Instance

    Hi, I use VSTO ServerDocument.AddCustomization() method to dynamically customize Word .doc file. However, if I try to customize a fresh (new) Word .DOT file, a new instance of Word is started even if one already exists. This is causing so much pain. Also, this behavior is NOT repeated if the .dot file is already customized and I re-add the customization after removing it first. Here is the code: private void button1_Click(object sender, EventArgs e) { string fileName = @"C:\Documents and Settings\My Documents\Template1.dot"; this.StartWordApp(); this.DoThis(); MessageBox.Show("Annonymous Template Created and cl ...Show All

  • Visual C++ Cpp AddIns 4 MS-Word

    Hi all, I programed an addin (with C++ .NET) which works with ms-word. I wish to parse the text of an active ms-word document and to replase some of its words and chars. The questions are: How can I retrieve the documents text How can I write text into the document AND how can I replace text in the document. Moreover, can I get a text with specific format ; as example, all the text in the document which is in Bold or Italic format or alternatively all the text which is font "Courier New" I have searced for help all over the internet with no success. Pleas help me with that, Im having a hell of a tim with it. ...Show All

  • .NET Development Errors related to edkutils.lib

    Hi,    I am facing follwoing errors while porting from 32 to 64 bit. fatal error LNK1104: cannot open file 'edkutils.lib' Actually I am using "HrIdentifyRegistryRootKey" method from edkutils. We can resolve it in two way, either provide the library for 64 or rewrite the function, which can replace the functionality of " HrIdentifyRegistryRootKey ". Please suggest best possible solution. Thanks, Kishore wani Sorry that it took a while -- had to track down the right people here.  This is what I got from the EDK team (it appears you could probably implement this yourself w/o much problem): There is no 64-bit ...Show All

  • Smart Device Development SP1 Feature :Allow DataGrid cell drawing to be overridden Do’nt work properly with sqlceResultSet as DataSource

    As I can’t test in this this new feature don’t work properly with sqlceResultSet as datasource of Datagrid and datagridcustomcolumnstyles example provided by Microsoft .net Cf team. Must I change the datagridcustomcolumns project to improve the funcionality of sqlceresultset In the example I worte The datagrid only display the even registers of my table the odd register are display empty. That’s my example: Imports DataGridCustomColumns Public Class Form1 Public conexion As Data.SqlServerCe.SqlCeConnection = New Data.SqlServerCe.SqlCeConnection( "Data Source=iPAQ File Store\GestionAlmacenN.sdf" ...Show All

  • Visual Studio Express Editions unable to run setup/install

    i have a problem.just completed downloading the vb2005 express edition (vb.img around 486 mb). it took almost 20 days to downlod.now the frustrating part. I cant install it(cant run the setup.exe file).whenever i try to run it a dos prompt window opens and closes and then nothing. what should i do i dont want to download this huge file again. I believe that there is a link up on the MSDN Subscriber Website that takes you to the ISOBuster site to be able to download it. This is not a Microsoft tool. If we do anything, we will only reference the tool of several others that can do the same. As an example, I bel ...Show All

  • Visual C# What the design pattern name for this ?

    I had only understand one design pattern, singleton. :( I had read a couple of other design pattern but i didn't found the one suitable regarding my question. (simple to say, i didn't understand) :( Maybe you can help me out : I had a main form (MDI parent) called FrmMain and it has a menu to call other forms. There will be only one instance of an MDI child (i use singleton for this). So, suppose i have a MDI child called FrmLogin, there will be only one instance of it. Then, i need this instance to access the methods in FrmMain. Do you know what is the name of this pattern This is what i do now : i send a FrmMain reference to ...Show All

  • Windows Forms Designer support for embedded components

    Hello, I have written a control. This control has an embedded component property. Example: public MyComponent:Component {   .. // some properties here } public class MyControl:Control {   public MyComponent embedded   {     get{...}     set{...}   } } The problem is now, that the changes to the embedded control property are not automatically serialized by the designer. W ...Show All

  • Visual C# opening a new browser window

    OS: Windows XP Pro Languages: C#, SQL Server, ASP.NET Program: Visual Studio .NET 2003 Hi, thanks for reviewing this post. I'm trying to create a link inside a datagrid where when clicked, it will open a new browser window with the url I want. The pages on Google are either not clear or not very helpful. Can someone please give me a pointer or two on how to use C# to open up a new broswer window with my preferred URL Thanks yeah, the url should just be using javascript Window.Open(URL) http://msdn.microsoft.com/library/default.asp url=/workshop/author/dhtml/reference/methods/open_0.asp ht ...Show All

  • SQL Server Part of SP not executing... Maybe BUG!?

    Hello! I have a strange problem in one SP. One small part of it wan't execute. I have pasted whole procedure here and a solution to problem. So, black on red part of code will not execute if black on blue code is in place. But, if I supstitute black on blue with black on green , black on red part will execute! Only thing I want to know is why is that hapening... Regards --SNIP-- SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_FINKO_Knjizenje_Robnih]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[sp_ ...Show All

  • Windows Live Developer Forums Control IM without Activity Center

    Hi everyone, I got the following scenario at my company, we have several costumers that make orders online and we'd like to inform them via IM when their package is avaliable. I've read the post about the bot licensing, my question is, how can I interact with msn from our current application (developed in-house) Let's say that when a package arrives it is added in the application and it can generate a message to the client, now we're just doing it in mail, but is that possible to do for Messenger The problem here is that with the activity center I need to start that activity on every costumer (lets face reality, we don't have anyone there al ...Show All

©2008 Software Development Network