rwrench's Q&A profile
Smart Device Development CABWIZ/Makecab problems
Hi all, I'm having trouble building a CAB file for a CF 2 project. Done the usual steps, Added a Smart Device Deployment project to my solution, set its propertys, go to build and Always get back a message saying ; Error: CAB file "C:\Documents and Settings\DAVE\My Documents\Visual Studio 2005 \Projects\Project1\DeploymentCAB\Release\Project1. CAB " could not be created It's really annoying, I dont want to have to go back to us ...Show All
Visual Studio ".exclude" files in web project are themselves getting added to Source Control
Hi, I have read various posts about how it's not possible to exclude files from a Web project in the way we could with VS 2003. A bit of a pain in some circumstances, but fair enough. However, the exception to this rule is the dlls in the bin folder, because VS generates associated " .refresh " and " .exclude " files for these files, which in turn should cause them to be excluded. (Happy to be corrected if I'm wrong on this point) However, ...Show All
SQL Server isNumeric() - it can not be right?
hi, i am migrating data from a legacy system with a not nice front-end. as a result, i have all sorts of garbage stored on the tables. i am trying to convert values from varchar(12) to float, but i have an error during selecting data that says that data can not be converted eventhough i am using the ISNUMERIC() function to ...Show All
Visual Basic Writing a .INI file
Hi, I need help! Okay, a program that I work with uses a setup.ini file that I have to write each time, as a novice VB user I wrote a program to write the .ini file but when it writes it, the program can't read it. The only way it'll work is for me to open it in a text editor then save it. This is what i'm using at the moment to write it as it uses some input from text boxes. Can someone tell me how to succesfully write a .ini file. ...Show All
Visual Basic Getting file type
Hi! I want to retrieve de filetype of a file as a string in my app. This is what i use: Dim infofile As System.IO.FileInfo infofile = FileIO.FileSystem.GetFileInfo( "c:\tmp.txt" ) this way i can only get the extension .txt How to retrieve full extension description like "text document" or "Winzip archive" instead of ".zip" and so on... thank You can use the following code in v1.1 st ...Show All
Visual Studio AssemblyInfo task
I am trying to use the AssemblyInfo task in my team build, from this blog: http://blogs.msdn.com/msbuild/archive/2005/11/11/491947.aspx A few questions: - rather than editing each .vb/.csproj file, is there a way to set assemblyinfo details across all assemblies in a team build - what about web apps that dont have an assemblyinfo file - is there an easy way to use the $(BuildNumber) property in Team Build as the assembly version n ...Show All
SQL Server Moving SQL 7 DB to different machine SQL2000
have a SQL 7 db with stored procedures and tables and have to move it to another box with SQL2000, what is the cleanest way to do this backup and restore 2000 should detect that the mdf and ldf belong to older version of MSSQL and will ask if you want to convert to newer version code. BEAWARE******But there are chances that you might see some change in functionality****** ...Show All
SQL Server login windows authentication problem
Hi, I have a problem with sql server 2005 express, when i try to connect to an sql database it says login: is not a trusted connection to an sql database. I have gone into reg edit and changed the authentication setting from windows oly mode 1 to mixed mode 2. It still has the same problem, does anyone have any idea what the problem may be kind regards Chris J Did you restart the service HTH, Jens Sues ...Show All
Visual Studio 2008 (Pre-release) 3D line with Shadow effect
Hello there. How do I create 3D line (should I use a special Brush for that) I'd like my line to be some sort of a cord with the shadow effect. thanks Hi Alex, Try looking at the samples linked off of Mike's website, he has some great examples of 3D-like XAML. He wrote an AdobeIllustrator-->XAML exporter, which you can use for your own icon. http://ww ...Show All
Windows Forms KB 912019
Hello, I have a problem described here: http://support.microsoft.com/kb/912019/en-us Does anybody know how to get this hotfix (KB 912019) See http://support.microsoft.com/contactus/ ws=support for details on contacting customer support. Tell them you need the hotfix for KB 912019. ...Show All
Windows Forms concat a variable into a control
Hi I have a problem in my code, i create an object and i try to concat it to an sql command like a control but i get the next error: Invalid Object Name Combobox1.SelectedItem.ToString() here is the code cmd.CommandType = CommandType.Text Di ...Show All
Visual Studio 2008 (Pre-release) Convert Animation from XAML to C#
I’m trying to convert this XAML code to C# code, to be able to add my animations at runtime. What happens is that the C# code is semantically correct, but the “c# animation” does not begin. The same XAML code works instead. Am I missing something Thanks Giorgio I'm not up to speed on WPF animation, but try attaching it to your UI, worked for me when I translated animation from XAML to C#. Name the rectangl ...Show All
.NET Development problem with dropdownlist
hi all in my application i have a drop down list to select date that is filled dynamically based on todays date and the next week and i use this code to fill it private void initializeDate() { DateTime date = new DateTime(DateTime.Today.Year,DateTime.Today.Month,DateTime.Today.Day); for ( int i = 0; i<7; i++) StartDateDropDownList.Items.Add(Convert.ToDateTime(date.AddDays(i)).ToShortDateString()); } the problem ...Show All
Visual Studio What does VBProjectProperties3.MyApplication return?
I can get a hold of the Myapplication property via Project.Properties.Item("MyApplication").Value but I have no idea what kind of object it is and whether or not it is useful to determine what are the members and events in My.Application. I'd like to add code to a couple of application events (startup and shutdown) so I need to generate code as if the user has clicked "View Assembly Events" button on the project properties ...Show All
Windows Forms using nodes vb 2005 EXP
I would like to use the tree view control to open: My .Computer.Audio.Play( "C:\....\.....wav" ) TextBox1.Text = My .Computer.FileSystem.ReadAllText( "C:\....\....txt" ) PictureBox1.Image = Image.FromFile( "C:\....\.....gif" ) I could use labels, etc. but I would like to use the tree view. When selecting a node I would like to open a .txt, .gif, and a .wav file in a windows form. Is this possible ...Show All
