Stone_The_Crows's Q&A profile
Smart Device Development small bug with List Control in vs 8
Hi all, I'am using vs 8 beta 2. Today, i made a very simple program with List Control. I did like that: 1) From vs 8, create a MFC program for pocket pc 2003 based Dialog. 2) In Dialog, using toolbox to add List Control to Dialog. 3) Now, you can choose the List control, click right -mouse to go to properties page. 4) In Properties pae, choose tag controls events, go to LVN_ITEMACTIVE then, click Add <...> 5) Now, vs 8 will help you automaticly to create a WM_NOTIFY each times you active an items. 6) But look carefully to source code vs created: ...Show All
Visual Studio Team System WebTest playback where form enctype="multipart/form-data"
Hi. I've been having some issues with the replay of a webtests that submit a form having enctype="multipart/form-data". The web test recording tool seems to deal with it just fine, and all the expected actions are performed, however when played back in VS2k5 the scripts generated application errors (i.e not VS tool errors) In our case we removed the enctype attribute and all was fine except we couldn't upload attachments (we were lucky that this was not essential). Something I noticed was the lack of Content Type Header when there was no file attached. I'm no guru on the intricacies of form submission, but I was expecti ...Show All
SQL Server Interesting Transactional Replication issue
Hello, We have moved from SQL 2000 to SQL 2005 for our main server, and our reporting server, which uses transactional replication. Now, in SQL 2000 when I originally setup replication, it replicated all of the table indexes. I have recreated the publications in SQL 2005, but they are no longer there. Do you have any idea what would cause some of our table indexes to be missing What can be done to ensure this doesn't happen Thank you. Justin, the default article schema options when creating a transactional publication through the SQL2005 workbench is to not replicate any non-clustered indexes (unique key ...Show All
Windows Forms form close reason
Hi! I would like my form to be hidden when the use clicks on the window close button (the X button on the top-right corner). The e.CloseReason does not provide a value to determine that this particular button is the reason that is closing the form. This was very simple in VB6: Private Sub Form_QueryUnload(Cancel As Integer , UnloadMode As Integer ) If UnloadMode = vbFormControlMenu Then Cancel = True End If End Sub How is this possible in .NET Forms Please read this thread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID= ...Show All
Visual Studio Team System Work Item Access control based on Work Item Type?
We'd like to give our customers access to TFS for reading e.g. bug-information. Thus we would need a speciel security group that controls this access, e.g. a "Bug-readers"-group. However, what is needed is to define access to particular types of Work Items, namely only Work Items of type "Bug". We don't want our customers to be able to see Tasks or Requirements. How can an access control for Work Items be set up for specific Types or based on information in other properties of a Work Item regards, *Martin. Sorry for the long wait on a reply. I don't have a good answer. You ...Show All
Visual Studio Express Editions Is Visual Basic 2005 Express interpreted or compiled?
I have looked through a lot of literature, but it seems difficult to find a clear answer to this question. I can see that VB generates P-code, which is interpreted and therefore executes much slower than compiled languages, but some literature indicate that it may be possible to compile the P-code and generate a fast executing program. C is a terrible language so I am looking for a good, strong alternative, but in practice it seems that there are only two alternatives - Delphi (Pascal) and VB. Delphi is based on Turbo Pascal, which is en extremely slow implementation of Pascal - approximately 5 to 10 times slower than FreePascal. Be ...Show All
SQL Server SQL Server Import Copy or Query
Hi All, I have an issues with running the above. I am trying to import tables from an Oracle Database and want to use this wizard. The problem is that when I use the wizard it is not letting me select the "Copy data from one or more tables or views" it is not selectable, it's greyd out. It will only let me select "Write a query to specify the data to transfer". Or if someone can provide me with basic a script that will let me import tables that begin with "capa" and "capd". My sql is really awful. Thanks Andy What are the connection options you tried ...Show All
Visual Studio Team System Recommendations for organization of code within classes
The Design Guidelines have been a great help and I am glad to see that FxCop helps enforce them. Do you, or does Microsoft have, any guidelines or recommendations on the formatting or organization of code within classes For example, I prefer to order my code in my classes surrounded by regions as such: Constructors Constants Private Member Variables Public Propeties Private Methods Etc. Any guidance or help is greatly appreciated. Doug Ramirez Frank: Thanks for your response. With regards to organizing groups of class members into their own regions, that is usually ...Show All
.NET Development COM+ Transaction error in ASP.NET
Hello, I'm working in an ASP.NET application wich uses COM+ transactions and Enterprise Library. I finished and tested the application in my machine which runs WinXP and everything was working perfectly. Then I deployed the application in a Windows 2003 Server and I started to have serious problems and I'd like to undestand why this is happenning. Every time I modify something in my application directory(dlls, the Web.config, etc) the application stop working and throws this exception: Server Error in '/' Application. Access is denied: 'BusinessObjects.dll'. Description: An unhandled exception occ ...Show All
Windows Forms designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. ok - great. now how do i retrieve the loader exception property. how can i fix this where can i find more info ...Show All
SQL Server Chain transact sql scripts
I have two Transact SQL scripts and I want to call the second script from the first – is this possible in SQL server 2005 I am trying to do a port from Oracle (where this is possible) but cannot find the mechanism to do so in SQL Server. Eg if Script1.sql is BEGIN PRINT (‘Inside Script1’) //Invoke Script2.sql – how do I do this END where Script2.sql is BEGIN PRINT (‘Inside Script2’) END When I execute Script1.sql - I need it to print both 'Inside Script2' and 'Inside Script1' You can do this using the :r command if you invoke the script using the new SQLCMD command-line utility. It also has other script pre-processing feat ...Show All
Visual Studio Express Editions C# Express Beta-2: How May I Get WindowsService Template?
I installed C# Express Beta-2 and tried to create a project with the WindowsService template, but the template is not in the default project or item template locations. Selecting the online template search option lead me only to Starter Kits that do not contain WindowsService. - Thanks in advance. The Windows Service project template is not included in the Express Editions. This is one of many features that were scaled back to limit the scope of Express and provide a simple, targetted developer tool for beginners, hobbyists and academic users. There aren't a lot of templates out there on ...Show All
Visual Studio Express Editions windows control library
Hi to all, I installed express edition.I want to create custom controls.For this windows control library is needed.In express edition there is no template for control libary.Please help me How to get it. Do you know what the difference between a Class Library and a Windows Control Library was in VS.NET 2003 A Windows Control Library had references and imports for System.Windows.Forms and System.Drawing by default, plus the class added by default was a UserControl instead of just an empty class. Just create a Class Library project and add the references and imports yourself. You can then add as many UserCont ...Show All
SQL Server Why do all packages in the project open when running one in debug mode?
Does anyone know why this happens When I run one of the packages in my project (by hitting the play button in the designer), all of the other packages in that project open before it starts running Thank you. To add more info ... this didn't happen before I copied the project files to a different computer and changed the security settings to "don't save sensitive", modifed the packages, then changed back to "encrypt with user key". But even after I did that, the original issue above didn't start happening right away. That indicates to me this is not the cause. Any ideas ...Show All
Smart Device Development IWMPPlayer for.wma files in Mobile 2003
Hi alls, I try to use IWMPPlayer in my application but when I want to play a wma's file I have an error that format of file doen't supported What is wrong hi i do want to play wma files im my mobile, i was also planing to use IWMPlayer, i am new one to it, how to play a wma file with, kindly guid me the way, a source code will be very nice help thanx Atif ...Show All
