notacoder75455's Q&A profile
Community Chat Media Player 11 TV Tuner?
Hi I love media player 11 but there is a major drawback it cant watch TV. I have a USB TV car but i have to use arcsoft totalmedia to play the TV is there anything to make the media player pick up the card and play the freeview Or is there any websites or software or plug-in stuff to allow media player to watch TV over the internet Luke. hmm ya i think you have to pay to get a 'few' channels on MCE hardly acceptable really they should make a 'freeview' free to watch over the internet. thx for the try anyone else know something more Luke. ...Show All
Visual C# converting ' ' when using Server.UrlDecode
Hi I have a problem when i use the the 'Server.UrlEncode/Server.UrlDecode' function in C#. The following code: string subject = Server.UrlDecode(Convert.ToString(Request.QueryString["subject"])); would return e.g. 'John Doe Arizona' , which is fine, except that '   ;' should sipmly be a white space. Does anyone have a solution to this Regards Hi, We transfer some parameters between two pages by using Page.aspx parameter1=value1¶meter2=value2 etc. So if you want to transfer some uncommon params such as '&' just easily use Server.UrlEncode(String url); and if you want something like " " isn't understood as space just use Serv ...Show All
.NET Development Console Application in VB 2005 Express: How to get the Stable Output of DataReader on the screen?
Hi all, I just saw a quick flash of result of my Console Application project, when I executed the following code of Module1.vb in my VB 2005 Express program to get the output of DataReader associated with SqlConnection and SqlCommand to a database in my SQL Server Management Studio Express: //////////////--Module1.vb--/////////////// Imports System.Data Imports System.Data.SqlClient Module Module1 Sub Main() Dim mySqlConnection As SqlConnection Dim mySqlCommand As SqlCommand Dim myDataReader As SqlDataReader mySqlConnection = New SqlConnection( "server=.\SQLEXPRESS;Trusted_Connection=yes;database=ssmsExpressDB" ) mySqlCommand = New SqlCommand( "SELECT AnalyteID, Analyte ...Show All
.NET Development Lifetime of MarshalByRef objects
I have a MBR object which is being constructed by the server itself when a client connects and a reference is passed to the client as an out parameter of the function call. and is being used by the client. In this case, would the lease mechanism be required to keep these objects in memory (since it is not remotely activated, but is remotely used) How shall I control the lifetime of this object Try to use LifetimeServices by setting it's LeaseTime and RenewOnCallTime property. cheers, Lok ...Show All
Windows Forms progressbar while dataset is loading
I use a dataset to load around 1000 records into a DGV. How can I show a progressbar while a dataset is being loaded I suggest that you have a look at the example on MSDN for the BackgroundWorker. It demonstrates this precise thing. Here is an excert: private void IGetRunInsideTheBackgroundWorker() { if (percentComplete > highestPercentageReached) { highestPercentageReached = percentComplete; worker.ReportProgress(percentComplete); } } // This event handler updates the progress bar. private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e) { this.progressBar1.Value = e.ProgressPercentage; } ...Show All
SQL Server Fatal exception while firing a rule
Hi, I am having a problem when moving our NS application from dev environment to testing environment. What happens, is that when the rule is fired, a fatal exception is generated. Any hints how I can start hunting down what the source of the problem is. The thing is, this works in dev environment, but not in test. Further, if I try to execute the stored proc manually which fails ( NS_MyAppApplication].[NSFire3] ) I get the same error: A user request from the session with SPID 63 generated a fatal exception. SQL Server is terminating this session. Both dev and test environments use same ADF and ICF files. The ADF file is pretty much like in the InventoryTracker sample, using ConditionAction element like this: <ConditionAction> ...Show All
SQL Server ADO find method too slow, how should I do this
I need an efficient way to get the absolute position of a record in a query matching a specific key value. The Find method is a serial search, too slow for big data sets. I am using both SQL Server Express and Jet 4 via ADO. One example of why I need this ..... I have a list control with a subset of a table (controlled by where clause in query). I want to save the current state of the list control and later restore it when the app restarts. I want to preserve and restore the current line selection in the list control. So, I save the key value for the current line, upon restart use the find method to locate the key, and set the list control current record index to the current absolute position. This is too slow for big data sets since the f ...Show All
Visual Studio 2008 (Pre-release) How to configure one listenUri address with more addresses(logical)
Hi, I have a scenario in which I am sending signed soap enevelopes to SoapRouter. Because to field is signed I configured SoapRouter to use listenUri and address field. I would like to have one wellKnown listenUri of the Router that will accept all envelopes addressed to different logical address. I tried like this, but it doesn't work. < services > < service name = " Microsoft.ServiceModel.Samples.SoapRouter " behaviorConfiguration = " metadataBehavior " > < endpoint address = " fx://logicaladdress1/ " listenUri = " net.tcp://localhost/services/soap12/binary " contract = " Microsoft.ServiceModel.Samples.IDuplexSessionRouter " binding = " routerBinding " bindingConfiguration = " TcpB ...Show All
SQL Server Problem starting MS SQL server 2005 service
Hi, Anybody kindly help me. We have windows server 2000 and sql server 2005 on the same machine with 15 clients. There was a power failure. The sql server is automatically stopped. When we tried to start the service we are getting the error as action failed please check application event log for errors. This has happened for the 2 times, kindly tell me why this happens and what precaution we can take and is there any setting we are missing. Since I am newbie to sql server and windows server I am unable to solve this problem. Thanks DId you have a look on the parameters stored in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Mi crosoft SQLServer\MSSQL.1\MSSQLServer\Parameters Do they point to the right path of the master datafile ...Show All
.NET Development xml if statement
Hi, I am trying to use the IF statement logic inside xml. So came up with the line below: The logic that I am trying to achieve is: if there is a value for the field COMX_Field1 (i.e. if COMX_Field1 = TRUE) then show COMX_Field2, else do not show anything. Is this correct Thanks <LINE ID="02"> <VALUE X="1.00" FORMULA="true"><![CDATA[=("{COMX_Field1}"="1") "COMX_field2":""]]></VALUE> </LINE> There are various XML applications, some are programming languages, like XSLT, and XSLT has an the xsl:if instruction. I am afraid your example XML does not tell me what kind of language you want to use, are you t ...Show All
SQL Server Web Synchronisation Using RMO
hi every body please help me out on this issue , since i am at final stage in finishing up the module. Previously i had done web synchronisation using RMO it is working fine at my office where i have an 2003 server which is an domain controller , publisher i have configured on the 2003 server , and i had subscribers on xp Machines where it was well working fine, clients were not on the domain , it is an independent Machine. we had an security error which was resolve by this same forum, ie the client windows login id should exists on the server too. only then synchronisation is happening at our office, Now the problem is i have an same setup , but the server 2003 is hosted at a remote place , which is not an domain controller, n ...Show All
Visual C++ How to restrict a user from 'Deleting' a file by pressing DELETE key on Keyboard..???
Hi, Here, I want to restrict a user from Deleting a file Manually (i.e, 1. By pressing DELETE Key on keyboard 2. Right-Click on file and selecting Delete. ) In MS-Word 2003, If a file is Opened, and we are trying to Delete it, it gives an error message like, " The file abc.doc cannot be delete : The file abc.doc is in use by following program Microsoft word . The file must be closed before delete." I want exact functionality as above. Could any one help me. third parameter can be FILE_SHARE_READ|FILE_SHARE_WRITE Other processes can read and write simultaneously. But not Delete. ...Show All
SQL Server Problem in importing data from excel to sql2005
Hi I have to import data from a number of excel files to corresponding tables in SQL 2005. The excel files are created using excel 4.0. I have created an excel connection manager and provided it with the path of the excel sheet.Next i have added an excel source from the toolbox to the dataflow. I have set the connection manger, data access mode, and the name of the excel sheet (the wizard detects the sheet correctly) in the dialog window i get when i double click the excel source. Every thing goes fine till here. Now when i select the 'columns' in this dialog window or the preview button, i get this error TITLE: Microsoft Visual Studio ------------------------------ Error at Data Flow Task [Excel Source [1]]: An OLE DB error has occurre ...Show All
Visual Studio Team System Web Tests during build fails Http 404 from website
I am upgrading a 2003 solution to 2005 and am using Web Application add-in but, I am afraid that the set up of a team build that includes web tests is not clear to me. In addition to that deploying the app to multiple servers seems as easy as a 500 page soduku puzzle. Anyway, the build I have set up fails when trying to run the web tests. When I recorded the web test, it was done using on the built in IIS at localhost:2435. I went ahead and created a web site on the build server to run on port 2435, but when the test task runs the web test receives a 404 error because the web application was not deployed. Shouldn't the script deploy the site prior to ru ...Show All
Windows Search Technologies WDS 3.0 Beta 2 doesn't index NTFS junction points
They don't even show up in the Indexed Locations Dialog in Options, so they can't be added. WDS 2.6 didn't have this problem. Hello migue333, WDS 3.0 beta 2 does not currently have the ability to index network drives. We are currently working to add that functionality. In the meantime, we are suggesting that customers in corporate environments continue to use WDS 2.6.5. I will be sure to post when we have added the functionality to 3.0. Paul Nystrom - MSFT ...Show All
