kanthb's Q&A profile
Smart Device Development How to read the vendor ID of an USB Memory Stick
Hi Folks, I wonder if it is possible to read some information out of an USB Memory Stick. I would like to read the vendors name and the hardware serial number. I did that on a PC but now I'd like to do that on Win CE 4.1, CF 1.1 Thanks in advance, taucher ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple DirectX 2.0.0.0 question
I'm wicked confused. the Managed DirectX 9 (v1.0.2902.0) dll doesn't have any XFile handling capabilities. the DirectX v2.0.0.0 has Xfile support but doesn't have ANY documentation support and is much different than 1.0.2902.0. Then i hear both of these are to be replaced with XNA all i want to do is make a managed program that can import Xfiles. MDX 2.0 is not a complete API - its still in beta and since XNA f ...Show All
.NET Development holland culture
Hi , Can any one of you please specify the culture which should be used for Holland. I used nl-NL. With this if I want to add a minus figure to some number it gives the minus sign after the value. eg 200,00 10,00- Please note that this is not to minus 10 from 200 but to add "minus 10 " to 200. I think according to holland this "-" sign should come infront of 10. Can any one please specify why this is coming behind the 10... Thank in adva ...Show All
Windows Forms LayoutMdi method doesn’t work with Sizeable ToolWindow
I have a question about the LayoutMdi method of the Forms class. I have used the LayoutMdi method with “Sizeable” border style child forms and everything works fine. If I switch to a “Sizeable ToolWindow” border style, calling the LayoutMdi method d ...Show All
Windows Forms TIMEOUT when try to save data from datagrid
Hi, I have problem with my datagrid below is part of the script cmdUpd = cnSQL.CreateCommand cmdUpd.CommandText = "UPDATE sa_user_respon SET eff_date_from = @eff_date_from, " & _ &nb ...Show All
Windows Forms How many Authenticode Certificates Will We Need?
We want to to use ClickOnce to distribute our software on various customer's intranets. How many Authenticode certificates will we need to do that: * One for each customer's Intranet, or * Just one certificate for ALL our customers. I'm hoping it's the latter! I'm a bit confused when I go to various Authenticode supplier's sites, because some of them talk about domains and suchlike... Thanks for any advice! ...Show All
SQL Server What is up with Defaults in 2005????
To keep inline with BOL, I have gone away from the CREATE DEFAULT and sp_binddefault when using defaults, and have gone to using what BOL suggests and specifying the default on the column definition when adding a column. However, I cannot find anywhere how to REMOVE a default when applied in this manner. I need to delete a column via T-SQL and according to BOL it says a column cannot be deleted when it is associated with a default that is defin ...Show All
Visual Studio 2008 (Pre-release) Using Linq on VS2005 RTM with a non-admin user
I'm not able to use Linq on VS2005 RTM as a non-admin user. Installation was fine and Linq project type show up when I choose a New Project using an a admin user. But it disappear when I use VS2005 with non-admin user. I tried to see what it is doing with FileMon (from Sysinternals) and there are a lot of "not found" messages on some Linq files. Any hint on this Thanks Marco Russo Try to copy all files from "Administrator's Documents ...Show All
SQL Server Flat File Connection Manager does NOT fail
I use Flat File connection manager where I have defined the format of the file as "Ragged Right" (CR,LF Dos file) with no header rows. The columns are fixed width with Row Delimiter "{CR}{LF}". The problem is when I process a file with incorrect format. The file execution does not throw an error. Instead it throws a warning " There is a partial row at the end of the file.". How can I force the Flat file connection manager to FAIL if th ...Show All
Visual Basic Threading not working as expected (using a COM class in a BackgroundWorker)
Hi, I've written a COM server class (KCAMSERVERLib.Camera) to remotelly control digital cameras from the computer through a USB cable. I'm now in the process of writing a simple GUI for it, and I've chosen VB2005 for that purpose. Some actions, like "Shoot()"ing a picture, take some time so I added a BackgroundWorker object to my VB project to run them in a separate thread. The problem is that the GUI still freezes during shooting, l ...Show All
.NET Development XML Schema - Trimming
I'm using an XML schema in SQL Server 2005 that has 'include' directives in it, and because SQL 2005 doesn't support 'include' directives, i've had to merge all the schemas into one to overcome this. The schema itself works fine, but my problem stems from the fact that the schema itself ends up about 2MB (50,000+lines) and includes far too many elements/types that I don't need, but were in the included schemas. Stripping them out by hand tak ...Show All
Windows Forms Copy string to clipboard with inserted line breaks
Hi, Have a collection of numbers in a listbox. I want to copy these numbersto the clipboard and pasted inside a notepad text file. I loop through the items in the listbox adding them to a string variable separated with "\n". The pro ...Show All
SQL Server Background image sizing
Hello, I have a jpg image to use as report background. How can I strecth the image in order to fill the page background (i'm using PDF output) with my image Thanks, Pierre Sorry, we don't have an option right now that would stretch the image. If your image fits the physical page size (i.e. Report.PageSize - Report.Margins) at 96 dpi, it should also look fine then in PDF at higher resolutions. -- Robert ...Show All
Windows Forms No Touch fails in internet zone after installing .Net 2.0 runtime
I have encountered a problem with NTD failing to launch under ieexec for an internet zone application after installing the .Net 2.0 runtime. The problem occurs for both .Net 1.1 and .Net 2.0 apps that are deployed in this way. If I change add the site to the intranet zone then iexec is launched as expected. What I cannot find is any documentation for this change in behaviour. I did wonder at first if it was because I have both VS 2003 and ...Show All
.NET Development port in use!
Hello, I am working with a database program(client-server) developed using visual studio.When i install the program and open the database, i get the error message "Port in use".But this is not the case when i run the program from the visual studio.In my code m_server.ConnectTemplate(clsid, pDocTemplate, FALSE); Can anybody explain me, whether setting the parameter to TRUE could help in anyway I have very less experience wi ...Show All
