zr119_62's Q&A profile
Audio and Video Development can we load different playlist on run time?
Hi, Is it possible to load a different playlist on run-time For example, currently the system loads and plays playlist VPLST010.XPL. Then let say there's a 3 buttons in the main menu. And can we program so when user click button1, it will load and use playlist000, or clicking button2 will play playlist001 and so on Thanks & I hope you understand what i'm trying to say. -k The examples won't work on the current simulator, which doesn't support networking. Basically you first need to download the playlist (and supporting AACS-related files and any new assets) to the persistent storage area, then you make the call above. I should be posting some networking samples once you can actually use them on an up ...Show All
Windows Live Developer Forums How to add my Add-In to Messenger programmatically
As subject and I would like to do it with my setup package. I think that for safety reasons, it is not possible. Users always will have to allow the add-ins manually to make sure no add-in. ...Show All
Visual C# One setup program to combine different application installation.
My problem is that I am trying to create one setup to combine different application installation. I will like the user, of the setup program, to decide which application he/she want to install. I am using Visual Studio .NET 2005. I would apreciate any help. Thank you for your time. (custom action) condition is used to invoke the installer.cs for the project, but the files will always be installed. However you can use the installer.cs to add some addition information, like writing something in the registry. But you can not avoid copying the files. ...Show All
SQL Server RS Execution Logs sample project
Hi, I was going through the link http://msdn2.microsoft.com/en-us/library/aa964131.aspx for "Monitoring Report Execution Performance with Execution Logs". There is a link ( http://datainspirations.com/uploads/rsexecutionlogging.zip ) proviced for downloading sample project. It seems that the page no more exists. Can any one please let me know from where can i download the sample project TIA You can find correct links here: http://datainspirations.com/Publications.html ...Show All
Visual Studio Express Editions Web Browser
I am making a web browser with tabbed browsing and i need help with the address text box. When i type the address it comes up in the newest tab, even if that is not the currently selected tab. This is the code i am using for the tabs Dim tab As New TabPage Dim wb As New WebBrowser wb.Dock = DockStyle.Fill AddHandler wb.Navigating, AddressOf webbrowser2_Navigating AddHandler wb.Navigated, AddressOf webbrowser2_Navigated tab.Controls.Add(wb) tabcontrol1.TabPages.Add(tab) TabControl1.SelectedTab = tab TabControl1.SelectedTab.ImageIndex = 0 WebBrowser2 = wb WebBrowser2.GoHome() And this is the code for the URL box WebBrowser2.Navigate(ToolStripTextBox1.Text) It looks to me lik ...Show All
Visual Studio Express Editions Inet?
Can console apps have an Inet If so whats code to add and use, or if there is none whats an alternative well VB6 and .NET are different. the other thing I can suggest is to use WebRequest/WebResponse classes to get your stream of data. http:/ / msdn2.microsoft.com/ en-us/ library/ system.net.webresponse.aspx http:/ / msdn2.microsoft.com/ en-us/ library/ system.net.webrequest.aspx looking at your VB6 code etc... I think this would be what you are after. ...Show All
Smart Device Development XML Serialization
ok so i have another question about XML Serialization on the smartphone. i am using Windows Mobile 5. on a desktop app i can put the [Serializable] tag above a class so it can be serialized. I am guessing that the Compact Framework has changed this a little because that tag didn't wor on my smartphone app. For my smartphone app i used the [XmlRoot()] tag above the class. I don't even know if this is the correct tag to use. The reason i think that it is is because i am able to serialize the class . but i can't deserialize it . here is the class that i am tring to serialize using XML namespace Timed_SMS { [XmlRoot()] public class StringSMSDateTime { //stuff } } here is the method that serializes a List of a class StringSMSDateTi ...Show All
Windows Forms Windows Forms with Web Like Interfaces?
I have seen quite a few Windows Forms applications that appear to use a Form as a container to house an HTML (Web Browser) type window to supply the user interface. One thing I like about this is that it gives you quite a bit more control over the look and feel of your application. I would possibly like to incorporate this type of UI into some projects I am working on, but I am not quite sure how it all works. Can anyone provide a link to some documentation on building a Windows Forms based application in this manner Specifically I would like to know how to handle events generated by the HTML elements and if partial page rendering is possible hi, Please go through the below link. Hope this helps. http://msdn.microsoft.com/librar ...Show All
Visual Studio Team System Compare and Sync functions from SSMS
Is there a proposal to integrate the Comparison and Synchronization functionalities in the SQL Server Management Studio This will help the DBAs work with a single interface. If yes, when can we expect the same When it comes, will there be a price attached to it Appreciate your response. While we are not allowed to comment on features for future versions of Visual Studio (or SQL Server for that matter), I can say that we are working with the SQL Server team so that our plans are aligned going forward. Specific details are still being worked on. We are aware that there is a strong desire for some or all of the Team Edition for Database Professionals features to appear in SQL Server tools (as is the SQL Ser ...Show All
Windows Forms Column Sort
Hi, i'm new with datagrid and i'm wondering how can i make the alphabetical sort of the column to work, does .Net already hasve that functionality I don't know if this is important but the datagrid was filled with data from an array. tkns Is this ColumnHeaderMouseClick what you are looking for ...Show All
Visual C# Read many lines in a foreach!
I have a text file that contains about 14,000 line. each line contains a name of a file. I want to make a loop that reads the first line first and writes the the file name, then the second line and writes it ....... etc. how can I use TextReader to read a line then the next and so on in a foreach loop Well, thanks Rizwan. but actually i did it this way: string [] fileNames = File .ReadAllLines( "C:\\file.txt" ); foreach ( string line in fileNames) { TextWriter tr = new StreamWriter ( "C:\\htmls\\" + line); tr.Write(line); tr.Close(); } ...Show All
Visual Basic [VB.NET] How to merge many GIF Files into one file
I need to create a software that it merge many GIF File into one file container. My application has this form I want that when i click "Add File" it shows an OpenFileDialog and that add file's path in the ListBox And when I click "Merge File" It merge all GIF file present in ListBox And when I click "Split File" it split all GIF File present in a File Container and that It save GIF Files in the same directory of the File Container I tried to write the code but it change any bytes of the GIF Files when I merge :( and i don't know how to use Split Function in VB.NET [Off-Topic]I'm new in VB.NET and i don't know fine this new programming language Best Regards Flash Private Sub ...Show All
SQL Server PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE
I tried to create a sp on one of the databases on my lap top and got this: Pls help i need it bad Msg 10314, Level 16, State 11, Procedure ap_Hello, Line 5 An error occurred in the Microsoft .NET Framework while trying to load assembly id 65695. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error: System.IO.FileLoadException: Could not load file or assembly 'vbtriggers, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An error relating to security occurred. (Exception from HRESULT: 0x80131 ...Show All
SQL Server Trying to Figure out IIS configuration on a Vista System
A few quick questions in regards to Vista and Visual Express installs I have been trying to install SQL Server 2005 Express Edition with Advance Services, I get an IIS requirement warning -- I have logged on as an administrator, configured the IIS to include the 6.0 (in the add/remove programs), rebooted system, unistalled and reinstalled SQL 2005 Server Express with advance services SP2 and still get this message -- is there something I am missing I need to have this in order to run the Reporting Services (at least that is what I thought) Additionally, I tried to work around it by installing visual web developer with the reportviewer addin. I can't seem to get that feature to work properly either -- any thoughts would be greatly ap ...Show All
.NET Development Dataset Update addinparameter and Null value
Hi All, I need to handle the update of a typed dataset outside of the methods provided by codegen , I am using Ent Lib 2006 , vs2005 ado.net 2.0 I have created a stored procedure which I intend to call directly through methods provided by Ent Lib , The question is do I really need to check for null values for each column in the typed dataset in the form of : If IsDBNull(InvHeadDT.Rows(0).Item( "DocType" )) Then _Wkflwdb.AddInParameter(dbCommand, "@DocType" , DbType.Int32, System.DBNull.Value) Else _Wkflwdb.AddInParameter(dbCommand, "@DocType" , DbType.Int32, IsDBNull(InvHeadDT(0).DocType)) End If Or is there something more elegant and less time consuming Regards ...Show All
