Harry Hunt's Q&A profile
Visual Studio 2008 (Pre-release) Image resources, databound
Hi, If I set the application icon in the project properties, How can I load it to the WPF window icon Can I store the graphics in XAML How can I set the graphics in databound control item, eg. in treeview/listbox etc (both one for all or different in correspondence with data item) Thanks, Jan Okay, imagine I have ListBox populated from xml data. <person> <name>Carl Zeiss</name <sex>male</sex> </person> <person> ... No, I want to display green buddy icon for mens, red for womens. Where should I store that icons and how can I realize this in DataTemplate of ListBox.ItemTemplate Jan ...Show All
Visual C# how to display dropdownlist to form
Hello. Can anyone tell me how to display DropDownList item to form In the button click event, I wrote the code like; (in the list has PointGuard, ShootingGuard, SmallForward, PowerForward, Center in order) string position = DropDownList1.SelectedValue; Label1.Text = position. If I did this, it displays "PointGuard" which is the index is 0. I tried with DropDownList1.SelectedIndex, it shows 0 also. I appreciate for help. ...Show All
Visual Basic Maximize button for Query Builder
For those of use who depend onthe VS05 IDE to work with SQL express, it would be expresmently helpful if you would add a maximize button to the Table Adapter Query Configuration wizzard and the Query Builder dialog boxes. There default is way to small to be usefull. Can someone forward this thought to the appropriate people as Microsoft As an aternative, is there a way to set the default size that these dialog start as I would probably want full screen. Please adivse. Thanks for your help. bob ...Show All
SQL Server rsReportNotReady Error
I have rs2005 installed. I created some reports through SQL Server Business Intelligence Development Studio. I can preview reports fine in the studio. But after deploying it, on //localhost/reports, when I click the report, it takes a while to calculate and then give me error: "An internal error occurred on the report server. See the error log for more details. " The weird thing is if I restart report service, it will display report fine on the first time, then fail on the following attempts. Here is what's in the log file SQLDUMPER_ERRORLOG.log 03/20/06 16:48:18, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () failed (00000514) 03/20/06 16:48:18, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplie ...Show All
Visual C# How to System.Net.Mail interfacing with MS Exchange?
Hi there, I have searched the forums about this topic, but I have not read a very good answer... I want to use System.Net.Mail to interface with MS Exchange in a corporate LAN. Is this possible If so, how can I trigger it Thanks, Ke The SmtpClient class relies on SMTP to communicate with a mail server. Exchange Server supports this but it is common for the service providing SMTP to be disabled and inaccessible to clients as Outlook and Exchange favor MAPI for communication. Your best bet is to speak to the Exchange administrator and ask him or her to enable SMTP support. At that point you simply need to make sure you have the appropriate credentials and connection information (hostname and port numbe ...Show All
SQL Server custom plugin error: how to pass information to Mining Model Viewer?
Good morning, Well... As I said in other topics, I'm doing a clustering plugin for text mining. I'm facing many problems and, with your help, solving them one by one. First of all, thanks a lot again. Well... I've made a clustering function that is actually working very well. But I'm exporting its results to a log file I use as an algorithm trace for debugging. My clustering method returns a vector containing information of what cluster each register belongs. For instance: vector[0] = 1 -> The register of index 0 belongs to cluster 1. vector[1] = 9 -> The register of index 1 belongs to cluster 9. vector[2] = 2 -> The register of index 2 belongs to cluster 2. ... And so on. But... I know ...Show All
SQL Server replace missing data
I am working with a database containing time series data. In many, cases there is missing data. For example, while there might be a value for 2001-01-01T23:00:00, there is none for 2001-01-01T23:0100 (one minute later). I would like to replace the missing data with data from the previous record (if the previous record is the same date). Is that possible with T-SQL Missing means there is no record for a specific datetime value. There is no null because the record does not exist. ...Show All
.NET Development Colormatrix class usage
hi, Is it possible to do contrast opration on the image using colormatrix class. i mean, ColorMatrix myColorMatrix = new ColorMatrix(); myColorMatrix.Matrix00 = 1.0f; .......... .............. .............. thanks in advance. Singam thanks for ur reply. How to set the ColorMatrix elements, which has Matrix00,matrix11...etc.. what values we have to set for the colormatrix properties , inorder to achieve Contrast Brightness Hue Saturation Sharpness ...Show All
Visual Studio Express Editions Newbee needs help creating COM dll
Hi, I want to try to create a COM dll for database transactions. I going to use it in my ASP (VBScript) project. Does anyone know where I could find a tutorial for this Thanks! You can do it in C#, although I'm not sure if the Express edition supports it. Start reading here ... ...Show All
SQL Server Merge Replication differences between SQL 2000 and SQL 2005
We have developed a mobile system that uses merge replication for SQL Mobile to SQL 2005. Previously we have developed mutliple mobile systems using merge replication for SQL Ce to SQL 2000. Based on the knowledge we had gathered over about 4 years, we applied the synchronisation parameters for the SQL 2005 solution as we would for the SQL 2000 solution. We have found there are some differences. Not too surprising I suppose, only some of these have us a little baffled. For instance, there was a little flag called keep_partition_changes in SQL 2000 that is supposedly superceded by the use_partition_groups flag. However, if you don't set up your filtering to conform to the standards required by the use_pre_computed_partitions flag if you wa ...Show All
Visual Studio Express Editions Matrix free function problem
Hi everyone, My program creates a matrix with the specified size. And it also some additional function that can free the matrix. However, when I call the below main function, my free function does not work properly so how can I fix it For example the outpt that I gave when I ran the below application; Sorry,we can not perform the add operation since the sizes of matrices are different 1 2 3 4 2 5 6 7 3 6 8 9 4 7 9 10 0134526920134526944134526968 134526920 5 6 7 134526944 6 8 9 134526968 7 9 10 so how can I correct this 0134526920134526944134526968 134526920 5 6 7 134526944 6 8 9 134526968 7 9 10 The codes for .cpp file; #include ...Show All
Visual Studio Team System Error in Automated Unit Testing in Nightly Build
Hello All, I get the following errors in my nightly builds: C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : Warning: Test Run deployment issue: The assembly or module 'System.Windows.Forms' directly or indirectly referenced by test assembly 'c:\joshuanightlybuild\joshua\nightly build\binaries\release\eismainapptest.dll' was not found. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : Warning: Test Run deployment issue: The assembly or module 'System.Drawing' directly or indirectly referenced by test assembly 'c:\joshuanightlybuild\joshua\nightly build\binaries\release\eismainapptest.dll' was ...Show All
Windows Forms Setting text programmatically of a databound textbox
I've a TextBox which is bound to a BindingSource object and use a customer object as the datasource. I found a strange behavior when I change the text of the TextBox programmatically, it does not update the object bound behind after text is changed. Customer customer = new Customer; customer.CustomerNo = "123"; bindingSource1.DataSource = customer; textBox1.DataBindings.Add("Text", bindingSource1, "CustomerNo"); MessageBox.Show(customer.CustomerNo); // display "123" textBox1.Text = "ABC"; MessageBox.Show(customer.CustomerNo); // display "123" too However, if I focus the TextBox and leave it, it will update new value "ABC" to the object. I want to know that if I sho ...Show All
SQL Server is SSIS wonderful?
Hi guys, I'm using sql 2000 now but eventually will upgrade existing server to sql 2005. currently we only have OLTP dbs. I would like to set up data warehouse & OLAP functionality to drive reporting from the system, is SSIS the product I need can you please give me the suggestions regards I've been using SSIS for a couple of months now and have grown to like it. I'm using it for exactly what you mention -- importing data from (multiple) OLTP databases into a relational data warehouse. The visual designer is very useful since you can easily see how the data is flowing while running the package. And data viewers are a terrific debugging tool since you can see the data at diffe ...Show All
Visual Studio 2008 (Pre-release) How to create AppBar without SHAppBarMessage?
Hi all, I am currently developing a "Windows Application" project. I need to create an Application Desktop ToolBar (AppBar) with WPF (using C#) without using the System API (to be more precise, without importing SHAppBarMessage API). Is It possible And, if so, how Thanks in advance, Null May be, it can help: http://www.sellsbrothers.com/tools/genghis/ In this library there is a component to create AppBar in managed code. My best regards, OldDino ...Show All
