SkyCyclePilot's Q&A profile
Visual C++ Interaction with an application running in CMD
Hi all, I have written code for an appliation which needs to interact with another application which runs in CMD. I want to receive all the information produced by the application running in CMD so that I can manipulate them and at the same time I should be able to provide input to that application. Please suggest me somehting regarding this. Thanks, You can use RPC, named pipes or sockets, to name a few. For RPC, see http://windowssdk.msdn.microsoft.com/en-us/library/ms719418.aspx . For general information about inter process communication, see http://windowssdk.msdn.microsoft.com/en-us/library/ms690478.aspx . ...Show All
SQL Server Issue with Logging using SQL Server
Hi All, I'm trying to implement the SQL Server logging in my package but Im receiving a very weird error message. Follow below: "Error at Consumer_Common_Transportation [Log provider "SSIS log provider for SQL Server"]: An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "There is already an object named 'sysdtslog90' in the database. Error at Copy Data to TCARRIER: The SSIS logging provider "SSIS log provider for SQL Server" failed with error code 0xC0202009 ((null)). This indicates a logging error attributable to the specified log provider. (Microsoft.DataTransformationServices.VsInte ...Show All
Visual C# CallBack functions
Hi, I'm new to C#. How can I translate into c# delegates the following callback functions typedef void * (*NewtonAllocMemory) ( int sizeInBytes); typedef void (*NewtonFreeMemory) ( void *ptr, int sizeInBytes); the problem is how can I transalte to managed code the void* type. Thanks! Try this out delegate IntPtr NewtonAllocMemory(int sizeInBytes); delegate void NewtonFreeMemory(IntPtr data, int sizeInBytes); ...Show All
Windows Live Developer Forums Humongous Javascript Api File.
Hi, I am using v4 of the virtual earth control. But each time I open the page to view the map, it takes an age to load. I've used fiddler to detect the file sizes, and it seems the main file with the core script in it is 436,179 bytes, which seems huge. http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js -- 168 http://maps.live.com/veapi.ashx v=1.3.1115150037.31 -- 436,179 Also the files are set to not cache, which means the files have to be downloaded each time! I checked the files for maps.local.live.com and it does not download one big file, but instead multiple small files. Ive summed the bytes for the whole page, which comes to about 582,228, but the actual mapping components only seem to add up to ~178,000 bytes, which ...Show All
Visual Studio Express Editions error C2653: 'std' : is not a class or namespace name Resolved. needs to be more public
took me little under an hour to figure this out, goggling did not work then i just goofed around and got it to work. The error is error C2653: 'std' : is not a class or namespace name and error C2065: 'cout' : undeclared identifier The Fix: When using VC++ express (in my case) and a basic starting template (win32 console), it creates a cupple default files stdafx.h and stdafx.cpp. Keep the header in mind. #include <iostream> #include <stdafx.h> void main() { int x = 3; if (x > 2) { std::cout << "Hello" << std::endl; } //else //{ // cout<< "statement is False" << endl; //} } the above code would refuse to work, kept giving me the errors list ...Show All
SQL Server error 1498
i have a error 1498 when i start mimorring please what is the problem thanks I have got SQL 2005 Developer Edition with Sp2 and I also tried it with trace flag 1400 but still I am facing the same problem. Any quick help will be much appreciated. ...Show All
Windows Forms Different SQL port
Am i forced to use SQL port 1433 for applications between VB.net and SQL server i would like to use a different port, is this possible and where can i set it Also does anyone have a FAQ on encrypting the data betweent he application and the SQL server Many thanks Ryan As for sql server 2000, you can modifty the port as following steps. 1) Open "server network utility" 2) In the "Enable protocols" choose "TCP/IP" and click "properties" 3) You can set the port in the popup windows. 4) Open "client network utility" 5) Choose "Alias" tab and click "Add" button 6) In the window "Add network li ...Show All
Software Development for Windows Vista System.Xml.XmlException while sending Input to the Workflow webservice
Hi, I have published my workflow as a webservice and used interface as shown below for WebServiceInput Activity. Public Interface IRegInput Sub RegistrationInput( ByVal strRegDetails As String ) End Interface I am trying to send an xmldocument as a string like the following code sampleXml.Load("c:\\UIRegistrationRequest.xml"); string requestXml = sampleXml.InnerXml; //The following lines of code calls the workflow webservice RegWFWS. AsyncRegWorkflow_WebService regObj = new FacadeLayer.RegWFWS. AsyncRegWorkflow_WebService (); regObj.Credentials = System.Net. CredentialCache .DefaultCredentials; regObj.RegistrationInput(requestXml); Then I am getting the following ...Show All
Windows Forms Help on PropertyGrid
Hi there! Is there another way of setting the properties in a PropertyGrid besides using propertyGrid.SelectedObject or propertyGrid.SelectedObjects I would like to load the properties without having the PropertyGrid read them from myObject. For example, is there a way of doing something like: propertyGrid.SetProperties (collectionOfProperties) or anything similar to that I think I have found the exact answer I'm looking for on a different post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=480921&SiteID=1 ...Show All
Visual Studio Can't add datasource
I'm using .NET 2.0 with LocalReports. There is not database or ASP.NET source for this report. Non Crystal Report also. This problem just started: when I try to add a local object source, I get this error box: Wizard Form An unexpected error has occurred. Error message: Object reference not set to an instance of an object. Everything I've found on this error references Cyrtal Reports and ASP.NET. Neither of which I'm using. Does any one have suggestions on how to fix this Thanks, Brett ...Show All
SharePoint Products and Technologies Client Access
Can someone explain to me in simple terms or point me in the direction of some instructions that can walk me through setting up my wiki site for access internally and externally Thanks ...Show All
Visual C# dataset partial acceptchanges
Hi, i have attached a dataset to a updatable datagrid. now i add some rows to the dataset , some updates in rows and deletions of some rows (rows which are deleted or updated can be new one or the old one). Now before calling acceptchanges() on dataset, i need to rollback only the deletes which are been made leaving the updates and addition of rows intact What is the best way to attack this problem. Best Regards You have to enumerate all the rows in the all the tables of your DataSet . For each row you can use the RowState property to determine if the row was deleted. If it was you can undo the change by calling RejectChanges on the row. foreach (DataTable dt in ds.Tables) { foreach(Dat ...Show All
Visual C# Displaying an Image in a Picture Box on a Windows Applacation
I am trying to make a basic windows application which on the click of a button displays an image in a picture box. The code that I have found earlier in the forum seams to show the code should be similar to the code I have below; (From http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=4269&SiteID=1 , Re: Displaying images on a form using code Thread Starter: Mike F Started: 26 Apr 2005 4:03 AM UTC Replies: 6 ) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Image_Display { public partial class Form1 : Form { public Form1() { Initiali ...Show All
SQL Server Moving data from mysql to sql server 2005. does not work!!
Problem: Moving data from mysql to sql server 2005 I am trying to pull data over from mysql to sql server. First the import wizard greys out so I have to put in 1 query at a time which is pain. and second it does not even work! it takes me through the end of the wizard for me to click finish and then says oops it does not work. there was an error! Anyway i tried going through the ssis route cuz its going to be a nightly job. i used the ado.net odbc connection. It worked but the performance is really not acceptable. it took 5 mins to import 24000 rows where as dts was taking 1 sec to do this. i wish i could use the native mysql odbc 3.51 connector and import. can some one give me step by step instructions on how to do that ...Show All
SQL Server Excel: Read column as text (IMXE=1 does not seem to help)
Hi! We currently have a problem while reading Excel files. The file has one column we want to read as DT_(W)STR which Jet delivers to us only as DT_R8 as there are plenty of numerical entries in that column before one alphanumerical appears. We first tried with IMEX=1 but as described in http://support.microsoft.com/kb/194124/en-us will only parse the first eigth characters as "TypeGuessRows" is set to 8 and can't be edited. Is there any way to read a column in Excel in a way typed by the SSIS designer (DT_(w)STR in our case) With best regards, Hauke Schlichting PS: Designing a "decoy" Excel file with column headers and first columns set is not really considered an option ;-) ...Show All
