Knut G's Q&A profile
Software Development for Windows Vista Strange problem on XP & VOB files
Im upgrade my Windows2000 to WIndowsXP and install VS.NET 2003 after it im try to compile my old code , and its can't play VOB files anymore , SAME code compiled under Win2000+ work fine.... Also for example PlayWnd from DXSDK play VOB files , but when im recompile sample in new enviroment , sample crash on playing VOB file ;( but can play AVI without problem Any idea what happen Windows does not include an mpeg-2 video decoder (or a decoder for AC3 or Mpeg-2 audio). You must have had one on the Windows 2000 platform installed by some other product that you have not re-installed on XP. ...Show All
.NET Development security code groups and subgroups at the enterprise level
I hope I'm asking this question in the right place. If not, please point me in the right direction. I'm trying to create a security template to distribute within my organization. The organization demands that I set the "All_Code" code group to the "Nothing" permission set, and then we will publish a new exception for each and every .Net application we distribute to our end users. Basically, this will mean that no .Net applications will run unless we provide explicit permissions for it to run. The problem I'm having is that I can't seem to make it work. I have an example app I downloaded from a code example site (all it is is a button that ...Show All
Visual Studio Express Editions VB Express Reporting capabilities
For the moment there is not any reporting capabilities in vs express editions (except for vs web developer express editions). Is it true that MS will provide such reporting Add-ins for other express editions in near future if true, When Seems everyone wants reporting . I'm not aware of any reporting tool for use with the express edition(s). If there was, I'm guessing it wouldn't be free. However, you have several options: Upgrade to one of the full versions (Standard or Pro, which you will have access to the SQL Server reporting services, or Crystal Reports in ...Show All
Software Development for Windows Vista InsertTrackingProfile doesnt seem to exist
I am trying to get a basic tracking profile created and installed. The problem is that the online docs have a CreateAndInsertTrackingProfile() that wont compile. The Insert...... seems to be undefined. Anyone know what I am not referencing or where I am going wrong Thanks Are you trying to add a new tracking profile or update an existing tracking profile in the SqlTrackingService If so you should use the stored procedure UpdateTrackingProfile. This proc should be used for inserting a new tracking profile or updating an existing tracking profile (remember to update the profile's version number for an update) for a specific workflow ...Show All
Windows Forms Webservice and VB.NET development to production
I have developed a Webservice which is on my pc (localhost) while I develop my VB.Net application which gets its information from the Webservice I have lots of code like: Dim pxy As localhost.GCG pxy = New localhost.GCG pxy.ClientIDValue = New localhost.ClientID() what I would like to do is somehow set an alias or declare in one module the localhost.GCG so when&nbs ...Show All
Visual Studio Intallation of VS2005 beta 2
I tried to install the new version on A PC with 2 operation system 1. windows 2000 with VS2003 2. Xp Sp1 clean installation For installation I download the standard edition from MSDN developer site. I tried to install it on the Xp system. I get an error code of 2908 and after press ok I get an error code of 1935 with error regarding it assembly component {18A752B8-D6F4-4F1C-B2EA-CA7876F45A03} Can someone help avi Cohen Scitex vision avi_cohen@scitexvision.com The problem is how to open the iso file if you download it from microsoft site. If you use the IsoBuster dont use the red button (iso) use the blue one (>>& ...Show All
Windows Forms creating a DataMember property that shows list of fields at design time
I have created a custom control that inherites from TreeView and then exposes properties so it can be bound to a hierarchical table. I expose the DataSource, DataMember, ParentMember, and ValueMember fields and then use these to build the tree based on the table data. This all works, but when the developer assigns the DataMember property, it is just entering the column name as a string and has no checking. How can I make the DataMember show a drop down list of the columns in the DataSource like the ComboBox and other controls do Dave ...Show All
Windows Forms What is the AddNew method of BindingContext???
I need to try this question again: Does anyone know what the AddNew method of BindingContext Class is It is not documented in the Class Members. Here is the code that generated this question. This code is found on a form displaying one record at a time. This code appears to prepare the form for data entry; but other than incrementing the& ...Show All
.NET Development System.Net.Mail: Method Clear() of MailAddressCollection leaves 1 element unremoved
Visual Studio 2005 Version 8.0.50727.42 The task is to send an email to every recepient that is contained in a DataTable. After MailAddressCollection.Clear() MailAddressCollection.Count changes to zero, but the next message sent still contains the first MailAddress added to the MailAddressCollection. This can be seen only if there will be no new MailAddress added to the MailAddressCollection - see below if column "EmailCC" is empty. Very strange. Any idea except from creating a new MailMessage for every recepient private System.Net.Mail. MailMessage _Msg; foreach (System.Data. DataRow row in table.Rows) ...Show All
Smart Device Development MySQL General Error
Hi, I need a pocket pc app to connect directly to mysql server, so I have downloaded the mysql.data.dll from mysql site. With windows applications it connects to the server just fine, but with pocket pc I see Additional information: Could not load type 'MySql.Data.MySqlClient.MySqlCommand' from assembly 'MySql.Data, Version=1.0.5.13785, Culture=neutral, PublicKeyToken=C5687FC88969C44D'. the dll is copied to the device, so I don't know what the problem is. Anyone had this problem too This one seems to have NETCF version: http://crlab.com/mysqlnet/ ...Show All
Visual Studio Express Editions valid assemble and com component for dll reference
Hi, I am trying to add a DLL reference into a C# project in 2005 Express. But it says not a valid assemble or com component. Any idea where shall I look into Thanks... If it’s not a COM or .NET dll then you shouldn’t be adding a reference that way, instead you’ll want to look into P/Invoking it. Is it a common Windows DLL If so take a look at Pinvoke.net for a huge collection of signatures that can be used to get it working in your app. If not, you’ll need to write your own, which in itself is pretty easy. Take a look at this Platform Invoke Tutorial for more info to get you started. ...Show All
Visual Studio 2008 (Pre-release) Displaying HTML snippet using Frame
Is there a way to display an HTML string (in memory) The Frame control can display HTML but requires a URI. Setting the Frame.Content to the html string simply displays the "raw" html source. Ditto for Frame.Navigate(myHtmlString); A related question, is there a way to access the HTML DOM for the HTML being displayed by the Frame window, similar the to Window.Form WebBrowser control Will I have to host the Window Forms WebBrowser control in order to accomplish this hy! i somehow face the same problem... i have an application for kids, in which i want to give them restri ...Show All
Visual Studio SS 2005 Get and Get latest error
im using vpn to connect to SS database , via drive mapping and then set up https access to source safe 2005 successfully and its working perfectly. Now I can work while disconnected from VPN The only problem is that when I select the project and click get or get latest, the error appears saying , --------------------------- Microsoft Visual Studio --------------------------- The current source control operation cannot be completed. The source control plug-in returned the following error: Item does not exist. --------------------------- OK --------------------------- I have tried connecting to VPN and then doing get latest and ...Show All
SQL Server Try Catch Block
Hi: one of our study group members noticed a strange behavior and has the following question. Any thoughts are appreciated. I am unable to understand as to why the CATCH block is not executed when an INSERT is made On table T3 which is dropped after the first transaction. The severity of Insert into t3 values ( 3 ) is Msg 208 , Level 16 , State 1, Line 2 Invalid object name 't3'. BOL says TRY…CATCH constructs do not trap the following conditions: Warnings or informational messages with a severity of 10 or lower . Errors with severity of 20 or higher that terminate the SQ ...Show All
.NET Development List files on ftp server
Hello all, i have created an ftp client in C# using Wininet and i am able to download upload files from and to my ftp server, what i would like is to have the list of files and directories on the ftp server using wininet. any help would be great. With WinInet you'll have to PInvoke FtpFindFirstFile and InternetFindNextFile . Just FYI: there is an FtpWebRequest class in 2.0 that can make some operations easier, but doesn't actually provide as detailed an API as WinInet. ...Show All
