anonymizer's Q&A profile
Software Development for Windows Vista Compilation failed for Travel Demo
On compiling the Travel Application Demo , which I had downloaded from http://www.windowsworkflow.net/default.aspx tabindex=4&tabid=49 , the following error appears: Error 1 Compilation failed. Value cannot be null. Parameter name: name C:\Trav\TravelApplication 0 0 By double clicking this error a message box appears having the following message: Cannot open File 'C:\Trav\TravelApplication'. Verify that the file still exists and then try again. Has anyone encountered the same error, or could anyone help me to run this application. Thanks, Thanks that was definitely helpful. I r ...Show All
Visual Studio February CTP of DSL Tools is live in the Visual Studio 2005 SDK February 2006 CTP
I'm pleased to announce that DSL Tools is fully integrated into the February 2006 CTP of the Visual Studio 2005 SDK V2 which is now live at http://affiliate.vsipmembers.com/affiliate/downloadfiles.aspx This means that there's now only one download required for DSL Tools customers to get the SDK, Tools, Documentation and Samples. The integration of all our piece parts is the major change in this release, but there are one or two bug fixes and a new sample showing how to create a custom XML Directive Processor for T4 Text Templates. We're just finishing up a release for May, which includes a lot of ...Show All
.NET Development control XML serialization
hi, Do u guys know how to control the XMLserializer, any attributes or methods to get the XML output like shown below <root> <abc id="1" name = "john">123456</abc> </root> Thank you Your class will need to implement System.Xml.Serialization.IXmlSerializable. Add code to read and write Xml in the manner that you desire. In the WriteXml method you'll have something like the following: writer.WriteStartElement("abc") writer.WriteAttributeString("id", "1") writer.WriteAttributeString("name", "john") writer.WriteValue("123456") wr ...Show All
.NET Development Binding Business Object Properties to RDBMS Tables
(I'm asking this from a newbie knowledge base --- here goes:) What is the general solution in .NET for binding business object properties (and perhaps complicated structures, like a collection of collections) to RDBMS tables 1) I see the value of ObjectDataSource for automagically binding buisness object properties to databound controls...is there something analogous to binding business object properties to DB tables 2) Or must this be done "manually": first bind the DB table to a dataset, then move the dataset into the business object data structure, using custom code par ...Show All
Visual Studio Dependant project items
I'm building a custom form editor. For now, this editor generates xaml look-a-like language and the output is saved in a file whose extension is registered by this editor. These files can be added to a project using vs templates. Now I want to generate code-behind for my designed controls and this code behind will be saved inside a new (.cs) file. My goal is to visually show this code-behind file under the xaml file in the solution explorer (exactly the same as with the win form designer which has two .cs files and one is dependant upon other). How can I achieve this Can this be achieved through vs template (this is pro ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxion "There is something wrong with the PictureBox(i).image" doesn't really give much idea of the problem you are having. Have you created an Array called ...Show All
Visual Studio Express Editions Installing PSDK for vc++
I have sucessfully downloaded and installed vc++ express and registered it. I want to develop a graphical win32 app but there is no standard project template to do this. I read an article saying i should download PSDK so i have done that i downloaded x86 version and have sp2 and fully updated winxp about 2/3 through installation i get the error 1330 C:\WINDOWS\Installer\MSI67.tmp invalid digital siginal corrupt cabinet file. Plz help. I am a new programmer and am a student at high school in the UK we dont use vc++ at school and only program in basic but would like to develop visual applications for windows and heard vc++ is the best around. ...Show All
Visual Basic Writing to files
Hi, I`m learning Microsoft Visual Studio Express Edition and trying to work out how to write a line of text to a file each time the application is closed. Please see my code so far below: '***** Declarations ***** 'Info stored in *.dat files Dim T1 As String = "C:\T1.dat" Dim T2 As String = "C:\T2.dat" 'End Application Private Sub cmdExit_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdExit.Click My.Computer.FileSystem.WriteAllText(T1, TextBox1.Text, False, encoding) My.Computer.FileSystem.WriteAllText(T2, TextBox2.Text, False, encoding) The code above on ...Show All
Windows Forms DataGridView cell editing
Hello, In Microsoft Excel last versions, when editing a cell, if you are entering a value which size is larger than the cell size, the cell pass over the others and becomes dynamically as large as the value in order to see all the value (for example if it's a huge string it allows to see it entirely). Does the DataGridView provides a feature like this Thank you :) Alex Bell This is my implementation. There seems to be a few problems with wrapping but. public class MemoCell : DataGridViewTextBoxCell { public override void InitializeEditingControl( int rowIndex, object initialForma ...Show All
Smart Device Development How to make ListView's, ImageList, TextBoxes, etc respect User Settings (themes, etc)
Hi, In Compact Framework 1.0, how do I ListView's, ImageList, TextBoxes, etc respect User Settings (themes, etc) on SmartPhones and PocketPC's When I test things, it seems like that onscreen controls uses defaults, even when the user settings specifies very different appearances (such as Large Font via Accessbility) Is this necessary for "Designed for Windows Mobile" compliance, where applications must respect user settings The NETCF controls are just managed wrappers of the native controls. They behave just like the native controls. I do not believe this is a blocker for logo ...Show All
.NET Development [Metadata] Getting an mdTypeDef for the type of a field
Given an mdFieldDef, is there a way to get an mdTypeDef for the type of the field the mdFieldDef represents IE: public class Foo { public Bar Bat; } If I have an mdFieldDef for the Bat field, can I get a mdTypeDef corresponding to the Bar type Just curious, how do you get mdFieldDef in the first place One possible way to solve your problem could be: token -> FieldInfo -> Get the FieldType -> Get the fieldType.MetadataToken ...Show All
Visual C++ Compiling with Platform SDK - doen'ts understand BOOL and WINAPI etc.
I downloaded VC++ 2005 Beta 2 & the Platform SDK. I'm having trouble compiling. I generated a console application. My program has this include: #include "stdafx.h" Inside sdtafx.h I have this code: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include <stdio.h> #include <tchar.h> // TODO: reference additional headers your program requires here #include <psapi.h> When I try t ...Show All
Visual Studio Express Editions usefull for development
Hi, i need ti develop a software,client-server,can i use visual c# express to develop a full fledged application any issues i can face thks Hi, Visual Studio Express edition is the best choice for students, or for individuals who work from home, on personal projects, and don't want to use Visual Source Safe, or Team Foundation server... Some other limitations in Express Edition are: - you don't have support for Mobile Device development; - you don't have the full MSDN documentation; - you don't have the class designer; - you cannot debug remotely; - you don't have code profiling, code analysis, unit tes ...Show All
Visual C# The Windows Contextmenu
Could some please tell me how or point me to a tutorial on adding ''folders'' to the windows contextmenu. Like 7-zip has done: I understand that you have to make changes in the registry although i am unsure on what i should be changing, i can successfully edit the registry to display a file on the contextmenu, although that is only 1file and not a folder full of them, I would appreciate any help i can get on this matter, P.s. im using Visual C# 2005 Express Edition You should take a look at this: http://www.pek.com/blogs/pek/archives/2005/02/c_explorer_cont.php I think you can download a nice sample there, also some ...Show All
SQL Server FTP Task issue
The FTP Task I've created fails. It appears to be making the connection initially behind a firewall, but it suddenly switches from port 21 to port 3397. Anyone experience this issue Since my firewall is restricting the connection to just port 21, I can't make a permanent connection. FTP use 2 ports for it work - one for control connection (21) and one for data connection (any other, 3397 in your case, but may be other). ...Show All
