NetPochi's Q&A profile
Visual Studio 2008 (Pre-release) Bug in RichTextBox
Hi there, i have test and found that there's a problem with RichTextBox. If we bound a RichTextBox with a ScrollViewer then the text inside RichTextBox will not full-fill the RichTextBox, see picture for more Here is my test project, Please let me know if i make any mistakes, Thanks, Dat Dang nagu's solutio n would work. However, i am n ot sure of the use of scrollviewer here. RichTextBox already has a scrollviewer if that is the intention. ...Show All
Smart Device Development Opening Serial Port more than two times this error occures “The Port ‘COMx:’ does not exist”
Hi all! This is my first post here, but I am really baffled by this issue, so here goes, I hope someone can help. The hardware this is running on is an Axim X50 with WM 5.0. I am using a CF+ Serial Card as a com port. I have access to CompactFlash cards from Quatech as well as from Socket and Ratoc and have this problem with all of them. This program runs fine twice then when I start it a third time I get the error “Port ‘COM4:’ does not exist”. The com port exist in the list returned by GetPortNames. The code that I used to test this problem in a console application follows: Sub Main () ...Show All
SQL Server Genereal Qusestions
I understan that a mobile databse can not have all the functionaliy like a normal Sql server. Identity and more functions are not included. Is this something that will be i the next versions Have also seen people building classes called SqlCeHelper. Were funtions like @@ identiy is supported. Is there anyway to build these How do they work Thank you for answering my stupid questions Have a nice evening ! Cheers ! Latso, I'm not sure i understood your question very well. @@IDENTITY is very much supported in SSEv in select queries. If you can tell me what you are looking for specifically, i could be able to help you better. Thanks Pragya ...Show All
Windows Forms Windows form loading slowly
I have 40+ controls in a windows form. It takes time to load and one could see the controls loading/painting randomly and slowly. Is there a way to keep the controls in hidden state till all the controls are loading and then make them visible. Hello All. senthilnathan_1977: Try calling .SuspendLayout() on your form before adding the controls. After you have added them all, then call .ResumeLayout(). HTH. ...Show All
SQL Server dynamically created dataset
I am building a mailing list report. I have the report all built to display name, address, etc and this works well if i build the dataset in RS. Problem: I want to use this same report to build mailing list for any group of people the user selects while using a c# application. Question: Is there anyway to build a dataset in an application then send it to RS thanks lucas Hi, Starting with SQL Server 2005, Microsoft has added rdlc reports. These reports can be embedded within a C# application by using the reportviewer. Here is an example: http://msdn2.microsoft.com/en-us/library/ms251724(VS.80).aspx . References: http://msdn2.microsoft.com/en-us/library/ms251671(VS.80).aspx Greetz, G ...Show All
SQL Server BI Portal connected to analysis services 2005
Anyone has connected the bi portal with analisys services 2005 I have a security problem. Thanks I don't think http access will change much. The fact that Excel works, proves that You can authenticate to the AS server using your Windows credentials The OLEDB provider for Analysis Services 9.0 is setup and working correctly The cubes are processed and are available for querying. Just to double check, when you sat that you have "the last owc" I assume you mean that you have OWC 11.0 that comes with Excel 2003. I am also assuming from your earlier posts that you can actually see the OWC control and that the errors are appearing where the data is normally displayed. Do you have access to any oth ...Show All
Visual Studio 2008 (Pre-release) Accessing code behind objects
Hi, this is the XAML: < Window x:Class = "MyCompany.MyProductSpace.MyWindow " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:my = " clr-namespace:MyCompany.MyProductSpace " > < Window.Resources > < my:MyConverter x:Key = " myConverter " /> </ Window.Resources > This is the code behind: namespace MyCompany.MyProductSpace { [ ValueConversion ( typeof ( String ), typeof ( String ))] public class MyConverter : IValueConverter { ... } } And this is the error: error 4 Assembly '' was not found. The 'clr-namespace' URI refers to an assembly th ...Show All
SQL Server I need to know the data changes in some table on a row level
Hello Guys I have a table, contains some fileds When update statment runs, I need to know which columns has been changed and to know the old and the new data for each row simply i need to do the following in a trigger: For each row ROW in tbl_Table for each col COL in ROW Save COL.oldValue and COL.newValue I don't know how to do it by cursors and I don't want to use Cursors If any one can help or provide a good advice, please help Thanks and have a great day On the triggers use the following statements Insert Into SomeLogTable Select Deleted.*,'Old Value' RowStatus From Deleted Insert Into SomeLogTable Select Inserted.*,'New Value' RowStatus From Inserted ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Codeplex Team explorer
Is there a tutorial on how to release project files to codeplex from XNA environment I followed all the steps signed up for codeplex, installed team explorer, connected team explorer but i'm lost as to what to do next. do i upload the files one at a time from the codeplex website what about the solution files Is there a way to add the whole solution at once through teamexplorer Team Foundation Client does not integrate with C# Express so it does not work in the same IDE as XNA. You can however still check things in and out from a different IDE. Here are a couple of links where you could find some more information: http://teamsystemrocks.com/default.aspx http://www.codeplex.com/Wiki/View.aspx Project ...Show All
Visual Studio Team System Build/Deploy Failure - inconsistent contents?
Hi Using Visual Studion Team Suite 2005 we're unable to Build or Deploy a number of projects within a solution. The following error is produced at each attempt. Error: The internal state of the database project is inconsistent with its contents. Unload the project and then reload it to resolve the issue. Doing as advised, unloading and reloading the project, produces no improvement. Neither does creating a new solution with the same projects, nor deleting the local workspace copies of the projects and re-loading via the Source Control Explorer. The same projects can be deployed on an alternative PC, suggesting problems with the local copy, hence re-loading everything from source control. All other functionality works fin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Yet another tile game : Psykoban (Sokoban clone, source included)
This is the fourth game I've made using the XNA framework & GSE, this one is a sokoban clone (sokoban meaning warehouse keeper). The objective is simple, push the boxes/barrels in the appropriate locations to complete the level. But you can only move in one direction and can only push one box/barrel at a time. The game includes 12 levels, and unlike other clones having a character as the player, I used a forklift thing-a-ma-jig . Screenshots/Download Enjoy! Thanks Maximus, About the key(s) not registering, It'll only register if no other keys are pressed and the player isn't moving, I'll try to fix that. For the "hit Start", its mainly because the game can be played with the 360 controller.. maybe I should make a PC and a 360 v ...Show All
Visual Studio 2008 (Pre-release) How to generate a "services/service" element based on a WSDL using svcutil.exe
Is it possible to generate service side configuration files based on a WSDL description, using svcutil.exe I have a WSDL that describes a service and I want to create my own implementation of that service. Using svcutil.exe I'm able to create .cs files with the contract (data contract + service contract), however I didn't found a way to create a services/service element with the binding and the address. Pedro, that is right. Neither svcutil.exe nor the internal ServiceModel classes svcutil uses can do this. It was a feature cut for v1 and you need to either hand tweak the config or provide your own code e.g. based on XmlReader/XmlWriter to change the config. Cheers, Christian ...Show All
Visual Basic Reading/Writing INI Files
I Add this code in a Module And i wrote this file that i called "Italian.lng": [DATA] Field1 = Speaker <DllImport("kernel32.dll", SetLastError:=True)> _ Public Function WritePrivateProfileString _ (ByVal lpApplicationName As String, _ ByVal lpKeyName As String, _ ByVal lpString As String, _ ByVal lpFileName As String) _ As Integer End Function <DllImport("kernel32.dll", SetLastError:=True)> _ Public Function GetPrivateProfileString( _ ByVal lpAppName As String, _ ByVal lpKeyName As String, _ ByVal lpDefault As String, _ ByVal lpReturnedString As StringBuilder, _ ByVal nSize As Integer, _ ByVal ...Show All
.NET Development Strongly-typed dataset, primary key generated from tableAdapter.Update(ds) not passed to FK of related table
I have created a strongly typed dataset (CustomerDataset) with, for this scenario, 4 tables: Customer (CustomerID is PK) Account (AccountID is PK, CustomerID is FK) Invoice (InvoiceID is PK, AccountID is FK) AccountTransaction (AccountTransactionID is PK, InvoiceID is FK) Given that I am going to create a new Invoice row, consisting of all AccountTransaction rows that up until now had a null InvoiceID (i.e. transactions not yet invoiced). To create a new Invoice row, I write the following code: <code> CustomerDataset.InvoicesRow invoice = null; foreach (CustomerDataset.AccountsRow account in customer.GetAccountsRows()) { // create a new invoice invoice = CustomerDataset.Invoices.NewInvoicesRow(); invoice.Account ...Show All
Windows Forms TextBox problems help please
When i use the numericUpDown it inserts: border: 1px solid; ...But when i go to insert additional Text into textBox1 it just over writes the previous Text..Instead of putting in a new Line of text.. Example:: border:1px solid; background-image: \..\..\home.jpg Instead it just over writes the border:1px solid and not a new line of text..textBox1 does have a Vertical Scroll bar & is set to Multi-Line... any help with this issue is greatly appreciated..Thxs in Advance I just installed Internet Explorer 7 think thats the problem I need it to follow the Style Sheet I provided at the bottom of this Post.. The Code below is the Outcome of what i'm currently getting from the ...Show All
