Ross71's Q&A profile
Visual C++ please help me to convert a C++ code into .dll
Hello, I have an already made project in C++ and I need to use its functions in my C# project. I think that I must convert it into .dll file, but I am very confusing in how to get a .dll file , that can be referenced in C# project , from a C++ code files. I am reading many articles about that but I can't apply any one. Please help me to doing that. If anybody can help me please give me the e-mail to send the C++ code. Or it can be accessed from the web site : www.cs.rpi.edu/~zaki/software useing the link: CHARM.tar.gz if anybody can convert it please post it to me. my e-mail address is: aya_e ...Show All
SQL Server BULK INSERT Format File Problems with SQLNUMERICAL in SQL-Server 2005 Express
I'm trying to set up a BULK INSERT Format File for some data that I've been sent, which, according to the data documentation, comes in fixed-width format fields (no delimiters except for end-of-row 0D0A) in SQL-Server 2005 Express. The following is the first line... "7999163 09182003 56586 56477 3601942 1278 22139 1102 113 118 51450 1 1 63535647 10000 7999162 09182003 56586 56477 3601942 1279 22139 1102 113 118 51450 1 1 63535647 10000 " Looking with a hex editor, all the above whitespace are 20's. From the documentation, I've constructed the following table... CREATE ...Show All
Software Development for Windows Vista use of Activity.Save( ) method?
hi there ... i hav a few question regardin Windows Workflow foundation library n itz classes! 1) every Activity class comes equipped with a method called Save( ) ... but none of the activites, Base Class Activities, like code n all ... are serializable then wat is the purpose of this method 2) does framework uses this method to generate the .xoml file thx Muhammad, The Save method is called by the persistence service to serialize the activity instance data into a stream. The BinaryFormatter is used by default, but there is also an overload to take any formatter. Arjun ...Show All
SQL Server Reading Excel Sheets - Column DataTypes - Change default
Hi, I am reading Excel sheets using the Excel Source in a Data Flow. The driver decides the data type of the column based on the first 8 ( ) values which it reads. How can this default be changed to, say, 1000, please This is because I am reading columns in which the first, say, 20 cells have no values and this is causing the driver to make ALL the values in the column to be null. Thanks. In Connection Manger Editor Click on Advanced and then click on Suggested types and there you can change number of values to 1000 (i think that is the max) Hope this works -Raj ...Show All
SQL Server How to Execute a DiffGram
This article on MSDN: "Microsoft SQL Server 9.0 Technical Articles, XML Options in Microsoft SQL Server 2005" states that it is possible to execute a DiffGram using SqlXmlCommand. However, when I execute this code: static string NorthwindConnString = "Provider=SQLOLEDB;Server=NJSQL06;database=Interlink_GISLink90;Integrated Security=SSPI"; SqlXmlCommand cmd = new SqlXmlCommand(NorthwindConnString); cmd.CommandStream = new FileStream(@"C:\Development\SQLXML\ApplyDiffGram\ApplyDiffGram\bin\Debug\DiffGramFile.xml", FileMode.Open, FileAccess.Read); cmd.CommandType = SqlXmlCom ...Show All
Visual Studio Tools for Office project inclusion( assemblies) in vsto
Hello, i have made vsto project using an excel application then it successfully runs but this is only the test project that i made. Ques :- after my test project i test it with real one . in the real one project i had 2-other projects in the same solution-explorer that is attached with main project . now, i made setup-project for excel deployment but it shows build error Error 32 Assembly generation failed -- Referenced assembly 'cars4u.Entities' does not have a strong name Cars4UOfficeTools Error 33 Assembly generation failed -- Referenced assembly 'Co ...Show All
Visual Studio Team System ? Check in but keep checked out ?
Is there any way to check-in a changeset, but still keep it checked out That's something I often do with VSS6, but I can't see any way with Source Code Explorer. (There's a few things like this from VSS6 that I'm missing - for example, the ability to find all files with a specific suffix, and then be able to easily check them out without having to painstakingly visit each of them in their source code folder.) I am running post-beta 3 binaries, so I logged onto a machine that has beta 3 Team Foundation Explorer (no VS, just the standalone app, aka the tfc sku). When I went to Tools -> Opti ...Show All
Visual C# Detection of thread executing
I have read up some on utilizing threads, being a newbie to programming in C# and converted a major function in my application to execute in a background thread (to stop the display from freezing up if I switched to another application). The threading worked perfectly and it even terminates itself after completion. The only complication I have is that I cannot update the various text boxes on my form because they are part of other system threads. My application thread is not started until after a menu click event. First, I perform a file dialog function to select the file I want to decode. Once the file dialog box is closed and the fil ...Show All
SQL Server How to execute ssis package from stored procedure
how to excute ssis package from stored procedure and get the parameters back from ssis into the stored procedure. Thanks for taking the time to respond. Permission to execute sp_oacreate has to be explicitly granted to users if they aren't to be given membership of the sysadmins role. As I understand it, if you can execute a sp_oacreate command you can run any command line using wsccript.shell. SQL injection attack springs to mind.... This approach is far from ideal and only seems to be appropriate where the users are known, trusted etc. I remember reading a forum question from a person want ...Show All
.NET Development asp remoting
I have been unsuccessful in connecting an aspx page to a remote dll because the format for web.config commands have changed and all the examples are for vs 2003. I am using vs2005 andMS does not have any samples of how to config aspx 2 remoting (at least that I can find) The questions a little vagues in terms of what you're all handling, but I've included a code snippet that might help you out. <httpRuntime useFullyQualifiedRedirectUrl="true" enable = "true" maxRequestLength="4096" executionTimeout="150" minFreeThreads="2" appRequestQueueLimit="4& ...Show All
Visual Basic String to Hexadecimal
Hi folks! I need to be able to convert a string, including both text and numbers, to a hexadecimal value. Currently, I can convert numbers to hexadecimal, but it will not allow for text in any way: Dim MyHex As String MyHex = Hex(txtPassword.Text) MessageBox.Show(MyHex) Any ideas greatly appreciated! Tim Any change anybody knows how to convert a string, as previously, to REG_BINARY format Also have a similar problem with converting a string to REG_DWORD. Any ideas Tim ...Show All
Visual Studio How to set compartment's default expanded property to false?
The compartmet's are expanded by default when the shape is added to the diagram How can I set the default behaviour to collapsed Thanks. You can collapse just the compartments within a Compartment shape on its creation with the following code customization: namespace CompanyName.ProjectName.Language27.Designer { # region Using directives using System; using System.Collections.Generic; using Microsoft.VisualStudio.Modeling; using System.Diagnostics; using Microsoft.VisualStudio.Modeling.Utilities; using System.Drawing; using Microsoft.VisualS ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2d sample in SDK
Hi All, David Weller mentioned in post that the October SDK had a 2d sample. Is this sample available in the February SDK I can't seem to find it. Best Regards Tom ...Show All
Visual Studio Tools for Office Outlook Add-In hand-on lab???
Hi I was playing around the VSTO Beta 2 and the Outlook Hand-On lab. I have a problem that cannot load the assembly. I am using a clean machine windows 2003 server with exchange 2003 and outlook 2003 with all latest patches.... I also repeat the test with w2k prof, and XP prof... get the same exception... I am not even able to run the outlook add-in from VS2005 template... same error as the hand-on lab... Any suggestion Thank KC Here is the exception: System.IO.FileNotFoundException was unhandled Message="Could not load file or assembly 'OutlookAddin1, Version=1.0.0.0, Culture=neutral' or one of its dependencies. The syst ...Show All
Visual Studio Team System MSF CMMI process template Release Date
When is the MSF CMMI process template expected to be released In message , David@J.Anderson.invalid writes > >Expect the full template in Beta in early October. The final template >will ship with the full Team System product. Given that the launch date is Nov 7th, releasing the template just a few weeks before launch does not give folks much time to find issues, let along give MS time to fix them! :-) Or are you suggesting that VSTS will not RTM prior to launch Thomas -- Thomas Lee (tfl@psp.co.uk) ...Show All
