How do i seek with bass?
I am using Bass. How do i seek to the middle of the song or to any given point? ...
I am using Bass. How do i seek to the middle of the song or to any given point? ...
I have a catalog processor I've built that updates itself by evaluating an xml based manifest file for the current state and comparing it to the local manifest.xml. I currently process every node to look for a difference in some of the attributes to determine if an update needs to occur. I loop through every node in the tree. I was won...
I am using Bass. I would like to set a callback so when the song reaches to end i can play another song directly after. ...
I want to use Lucene.NET for fulltext search shared between two apps: one is an ASP.NET MVC application and the other one is a console application. Both applications are supposed to search and update index. How the concurrency should be handled? I found a tutorial on ifdefined.com where the similar use case is discussed. My concern is ...
Hello All, I am having a rather bizarre error when trying to debug a .NET web application. My system: Windows 7 Ultimate (IIS7), Visual Studio 2008, DotNetNuke 4.8.2. I have a Web Application which I am trying to attach the debugger to w3wp.exe. I set a breakpoint in my code: could be an ascx.cs page or a library I am referencing. ...
At the company I work for we are planning several projects that are scheduled to be released late in 2010. We currently have production applications running in all previous versions of .Net. When the development of the projects start, I would like to consider utilising .Net 4.0. Before this could occur, I would have to feel comfortable p...
I have a complex UserControl with the main purpose to encapsulate DropDownList with a number of properties for advanced manipulation. List is being populated on PreRender event depending on properties previously were set: protected void Page_PreRender(object sender, EventArgs e) { sourceClient.SelectCommand = this.Property1 ? "exec...
I'm looking for tips/suggestions/insights to help debug an on application load issue; Could not load file or assembly... The solution/project where I'm experiencing this issue is a conversion from a working copy in Visual Studio 2008 to the Visual Studio 2010 Release Candidate. The conversion process appeared to be successful, and all t...
Are SendAsync and ReceiveAsync using IO completion ports? ...
I've never had the need to really ever use any of the .NET Data sources other than the SiteMap datasource however I'm trying to take advantage of the built in CRUD operations on a control which needs to be assigned a data source to correctly work. As I've been working through information online about implementing the ObjectDataSource an...
I am creating tabs in C#'s TabControl, and while that is very easy to do, they are extremely ugly. I did some searching around the internet and found a company that sells graphical improvements to various GUI components in .NET, but that costs $400. Given that I am working on a master's project, that is out of the question, does anybod...
From my understanding of .NET, if I use a BackgroundWorker and have an event handler for RunWorkerCompleted, the event handler will run on the same thread in which RunWorkerAsync was called. If instead I use BeginInvoke on a delegate to run a method asynchronously, and pass an AsyncCallback parameter to BeginInvoke, is there any way I c...
I'm interested in learning about parallel programming in C#.NET (not like everything there is to know, but the basics and maybe some good-practices), therefore I've decided to reprogram an old program of mine which is called ImageSyncer. ImageSyncer is a really simple program, all it does is to scan trough a folder and find all files end...
The following C# code (.NET Framework 3.5) returns name and description of all users for an AD Group "xyz". It works great as long as it returns a few number of records. But, it is very slow when it returns more than 100+ records. Any suggestions would be greately appreciated. Thank you in advance! var context = new PrincipalContext...
It is occurring when I try to compile a Windows Mobile class library, after I added the necessary XMTA file to provide attributes to my custom component. I have searched the net, and I though I had found a solution in here but after I test it throughly the only thing it does is to remove the XMTA file generation. I'm running out of opt...
hi i want to read request stream from a custom httpWebRequest class that inherits from httpWebRequest and i have tried to read the request stream in different stages but sitll not sure how to archieve that in the class,thanks very much for any help. This custom httpWebRequest is used to serilize soap message and i want to know what requ...
Is it possible to change the Path of the FTP session once the Session is Open. The reason I want to do this is to avoid to open the multiple FTP connection. The whole purpose is to download the files located in the FTP site in a single FTP connection. For example, in single FTP connection, I want download the contens from all the direct...
I would like to use a java applet which is on an html file as .. This java applet contains a textbox, and i want to access it as whenever I click a button in my c# app a certain txt appears there... I have already embedded it with the use of webBrowser.. Any sample code, or suggestion?!.. Note: development under visual studio 2008 an...
Hello I am trying to create an extension "WhereNot" So I can use: Dim x = "Hello world " Dim y = x.Split.WhereNot(AddressOf String.IsNullOrEmpty) Note that my aim here is to learn linq expressions; not solve my issue. I craated this function: <Extension()> _ Public Function WhereNot(Of TElement)(ByVal source As IQueryable(Of TEl...
I have a FileUpload control in the Source page. On the Upload button handler, I read the file into memory (after doing some validations) and since it's always going to be a TXT file, I create a string that I need to pass to the Destination page. I thought of using Cross Page postback and set the PostBackUrl property of the upload button...