v1nc3ntl1's Q&A profile
Windows Forms Deploying a C#.NET WinForm Application with SQLSERVER 2005 Express Edition
Hi everybody; I'm developing a small business software for my uncle and it is using SQL Server 2005 Express Edition for database and related services. But i need a solution that deploys both WinApp and SQL Server 2005 database engine (it may be full package) and attach the required database files (mdf and ldf). Is this possible If it's possible how can i achieve it with minimal work If i have some duties i'm ready to handle it but i need a way. Please help me! Well i have'nt looked yet. But does this method helps to attach the database. I have produced lots of setup projects up to now but i only have included the Crystal Reports merge modules. Assume that i set the SQL Server prerequisite true, does the setup system analys ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Best way to extract vertex/index data from Model loaded via Content pipeline
I have a mesh loaded via the content pipeline, and want to extract all the vertex/index data from it to build a physics mesh for collision. However if i try to GetData on the VB (not tried with the IB yet), I get an exception of: "You cannot call GetData on a resource that was created with ResourceUsage.WriteOnly." So is there a way to either clone the data into a non-Write-only VB so i can extract it Or some way of loading the Model in a non-writeonly way N By "crossed quads" i meant the indices (or vertex order) is wrong in a way that, for 4 vertices and 6 indices supposed to form a quad - creates two triangles crossed with eachother. I don't understand your lookup procedure tho; T he result of the abo ...Show All
SQL Server Export Data to MS Access file
Hi guys, I use Data Flow Task to export data from SQL table to MS Access file. In Connection Manager for Data Flow Destination task I specify provider "Native OLEDB/MicrosoftJet 4.0" and path to Access file in Database file name box. In design time I have no validation error. Everything looks fine. However in run time mode I'm getting error: "Error: 0xC020801C <Datataset name> , MS Access File [1459]: The AcquireConnection method call to the connection manager <connection manager name> failed with error code 0xC0202009. Error: 0xC0047017 at <Datataset name>, DTS.Pipeline: component "MS Access File" (1459) failed validation and returned error code 0xC020801C." Any thoughts Thanks. ...Show All
Visual Studio Express Editions slideshow
how can I alter this code so it displays a different image every minute.....like slideshow thanks PictureBox1.Image = Image.FromFile _ (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & "\Shell2.jpg" ) why wont it work..... access to path is denied ..........in red I have changed path but is still denied Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim path As String = "c:\pics" Dim DI As New System.IO.DirectoryInfo(path) Dim fi() As System.IO.FileInfo = DI.GetFiles() Static Lastpic As String = "" Dim picList As New List(Of String) : p ...Show All
SQL Server Snapshot isolation
I have a online shopping cart system. I have been getting this message from time to time. I am exec a stored proc that updates and inserts records. Has any body ran into this error. An order was not added to the database due to the error: Snapshot isolation transaction failed in database 'databasename' because the object accessed by the statement has been modified by a DDL statement in another concurrent transaction since the start of this transaction. It is disallowed because the metadata is not versioned. A concurrent update to metadata can lead to inconsistency if mixed with snapshot isolation. I am running sql 2005 standard 64 bit declare some input variables @cust,@packge as set nocount on ...Show All
Visual C++ Odd syntax error on compile, known good code
I'm using Visual C++ 2005 Express Edition to edit, and Visual C++ 2003 Toolkit to compile, using a makefile. The code I'm working on is from publicly released SDK for a game (Firaxis' Civilization IV). The code was written in Visual C++ 2003, thus the workaround. I've done a great deal of editing and have sucessfully compiled over 100 .dll's - just last night I produced a build, tested it in-game, and hit the sack. Now this morning using the SAME code I get a compile error: g:\Civ Downloads\Mod SDK\CvGameCoreDLL\CvUnit.h(741) : error C2061: syntax error : identifier 'BattleUnitTypes' Next I created a new project using the original source code, as a control test. Same error exactly. I'm using the same procedure that I have used ...Show All
Windows Forms System.Diagnostics Setup for WIndows Forms App Not Working
Hello, This is my configuration for the System.Diagnostics section of my windows application: < system.diagnostics > < sources > <!-- This section defines the logging configuration for My.Application.Log --> < source name = " DefaultSource " switchName = " DefaultSwitch " > < listeners > < add name = " FileLog " /> < add name = " EventLog " /> </ listeners > </ source > </ sources > < switches > < add name = " DefaultSwitch " value = " Information " /> </ switches > < sharedListeners > < add name = " FileLog " type = ...Show All
.NET Development Error while unloading appdomain. (Exception from HRESULT: 0x80131015)
Hi, I am developing a web base projecct, in which i get the all scanner device of client and show them in box. I am using vs2005.This project is running fine in vs2005.But it not running on default localhost.It give an error after 5 to 10 mint .The error is following. Error while unloading appdomain. (Exception from HRESULT: 0x80131015) System.CannotUnloadAppDomainException was unhandled Message="Error while unloading appdomain. (Exception from HRESULT: 0x80131015)" Source="mscorlib" StackTrace: at System.AppDomain.Unload(AppDomain domain) at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(Object state) at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state) at Sy ...Show All
Visual Studio Tools for Office using VSTO w/ ASP.Net 2.0
Hi, Newbie using VSTO and developing office applications. The task is to import and export data from and to database, but user can select from a list columns what they want to add, there will be a dialog will appear and allow user to select data to be included in a word document, how can this be done I installed PIA, VSTO2005SE w/ runtime, MS Office 2003 Web Components and will use MS Office 2003 (ver 11.0.7969.0) with ASP.Net 2.0. I tried some links and cannot find Actions Pane Control. What Am I missing Can anyone point me to some sample codes or resources to do this Thanks in advanced. den2005 Hi, Do anyone knows a link where I could download an evaluation copy of Full VSTO 2005 ...Show All
Visual Studio SP1 for ReportViewer Redistributable?
Hi Everyone. Now that VS.2005 SP1 is out and seems to include an updated ReportViewer control, is there an update to the ReportViewer Redistributable with those same fixes Our product installs this redistributable silently, and we render reports locally (i.e. RDLC), so installing the full Visual Studio service pack would not help us. Thanks for your help! Erik I have been able to get the latest SP fixes deployed by copying the following DLLs into the directory along with my .exe: -Microsoft.ReportViewer.Common.dll -Microsoft.ReportViewer.WinForms.dll -Microsoft.ReportViewer.ProcessingObjectModel. I got the first two from C:\Program Files\Microsoft Visual Studio 8\ReportViewer\. Getting the ...Show All
Visual Studio 2008 (Pre-release) Loading objects to ResourceDictionary from external XAML file
Lets say I have a ControlTemplate, or ResourceDictionary in somr XAML file. Is there a way to load this object into *another* ResourceDictionary. Important thing is that after loading this *another* dict must contain object of the same type as the root element of the external XAML file. any suggestions Thanks Anton http://msdn2.microsoft.com/en-us/library/system.windows.resourcedictionary.mergeddictionaries.aspx ...Show All
Smart Device Development Switching between Application forms and home page
Hello I have a problem When in a sub-screen within an application and pressing the Red Stop key, the control returns to the phone even though the application is still running. When returning to the application and pressing the “Back” button , the control again returns to the phone instead of to the higher-level screen. I need to go back into the application again in order to close that screen and the application. This process needs to be repeated for as many sub-screens as are in the call stack Is this possible..... Help me please Have you tried a KeyPress event handler on your sub-screens and looking for KeyChar value of 27 ('ESC' and 'BACK' - same value) You can set the event args Handled property to true a ...Show All
Windows Forms .NET evaluating web service date incorrectly--need help fast!
I'm receiving reports from my users that my application is handling dates incorrectly. I've confirmed that this is indeed happening for users outside of my network, but doesn't seem to be occurring with users on my local network. My application is a .NET 2.0 distributed app using .NET 2.0 web services for data access. It seems that any time I return a date from the web service, the application is for some reason subtracting 1 day from that date. For example, if I return information on a Customer, the web service response will give me a date such as: 2007-02-06T00:00:00-05:00 However, the program is displaying this as 2/5/2007. I'm not doing any sort of manipulation with the date. The web service returns a dataset, and I simply i ...Show All
SQL Server Service master Key and SQL Account password...
Wjen sql 2005 is installed a Service Master key is generated using the password of the account under which sql 2005 server runs. Suppose I use a domain account to run sql server. The account password will change every so often. I presume this change will not impact the validity of the existing Service master key and therefore any data indirectly encrypted by it. Am I correct Barkingdog ...Show All
Smart Device Development How to use "PC Card" adapters?
Hello, I am trying to add a "PC Card" - GPRS adaper to my Windows CE machine. When I plug the card, nothing shows up and if I try to create a new Dial-Up connection, only COM ports are listed as Modems. Do I need a WinCE driver for the GPRS adapter (Sony Ericsson GC79) Is there a built in driver for PC-Cards Should I expect some dialog from WINCE when poping the adapter This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software ...Show All
