Alexuo's Q&A profile
Visual C# make installer for c# project issue
Hi, i'm trying for about 6 days to deploy a project with c#(from vs.2003 or vs2005) without any success. My project needs some dlls from Office(word,excell,acces) and from Adobe Acrobat 7. When i refer the dlls in my project they seem to be refered as interop-dlls.(inter-operational) The problem is when i make the installer for that project - all the dlls seem to be added in the application folder, but when the .exe tryes to use them an error occurs("cannot create activeX", or "dll(s) not registered"). This happens only on those computers which don't have office or adobe acrobat installed. My question is: How could i register those dll ...Show All
SQL Server Error between string data types
I reinstalled SQL Server, setup new connetions in my existing project and then pointed the existing controls in my SSIS packege to my new OLE DB Connection manager. When I run my package, now I get: TITLE: Package Validation Error ------------------------------ Package Validation Error ------------------------------ ADDITIONAL INFORMATION: Error at Data Flow Task 1 [OLE DB Source 1 [73]]: Column "TransactionDate" cannot convert between unicode and non-unicode string data types. Error at Data Flow Task 1 [OLE DB Source 1 [73]]: Column "TransactionTime" cannot convert between unicode and non-unicode string data types. Erro ...Show All
SQL Server Launching DTA via "analyze in DTA" context option in SQL Editor failing
TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to connect to an IPC Port: The system cannot find the file specified. (mscorlib) ------------------------------ BUTTONS: OK ------------------------------ 32bit/x86 standard edtion, build 2047 (sp1) Did you find a fix for this I get the same thing. Here is my stack trace: =================================== Failed to connect to an IPC Port: The system cannot find the file specified. (mscorlib) ------------------------------ Program Location: Server stack trace: at Sys ...Show All
Smart Device Development Auto-generated Code
Hey everyone, I have a VB2005 project with a SQL Mobile database. The database is rather large. I've created parameterized queries to load grids and selected the grid task to Generate Data Forms. I delete the New menu option and the editable form. I am just using the detail form that opens when a record in the grid is selected. My problem is that when I click on a record on the main grid during testing, it takes an extremely long time to open the detail form and populate the labels from the corresponding fields. When I originally did this in VB2003, I hand coded everything, and the searching and loading was much, much faster. I ...Show All
.NET Development Start apllication when windows start
Hello, How can you automatic start an apllication when Windows starts or when a spesific user logs-in DIII for all users add a registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run for certain user you could do it under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run as alternative you add shortcut to your app in Start Menu for All users in C:\Documents and Settings\All Users\Start Menu\Programs\Startup for specific user in C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup hope this helps ...Show All
SQL Server Accessing Mobile SQL Databases in VB2005 - Windows Apps
I have both used the Data Connection Wizard and tried programatically to connect to a Mobile SQL Database from within a Windows Application and keep on getting the same Error at the connection point "Unspecified error [ sqlcese30.sys.dll ]" The Debug message is " A first chance exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll" I have added a reference to C:\ Program files\Microsoft Visual Studio 8\Common7\IDE\Public assemblies\System.Data.SqlServer.Ce.dll. I need to access the data from the pocket pc on a desktop computer. Is this possible under VS2005 using VB or do I in actual fact need to ...Show All
Visual C++ error in frame work
our comp. will not fix this problem it says that the file known as (msvcr80.dll) is no where to be found or can not be opened please help ! This is most probably due to a SxS issue. Such dlls are now in the WinSxS directory. For more details, please take a look at http://msdn2.microsoft.com/en-us/library/ms235624.aspx . Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Basic How to set a default paper size on a print dialog?
Is there a way to set the defualt paper size to "Legal" size instead of the default "Letter" using a print dialog control I've tried everything i can think of and I'm sure it's a simple thing I'm not thinking of.. Have you figured out how to do this Richard's example wasn't working for me so much. I just want to set the default print page size to legal as part of the setup before showing a page setup dialog box. Thanks ...Show All
Windows Forms naka invasion
Hi guys I'm new to terrarium, but have everything set up for 1.2. Wrote a small simple creature and connected to the exosystem. I now have about 200 "naka"'s sitting around on my screen. They dont eat, they dont move, there is no food, but they multiply every few minutes. How can they breed if there is no food They just sit there ...Show All
.NET Development LNK2022 error, building a WebService proxy
Hi Together, I tried to build a webservice proxy using a wsdl, generated in the sun/java world. I used the .Net 2003 Version, choosing VC++. The steps I did: 1. Visual C++ Projekte / "Konsoleanwendung (.Net)" 2. Projekt / Webverweis hinzufugen / lokal The wsdl: < xml version="1.0" encoding="UTF-8" > <wsdl:definitions targetNamespace=" http://prj.abc.de " xmlns:apachesoap=" http://xml.apache.org/xml-soap " xmlns:impl=" http://prj.abc.de " xmlns:intf=" http://prj.abc.de " xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:wsdl=" ...Show All
.NET Development Obtain a Stack dump ?
I would like to know if it's possible to perform a full stack dump in .Net Since the VS debugger is basically capable to navigating through the stack granting a visual access to all managed variables of the stack, this must be possible somehow. Such feature would be really useful for various purposes including debugging (post-app crash forensics) but also performance tuning (post-run stack analysis), etc... Does anyone know how to perform a stack dump in .Net Thanks in advance, Joannes If you are using Windows 2003 Server this might help: http://www.interact-sw.co.uk/iangblog/2004/11/16/stackdump ...Show All
Windows Forms GetCellBounds method
Hi. I am trying to get a rectangle from a header cell in a datagrid control. I tried to use the GetCellBounds but it raises me an index out of bounds error. I tried something like dgGrid.GetCellBounds(-1, 3) since the headers are on row -1 but it does not work. I need something like a GetHeaderCellBounds method. How can I get the bounds of&nb ...Show All
Smart Device Development Use the Core Connectivity API to connect to running devices
Hello, does anyone know how to use the Core Connectivity API to connect to running devices/emulators I am using the new Microsoft.VisualStudio.DeviceConnectivity.Interop assembly but am not able to connect to emulator instances that where started from the commandline. These instances are however visible in the Device Emulator Manager under the item "Other". Thanks in advance, Peter Vrenken To connect to a device you need to have an entry for that device in Datastore. Since the emulator that you started from commandline will not have an entry in datastore you will not be able to connect to the emualtor using Core Connectivity ...Show All
SQL Server Last Cube Process Date/Time
Is there anyway to programmatically retrieve the last date/time that an SSAS cube was processed I would like to display this date/time in reports. I could add a step to the job that runs the process to add a row to a table upon successful completion, but don't want to re-invent the wheel. Thanks! BobP using System; using System.Collections.Generic; using System.Text; using Microsoft.AnalysisServices; namespace GetCubeProcessingTime { class Program { static void Main( string [] args) { string date = string .Empty; string cubeName = string .Empty; ...Show All
Software Development for Windows Vista Beta 2 tutorial: Confused about UnloadOnIdle=true and WorkflowIdledEvent sample
In Beta 2, in the tutorial tutorial " Task 3 : Using the Windows Workflow Persistence Service", the tutuorial sample's main program subscribes to the workflowRuntime.WorkflowIdledEvent with the following handler: static void workflowRuntime_WorkflowIdled( object sender, WorkflowEventArgs e) { Console .WriteLine( "Workflow {0} idled" , e.WorkflowInstance.InstanceId ); ThreadPool .QueueUserWorkItem(UnloadInstance, e.WorkflowInstance); } static void UnloadInstance( object workflowInstance) { (( WorkflowInstance )workflowInstance).Unload(); } At the same time, in ap ...Show All
