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

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

bruno

Member List

hadipardis
miker3x
Eusebiu
Jerry Xin
Jörg Schwalenberg
Captain Crabs
BigT4446
Muralee
Eli Gazit
David789
Alex.P.
Blisardo
givemejava
Roland Nitsch
Tuyen Tran
gift
tjk_2
Madhavi25577
vbvj
GaltSalt
Only Title

bruno's Q&A profile

  • Visual Studio Tools for Office Button is not getting removed after uninstalling the Word add-in

    Hi All, I'm creating and installing a Word Add-in. The add-in creates a button on standard toolbar. When I uninstall the add-in the button is not getting removed. The add-in is the basic add-in from the link http://support.microsoft.com/default.aspx scid=kb;en-us;Q302901 as it is. The code in OnBeginShutdown is as follows: public void OnBeginShutdown(ref System.Array custom) { object omissing = System.Reflection.Missing.Value ; System.Windows.Forms.MessageBox.Show("MyCOMAddin Add-in is unloading."); MyButton.Delete(omissing); MyButton = null; } Can anyone let me know what am I missing I've even tried using oCommand ...Show All

  • SQL Server Concatenating Numeric Fields

    Friends, I am attempting to concatenate two numeric type fields together with character data and the query is adding them together. I am assuming I need to convert the ints to a string type but would appreciate some info on the best way to do this...I am sure it's something simple but am not finding much on the web about it. SELECT vehFacID + '-' + vehID AS vehNew FROM Vehicles Returns the sum of vehFacID & vehID. Doh! J.H. I think I found it...Something like this works.. SELECT *, CAST ( vehFacID AS VARCHAR ( 4 )) + '-' + CAST ( vehID AS VARCHAR ( 10 )) ...Show All

  • Visual C# Is C# the best language to learn/know?

    Hello, I am currently studying C#.  I presumed that C# is much better than VB.NET and so started studying it.  But it seems to me that most everyone related to microsoft is always pushing for VB.NET and not having much to say about C#, so what is going on   Id Est; - I now regularly catch the Dot NET Rocks radio show, which seems to be based, or at least biased toward VB.NET.  - I stumbled upon the VB.NET PDC05 disk online at http://msdn.microsoft.com/vbasic/pdc05/default.aspx which I was quite impressed with, so I thought I'd find the C# equivalent, to no avail.  Please let me know if there is one availa ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is this a job for Direct X or GDI?

    Hello. Maybe someone can answer this for me. I have to develop a piece of software that does some very simple animations upon request. (Make a circle go from one color to another, and have a gauge like control). All 2d animations nothing 3d at all. The program has to be able to go full screen. Should this be done in direct x or is gdi a better option Thanks ...Show All

  • Windows Forms datagrid right align cell data

    Does anyone know how I can right align text in some of the columns in a datagrid using vb.net Iam facing problem with this method. I need the Column Header tobe center align and cell data to be right align. How can i do this. ...Show All

  • Visual Studio Team System VCBuild and Deploy(setup) projects

    I am having difficulty using VCBuild to build any VC solution that contains a deploy (setup) project. I think the problem is that deploy project's .vdproj file is not XML, so VCBuild doesn't understand it. When I try to build using VCBuild I get the following error when I get to the deploy project in the solution: Microsoft (R) Build Engine Version 2.0.50727.42 [Microsoft .NET Framework, Version 2.0.50727.42] Copyright (C) Microsoft Corporation 2005. All rights reserved. d:\Users\jackp\projects\xxx\xxxTestSetup\xxxTestSetup.vdproj(1,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, posi ...Show All

  • .NET Development XML and Datasets

    Yep, me again with yet another stupid XML question. I have a chunk of xml data: <root rname="Directory"> <company name="XYZ Inc.">  <addressLines addressdata="One Abc Way">   <address2 val="his avenue"></address2>   <city cname="Tech city"></city>   <country cname="Neverland"></country>  </addressLines> </company> <company name="ABC Inc.">  <addressLines addressdata="One Abc Way">   <address2 val="his avenue">Address Line2</address2>   <city cname="Tech city">Derbyshire</city ...Show All

  • SQL Server USE [DBName] fails if DB created just before calling it

    (SQL 2005) I'm obviously missing something simple: why doesn't this work USE MASTER ; if exists( select name from sys.databases where name = 'MLMS' ) DROP DATABASE [MLMS] ; CREATE DATABASE [MLMS] ; USE MASTER ; -- misc cmds USE [MLMS] ; This works if MLMS exists, but fails if it doesn't.  In that case, syntax checking returns an error indicating MLMS doesn't exist: Msg 911, Level 16, State 1, Line 7 Could not locate entry in sysdatabases for database 'MLMS'. No entry found with that name. Make sure that the name is entered correctly. Thanks in advance. ...Show All

  • Visual C# C# Syntax

    Hi, Does anyone know of the C# alternative to VB.NET 'with' syntax ie VB.NET... with obj_Widget    .name = "widget1"    .height = 10    .width = 20 end with instead of C#... obj_Widget.name = "widget1"; obj_Widget.height = 10; obj_Widget.width = 20; 'With' appears more compact and concise considering long object names (with full namespace declaration). Thanks Richard White Forgot to mention, but be aware that this simulation of the VB "With" will only work for reference types.  (With value types, it will compile, but you will not be accessing the original obje ...Show All

  • .NET Development Simple remoting program throws system.security.securityexception

    I am fairly new to .NET and am having trouble getting my head round all the security aspects. I have written a very simple remoting application in C#. The server exposes a method which returns a string. The client calls the method and displays the string. I have a two PCs on my LAN: my main desktop running XP SP2 and a laptop running W98 with .NET1.1 added. I can run my app on these two PCs either way round and it works fine. The server consists of a host .EXE and a server.DLL. The client is a standard windows .EXE form app - all standard stuff (the remoting is configured programatically not using XML so there is no config fil ...Show All

  • Visual C# Async Call Backs

    I've been working a lot around VB.NET/C# and the .NET Framework lately.  I've lately come accross actions that require a noticable amount of time to execute thus locking up the main UI Thread.  So I looked into threading... threading was just messy and too much for what I needed to do so I looked into BackgroundWorkers... just not enough there. So finally someone suggested AsyncCallBacks.  So I thought I'd do a little research and didn't really find a good point to start off with.  Right now I'm developing my own socket/mail classses/wrappers and I need to try to comprehend AsyncCallBacks.  If anyone knows a good ...Show All

  • Visual Studio complib.hlp

    Hello, I started on a project in my home desktop. I copied the project's folder to another computer. Now when I try to build the project on this computer I get the following error: Compiling... SqlManager.cpp .\SqlManager.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the path specified. HelpFile: complib.hlp SqlUser.cpp .\SqlUser.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the pa ...Show All

  • Visual Studio Team System ITeamFoundationHost/TeamFoundationHost Visibility

    These types are both declared as internal in the Microsoft.VisualStudio.TeamFoundation assembly. Currently, I have to duplicate a ton of the code/logic in these guys to get at things like the active project (or ProjectContext). I would like to be able, somewhere, to call something that gives me back the active ProjectContext (or null if there is not one) without having to be integrated into Team Explorer directly or without having to prompt the user with a dialog to choose a project (when integrated in the IDE) when one is selected in Team Explorer. I am using Beta 3 Refresh. Hello Cappy, We discusse ...Show All

  • Visual Studio Team System Unit testing, Schunit Schesting

    Okay.  Let me get this straight.  In order to get integrated unit testing I have to go to a Team version of Visual Studio   Unit testing, code profiling, and managed code analysis is something that only large scale Enterprise teams do Wow. Okay.  That's a relief!  I have a Universal MSDN Subscription so I will have integrated unit testing, etc.  It's just unfortunate that something like unit testing wasn't put into an IDE that is considered to be Professional.  People from Microsoft have been saying that only a few developers that are a part of a large scale team ...Show All

  • Visual Basic Error Type 'MarshalAs' is not defined

    I recently converted a project from VB2003 to VB2005.  I am getting this error and I can't figure out why... Type 'MarshalAs' is not defined Here is an example of the code that is causing the error: <StructLayout(LayoutKind.Sequential)> Friend Structure VersionInfoDef    Dim SizeofVersionInfo As Byte    Dim BootVersion As VersionDef    Dim OSVersion As VersionDef    Dim NumOSExtensions As Byte    <MarshalAs(UnmanagedType.ByValArray, SizeConst:=40)> Dim OSExt() As Byte        Public Sub I ...Show All

©2008 Software Development Network