jmodares.com's Q&A profile
Visual Basic Welcome to the Visual Basic IDE forum!
Hi all, and welcome to the Visual Basic IDE forum . I'm Paul Yuknewicz - I'm one of the Program Managers on the Visual Basic product team, and starting today, I'll be moderating these forums. For more info about me, check out my blog . Note there is a VB Team blog as well. In this forum we will cover questions and discussions regarding the all things in the Visual Basic IDE (integrated development environment). This covers Intellisense, debugging, ErrorCorrect, ClickOnce deployment, code snippets, colorization, smart tags, key bindings, Object Browser, Refactor! for Visual Basic 2005 , etc. The team and I look forward to joining you in discussions about VB. Best, Paul ...Show All
SQL Server Aborting a thread CRASHES Sql Server 2000!
Hi, I'm creating a new thread and executing a database import operation using a transaction. I have had several problems that I cannot explain, the most serious of them being that aborting this thread sometimes crashes the instance of Sql Server to which I was connected! The application is a Windows Forms app, and when I launch the import operation I display a form that allows me to abort the import while it is in progress. If the user decides to abort the import in the middle of things, I call the Abort() method of the thread executing the import. I'm catching any exceptions in the method on the bottom of the call stack (the ThreadStart delegate) and logging the information, and from the stack trace I can see that the ThreadAbort ...Show All
SQL Server Error Starting Script Editor in SSIS
I am having a problem in the Business Intelligence Development Studio. When I add and try to edit a Script Task or a Script Component, I click on the Design Script button and get one of two errors. For the Script task I get an error that states: Cannot show the editor for this task. (Microsoft Visual Studio) For the Script component I get: Cannot show Visual Studio for Applications editor. (Microsoft Visual Studio) For some reason or another it just will not start Visual Studio for Applications. I have uninstalled an re-installed several times. I have also researched and discovered that there is a bug when C# tasks are include in the project. However, this is not the case. Please help! How odd! I havent' idea.. Maybe this ...Show All
Visual Studio Express Editions c# for deploying to mobile
Hi I wish to write small c# applications that will work on a smart mobile (specifically hw6515 by hewlett-packard) that has the 2003 .NET compact framework installed on it. Can I deploy c# applications to the mobile (I have activesync installed too) using the c# express edition If not, what is the minimum (i.e. cheapest) package that I have to get to do this. If I have to use (as I suspect I might) visual studio 2003, I notice that microsoft are doing a 60 trial for this software, would the trial allow me to do this also for the 60 days Thanks in advace, any help appreciated Showman the express editions do not support mobile development - you would need the VS2003 to do this, or in ...Show All
Visual Studio Team System Making Area and Iteration Read-Only
I would like to make the fields Area and Iteration appear as readonly to every group except 1. We have our product management team enter these values, so we do not want anyone else to have access to these fields. How would I go about adding this functionality I tried adding the "Read-Only" field for "Not" the Product Management group, and it worked on other fields but did not allow me to do it for these ones. This brings up a new topic I don't ever hear mentioned and always recommend to my clients as a best practice. I always recommend that the first team project on any installation of TFS be: "Team Foundation Server Implementation" Then I recommend downloading the defa ...Show All
Visual Studio Team System Migrating work items and setting the "CreatedDate"
Hello We need to enter a list of bugs from an existing manual system, we are going to use excel to bulk insert but we cannot set the createddate (the createdby would also be nice but no a client requirement) I found a thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=12443&SiteID=1 but it is old and no clear or recent solutions are given. Is is it possible that someone at Microsoft indicate what is available (An option I could try is changing the value in SQL and then rebuilding the warehouse cube, but this is not my preferred way to go). Thanks B. Huard Incyclesoftware Bypassing rules from object model did not make it to RTM, but it is possible to bypass rules by coding ...Show All
Visual Studio 2008 (Pre-release) Possible Bug about Bubbled Events and Focusable
Looks like I got to the root of the problem. In my hierarchy (I've made a post about it recently) there are 3 controls: Grid (Top), ScrollViewer (Middle) Grid (Bottom). I'm subscribed for MouseDown of the Bottom, but when I click on the Top nothing happens. After hours of investigations I found that the culprit is.Focusable property of the Middle man –ScrollViewer. Being set to True by default, it prevented my ScrollViewer from both Receiving & Routing of my Bubble MouseDown event. Once I set to False, it starts working. What is really interesting, that the actual value of Focusable property of any of my Grids doesn't make any effect. I do realize that ScrollViewer is a bit of a special control, in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animating Water
Has anyone come up with a good method of animating waves/water I am at a loss on this one. I figured that perhaps I would just go simple and use a texture and rotate the texture to simulate waves, but can't even seem to find a decent texture to do it. If anyone has done this I'd sure be interested in finding out how you achieved it. this tutorial has some very nice water effects http://www.riemers.net/eng/Tutorials/XNA/Csharp/series4.php ...Show All
Windows Forms Windows Form In Apache
Hi, I am actually looking for possibility if Windows Form would be able to host in apache on Linux environment. I am researching how to embed a windows form in IE. It looks like I can only host Windows Form in IIS. Any suggestions Regards, Leo Hi Leo You probably want to host a Windows Forms UserControl inside Internet Explorer. The following article describes how: http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/ As this code gets executed on the client, the server (IIS or Apache) should not matter at all. Find more samples using the following query: http://www.google.com/search hl=en&lr=&rls=com.microsoft%3Aen-us&q=host+windows+forms+usercontrols+ie&btnG=Search ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream I think the 20% performance decrease is an extreme. I think you'll be looking at under 10% in the vast majority of cases, probably just a couple of % points. I think most developers wouldn't even worry about it unless they're working on next-gen stuff. ...Show All
Windows Forms login issuevision:"an unknown error has occurred"
Hello all, I receive this error when i click "ok" on login form,i don't know where i should examine, or i can find the problem in log. Thank for your help, I'm having the same issue. I've been beating my head against the wall for 3 days now. I have the DB installed There is IVUser logon for database there is a virtual directory for the issuevisionweb folder I have done the asp_reg tool as said in earlier/other posts. When I open the VB project and run it, I get a logon screen and then the error occurs. "an unknown error has occured" Please help... Thank you (in advance,naturally) ...Show All
Visual Studio Team System get list of files changed after a specific label
How can you get a list of all the files under a team project that have changed since a particular label was cut on that team project If you add the /format:detailed switch (I think I did...) then you'll see the files in each changeset. On changesets back to 7/12: yes, that's another aspect of the "closed range" drawback I mentioned. When you cut the label on 7/26, at least 1 file hadn't changed since 7/12. Let's call that file foo, and say that it last changed on 7/12 as part of changeset 100. Although TFS is smart enough to know that commands like tf get foo;C150 mean "fetch the highest changeset <= 150", there is no actual record of foo being part of changeset 150. So when the label is applied on 7/26, it has ...Show All
Visual Studio 2008 (Pre-release) Cannot set value of Content property in Style
I have custom control derived from TabItem and in its default style I have < Setter Property = " Content " > < Setter.Value > < Frame ... " /> </ Setter.Value > </ Setter > At runtime, this exception is thrown: {System.Windows.Markup.XamlParseException: Cannot add content of type 'System.Windows.Controls.Frame' to an object of type 'System.Object'. Error at object 'System.Windows.Controls.Frame', Line 20 Position 6... try setting ContentTemplate instead: <Setter Property ="ContentTemplate" > <Setter.Value> <DataTemplate> <Frame/> </DataTemplate> </Setter.Value> </Setter> Sheva ...Show All
Visual C# this.close() confusion - I may be doing something wrong?
I've been doing this for awhile now and it has occurred to me that I should not be In my try/catch statements, if the exception is serious, I've been displaying the message to the user then the catch issues "this.close();" to shut the app down. Is there another (safer ) way of stopping the app if a severe exception occurs for example: try { sw_dohDeathWriter = new StreamWriter ( m_strOutputPath , true ); } catch ( IOException iox ) { MessageBox . Show ( "End Of File reached. " + "\nRecords Processed...: \n\n" + iox . Message , "File Conversion Error" , MessageBoxButtons . OK , MessageBoxIcon . ...Show All
Visual Studio 2008 (Pre-release) Relationship between UI composition and code-behind
Hello, I've got a case where the UI (or a part of it) depends on data loaded at runtime. My question then is: where in the code behind file should I put the code that provides the data for the UI The following is a terse and trivial example that demonstrates how the UI is composed before the static method myMethod() runs, therefore the TextBlock foreground is Red and not Blue. XAML: < Window x:Class = " WindowsApplication1.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:local = " clr-namespace:WindowsApplication1 " Title = " WindowsApplication1 " Height = ...Show All
