Szymon Kobalczyk's Q&A profile
Smart Device Development Performance on requery of dropdown box populated by XML...
I've got a drop down box that I'm populating with a dataset from XML. When I hit the drop down box the first time, it seems to populate lightning fast. However, when I re-hit the drop down box (say I'm adding a second record), the performance slows down exponentially. I'd be happy to post code if that'd help. Thanks in advance. Jason Thanks so much! I'll try it out. Tried it...works like a char ...Show All
Visual Basic Static Constructors in VB 2005
Hi I got the following problem: I need some code in a Class library executed when the library is loaded by another app. As I am coming from Java, I looked up some similar feature in C# that seems to exist in VB 2005 too: A shared constructor that gets executed when the class is loaded. However even the simple example below doesn't behave as I intended. However, If I uncomment line 4 then it works as expected. But this is not sufficie ...Show All
Visual Basic LoadDataRow
In vb.net documentation, its mentioned that LoadDataRow will update/insert a data row based on if its present or not. I am trying to use that for the purpose of update. It gives me unique key constraint error. newRow = myTable.newRow ' create a row,, and copy its schema newRow.Item( Me .ID) = row.Item( Me .ID) newRow.Item( Me .name) = row.Item( Me .name) myTable.LoadDataRow(newRow, true) But since id = 37 is already present in the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Depending on where you load the textures to, you need to release them and recreate them. Make sure that you are properly handlin ...Show All
SQL Server Pb with group and lost of informations in the report
But I have problem with reporting services. Could you help me For exemple, I have some informatins who don't appear in my report. For example, I have a list of agricultur who are ranged in three different groups( A,B or C). I want to put their names by grouping them in their departement and their town. Then, a second group on the departement And finally, a group on the town. But agriculteurs can have a departement and no tow ...Show All
Visual C# Serialize object to string
I am trying to serialize an object(s) to an XML string. I want to do this without ever actually creating an .xml file. The way I do it works, and seems to be fine. I just want to make sure that there is not something I have overlooked. If anyone has a better way of doing it I would appreciate the help. Here is my code: String XmlizedString = null ; XmlSerializer x = new XmlSerializer (Inv.GetType()); MemoryStream memoryStre ...Show All
Visual Studio Express Editions problem with code -- help
In this program, I am trying to have it input a day of the week from the user and then a number of days in advance and the program will output the day of the week that number of days later. The problem I have is that I have 8 errors that are all basically the same thing: that I can't convert from 'const char[#]' to 'char[20]' Here is the code I have right now: // Tymon Scott #include <iostream> using namespace std; ...Show All
Visual C# Microsoft's Naming Roles
Hi, When using Code Analysis, it warns me about my roles for naming the members. Does anyone know how to reach Microsoft's Naming Roles I don't want to igone this role, I just want to follow it up. With Thanx ...Show All
Windows Forms DateTimePicker column
Does anyone know if Microsoft will be including a DateTimePicker column in the DataGridView (for underlying date values) The current article says "TextBox, Image, CheckBox, ComboBox, Link, and Button column and cell types" will be included. I'm hoping ...Show All
Visual Studio Express Editions When will Visual Studio 2005 ship?
I place an order on November 7 with Amazon for VB2005Pro and still they have not ship it yet because they have no receive stock from Microsoft. Does anyone know when Microsoft will start shipping the new version I have ordered my copy of VS2005 standard for about 3 weeks now, the delivery date from the supplier has been postponed twice already. Microsoft in Australia says that there is stock availa ...Show All
Windows Forms A generic occured in GDI+, while saving image
Hi all. My app is a medical imaging program. We're working on a new version, which we've given to one user, to beta test. They report that regularly while capturing images, the program crashes. I just got the error log this morning, and the errors look like this: An unhandled exception occured in the program A generic error occurred in GDI+. The exception was thrown by Void Save(System.String, System.Drawing.Imaging ...Show All
Visual C# Looks like .resx files should be versioned. How?
Back when VS.Net 2003 was called Everett, we moved all our build files out of source directories into versioned dirs, like so: MyHailStormApp/*.cs *.sln ...Show All
Visual Studio Team System Generate the value of a field in a workitem
Hi all, I have a question on how I can generate the value of a field in a workitem. This value should contains a number or id to reference the project, the creation date of the project and some another indications. The value of the field must be filled in when creating a new WorkItem with for example "AB[Project Number][Date in own format]01ZZ". This value is then used to reference the workitem in our administration. We use this number already ...Show All
Visual Studio Team System Navigation around Project Portal hindered by repeated display of Domain Login Prompt
Help please! I am a project manager and seem to be the only person afflicted with this problem in my organisation and my SysAdmin doesn't know what to do to overcome it. When I am in VSTS explorer, I can right click and select to show Show Project Portal. The project portal home page is displayed, and a few moments later, the login prompt is displayed. If I 'cancel' or re-enter my password three times I can generally navigate round the porta ...Show All
Smart Device Development Performance issues - Direct 3D Mobile
Over the last couple of days I've been looking at Direct 3D Mobile but I must say that I am a bit disappointed on the performance. I've been running some of the samples located on msdn2.microsoft.com and the frame rate is real low. When running the Fixed Point Math Lightning example (having removed both walls AND the animated mesh) I get a framerate at about 0.32 both in the emulator and on the real device. I get about the same frame ...Show All
