Tamiri's Q&A profile
Visual FoxPro XML and .Net
I'm having an issue with sending XML from VFP to a .Net application. In VFP I create a cursor, populate some data, then use xmltocursor("mycursor","lcXml",1) to create an XML string. I then pass this string to the .NET app. The problem is that .NET complains about the string. (I also get the same error if I save the XML to a file) According to the intellisense, the third parameter of 1 is supposed to create xml that can be consumed by .net This does not seem to be the case. Here is the error I receive from .Net "Unexpected end of file while parsing Name has occurred. Line 1, position 6." Line 1: < xml version = "1.0" encoding="UTF-8" standalone="yes" I can cre ...Show All
Smart Device Development Rotating app in vb.net
Hello, Is there a sample out there in vb.net to rotate the screen for wm 5.0 I cannot seem to find anything. Any help we be appreciated. Thanks. John Alex, I agree with your comments and will make sure that I keep them to heart. As for my question is there a vb.net sample out there that you know of Thanks in advance. John ...Show All
Visual Studio Crysta report formula how can i get these value at a time memberID and BookID
i want to chek both memberID and BookID if memberID and bookID not match to the database the error message appear the code are given below this is seperate code but i want to get both values in the formula if both are not match the print error message or report does not show any value..... 'For Member ID If Memberid <> "" Then Try formula = "{Borrowers.MemberID}='" & Memberid & "'" Catch ex As Exception MessageBox.Show("Please enter correct ID", "Invalid ID") End Try End If 'For Book ID If BookID <> "" Then Try formula = "{Borrowers.BookID}='" & BookID & "'" Catch ...Show All
Visual Studio create directories
i know how to create file folders I've done it in the TFSBuild.proj, but now I'm working with the .wdproj and for some reason it doesn't do it <import .... <PropertyGroup> <!-- Set the output folder as a property --> <Property builtdir = "BuiltApp"/> </PropertyGroup> <Target Name="AfterBuild"> <MakeDir Directories= "$(builtdir)" Condition = "!Exists('$(builtdir)')"/> </Target> any suggestions thank you, cdoloriert Hi, Can you run msbuild /v:d > log.txt and attach the log.txt to the post. This will help give us more inforamtion on what error you are getting or if the AfterBuild target is being skipped ...Show All
Software Development for Windows Vista Performance problem
I have performance problem when working with wwf designer. It is too slow. I have Pentium D with 2 gb of ram memory. Maybe the problem is that I have Graphic card integrated, I don't know is the designer writen in wpf(does it require faster graphic card) Thanks, Indigo Cowboy Upgrading to the latest build, WF RC5, will give you better performance. Link to install RC5 can be found here . ...Show All
Visual Basic Why Does my Add Record not Save--See Code Inside
Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me .ClienteTableAdapter.Update( Me .BaseDeDatosPenaDataSet.Cliente) Me .BaseDeDatosPenaDataSet.AcceptChanges() Me .Update() 'Error is::::Update requires a valid DeleteCommand when passed DataRow collection with deleted rows. 'Error is ::::Update requires a valid UpdateCommand when passed DataRow collection with modified rows. End Sub ACCOUNTINGONLINE.US to update the datasource (Database i.e.) you have to set the Update/INSERT/DELETE Command for the adapter the DataAdapter's Update method calls the respective Insert, Update, or / and Delete for each inserted, updated &am ...Show All
SQL Server Unattended install of SSMS/BIDS after SQL Server Express
Hi, I'm currently trying to develop an unattended installation of the Client Tools to be distributed to developers workstations. All is well on 'clean' machines, but the problems arise when an instance of SQL Server Express is already present. The install fails, and the reason isn't clear from the log files. I know Express installs a couple of the Client Components (like Config Manager), and I believe this is what it blocking me. Has anyone tried this scenario Would I be best to REMOVE the Client_Components first, and then re-install them with SSMS etc. Or is there a better method I have to leave the Express Database instance untouched as I'm not responsible for its installation or maintenance. Thanks, Gordon. ...Show All
Visual Studio 2008 (Pre-release) Service Execution Location
I am juststarting with WCF. I have a client and Servcie with the servcie method PerformTask and accepts a DataContext class Task as parameter. When i call the method PerformTask with parameter Task from Client. where will the actual process executes either at the Machine that host Service or Machine that has the Client. If you're hosting your service in IIS then it will run inside of a worker process (aspnet_wp.exe or w3wp.exe). Otherwise if it's self-hosted it will run inside of your server exe. Thanks! Scott ...Show All
Visual C# What is Parsing error(CS8025)?
What is Parsing error(CS8025) What is the usual cause of it Flamethrower 5120 Tried it... I guess i'm screwed. i used mono for 2 reasons: 1. My VS .NET CD got destroyed, so I cant use WinForms without hell. 2. The computers im targetting are messed up and can't install .NET on them for some stupid reason. ...Show All
Visual Basic Graphics: smoothing problem
Hello, I would like to use the circular progress bar control that is shown on the Code Project site at this URL: http://www.codeproject.com/useritems/sql2005circularprogress.asp The control works well, but the inner circle is not smooth. This is especially evident when the control is enlarged. Any ideas how to make it smooth Thanks Tom Hi Mike, Thanks for taking time to reply to this question. I think I must be missing something. I tried to add the 5 lines at the end of the method CalculateSegments(). The e.Graphics.FillPie... would not compile there, so I put that line where the "e.Graphics.ExcludeClip(innerBackgroundRegion)" was and it compiled, but it did not create a ...Show All
Software Development for Windows Vista WER and missing information message
Hi, I have a problem running the Certified for Windows Vista testcase 32. I get the WER dialog and an error event in the application log but the information event log entry is missing. Oppening the eventviewer with administrator rights does not solve the problem. I am using x86 Vista RTM. What are the conditions for a crash to result in an information event from WER Rune I have found a workaround for the problem. I had configured internet access through a proxy server. What I needed to do was to open IE and, in the dialog which popped up, supply a password and click remember password. ...Show All
Windows Forms Dynamic Filling of TextBox AutoComplete not working
Hi guys, i would like to fill the textbox autocomplete stringcollection "on the fly" while typing. i don't want to fill the collection while initializing, 'cause it's too much data: the sql server-table has about 100.000+ rows. the filling takes too much time and the "autocomplete-popup-find-something-box" itself is getting too slow, too. my configuration: .NET-Framework: 2.0.50727, System.Windows.Forms.TextBox TextBox-Properties: AutoCompleteSource: CustomSource; AutoCompleteMode: Suggest i tried several different things... 1. i did put this code in the “TextChanged”-event, but i think it's 'too late' there: private void textTiteUltTest_TextChanged( object sender, EventArgs e) {   ...Show All
.NET Development Native Sybase ASA .NET data provider and VS2005
Hi All! I have Sybase ASA Net data provider installed, but VS doesn't support it. I can connect to Sybase server via ODBC, but I can't connect by native provider. Server Explorer - Data Connections doesn't contains Sybase driver in list of available data sources. Is this driver can be registered somewhere in VS to allow visual operation Thanks in advance, Alexander I believe that VS integration and driver support is different. Since you have the driver, it means that you can access the db with your app at runtime with this provider. For the Sybase db to be intergrated in VS, sybase or someone else would have to create a VS extension to provide that feature. You can look at the vs sdk documentation. Regards, ...Show All
Visual C# Drag and Drop
Hi I have to create windows app that's using drag and drop. For ex. i'd like to have small boxes on window app, each to have it's own functionality and parameters (which i can enter on texboxes that are on these small boxes), and by clicking and holding one of them i can drag it to some part of window, and then interconnect them (something like relational model -way, or workflow) Now for beginnig, I don't know which items from toolbox to use, is there some special package to install for these types Thanx, now i understand how drag&drop works, but how do i link boxes, i know there's command there, but what happenes when i use LINK, because what i'll need is that each of the boxes will perform some calculation and ...Show All
Smart Device Development Convert a bitmap to an icon in compact framework for ppc2003
Hi Everyone, I am trying to convert a imagelist image (a bitmap) to an icon so that I can use the graphics class to draw it with transparency. However I cannot work out how to convert a bitmap into an icon - I've found samples like this: Bitmap bitmap = new Bitmap(16, 16); [..] Icon icon = Icon.FromHandle(bitmap.GetHicon()); But this doesn't work as GetHicon is not supported in the CF. Any suggestions Regards Mike Oleary Hi, I am using .net 2 but the save method does not include a icon format option .....it supports all the common formats except icon :( ...Show All
