John rambo's Q&A profile
Smart Device Development how do i download file of internet on ppc?
Hi there~ I want to write a programe about download file with C#, and maybe the file at everywhere. I found two methods to download file of internet. (webclient and DiscoveryClientProtocol.Download) But,it can't use for PPC paltform. Have someone know how to download file of internet Please tell or supply idea to me. By kuan chu Take a look at this quick start sample: http://samples.gotdotnet.com/quickstart/CompactFramework/doc/httpgetwithproxy.aspx ...Show All
Windows Forms Bug on focus lost - System.Windows.Forms.ContainerControl.ValidateThroughAncestor
How can this happen Help! Thanks Chavdar Angelov System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl, Boolean preventFocusChangeOnError) at System.Windows.Forms.ContainerControl.EnterValidation(Control enterControl) at System.Windows.Forms.ContainerControl.UpdateFocusedControl() at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value) at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator) at System.Windows.Forms.ContainerControl.Activa ...Show All
Visual Studio Express Editions VB 2005 Forms Control
Can some one help me how to make a textbox accept only numeric values. The code "textbox1.numeric=true" gives an error thanks That's because there is no such property. You can use a masked text box, or you can search there forums, where the code to accept only numbers and control chars has been posted may times. ...Show All
SQL Server Remove "top of report" when published via ASP call
Sorry the subject is a little vague! I am issuing reports via ASP pages. I inherited this setup from my predecessor, who has a cycling "Sales Board" that calls reporting services pages from a script. All other pages do not have the light colored band across the top in which you can add parameters, click the "View Report" button etc. I have now created a new report and this band is there - can anyone please tell me how I can get rid of it for the purposes of display The parameters are fed into the report from the ASP page. Thanks in advance Thanks John. I am using rc:toolbar=fals ...Show All
Smart Device Development Windows Mobile 5.0 vs Windows CE 5.0 - Same thing?
Are the Windows Mobile 5.0 and the Windows CE 5.0 the same thing I am trying to buy a phone that I can make some .Net mobile programs for and I am looking at the cingular 2125 ( <a href="http://www.microsoft.com/windowsmobile/devices/devicedisplay.aspx module=deviceDisplay;Smartphone;americas;233">Here is a link to the info about it ) but I don't know if those two things are the same so I don't know if this phone will work. Can somebody help me out Thanks! It is my understanding that the phone edition is different from the PDA edition of Windows Mobile. In particular the new office compatibility in the PDA version is no ...Show All
Windows Forms Problem with MSDN help
Hi, I am trying to work on Content Management Server but msdn help website seems to have some problem. if you go the following link, it will show you incomplete sentences, for example, I am copying some lines from the website. Notice that the sentence ends on "Click ." , but click what In Visual Studio .NET, on the menu, click , and then click . In the New Project window, in , do the following: Click . In , click . Highlight the text next to , type , and then click . Now click what http://msdn.microsoft.com/library/default.asp url=/library/en-us/MCMSSDK02/html/5dd9ae94-494f-4051 ...Show All
SQL Server I can't dissable a dimension level
SQL Server 2005 april CTP Hi, I have an snowflake dimension with 2 levels which I used in a cube. But I need to link it to the top level. In AS 2000, the only thing I used to do is to disable the next level from the linked level. Now i'm trying to do this with no success. How can I do that For example: Dimension: Warehouse Level 1: Warehouse Level 2: Rack I have linked my cube to the level Warehouse and I want to disable level Rack but AS raises this error: Errors in the metadata manager. The attribute for the 'Rack' source attribute, of the 'Rack' source cube level, is disabled. I need to disable this level because it is ...Show All
Windows Forms How to get a enumeration of all textbox or other input fields
I want to disable or make all input field read at runtime... What is the best way THANKS Peter You need to do this recursively ... in other words, if your control is a tab control, then you need to iterate through each of *it's* controls. ...Show All
SQL Server convert all caps names to proper names
Is there a way in the report designer to format a field that contains names to display the name as a proper name rather than in all caps as stored in the db Thanks. By proper name do you mean a name with just the first letter capitalized You could write an expression for it. It would look something like this: =iif(Fields!yourfield.Value.ToString.ToUpper = Fields!yourfield.Value.ToString, Fields!yourfield.Value.ToString.Chars(0).ToString & Fields!yourfield.Value.ToString.SubString(1, Fields!yourfield.Value.ToString.Length, Fields!yourfield.Value) The expression assumes that the field will never ...Show All
SQL Server How to access different sql server with quey analyzer?
Hi everybody, I do not know if this is the correct area to post this topic So, How to access different sql server with query analyzer Usually, when to install sql server, it access the database server locally installed, now I like to access other sql server within a domain using query analyzer. How to configure this in order I could use query analyzer to access other sql server within a domain Thanks in advanced. den2005 Hi, there are samples on the BOL for setting up a linked server: USE master GO EXEC sp_addlinkedserver 'SEATTLESales', N'SQL Server' GO Querying can be done via: SELECT ...Show All
SQL Server Successful Job that doesn't run? HELP
Hello, I have a Job that runs a DTS package. This package in turns call several other packages. All individual packages run fines. When the main package is run manually it also runs fine. The jobs that calls the main package should be runnning for at least a couple of Hours maybe more and updtae several tables. It actually run nightly for only 20 minutes and doesn't update any tables. Yet it is in "successful" Any thougts This KB article describes common problems with running packages as Agent Jobs and how to troubleshoot this: http://support.microsoft.com/default.aspx/kb/918760 ...Show All
Visual C# help me -- sound project --
hi i want to record sound and save it as wav file You can take a look at the DirectSounds API, a great article is: A full-duplex audio player in C# using the waveIn/waveOut APIs . ...Show All
Visual Studio Copy content to ClipBoard
Hi Do you see a possibility to copy the content of a Reportviewer page to the ClipBoard (e.g. HTML-Code) so that it can be pasted into a Word document Sincerely Stephan Brunner ...Show All
Software Development for Windows Vista Beta 2 question: Why did local services change?
I have a question as to why the ExternalDataExchangeService class was introduced in Beta 2. What is its function that is a benefit over, or difference from, the way we added local services in Beta 1.2 For example, if I had a local service named Foo, which implements the IFoo interface (the IFoo interface is marked with the DataExchangeService attribute in 1.2) and I wanted to add it to the runtime I just did: Foo myFoo = new Foo(); workflowRuntime.AddService(myFoo); Now, in Beta 2 I see that we mark the local service interface with ExternalDataExchange attribute. Then as before, with Foo implementing the IFoo interface: ExternalD ...Show All
Visual Basic Concurrency Problems
I am currently developing an app in Visual Basic 2005. I am using the following code to save changes to the database. Me .Validate() Me .BindingSource.EndEdit() Me .TableAdapter.Update( Me .DataSet.DataTable) However, when the SaveItem_Click event is triggered a concurrency violation is reported: System.Data.DBConcurrencyException: ConcurrencyViolation: The UpdateCommand affected 0 of the expected 1 records The error message only appears when I attempt to apply changes to certain records - in all other cases the update method is successful. If anyone can throw any light on the matter I would be very grat ...Show All
