Yuriy T's Q&A profile
Visual Studio 2008 (Pre-release) Knowntypes from configuration
Hi I have been trying to setup known types using the app.config file. According to the intellisense I'm not suppose to use the 'declaredtype' element, which is contrary to the winfx help. Where can I find a working sample for this Thanks Hello, I've come across a nice set of samples. One of them might be useful. Check this link: http://www.idesign.net/idesign/DesktopDefault.aspx tabindex=-1&t ...Show All
.NET Development Appending from file to file
Hi, Im having a lil problem with 2 xml files. Im trying to append from file to file with C#. One xml file is on my pc, the other one is on the server. The xml file on the server gets input for appointments. They look like this: [code] < xml version="1.0" standalone="yes" > <Agenda> <Appointment> <Id> 1 </Id> <Date> 20060604 </Date> <Time> 120000 </Time> <Subject> whatever </Subje ...Show All
Visual Studio Team System C# or VB.NET
It seems to me that all the code examples shown here and in the documentation are all based on C#. My client is completely standardized on VB.NET for all its developement and we are bound to this standard as well. For us, it would be nice if the examples were also available in VB.NET. Does anyone else feel that way or do we just have to bite the bullet and go for C# when we create tests Hi Roland, Yes, I ...Show All
Windows Forms Databinding and changing Textbox value
Hello to all, I have a form with textboxes binded to a datatable. When I change the TextBox value typing something and calling dsCustomers.Customers.Rows(0).EndEdit() method, the datarow is modified correctly, and Update(Dataset) works fine. Instead of that, I added tw ...Show All
Software Development for Windows Vista general mobile Q: realplayer?!!
hi, why microsoft dose not have a WIndows Mobile General Forum anyway... can anyone tell me how can I play realplayer on WIndows Mobile for SmartPhone !! Jassim, Thanks for your post. This forum is patrolled by folks who are experts in developing apps that run on Windows Vista mobile devices (e.g. laptops, Tablet PCs). For Windows Mobile and Pocket PC questions, I suggest posting to one of the Pocket PC for ...Show All
Visual Studio Express Editions Error with && operand
Hi!! I’m very, very newbie ic C#. I’m getting error with this piece of code I get the following error: Operator '&&' cannot be applied to operands of type 'bool' and 'int' I’ve programming in C (Turbo C) and there are a lot of things I’m not remember about C Somebody knows what is the cause of the error Thanks in advanced. private void ordBurbuja(int[] a, int n) { int interrupt = 1; int pass, j; for (pass = ...Show All
Windows Forms Opening a file
I would like to use the OpenFileDialog box to bring a file into a listbox. Does anyone have an example of this Jason Ken, That helped me move further. I was able to get what I needed out of this. Now only if I can s ...Show All
Visual C++ Problem instantiating my own class
Hi, I am writing a small project to learn Managed C++ in VS2005. In this program I am creating a linked list using my own class. How Im going about this is I created a node class called StatementItem, and then I refer to that in another class called StatementList. I have created both classes using the Add new class wizard. Creating the classes went perfectly. But for some strange reason even though both classes are defined as public, I can't acc ...Show All
.NET Development OutOfMemoryException after unmanaged interop
Hi all, I have a long running windows service (C#) that calls some unmanaged code (C) to read from a legacy database on a periodic basis. Occasionally it throws an OutOfMemoryException, but watching a performance counter indicates the machine (and the process) should have plenty of memory available. Furthermore, the other threads in the same process do not appear to have any exceptions, and continue processing without any memory problems. ...Show All
Visual Studio Team System Create a Test List in VSTE For Dev
I am trying to set up a build type in Team Foundation Server that runs a set of unit tests as part of the build process. However all the docs I see reference features I can't find. I suspect they are part of TE for Testers, which I don't have. How can someone who does not have Team Suite, or Team Edition for Testers create a build type that can run unit tests Unfortunately that is correct, test list creation is ...Show All
SQL Server unable to use existing sql logins
Hi friends i have sql 2000 db which i attached to our sql server 2005.the problem all sql logins i've for this db are there but i cant login using any of those logins. i tried to delete them as i wanted recreate them but get following error. any idea how to reactivate those logins.Thanks for your help TITLE: Microsoft SQL Server Management Studio ------------------------------ Drop failed for User 'Damia'. (Microsoft.SqlServer.Smo) ...Show All
.NET Development Error while trying to open Access Database File
Hi all, This may appear very basic question, but I cannot figure out why I get an error at MyConn.Open() line while I try to open the db file from VB.Net. The path is perfectly provided from OpenFileDialog when the file is slected. The code is as below, Dim OpenDBPath As New OpenFileDialog() Dim MyConn As New OleDb.OleDbConnection() MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;UserID=Admin;Password=mypass;Da ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Setting up Microsoft Visual Studio 2005 for directX
I just can't get the DirectX samples from the samples browser working (provided with directX), when i try to compile them i get linker errors DXUT.obj : error LNK2019: unresolved external symbol DXUTmisc.obj : error LNK2001: unresolved external symbol I have installed DirectXSDK(dec.) and Microsoft Platform SDK. I have added the paths in tools->options [Projects and solutions]->[VC++ directories] to both Platform SDK and Directx ...Show All
Windows Forms Yes! Another DataGridViewComboBoxColumn Question!
I'm sure everyone here is overjoyed! Here's my problem. 1)I fire off a query and fill up a dataset, grab a datatable out of and bind it to a DataGridView object. I'm not using any of the visual tools doing it all by hand. One of the columns in my dataset is an integer field called "status". it has a value from 0-3. nothing fancy. I then fire off a second query and fill another datatable with textual values of w ...Show All
Windows Forms Hi everyone
Ok a new player for the Terrarium game has arriwed :) Got some questions about my first creature, Herbivore. Right now it's a spider, whats the code to change it and what is the avaible skins for the creature (spider feels more like a Carnivore ...Show All
