Mark Bosley's Q&A profile
Visual C++ Lib Size difference
Hi, I have created a "Static Lib" using Visual Studio .NET 2003, as "Use of in a shared DLL" . Each and every time when i try to build this lib. i got different sizes. Plz find the following configuration settings that i have used during Lib creation: Configuration : DEBUG Runtime Library : Multi Threaded Debug DLL Precompiled Header: Use Precompiled Header Building the Lib in Machine A: 4,986,628 bytes Building the Lib in Machine B: 4,986,733 bytes Building the Lib in Machine C: 4,986,973 bytes Operating system : XP Pro Could you please tell me why i am getting this size differences If you have any articles/links ...Show All
SQL Server Data integration challenge. Will SSIS help?
Hi, We have a requirement to do ETL on large EDI batch files into SQL Server. For this we have to map several X12 schemas - which are fairly complex - into relational schema. Right now they use Biztalk but that is not a good option for batch processing of large EDI files. Performance is really bad. Is this possible using SSIS Are there any 3rd party tools which might integrate with SSIS to make this easier or can do this as a stand-alone I know Mapforce 2005 from Altova supports X12 mapping and even generates C# code for the mapping. Anyone has experience in using Mapforce generated C# code in SSIS Looking forward to any insigh ...Show All
Windows Forms lockbits
There are two ways to process an image right 1. Bitmap.SetPixel, Bitmap.GetPixel 2. Bitmap.Lockbits Which one is faster To tell you the truth, I don't know how to benchmark. How do you record the CPU time, considering multi-tasking Are there any other considerations ...Show All
Smart Device Development storing image in sql mobile 2005 using c#
I am developing a application in c# compact framework, where i would like to store image into the sql mobile database using the Image datatype. Can anybody help me how can i store this image into the database and as well as retrieve and display on the picture box. Thank you This should help: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/search group=microsoft.public.dotnet.framework.compactframework&q=SQL+CE+image+picture&qt_g=1&searchnow=Search+this+group ...Show All
Visual C++ Option to supress warnings in standard headers?
If I'm compiling a program that uses some standard C++ headers, I get all sorts of horrible warnings. For example, compiling the following program with cl.exe: #include <iostream> #include <list> #include <string> int main() { return 0; } Generates the following output: cl test.cpp test.cpp C:\VC++2003\include\ostream(574) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\VC++2003\include\istream(828) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\VC++2003\include\istream(1064) : warning C4530: C++ excepti ...Show All
Visual Studio Team System Problem while creating a New team Project
Hi all , My siteurl is http:\\tfs-app.default.aspx. Inside this site I created a subsite called TestDemo. I have created New Team Project Named TestDemo. When I Right click the Project and show project site. Its shows my sharepointsite(i.e http:\\tfs-app\sites\TestDemo) Problem 1: I have created another Team Project Named TestDemo1 as specified in above step. When I right click project and show project site. It's giving the following error. Er ...Show All
Windows Forms No Touch Deployment for files other than assemblies?
Hi, I've got a simple vb.net windows form app. that consists of two forms and a chm help file. I want to deploy it over the web. My first form is my exe that gets my app. running. The second form is a dll that the first form references. Both of these work fine from a link on my web page to the exe. My p ...Show All
Visual C# passing data from a form to another
those anybody know how can i pass data from form1 to form2 i want to put a TextBox1 in form 1 and when Form2 initialize, show a MessageBox with the Form1 TextBox1.Text Please help Hi, IF the both forms are in the same application then whatever i posted in my previous message, will work for you and if both forms are in different application then you have to use WIN32 APIs for inter-application processing. HTH, ...Show All
Visual C# Need Help Learning C# after Java
I would like to learn about C# and .NET. I'm coming from a Java background. I know this question has been asked many times, but I couldn't find anything with the search. What sites can help a Java developer learn C# and how to use the .NET framework I'm not interested in Windows GUI programming, just Web programming. Also, I'd like to know more than the syntax difference between Java and C# and some discussion about .NET and the available libraries. Any help would be appreciated. Feel free to point me to a different forum if needed. Welcome! When it comes to learning about the main syntactical differen ...Show All
Visual Studio Team System Error 32000 The Commandline "F:\TFS\Tools\Createds.exe"/Setup/install ...
While installing Team Foundation Server Beta 3 Refresh (Single-Server installation)an error {Error 32000 The Commandline "F:\TFS\Tools\Createds.exe"/Setup/install " http://kaushal-2k3/ReportServer/ReportService.asmx " tfsREportDS "Data Source = KAUSHAL-2k3;intial catalog=TFSWarehouse" "KAUSHAL-2k3\TFSREPORTS"} is displayed. INstalled Prerequistes: OS Windows 2003 Server. Windows Share point Services. IIS 6.0 SQL 2005(RTM) (Installed Analyisis and Reports services) Error is as displayed: Help me out in finding solution to overcome this error. Thanks in ...Show All
Windows Forms All Green Lights and No Critters
I have installed 1.2 Terrarium on 2 machines of mine. (Behind a firewall, port 50000 opened and NAT support checked) All lights are green but i dont get anything coming into my terrarium. I have this thing running for at least 24 hours so i know it isnt just a shortage of critters. Something else has to be wrong, but nothing is showing a ...Show All
Smart Device Development Deployment Issues When Development Workstation & Device Shut Down
Hello, I have been working with a Windows CE 5.0 based industrial controller and VS 2005 Pro. I have been able to connect to the device and deploy my application with ActiveSync 4.1 and the "Debugging on CE5.0 device without ActiveSync" directions (http://blogs.msdn.com/vsdteam/archive/2005/04/28/413304.aspx), but it took several hours of trying various combinations of ActiveSync resets and running "conmanclient2" and "cmaccept" on the client to get the deploy to work. Once my C# application deployed for the first time, it continued to deploy -- build after build, even across client resets. The problems start w ...Show All
Visual Studio Team System I can't create PrivateObject, an exception thrown out
When i try to create a PrivateObject object[] args = new object[1] { "test" }; Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject priv_obj = new Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject(typeof(global::Class1), new System.Type[1] { typeof(string) }, args); An Exception thrown out Test method Class1Test.testTest threw exception: System.TypeLoadException: Could not load type 'Class1' from assembly 'ObjectModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.. Class1 is using System; using System.Collections.Generic; using System.Text; namespace Microsoft.Vega.ObjectModel { publ ...Show All
.NET Development Incomplete object deserialization using XmlSerializer.Deserialize
I tried to implement object serialization and deserialization using XmlSerializer but somehow deserialization is incomplete, meaning the object is recreated with missing data. My class model is as follow: class A { public field1, field2, field3,...; // these are the serializable attributes public DataList1 data1 = new DataList1(); } class A_List: IXmlSerializable { ... // store an ArrayList of class A objects // implementation of IXmlSerializable interfaces WriteXml, ReadXml and GetSchema } class Data1 { public fields1, field2, field3,...; // serializable attributes } class DataList1 : IXm ...Show All
Visual Studio IDesignerHost using VSIP
We have a task where we create a custom toolbox and then drag and drop components to the open documents(winforms) in the VS.Net 2005 IDE. We have a VSIP package for this. I was trying to get the DesignerHost for the current open window so that we can add components to the container. I could do this using the SDTE service and then getting the DesignerHost from it shown below. DTE sdte = this.GetService(typeof(SDTE)) as DTE; if (sdte != null) { if (sdte.ActiveDocument != null) foreach (Window W in sdte.ActiveDocument.Windo ...Show All
