createdbyx's Q&A profile
Software Development for Windows Vista INSTALLATION ERROR
Content of log files, [07/24/06,14:20:30] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [07/24/06,14:20:49] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 - was not attempted to be installed. This looks like an error installing .NET Framework 3.0. Can you please send me your error log (the error logs are in %temp%\dd_*.*) I'll pass it on to the correct people. ...Show All
Smart Device Development Windows Media Player control and Compact Framework 2.0
I am developing an app for PocketPC (Mobile 5, WMP10, VS2005, C#, CF2) that has to be able to playback wmv videos. Following Alex Feinman's directions ( MSDN , for example) I've been able to embed WMP10 control in a CF2 form and play videos. Well, till now I have just tested on emulator (device emulator 2.0 beta). My problem is that WMP control not behaves according to the changes I make on its properties. For example, If I change uimode property to none, WMP is supposed to hide playback&volume controls, but nothing happens. Fullscreen mode works but as I have not been able to catch click events, any click exits fullscreen and I didn't figure out yet how to detect that. Does anyone know if WMP10 control on PocketPC supports raising ev ...Show All
Windows Forms Update a form
I have the main form Form1 and I start Form2 to add an item to Form1. How can I update Form1 when I have selected the item. you can either create and raise events from form2 when you selected an item or you can pass a reference of the main form to form2, which will then call the reference and add the item or whatever. can you explain a bit further - what are these items what control you want form1 to have the item dealt with FROM form2 correct ...Show All
Visual Studio Can not deploy VS 2005/CR .Net web site
I am having a hard time deploying an intranet web site using the version of Crystal Reports that is bundled with Visual Studio 2005. I have created a deployment project, and added the reference to CrystalReportsRedist2005_x86.msm. I then ran the Setup.exe on my server. This would not allow me to view the Crystal Report. I found information that I need to make sure that IIS had a Virtual Directory called CrystalReportWebFormViewer3, and this is where the images need to be housed. I created this Virtual Directory, and moved over all of the files that were on my development machine in the same file. I even made sure that the ASP User had rights to the folder. My reports seem to run, but I can not see any images that CR places on ...Show All
Visual Studio 2008 (Pre-release) CollectionViewSource Problem
Hi Everyone, i hope someone out there is able to help me. I'm stuck with the CollectionViewSource of a ListView/GridView. Code for ListView and CollectionViewSource can be seen below. At Runtime i am adding ListViewItems to the grid. The Content of a ListViewItem is a XMLNode. The content of the XMLNode is as follows : <z:row ows_LinkFilename="Dok1.docx" ows_DocIcon="docx" ows_Modified="2007-02-09 10:29:37" xmlns:z="#RowsetSchema" /> How do I have to set the Source Property of the CollectionViewSource Object. This is driving me crazy!! Whatever i do i am not able to see the listview grouping !!! I greatly appreciate any help on this !!! TIA, Oliver I have the following ListView: ...Show All
.NET Development Sort ASC DataTable(s) in a DataSet???
Is it possiable to get a list of tables contained in a DataSet, sort them ascendingly, and bind them to a control such as a listbox. It's important that the listbox selected index match the table's index in the DataSet. Thanks in advance, J.G. You can use a sorted list, which is a sorted list of DictionaryEntries Dim mySL As New SortedList() For i As Integer = 0 To ds.Tables.Count - 1 mySL.Add(ds.Tables(i).TableName , i) Next listbox.Items.Clear() listbox.DataSource = mySL listbox.DataTextField = "key" listbox.DataValueField = "value" listbox.DataBind() The the listbox SelectedValue will be the index of the datatable ...Show All
Software Development for Windows Vista Recognize Pen or Mouse at Control.MouseEnter?
Hi @all! At the Control.MouseEnter-Event I need to know wether the Control was entered by a pen (Tablet SDK) oder mouse. Is there a way to achieve that The only way I can imagine is by putting an active InkCollector on the control, waiting for the NewInAirPAcket-Event to raise and check the PenID. But I don't want to have the InkCollector being enabled all the time. Furtermore you see the small pen tip after entering the Control, which doesn't look very professional but irritates the user. Any suggestion would be great! Thank you very much! Kind regards TopperDEL Hi Stefan! Thank you very much indeed for your help! It seems to me that this is exactly the solution to my problem. I'll try it. ...Show All
.NET Development Database Shema Deployement
Hi, Sorry for my last post in french. I'm in charge to manage de deplyement of an application developped in .NET 2005 based on SQL 2000 database. How can I manage the shema modification of the database ( Like new fields, length change of a text field, addition of a constraint ) Thank's Thank you for your post, But my goal is to manage the automatic deployement of the application based on SQL Database. For example : I deploy the Version 1 of my app on 10 custumers servers. From time to time, my dev team modify the shema of the database. Now the version 2 is ready to be deployed on some of my custumers. Is there a tool, or a way to generate an upgrade from the db of Version 1 to t ...Show All
Visual Basic [HELP!!]How do I solve the nonlinear equation f(x) = 0 ??
Hi, I am new to VB.Net. I am working on a program that needs to solve several one-variable nonlinear equations. For example, I have to solve f(x) = 0, where f(x) = c0 + c1*x + c2*x^2 + c3*x^3 + c4*x^4 - A c0, c1, ... c4 and A are constants. When given c0, c1, ..., c4 and A, the program should have the ability to solve f(x) = 0, and give back the value of x. At first, I try to use try-and-error process to find the roots of the equation, but it failed. I searched online to find if any codes are related to this subject. Unfortunately, I found nothing. So I ask for help here. If anyone can provide a useful algorithm for my question, it will be much appreciated. Thanks a lot for your help. I am using VB.Net 2003. ...Show All
Windows Forms Is there any option to read a specific column cell in datagridview?
I have faced a problem. I want to read a column but i failed. Is there any option to read a specific column from a datagridview Thanks Sagor maybe these will help. Public Sub TEST() Dim s As String Dim rowindex As Integer = 0 Dim columnindex As Integer = 0 'returns the value at the position x,y in the grid s = Me .Dgv1(columnindex, rowindex).Value s = Me .Dgv1.Rows(rowindex).Cells(columnindex).Value 'returns the value at of the currently selected row at columnindex s = Me .Dgv1.CurrentRow.Cells(columnindex).Value End Sub ...Show All
SQL Server WMI Data Reader Task Painfully slow
HI, I am query event log information for a single day using WMI Data reader task and it is taking for ever. I am querying event log for remote servers but the server exectuing the process and queried servers both are in the same domain. Kindly advise. Thanks Shafiq Update. I have been experimenting with the WMI data reader and it appears to be in the interaction of the WMI and the Server. In my case I am running the WMI query against a 2000 server. The WMI data reader task simply queries the security log and nothing else. I attempted to do the same query with power shell and it at first appears to work fine. However when I attempt to push the results to a file export it takes forever (.5 Meg per hour). During this ...Show All
SQL Server Backup and recovery of SQL Server using VB.net
Hi, I have a small application in which i'm using Sql Server as Database. my requirement is how to take the backup of the entire database or some tables from the database when there is any delete from the database. My requirement is to do from the VB.net application.Hope i delivered my question correctly. Any little help is beneficial to me. -regards GRK Ok, My code assumes that a database file is used. So in your case the GetDatabase method fails to find the db file from the connection string. Try replacing bkpDatabase . Database = GetDatabase ( dbCache . SqlConnection ); by bkpDatabase.Database = "myDb"; or better yet to modify the GetDatabase method to take into account the Initial Catalog key. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Custom Processors and Asset Duplication
This will probably be quite obvious once the answer is explained to me, but i am using a custom model processor, whenever i use it on .x models that are are added to the project (not just linked to but actually copied into projects directory) i get an error that more than one asset with that name is produced when i try to build, while if i use the custom processor on a model that is only linked from another project, it doesn't complain at all. How can i stop duplicates from occurring when i am using non-linked content (Thanks) Oh, right yeah, sorry, It extends the ModelProcessor class, overriding the Process method only: public override ModelContent Process(NodeContent input, Microsoft.Xna.Fram ...Show All
Visual C# Is there any tool functions as a switch in windows forms?
Hi,as stated in the subject, I want to know whether there is a control acts as a switch. Just like the one we use to open or close the light... Now I can only use two buttons. Each time only one button is enabled and when user clicks the active one, it will become disabled and the other one will be enabled...However, it is not so intuitionistic and a little bit strange... So does C# or visual studio offers such electrical tools Or I have to draw one by myself Is there any resource supplied for electrical GUI online Thanks a lot! You want it to actually look like a lightswitch For that, you'll have to make or find (at least) two images: one for on and one for off. Then use a picturebox and swap the picture when it is cli ...Show All
Windows Forms i want to add checkbox column in the datagrid can anyone tell me about it
i want to add checkbox column in the datagrid can anyone tell me about it. moreover how can i get the datasource in the datagrid this is my try. In this we get the checkbox but we cannot get the datasource value and all checkboxes are checked...please tell me about it Dim i As Integer mTable = objDB.GetData(strquery) DGrid.DataSource = mTable PercentageStatus_Col.MappingName = "PercentageStatus" PercentageStatus_Col.HeaderText = "Percentage Status" For i = 0 To mTable.Rows.Count - 1 If mTable.Rows(i).Item("PercentageStatus") = 1 Then PercentageStatus_Col.TrueValue = True End If If mTable.Rows(i).Item("PercentageStatus") = 0 Then PercentageStatus_Col.FalseV ...Show All
