Software Development Network Logo
  • Visual C#
  • Visual FoxPro
  • Audio and Video
  • Visual Basic
  • IE Development
  • Smart Devicet
  • VS Team System
  • Visual Studio
  • .NET Development
  • Microsoft ISV
  • Windows Vista
  • Windows Forms
  • Visual C++
  • Game Technologies
  • SharePoint Products

Software Development Network >> Cristina Stanca's Q&A profile

Cristina Stanca

Member List

remedios_
magicalclick
seamonkeyz
Douglas H. Troy
melberti
Troy Lundin
mcass
Urban Terror target
2162
Tim Mavers
Feldaspar
sammaell
Karlo
LouArnold
Punpromk
Sputnik_Johan
Chryso
JohnSLG
bonni
Eric Lindahl
Only Title

Cristina Stanca's Q&A profile

  • .NET Development Basic .Net Remoting questions

    1. Can I create a solution with 3 projects in it and still be able to debug throughout all 3 projects Project 1: contains a remoting server Project 2: contains a remote object containing the functions. The functions belong to a class that derives from interfaces. Project 3: contains a client that will access the functions 2. If not, how will I test and/or debug the remote object functions What kind of solution-project setup do I need Thanks ...Show All

  • Visual C# Move Directory Across Volumes

    I have developed an application designed to copy a directory on the D:\ drive to the C:\ drive, and I recieve a message that it can't copy across volumes using the following line of code: System.IO. Directory .Move( "D:\\WBWU" , "C:\\My Documents" ); Would that work, or am I wrong here is some code I have just made up for you, hope it helps: //import the System.IO namespace private void DoCopyFolder( string source, string destination) { string [] theDirectories = Directory.GetDirectories(source); foreach ( string curDir in theDirectories) { if (!Directory.Exists(destination.Substring(0, destination.IndexOf("\\")) + curDir.Substring(curDir.IndexOf("\\"))) ...Show All

  • Visual C++ How do you compile a COM compliant C++ DLL in Visual Studio 6?

    I am trying to use a DLL written in C++ and compiled in Visual Studio 6 in .NET. Unfortunately, I cannot reference the DLL in .NET because it is not COM compliant. I am not very familiar with Visual Studio 6 and was hoping there is a fairly easy way to compile C++ code into a COM compliant DLL. Thanks for the suggestion. I would prefer to create a COM compliant DLL instead though so I don't have to worry about function signatures in order to call the functions in .NET. Is this possible, or is DllImport the only way ...Show All

  • Visual Basic Hosting a .NET form as if it was an MDIChild inside a VB6 MDI Container

    I have created a new .NET Windows Form and wish to intgrate it inside our VB6 application as an MDI Child. Our VB6 app consists of ActiveX User controls, loaded onto a VB6 form which is in turn loaded as an MDIChild form inside an MDIParent form. I wish the .NET form to behave like the MDIChild form. Can the InteropForm Toolkit allow this Hi there, The current version of the Interop Toolkit doesn't, but we are working on an MDI solution. Here's a prototype we've posted on our team blog, please try it out and let us know what you think: http://blogs.msdn.com/vbteam/archive/2006/11/02/interop-roadmap-usercontrols-mdi-and-data.aspx Basically you'll need to make your .NET Form a full-sized .NET UserControl, and ...Show All

  • Software Development for Windows Vista XPS Comparing

    Is there a way to compare two versions of an XPS document to highlight the changes made similar to windiff Yes, there's a cool tool "diffOPC" I only can recommend, try out yourself... you can get it here... http://www.arstdesign.com/articles/diffopc.html hope this helps... regards, Jo ...Show All

  • SQL Server SQL2005 Enterprise IA64 vs x64 vs x86 performance?

    I went to setup a new SQL 2005 Enterprise Edition cluster and have to admit being quite confused after reading product version and CPU requirements. This is what I seem to understand: SQL 2005 EE in 64bit native on IA64 SQL 2005 EE in WOW64 (32bit emulation) on x64 (does it still use AWE ) SQL 2005 EE in 32bit on x86 Does anyone have performance data or comparisons from having gone through this before Anyone know why the EE x64 version cannot run natively in 64bit is it an artificial limitation (Intel kickbacks :) or a technical one Since the x64 version runs in WOW64 emulation am I better off building this as a 32bit machine Xeon EM64T, 2003 R2 64bit I've read the same 64bit Wind ...Show All

  • Visual Studio Tools for Office Adding a macro to excel using C# in asp.net

    I am creating a customized excel report for my company using a webpage. Part of the excel file is a macro to handle printing though, and I can't seem to get it to work correctly. The code works... The page building the report impersonates a user that has access to Excel. Excel files can be created but, when I attempt to add the print macro I recieve this error: Programmatic access to Visual Basic Project is not trusted The user being impersonated has the security setting in excel set to: Trust access to Visual Basic Project I discovered on accident that if the impersonated user is actually logged in on the server that the code executes as expected, every time. If you have any idea how to correct this problem please let me ...Show All

  • Visual C# C# DLL from Javascript?

    Is it possible to call a C# DLL from server-side Javascript Or would that be too much of a security issue Thanks in advance, Chris This is possible. The DLL needs to be marked as COM visible though. It will then run in the security context of the browser. -Tom ...Show All

  • .NET Development Xerces and MSVS 2006

    Hi, I work on an xml project using xerces integrated to the MS VC++ 6.0 environment (msdev). I need to integrate xerces with MS Visual Studion 2003 (devenv). The following are the setup options I create with the VC++ 6.0 a. Project Setting -> C/ C++ tab -> Category : Preprocessor ->Additional Include Directory : <path where xerces is stored till the src folder> b. Project Setting -> Link -> Category : Input -> Object/ Lib Modules : Xerces-c_2D.lib and Addtional lib path : <Directory where the lib file is stored> Xerces works fine with this. When I try the same with MS VS 2003, i get linker errors indicating that there is a clash between the MSXML and xerces' functions definitions. What Should I do to resolv ...Show All

  • Visual Studio 2008 (Pre-release) How to change default xml namespace of DataContractSerializer?

    I would like to change the default xml namespace " http://schemas.datacontract.org/2004/07 " of the data contract serializer. The MSDN article Data Contract Names explains how to override the standard namespace mapping for all contracts: // This overrides the standard namespace mapping for all contracts in MyCorp.CRM. [assembly:ContractNamespace(ClrNamespace = "MyCorp.CRM", Namespace= "http: //schemas.example.com/crm")] namespace MyCorp.CRM { // The namespace is overridden to become: // http://schemas.example.com/crm. // But the name is the default "Customer". [DataContract] public class Customer { // Code not shown. } } This works fine. But my classes doesn' ...Show All

  • Visual Basic Which set of code is more efficient?

    Hi, I'm trying to optimize my code for a VB.NET/Microsoft Access Project and I'm wondering if someone could confirm for me which snippet of code is more efficient. Both snippets successfully do the same thing. Stored Procedures would probably be better if I was using SQL, but I don't think I can really use those in Access (although I could create a query, but would that be better ) A) counter4 = 0 For counter1 = 0 To DsPredicted.Predicted.Count If cboPredictedBloomName.Text = DsPredicted.Predicted.Item(counter1).BloomID And cboActualStartDate.Text = DsPredicted.Predicted.Item(counter1).StartDate Then strgotme(counter4) = DsPredicted.Predicted.Item(counter1).Location End If Next B) 'Connectio ...Show All

  • SQL Server Logging Data Flow Steps in SSIS Package

    Hello. I am using the "SSIS Log Provider for SQL Server" to log events to a table for "OnError" and "OnPostExecute" events of a package. This works as expected and provides a nice clean output on the execution steps of the package. I am curious as to why I do not see any detail for any/all tasks that fall under the "Data Flow" section of the package though. For instance, on my "Control Flow" tab, I added a "Data Flow" task that simply loads a few tables from a target to destination server. However, there is nothing shown in the logging output. Just that a Data Flow task was initiated. And when I'm configuring this logging under "SSIS-->Logging" in the checkbox a ...Show All

  • Smart Device Development PlatformNotSupportedException

    I have created 2 forms, one calling another. In the main form, there is a picture on it. This runs fine in the emulator. But when I deploy the application on my WM5 device, I encounter "PlatformNotSupportedException" error in 2 lines: 1. when the main form runs the InitializeComponent(), the line below encounters the error: this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); How I put the picutre into the pictureBox1 is that in the property window of pictureBox1, select the jpg (or bmp) file using the "..." button. I found that the property is set to "System.Drawing.Bitmap". 2. When I omit the picture problem, main form displays. I try to call Form ...Show All

  • Software Development for Windows Vista Windows Mobile POcket PC 5.0

    Does Windows Mobile Pocket PC 5.0 emulator support *.mpeg files Also what is the maximum size of a file that can be rendered on it of any format I am asking this because i made an application to run a media file using DirectShow, and it is playing a file of *.avi format of size 83k. If i try playing some bigger file say of size 1MB then it is not playing. And if i try debugging the same application on PC then it is running perfectly file. ...Show All

  • Windows Forms need help with properties while creating usercontrol

    Hi, I'm creating a usercontrol with some public properties to display in the propertywindow. I want to display the properties under category. like how we have form.size category has some properties. Please help me with this. venp Drag a PropertyGrid control on your form, the SelectedControl property allows to map and view properties of a control. ...Show All

©2008 Software Development Network