cville's Q&A profile
Windows Forms Deployment Promotion Question
Our current deployment environment consists of a Development, Acceptance and Production server. The process is that I deploy to the Development server via ClickOnce for general testing. The idea then is that the deployment get migrated up to the Acceptance server for QA to test. Finally, the deployment would be migrated to Production. Is this really possible with ClickOnce since the manifest contains the initial deployment location (Developme ...Show All
Visual C++ compiling vc++ code in VS 2005 error LNK2001: unresolved external symbol
hi While compiling my vc++ application in VS 2005. i faced the link errorsas following. Any help will really help me a lot. 1 file(s) copied. link /NOLOGO /SUBSYSTEM:windows /DLL /INCREMENTAL:no /MAP:FULL /OPT:REF /DEBUGTYPE:CV /IMPLIB:..\DBG\TmtData.LIB /MAP:TmtData.map /OUT:..\DBG\TmtData. DLL @TmtData.files /BASE:@t:\tcomponents\Make\TmtCommon.Lod,TmtData Creating library ..\DBG\TmtData.LIB and object ..\DBG\TmtData.exp tcbs ...Show All
Smart Device Development Connecting to SQL Server using Smart Device Application
Hi, I'm developing a smart device application (Visual Studio 2005 C#.Net) for a Windows CE 5.0 Device. Is it possible to connect to the sql server on the server directly using the device I don't want to create any table(s) on the device itself, just want to directly connect to the sql server over the network. If it is, is there any place that I can find sample code for it Thank you in advance, Niki ...Show All
Windows Forms Clickonce online problem : Cannot download the application
Hi, I made a small Windows forms app that I published with no problem as a disk install using clickonce. However when I tried to make that app available as an online only launch, I ran into problems. Namely I get a 'Cannot download the application. The application is missing required files. Contact applicatio vendor for assistance (sic!)" message. I notice something strange in the log : the url of the download start is correct ( ...Show All
Windows Forms Can't hide base class properties
I have two controls in a DLL; one inherits from Control and the other from Form. In both cases I'd like to hide base class properties that don't make sense for the control (e.g. AllowDrop). I've read Ray Hayes' thread on Hiding Properties and tried the following: <Browsable(False), _ DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), _ Edit ...Show All
.NET Development Mass mailing in C#.
How can we send mails by bypassing SMTP relay server in c# Will it speed up the process of sending mails or not If anybody have knowlege regarding this plz reply ASAP. What do u mean by bypassing the smtp relay Depends on how u want to send the mail ... put everybody in the mailto list, or new mail to each person. [code] // Create the mail message MailMessage message = new MailMessage (); message.To.Add(manager ...Show All
SQL Server SMO Method Performance
I've run a series of performance tests on a test app that uses smo for creating sql server tables (including columns, indexes, triggers, and foreign keys) and stored procedures (including parameters). On a 2.7GHz machine with 512MB ram (both app and Sql Server running locally), the series of tests yielded the following results: Table.Create() 0.3 ==> 0.6 seconds PrimaryKeyIndex.Create() 0.7 ==> 0.9 seconds Trigger.Create() ~0.0 ...Show All
Software Development for Windows Vista Workflow & Business Logic and Data Access Layer Best Practices
I am currently developing an purchasing application that has an assembly exposing its data access layer. Objects in the data access layer implement standard C.R.U.D functionality via ORM. The objects also exposes datasets. 1. Can anyone tell me how best to implement WWF and DAL interaction. Do I need to create custom activities such as GetOrders, CreateOrders etc. (exactly what's exposed in the DAL already) 2. Do I create 4 custom activites, o ...Show All
Visual C# Passing the managed class(with array of stuct as member) to unmanaged function
I want to pass the managed class to the unmanaged function. The managed class contain the array of struct. Following is the class and struct declaration. [StructLayout(LayoutKind.Sequential)] public struct first { public int One; public string str; } [StructLayout(LayoutKind.Sequential)] public class MyClass { private int test; private bool Boolean; private int Integer; [MarshalAs(Unmanage ...Show All
Windows Forms Binding DataGridView to Junction (many-to-many) table.
Hi. How do I bind a DataGridView to a junction (many-to-many) table in a way that the DGV displays data from the lookup tables being joined by the junction table I have worked with the DGV column types such as DataGridViewComboBoxColumn but haven't been able to get them to work in this complicated scenario. I'd like the user to be able to select values (being displayed in DataGridViewComboBox columns) from the lo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Design Surface Problem
i've tried XNA build and i love it because it is simple and powerful. my problem is how to get the design surface to show up again if they are closed, i tried to find one but it looks like there isn't any!! another question about the arm explorer ,it include a feature of creating the armproj file but after i create it it looks that i cann't add files or define relation ship or any thing else.is this intentional when a version like this wi ...Show All
.NET Development Get the new primary keys of inserted records using web services
Hello, I'm developing a web services application with VS2005 and .NET 2.0 and I'm having the following problem: Suppose I have a dataset on the server. I use a TableAdapter to Fill() it and I send it to the client using a web service. In the client I add new records, and the primary key of those records, because its an autoinc column, goes -1, -2, etc. When I send these records to the server using again a web service, I only send th ...Show All
Windows Forms Performing mouse click in C#
Let's say for example that my mouse cursor is over some control. (e.g Button). I want to write a code that tells my cursor to perform click. Like raising event Cursor.Click() or something. Or if that's not possible - then for the specific control li ...Show All
SQL Server Appending to a recordset destination
Hi, We have a data-flow that extracts from a raw file and inserts into a datareader destination. The data-flow requires DelayValidation=TRUE because of the raw file source ( http://blogs.conchango.com/jamiethomson/archive/2005/12/01/2443.aspx ) Unfortunately it also requires DelayValidation=FALSE because of the Datareader destination ( http://blogs.conchango.com/jamiethomson/archive/2005/10/20/2284.aspx ) So basically we can't do it this wa ...Show All
SQL Server SOS..Pagination issues.. help needed
Hi My report consists of multiple sub reports . The report seems to be breaking up ( creating a page break) in the middle of nowhere on the master. I have checked the sub reports for page break settings, played around with the page layout properties but couldnt make it stop breaking. In the xml, I noticed a tag called <InteractiveHeight> set to 11in by default. Changing this seems to resolve the issue but I dont know whether it will break ...Show All
