hawkpie's Q&A profile
Windows Forms Click once not working
Hi, I'm trying out the click once, but eather I forget somethign or eather it is not working yet. When I try to open publish.htm it only opens an xml file. When I thry to publish on local htt (no HTTP server) then it seems to work also. I have no idea what I do wrong. I have uploaded a project (it is just a main form) to: http://www.mestdagh.biz/kieken If someone can see and eventueally can tell me Thanks.. It opens the welcome screen on publish.htm, but when I hit 'launch' then it just opens an XML file. I have the same problem on an ISP which i can not change there settings anybody solvd this Stev ...Show All
Visual C++ Help! LINK : fatal error LNK1181: cannot open input file
Im just a starter on Visual C++ 2005 and needs help from anyone. I renamed a form from its default (Form1 to frmMain) and now I encounter Link error. It says it cannot open the old resource file, but it should not be referenced anymore. Below is the build result. ------ Rebuild All started: Project: General Ledger, Configuration: Debug Win32 ------ Deleting intermediate and output files for project 'General Ledger', configuration 'Debug|Win32' Compiling... stdafx.cpp Compiling... General Ledger.cpp AssemblyInfo.cpp Generating Code... Compiling managed resources... Read in 3 resources from "c:\General Ledger\General Ledger\frmMain. ...Show All
Software Development for Windows Vista ActivityValidator
Hello, This my first time with custom activity what i want to do is simple am having a property in my custom activity called Text and i want to validate this property i don't want this property to be empty so i build my validator class [ ActivityValidator ( typeof ( MyValidatory ))] public partial class Activity1 : Activity { public static DependencyProperty TextProperty = DependencyProperty .Register( "Text" , typeof ( string ), typeof ( Activity1 )); private string _text; [ ValidationOption ( ValidationOption . Required )] public string Text { get { return ( string ) ba ...Show All
Windows Forms ViewState
I have a windows form where I'm trying to use ViewState but it's not working properly. do you have to enable ViewState in a config file or in the properties of the form Any examples would be great. thanks Serialization is the closest you come to viewstate in ASP.NET. You serialize the data in the class to disk. This can later be deserialized to create a new instance to contain same data as the time when it was serialized. http://msdn.microsoft.com/library/en-us/dnadvnet/html/vbnet09252001.asp frame=true ...Show All
Visual Basic BC30002: Type 'System.Net.Mail.MailMessage' is not defined
Hi all, I've just started developing with VS2005 Express beta 2 edition. I'm trying to get my app to send a mail to users on submit of their details, but when I try and run the app (before I even get to the submit button) I egt the above message. I attach a snippet of code: - try Dim objMsg As New System.Net.Mail.MailMessage(fromaddress, toaddress, subject, body) SendMail = True Dim mailClient As New System.Net.Mail.SmtpClient("smt ...Show All
Visual C++ NT service returns 80070003
Hello experts! I wrote a NT service that creates a text file in a folder specified in registry. To create a file, I use CAtlFile::Create method. The NT service is running under local system account. It works fine as long as the folder path specified is local hard drive. However if the folder path is changed to a network map drive and restart the service, CAtlFile::Create fails with error 80070003 (Path not found). I know this will happen if the computer is logged off because the mapped drive will disappear. But the problems happenes even though I logged on and I can see the folder and create a file there. I changed the servic ...Show All
Visual Basic VB2005 Express - Sub Main in Windows application
hi, Is it possible to use a custom Sub Main on a VB2005 Windows Application project It was possible to set the entry point to Sub Main manually in VS2003, however in 2005 I can only set it to start a form. Thanks, Hi Ryan, Well, in the full version of VS2005, you can. If you go into the project properties, you can uncheck the box labeled 'Enable Application Framework'. Once that's done, the 'Startup Form:' dropdown becomes a 'Startup Object:' dropdown, and you pick your sub mains and stuff. In VBExpress I'm not sure if it's the same deal - give it a try, and if not, then I guess you can't :) ...Show All
SQL Server Transactional Replication Error
Hello, I am a newbie to replication, I recently came up with this error. Cannot use DROP VIEW with 'dbo.vw_UndeliverableEmail' because 'dbo.vw_UndeliverableEmail' is a table.Use DROP TABLE. I tried running these two queries to make sure. SELECT * from syscomments where id = object_id('vw_UndeliverableEmail') sp_help vw_UndeliverableEmail I am sure that it is a view. I am not sure how to proceed since the object referred is indeed a view rather than a table as the Replication Error tries to point out. The details : SQL Server 2005 / Transactional Replication/ Pull Subscription Any thoughts/helps/suggestions are mos ...Show All
Windows Live Developer Forums Todd @ Devdays in Amsterdam question (about bots on MSN)
Hi Todd, On the devdays confernce today in Amsterdam you mentioned that to make a bot on MSN you could either go through the Partners, or you could also talk directly through MSN (but have some limitations then) and parse the send strings yourself. Now browsing the forums and the messages about the Bots I see no where mentioned that you can also do it yourself WITHOUT using these partner platforms. Could you clarify how and where I could download an SDK to talk directly to MSN myself and setup a bot Thanks in advance, Reinier v Vliet There is no SDK to talk directly to Messenger. SDK's ar ...Show All
Visual Studio Team System Create Private Accessor and generic collections?
Hi, the generated wrapper class to access private members doesn't contain any accessors for fields with a generic type, e.g. private Dictionary< string , CacheEntry> m_cache; Does anybody know a workaround for this problem Thanks, Andy Thanks for the answer, Michael. I really hope that some support will be included in the final release, since things like private generic Dictionaries used as internal data structures are likely to become common, we already use them extensively, for the usual reasons (type safety, performance). It would be a shame if it would not be possible to access ...Show All
SQL Server Copy tables on remote servers
Hi all, I'm trying to create a script / stored proc that copies one table from a remote server to another table on a different remote server. The approach I wanted to take was... create a stored proc that can be called remotely the stored proc tests to see if the table exists, if it does it is dropped, if not it is created new table structure and data copied from remote server A to remote server B ...I feel that this should be quite easy, but I must admit I'm struggling. Any help would be really appreciated. Cheers, Jon Thanks for your reply William. I have tried SELECT INTO... se ...Show All
SQL Server Database Diagrams - SQL Server 2005 Express
I have installed Visual Basic 2005 Express and SQL server 2005 Express. I am reading the ebook: "Microsoft Visual Basic 2005 Express Edition - Build a Program Now" that you download when you register the products (it is a PDF file named 6-2213-2.pdf) Page 139 of the book (or 151 in the file) is about "To Create Relationships between Tables". So I follow the instruction and get stuck on Step 1. When I right click on the Database Diagrams folder under CarTracker.mdf database and choose Add New Diagram I get the following message: --------------------------- Microsoft Visual Basic 2005 Express Edition --------------------------- This ...Show All
Visual Studio Express Editions Export string in textbox to a csv file
Dear all, I'm relatively new to C# so apologies if this seems like a dumb question. I need to export a string in a winform textbox control to a csv file. The csv file has already been created and resides on one of our servers. I need to append to the csv not create it from the app. There's loads of examples of how to export a dataset to a csv but I'm struggling with exporting just one single string. Once again, apologies if this sounds really dumb. Any help would be very much appreciated. Thank you for reading. Great, many thanks Frank. I've played about with your suggestions an ...Show All
SQL Server Merge 2 Databases?
My problem is this: I have a database file on a hard disk. I have to read that data and merge it into a database on a sql server. How can you merge The databases are set up the exact same way. The only difference in them is the data. Also, in the database file I have image names, I have to compare them to what is on the database on the sql server. Thanks There are many options. bcp out and in plain old T-SQL queries DTS (or ssis if SQL Server 2005) How much data are we talking about ...Show All
Visual Studio 2008 (Pre-release) Persistent installation errors with Beta2/RC0 : "Beta 2 was not attempted to be installed."
When I run the installer, it take about 10 miniutes of "installing" before there is an error, the error is below. I've seen that there are threads describing a similar error with earlier drops, but I didn't see any mention of a way out. I'm running on XP, I've run the removal tool but still I get the error. Has anyone else installed this drop on XP Is anyone else having this install problem with XP or other [05/24/06,12:27:29] Windows Communication Foundation Beta 2: [2] Error: Installation failed for component Windows Communication Foundation Beta 2. MSI returned error code 1603 [05/24/06,12:27:39] WapUI: [2] DepCheck ...Show All
