ngkay's Q&A profile
Visual Studio Team System users can not save WI
Hello, everyone One of users has created some work items, and his name appears in "Created by" field, I've excluded this user from any team group. Now, other workers want to edit his work items but they can not save them, they get the next error: TF20015: The field "Created By" contains a value that is not in the list of supported values. After I've added this user to Readers Group everything works well, but what if this man does not work anymore in company and his user does not exist anymore Can anyone explain how to resolve this problem Thank you One way would be to change the "Created By" Field. If your WI type says this fields has "Read-Only ...Show All
.NET Development -Using Sproc to insert rows in the DB and the Sproc returns identity columns to my dataset
If we use sqdataadapter to insert data from a datatable into a table in the database using an SPROC. The Sproc also returns the identity column values that are created by the database. If those identity columns are called “IDcolumn” in the physical DB but in my dataset I call them “MyIdentity”. So IDcolumn is an output of my SProc I use : Pm.Direction= ParameterDirection.Output Then I use pm.SourceColumn property : Should I use IDcolumn” or “MyIdentity” Like this: Pm.sourcecolumn=”IDcolumn” or like this: Pm.sourcecolumn=” MyIdentity” Thank you it should be the same fieldname as the fieldname in the database otherwise it will throw an exception stating that the fieldname was not found ...Show All
.NET Development .Net Framework 1.1 and its Service Pack 1
Does anyone know whether the current .Net Framework 1.1 download from Microsoft also includes the SP1 changes Or does one have to download and install both files to be up to date Robert Werner http://PocketPollster.com Hi Robert, No, there is not a single version of the .NET Framework 1.1 that includes the SP1 changes. You will need to download and install 1.1 and then 1.1 SP1 as separate steps. You can also use steps like the ones at http://blogs.msdn.com/astebner/archive/2005/03/05/385971.aspx to create an administrative install point that includes the .NET Framework and any hotfixes or service packs that you would like to include with it. Thanks! Aaron ...Show All
.NET Development Stream
So here is the problem . Im into techno & trance music and there is this radio stream that i like to listen to . But at work id rather not use network bandwith to get the music. So Im looking for a way to record music from the stream . I was thinking maybe to make a buffer then have my music thrown into the buffer then have the buffer saved. Ideally i would like to import the .pl file . Hit a button to start capture then a button to stop capture. Any ideas / websites ^^^ nice but i'd so much rather make it myself. I'd like to learn the workings behind it. And would use this in future work. ...Show All
Windows Forms Deploying Clickonce with a help file
My question is similar to one posted in May, but there is no resolution for that one. I have an app I wrote using vb express and want to attach a simple htm as a help file. I don't want to specify the full path to the file in the code because when deployed, it won't be there on the target computer. The only way I could get the program to find the file without the full path is by putting it in the debug directory. That's ok for development, but when deployed, it still can't find it. I've spent about 6 hours on this now and I'm not getting any closer to a solution. Does Clickonce not support help files I cannot find anything on it in the MSDN database. Any help would be appreciated. Thanks Than ...Show All
Visual J# multiline textbox loses \n during resize
I have a multiline textbox that receives text my functions. At the end of each function, it appends "\n" to the textbox. If I resize the window, the textbox resizes properly, but the text inside it loses all the new lines. Example: text before resizing: results1 results2 results3 text after resizing results1results2results3 why is this happening, and what can I do to avoid it.. Please try: this .textBox1.set_Text( "Line 1\r\nLine 2\r\nLine 3\r\n" ); Add \r\n not only \n Best Regards Lars-Inge Tonnessen VJ# MVP ...Show All
Smart Device Development What it takes to Convert Win32 ActiveX Control to Mobile ActiveX
We have some ActiveX controls working on Win32 platform. I wonder if hat it takes to adapt them for Mobile Devices . Should we use Embedded Visual C++ 4.0 or 3.0. Any recomendations. Note:I have spent 2 days on this one month ago there were alot of missing libraries for compiling such as WinHttp is not there for Mobile in Visual Embedded C++ 4.0 Hi Michael; Assuming that all the libraries used in the Win32 Edition is supported on the Embedded Platform Have you got some ActiveX conversion experience Especially for converting ActiveX prepared with Visual C++ ATL COm to Visual Embedded C++ ATL COm Thanks Baris www.thecoreopsis.com ...Show All
Visual FoxPro How to create a "WAIT-WINDOW [NOWAIT] LIKE" FORM CONTAINER
Dear thoughtful VFP masters and/or fellow brethren... To implement such an object might ease the (lazy) user's mouse clickings ... being ... 1) triggered by another object's <MouseEnter event> 2) released by <MouseLeave> <Timer> and/or <MouseMove> events Strategic uses might be to: ...Flash monthly appointments and/or quarterly calender image(s) ...Flash a *pictorial text-tip* (peradventure worth a thousand tooltip-texts) (Again, It must NOT be modal but work exactly like a wait-window-nowait or tooltip) My embarrasing thoughts are something like make a formclass (.titlebar = .F., etc.). loWaitWindow = NEWOBJECT ("WaitWindowLikeForm","myClassLib") loWaitWindow.show( ...Show All
Visual Studio Express Editions waiting without holding the thread...
hello how can I wait in VB without using the System.Threading.Thread.Sleep method because all this does is excecute and does not give the lines before and after it time to execute....like i want to turn a button the color red, and then just wait a few seconds. This is not working currently because the sleeping is happening too fast, what can I do plesae advide...shyma The sleep method has an overload that takes the sleep time in milliseconds as an arguement: System . Threading . Thread . Sleep (5000) ' suspends the current thread for 5 seconds.... another method of pausing for the UI is the "DoEvents" method ...Show All
Microsoft ISV Community Center Forums IsError function from VBA6.3 to v6.0
Hi All, I'm having problems with a small VBA script that I wrote in v6.3 but need to implement in 6.0. Excel 2002 -> 2000. The following code works fine in the later version: For i = 2 To LastRow ' select the next row based on loop vString = "A" & i If IsError(Application.VLookup(Range(vString).Value, vRange, 31, False)) Then Y = "NEW" Else Y = Application.VLookup(Range(vString).Value, vRange, 31, False) End If ' write the result to the active workbook Cells(i, 31).Value = Y Next i But won't work in the earlier version as there's a type mismatch at the If Iserror ... line. Any ideas why or thoughts on a workaround Thanks, Steve. ...Show All
Visual Basic Text is not displaying in my listbox.
I got rid of all my debug errors but it still is not displaying the text into my listbox. I know the text string is getting passed because I placed a msgbox(strText) in the AddListItem Class and it popped up just fine. So why is the text not showing up in the form1 listbox Public Class Form1 Inherits Form Public watchfolder As FileSystemWatcher Delegate Sub AddItemHandler( ByVal strText As String ) (Some code follows... then...) Private Sub logchangeAdd( ByVal source As Object , ByVal e As _ System.IO.FileSystemEventArgs) If e.ChangeType = IO.WatcherChangeTypes.Created Then Dim strText As String = "File " & e.FullPath & " has been created" ...Show All
Visual Studio Team System ASP.Net Templates?
Hi There I installed VS.Net version 2 but I don't have the ASP or Web Service templates, can anyone tell me what I need to do, I have added added IIS to the machine but still no template, un-installed and re-installed VS but still no templates. HELP! Different versions come with different MSDN subscriptions. Did you check "Visual Web Developer" when you did the install Also, are you going to "New Web Site" and not "New Project" The web templates are not shown in the "New Project" dialog. ...Show All
SQL Server rda.SubmitSql cause outofmemoryexception
My application create quite a lot log file to submit to the server under WiFi coverage to monitor the application. (log is just txt file). as time goes on, submitsql method throw OutOfMemoryException. I agree my log file is quite big, 80K each and 6 log files to submit. My log submitter is an instance object. I also tried static object but it doesn't help either. I do dispose my rda object when it is out. Is any way I can fix this Thank you very much. You are right, I didn't set initial capacity. Another reason could be I submit 6 log files continously, each log about takes 80k (max). But one thing I cannot understand is that I called logBuilder.Remove(0,logBuilder) before submitting each log, so each stringbuilder should be e ...Show All
Visual FoxPro How to let user choose a data path?
I wish to let the user choose a folder to dump data. How can I achieve that To be user friendly, I whish to give them an interface like putfile() or getfile() screen. Not a text box to manualy enter the path. Thanks. Great! Thank you, CetinBasoz. cmyDir= GETDIR ("c:\data\","Select a folder","test",64) ...Show All
Visual Studio Express Editions Yes Thank you, do you also know tabspace \t for VB code I need a newline statement for textbox
I need a newline statement for this block of code: txtPhonetic.Text = _ " Sound Written Examples " , _ " |a| a, …, banane, l…, ch teau " , _ " |i| i, Mimi, Philippe, N mes " , _ " y(Sylvie) "} the message is suppost to have 3 different lines of code. What I am looking for is something similar to the C/C++'s cout<<"Sound Written Examples"<<endl; or "\n" endl; or "\n" except with visual basic. Use the "vbCrLf" constant. For example: TextBox1.Text = "Hello" + vbCrLf + "World" ...Show All
