huanghk's Q&A profile
Visual Studio 2008 (Pre-release) Deploy XAML App in IE6?
Hi, I would like to know if I can take a XAML application and bundle it with the right DLLs to distribute to IE6 users using Windows XP Essentially I would like to use Avalon to do a nice UI for my app, and let the users install and run it in/from IE6. If it's run like a desktop app, atleast it should be possible to install just using IE6 and XP, logging into my server and download an MSI package, correct Which additional files/sdk has to be installed in the users PC through the browser Are there any samples on how to do this, or do I have to wait for Longhorn I would love to start developing my app now and deploy to existing users, and be ...Show All
Visual Studio Express Editions System.IO.IOException: Cannot create a stable subkey under a volatile parent key.
getting ... anyone else getting this and know how to resolve it System.IO.IOException: Cannot create a stable subkey under a volatile parent key. when trying to start the SQL Server Management Studio Express CTP, i can click continue and it works, but the error is annoying. here is the entire trace: System.IO.IOException: Cannot create a stable subkey under a volatile parent key. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) at Microsoft.Wi ...Show All
Windows Forms Properties bar doesn't work
I am a beginner at programming The properties bar of Visual Studio 2005 Team edition... doesn't work, it doesn't show any properties at all all I can see is blank gray. I find it hard to work without it. Can anyone help me Can you please be a bit more specific about how you get into this state. If you're just creating a new Windows Forms app and then selecting the form, this sounds like a setup issue. In that case, the best place to post this question is: http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=26 - mike ...Show All
Visual Basic Drawing a line on a user control
Hi I'm trying to learn about the Graphics in VB by making my own simple Graph control. But i've hit a problem straight away which seems to be a VB bug i' wrote some code to draw a line across the bottom of the control with a margin of 40 from the bottom and a margin of 20 either side. it all works ok unless i make the form over 395 high or 400 wide. if its height >395 i cant see the bottom x axis at all if the width is over 400 then the x axis is truncated to 400 wide. I had something similar but different numbers which corrected itself with a rebuild but this time it wont go away. the y axis seems to work ok Can someone look over this ...Show All
.NET Development SQL Connection String Assistance
I'm trying to upload the personal website starter kit to a web hosting site, and cannot get the connection string correct. I want to use the personal.mdb in the App_Data folder within my site, which works fine locally, but once uploaded, I get all kinds of errors - depending on how I mess with the string. In no interation can I get the string to work when trying to use the <AttachDBFilename> entry. When just adding the connection string provided by the hosting service to connect to their server, it opens, but obviously none of the website database functionality works. I am assuming that I will be using the SQL engine on the s ...Show All
Visual Studio Team System Is it possible to get the connection string from the app.config file for the DataSourceAttribute?
Hello, I would like to be able to change my DataSource Attribute connection string to access the app.config file. The problem that I am running into is that the connecting string must be a constant. Do you know of any work suggestions Currently it is something like this. [ DataSource ("System.Data.SqlClient", "Server=TestServer;DataBase=TestDB;User Id=sa;Password=", "ChildSearchCriteria", DataAccessMethod .Sequential)] I would like it to be something like this. [ DataSource ("System.Data.SqlClient", ConfigurationManager .AppSettings["MyTestDB"], "TestTable", DataAccessMethod .Sequential)] Than ...Show All
SQL Server UniqueIdentifier error in SSIS
Hi, I got problem when i am sending the data from source to destination. My source is Sql Server 2005 and My Destination is Sql Server 2005. In Source table the column name is defined as numeric datatype. In Destination table the column name is defined as UniqueIdentifier. When i send the data from Source to Destination i am getting this error. [Data Conversion 1 [4190]] Error: Data conversion failed while converting column "Req_seq1" (3959) to column "Copy of Req_seq1" (4204). The conversion returned status value 2 and status text "The value could not be ...Show All
Smart Device Development The small icon looks big!!!
Hi, Very strange problem. When you use any application in windows mobile it appears in the recently opened list as a small icon at the top of the start menu. BUT when i try to use my application the small icon of the program that appears in the recently opened list appears in its normal size so it becomes so big for this space, i think the picture will be more useful. this is the normal icon http://www.awady.net/1.gif This is how it looks like in the recently opened list http://www.awady.net/2.gif the problem is not about how it looks in the recently opened list only, but this large icon appearance makes another problems for my app. ...Show All
Visual Basic opening cd drives
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1056388&SiteID=1 ...Show All
SQL Server RAISERROR() is invalidated by xp_fileexist function when run through ADO (example included)
Help! Does anyone know why (and how to work around) this situation I have a stored procedure in MSSQL 2000 SP3 defined as follows: CREATE PROCEDURE sp_mycheck AS BEGIN declare @ret int EXEC master.dbo.xp_fileexist 'C:\temp\bogus.txt', @ret OUTPUT ...Show All
Windows Forms Checked Items in DataGridViewCheckBoxColumn
Hi all, I have a DataGridView control binding with a DataSet, and a DataGridViewCheckBoxColumn is placed at the last column. Now, I want to get the checked items from this DataGridView and do other processes. Can you tell me how can I do this (E.g. loop all rows in DataGridView and then cast the CheckBox control, so that I can retrieve the value of the CheckBox as well as the values of cell[2] and cell[3].) Thanks, Peter foreach (DataGridViewRow dataGridRow in dataGridView1.Rows) { int i = ((DataGridViewCheckBoxColumn)dataGridRow.Cells["checkbox_col"]).Value; &n ...Show All
SQL Server Script Transformation
A new question ! When you use a script transformation you have input rows and output rows. Is it possible to have a different number of rows at input and output Thanks Coroebus wrote: I get an error with my script : PipelineBuffer has encountered an invalid row index value. Dim NbCode As Integer = 20 ' set the nb of code per row Dim liste As String = Nothing ' the string containing the output row ' We loop for NbCode times While Not Row.EndOfRowset For j As Integer = 0 To NbCode &n ...Show All
Windows Live Developer Forums Accessing the "personal message"
Not 100% sure what it´s called in english version but you know, the "tagline" that doubles as "now playing". (i wanna use both "now playing" and "tagline") I´ve tried looking trough APIs but sofar no luck. Anyone have any idea on how to do it Ravv, The official name for the message you're asking about is the "Personal Status Message" or PSM for short. We don't yet have an API exposed to give you programmatic access to the PSM. It's on our list and is definitely one of the most requested APIs to expose. -Scott ...Show All
SQL Server Cannot Load SQLSpars.dll
Hello, I have had numerous problems installing SQL Server 2005 on various machine. Most of those problems are related to insufficient rights to various users. But I am baffled by this one: Setup Failed: Could not load SQLSpars.dll Why would this happen I see this message after beginning the SQL Server 2005 Standard setup and making my installation selections and beginning the install. The process stops after about 30 seconds, and displays the above message. My machine is running Windows XP SP2. Any ideas Thank you, Jon500 A few customers have reported this issue but we haven't tracked down the bug or a workaround ...Show All
Windows Forms Mouse pointer disappears behind form
For some reason, when I have events that change the cursor a couple of times, the cursor tends to disappear behind the form, and only appears when I move it outside the form. Any ideas as to why this might be Thanks, smtraber ...Show All
