Vance's Q&A profile
.NET Development Save two or more datasets in one file
Is it possible to save two or more different datasets in one file (like xmlwriter for one file) and also read the data of this file back into my datasets Would best suit my purpose with XML-Shema! With the xmlwriter I just can save one dataset in one file, or ...Show All
Visual Studio Express Editions demo projects
Hi, I installed VC++ Express yesterday (including the platform SDK) and (I believe) succesully made all the changes to built native applications rather then .Net. I can't find any demo projects in the installed folders. Are there any If not, someone knows where I can download these Thanks! Look here for lots of C++ samples to play with. ...Show All
Visual C# Export to PDF
Hi, How can I export some data to PDF files Thank's Alexei Hi, I have checked iTextDotNet... It doesn't work clearly... It have some bugs and it works for some data slowly... So I have found another solution of Gios Pdf.NET... Thank's to Gios for this solution... It's C# library and also it open source... You can get it from www.paologios.com ... Thank's Alexei ...Show All
Visual Studio Tools for Office Add-in not load in Word when running with Office XP and .NET 2.0
Hi, We have developed a shared add-in to be used in Word and PowerPoint. It works well on the targeted Office versions (i.e. XP and 2003) when .NET 1.1 is installed. However, when trying to run on a system that has Office XP and only .NET 2.0, the add-in would only load in PowerPoint but not Word (but no error message). We have compared the macro security settings in both applications and they are the same. The add-in has not been disabled, ...Show All
SQL Server SSIS Package runs fine except as a scheduled job
I have an SSIS package created from a SQL 2000 DTS using the Migration Wizard. The package imports data from a MySQL database to a SQL 2005 64-bit database running on 64-bit windows server 2003. The package runs fine when executed from SQL Server Management Studio but when I schedule it as a job it fails with: Executed as user: [the domain admin account]. The package execution failed. The step failed. I've tried a lot of different ways to ...Show All
Windows Forms Visual studio designer error creating inherited form
I am trying to create an inherited form class using VS 2005 and .NET 2.0. Every time that I try to inherit from a form, I get the error message below in the new form's designer window. I've tried to simplify it as much as possible, creating a new form and leaving it empty and then trying to create a new form that inherits from that, but I keep getting this same message. I am beginning to think it is a bug in Visual Studio 2005. Thanks for th ...Show All
Visual Basic StructLayout Not Found error
I am trying to define a union-like structure in VB 2005 using the code below. <StructLayout(LayoutKind.Explicit, Size:=8, CharSet:=CharSet.Ansi)> _ Structure dbxRecIdType <FieldOffset(0)> Q as UInt64 <FieldOffset(0)> P as dbxRecordIDType End Structure When I build the application, I receive an error message stating the StructLayout is not defined. I have tried using this definition at the module level an ...Show All
Visual Studio Tools for Office Urgent Deployment problem
We are currently experiencing a problem with deploying a VSTO 2003 solution. The following will describe our problem… Deployment model: Excel workbook locally .NET assembly on a web server (with referenced assemblies and config file) The custom property (_AssemblyLocation0) of the workbook points to the URL where the .NET assembly is hosted. FullTrust has been granted (at the Machine level ...Show All
Visual Studio Crystal adds .00 to SQL Server integers
Hi all. I am new to CR and using CR for Visual Studio 2005. I have a report getting data from SQL Server. I am trying to concatinate 3 integer fields into a date using an unbound string field. Each date field has one part of the date, i.e. month, day and year(from an old Databus file). Crystal is adding .00 to the numbers when they print in the concatinated field so a month field containing 12 displays as 12.00. An entire date would look lik ...Show All
Visual Studio Express Editions assign an interrupt to parallel port
How can I assign an interrupt to the pin voltage change of the parallel port,then how can handle this,any ideas ,suggestion ,... thnx The best place for such questions are the win32 newsgroups at http://msdn.microsoft.com/newsgroups . OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms Format phone number
Hello, I have a text field where the user types in a telephone number. When the user is done typing the number and the text field loses its focus I need to take whatever the user typed and format it to a standard format. i.e. ###-###-#### If a user types 1234567890 I need it to change to 123-456-7890. Any ideas on how to do this or examples Thanks! The user will enter in different formats of a phone number. Two ways to ...Show All
.NET Development Is there a way not to terminate the application when unhandled exception is thrown on background thread?
An unhandled exception thrown on background thread causes the application to terminate in CLR v2.0. It is possible to do anything so that it does not terminate but rather ignores the exception Thanks, Michael If you catch the Exception in Main, your app will terminate because you have exited out of your call to Application.Run(). If you only catch using techniques #2 and #3, you application won't exit automatic ...Show All
.NET Development Code when called from procedures but not when called from button events!
I have what I consider a weird problem. I have two procedures, <scrsave> and <scrcopy>. They run perfectly when I call then from button events as I did during debugging. Now when I try the same procedures by calling them from code rather than button events they seem to not work. The first saves a screen shot to a picture box while the second copies a portion of the screen shot to another picture box. &nbs ...Show All
Windows Forms main form losing responsiveness
Howdy all. I'm building an app and this is essentially how it works. I've got a winform. On the left is a tree control. On the right I've got a panel, which I call ControlHoster. What I do is change the content of the panel's control& ...Show All
Architecture Message vs Service.
EmailValidation message vs EmailValidation Service. SOA is mostly about services and messages. Rather than create a number of services with different names would it be recomended if we create 1 generic service and have it request/reply messages. For ex: EmailValidation service. Instead of creating a service for email validation, create a validationService and have it process all the validation messages for the application. Just wondering how ...Show All
