Bart1's Q&A profile
Visual Studio Tools for Office How can I insert and work with images?
I have a program running on a linux server that serves out barcodes for reports. I created a web service in c# that grabs the barcode graphic from the server and returns a base64-encoded string of the barcode image the server creates. I want to insert this graphic in the upper-right hand corner of the word document and I'm thinking the header is a good place for it, but I'd also like to consider positioning a floating image as well. I've bee ...Show All
Visual C++ Project creation failed w/ .net projects (C++, C#) VS2005
I just installed Visual Studio 2005. All non-.net projects create and work fine. However, when I try to create a CLR Windows Forms Application in C++, it says at the bottom "Creating project 'myProject' ... project creation failed." When I try to create a Windows application in C#, it will create with no problems, and I can execute the default code with no problems, but when I try to open the source file in the forms designer, vi ...Show All
Visual Studio Express Editions Retrieve data from Excel and store it in Access through VB
Hi, I am using VB express 2005 to create an interface to retrieve data from Excel spreadsheet then store it into my Access database. I am able to retrieve data and store it in a dataset then display it in a dataGridView. But I am not sure how can i store the data into an Access database. I tried to connect VB to Access by opening a connection and then create a table in Access. I created a DataGridView and bind it to this tab ...Show All
.NET Development unwanted ! character appearing in email content/message
Hi I am using SMTP server to send email in a .net console application. Upon receiving the email , i see a "!" character appearing in the email body. The email content/message size is around 500 characters. please help. thanks netjay Imports System.Web.Mail ------------------------ Dim objmsg As New MailMessage objmsg.BodyFormat = MailFormat.Html objmsg.From = FrmEmail objmsg.To = toEmail objmsg.Subject = ESu ...Show All
Visual C++ Using a dropdown combo list to determine what GDI+ draws
Hi, I am looking for help with some code in vc++ to clear the screen and re-draw onto the MFC application depending on what has been selected from a dropdown list. Can someone help with this Thanks in advance, Steve. Hi Jim, i guess you need something like this: //depending on combobox selection invalidate window if (combobox.selectedItem == item#){ invalidate(); //add GDI drawing functi ...Show All
Smart Device Development Removing Predictive Text on a Device
Hi all, I have written a Windows application for the QTEK device (CF1.0) and on the TextBoxes in my application my users are getting predictive text. Is there anyway I can stop the device from doing this Thanks Tryst Hi Aarthi, so is this snippit enough to satisfy my needs, or do I need to make use of all the code in the Solution Tryst ...Show All
Smart Device Development Folder withsame name created under program files for pocetpc2003
The one folder is soemthing like 'ECM2.0' and another is something like 'ECM2.0 ' but while creating folder with same name the os should check for the empty space u added after the name same like windows platform. Hi Shekhar, Thank you for the heads up on this issue. I have logged a bug in our database to track this. Thanks, Keith Tester - VS for Devices ...Show All
Visual Studio Team System requirements management
hi, I'm trying to determine how VS 2005 handles Requirements Management. I've read that VS provides a means for managing requirement traceability, and will produce a REquirements Traceability matrix. Has anyone used this functionality in VS 2005 I've used Requisite Pro in the past and have been very happy with it, if anyone can compare VS 2005 to Req Pro in terms of Requirements Management, that would be great! thanks, Ryan ...Show All
SQL Server how to append windows login name to table name
hi, I want to append the windows login name to the table that i created in the stored procedure, Is there any command , can any one help. Advance thanks If I understand it correctly, you want to create a table using a stored procedure and the name of the table will contain the Windows login name of the use. Is this correct Are you calling the stored procedure from TSQL or through a .NET application Can you pro ...Show All
Visual Studio 2008 (Pre-release) TreeViewItem with VisualBrush
Hello! Is it possible to use a VisualBrush for the definition of the contents of a TreeViewItem If yes, do you have a hint on how to achieve it, please Best regards, Henrik Dahl er, what are you trying to do Why not put your visuals directly into a canvas that you present as the TreeViewItem <Grid xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " Margin="20&q ...Show All
Visual C# How to listen for a double click event in a cell of a datagrid?
Hello, I'm using VS 2003. I have a datagrid that currently when the users double click on it, it only fires the double click event if the user clicks the far left column of the datagrid or the top row going across. If they double click just a cell in a particular row, it does nothing. How can I set a double click event to fire when a user clicks in just a cell of a given row Thanks, ~zero well in 2.0 http://msdn2.microsoft.com/en-us/ ...Show All
Visual C# Retrieve logged on user info
Hi, I was just hoping someone can help me. How can I retrieve the username of the current logged on user I just need the username for a windows application. Regards i use this one... System.Security.Principal.WindowsIdentity.GetCurrent().Name ...Show All
SQL Server SQL 2005 - SAP
Hi I understand that SQL 2005 and SAP are compatible....although SAP have not fully certified the solution.. Does anyone have any further installation guides etc for performing this as we have come across some issues already Jai I am not an expert on SAP performance but on the MS web Site you can find the latest benchmark results. http://www.microsoft.com/sql/prodinfo/compare/benchmarks.mspx Thanks ...Show All
Visual C# How to check enum?
I have an enum public enum ReadMode { All, FromEnd, FromStart } In my code there is possible to call Read(..., ReadMode.FromEnd | ReadMode.FromStart) but inside the method, how can I check what read mode is really specified (multiple modes are accepted) now I use if ((mode & ReadMode.FromEnd) == ReadMode.FromEnd) { } if ((mode & ReadMode.FromStart) == ReadMode.FromStart) { } but result is not as expected. It just wor ...Show All
Visual J# Problems with 'Alter Login'
I have a Win32 program to restore a SQL Server backup, and properly map the SQL Server login IDs in the restored database, with the Logins on the Server. I even create the Logins on the server if they don't exist. All this worked great on 7.0 and 2000. In 2005 I'm using the 'Alter Login' command, as I need to specify 'CHECK_POLICY = OFF'. If I restore a backup from my Win32 program, the restore works. The I execute the following command to se ...Show All
