csharp2000's Q&A profile
Visual Studio Integrating help without the Help Integration Wizard - Urgent
We are now desparate since installing VS2005 Beta 2 we have lost the integration in MSDN with our help collections and more importantly the Enterprise Library help collection. Even re-installing the Enterprise Library does not put the collection into the Beta2 MSDN help. Now we are fumbling around in the dark. How do we integrate these help collections without the Help Integration Wizard Please help, Claire Many thanks, Bob. Installing MSDN for VS2003, uninstalling Enterprise Library and re-installing it solved our problem. We should be able to re-integrate our help collections w ...Show All
Windows Forms Setting up IIS for Web-Deployed
In every article I've found on no-touch deployment, not one of them says exactly how the IIS virual directory should be set up in order to do this (file permissions/web permissions/properties, etc.) Can someone provide this information or point me to a tutorial on the web that I haven't found yet Thanks, --Patrick Here are a couple of things& ...Show All
Visual C# Application needs to run every...
Hi, I need to develop an application that will start with the system, and every XX hours especified by the user, and at the time especified, this program has a routine that needs to be run. How can I do this, with a "while" and keep checking, with a timer and every second I verify....Or what is the best way FileSystemWatcher is the exact name. You can see a nice sample on Microsoft's web site - http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemiofilesystemwatcherclasstopic.asp Both VB.NET and C# examples. -Rob ...Show All
.NET Development Web Form with just a TextBox and a Button
Hi! There is a TextBox and a Button on my Web Form, such as below: <form id="Form1" method="post" runat="server"> <asp:TextBox ID="txt" Runat="server" /> <asp:Button Text="Submit" ID="btn" Runat="server" /> </form> And just a subroutine in my behind code: Private Sub btn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn.Click Response.Write("The button was clicked!") End Sub Pushing the button displays "The button was clicked!" on the page. But while focusing on the TextBox, pressing the Enter key, would submit the form (Send to t ...Show All
Visual C++ How to read *.txt file contents into CString object????
Hi, I like to read the contents of a txt file into CString object in MFC program. Now, I use ifstream to read the contents, but it can read into char array only. Do you have any ideas Thanks, vcboy What's wrong with reading it into a char array (can the *.txt file contain Unicode characters - if it can then char is not the right choice) and then creating a CString from the array ...Show All
.NET Development Generate Dataset not supported in new .net
Hi all, with earlier version of .net we were able to generate a Dataset with an XML schema Item. We could add the columns we want and generate the class to use when we require. But with new version this is no longer supported. I want to have the dataset defined and to use when i require. The current version support to have a dataset item and create the tables. But this need database connection at the time of creation. I want to make these independent. could any one please give help on how to generate the DataSet.cs file Thanks Ok, I am using Free version of MS VS Express 2005 and the story is a ...Show All
Visual Studio ReportViewer Cause error after deploying the webserver
Dear all, When I deploy my web project into my Web server,everything is work,but except the report does not work properly. The config of my webserver is win2003 with IIS 6.0.And I make use of the report in the local processing mode and set "sessions state mode=InProc","cookieless mode=UseCookie"on the page of the state management in IIS. The error message is showed below Server Error in '/' Application. There is a known bug with the report viewer and cookie based sessions. If you use a cookieless session, the report should render correctly. ...Show All
Visual Studio Express Editions C# Express Edition Installation...
I installed .Net Framework 2.0 first and then when I installed C# 2005 Express Edition (using a CD with C# Installation), I got the following error message. Can anyone please help Error 1308. Source File not found C:\Document and Settings\..\Local Settings\Temp\SIT18204.tmp\eula.1033.txt and another message for the file customtext.1033.DLL in the same folder. Thanks. Hi, Is this still an issue If so could you send me the logs from %temp%. The logs I need are 1. dd_vsinstall80.txt 2. VSMsiLog ****.txt Please zip the logs and then send it as the MSI logs is ...Show All
SQL Server Select Error in Case
I am getting a syntax error and not sure why near my select. I want to bring back fee1 if the 2nd When is true CASE WHEN Len ( c . FeeSchedule ) < 3 THEN CONVERT ( int , c . feeSchedule ) WHEN Len ( c . FeeSchedule ) > 3 THEN SELECT fd . Fee1 FROM FeeScheduleDetails fd where c . feeSchedule = fd . code AND m . original BETWEEN fd . LowLimit AND fd . HighLimit ELSE CONVERT ( int , c . feeSchedule ) END AS FeeSchedule , You can't do a select there because you need exactly one value. Perhaps using COALE ...Show All
Smart Device Development switch input method (details) - Transscriber
I am just wondering and do not know if it is possible: I am working partially at an application that guides the user through a bunch of dialogs where he has to enter in a text box either text or numbers. While playing with the dialogs I used a PDA with no keyboard and used the transscriber, but it is kind of nasty to manually have to switch between the letter recognition and the number recognition, especially because the application "knows" what format you have to enter in the text box that you are at. So the question is: is it possible to programmatically 1) detect if the transscriber is used for input and 2) switch the reco ...Show All
SQL Server Nvchar fields do not replicate
Hi This is my first post ! I have a database running on SQL server. It's setup as a publication and replicated to a subscriber by a pull subscription. All my records seem to replicate accross - all new additions and deletions work fine as do most updates. The problem is I have two fields - both declared as nvchar that do not replicate - they do not update when the published database changes. Has anyone got any ideas what may be causing this. thanks couple questions - what version of sql servers are you using what kind of replication is this - tran, merge does your publication have ...Show All
Smart Device Development How to use SD card as real Secure card?
Hi! Could someone point me to info how can I use SD card as real Secure storage of data What I need to do - to use it under Win Mobile platform is Any 3-rd part software available thanks for any information. Actually we wanna do a simple thing. we wanna put our application and data on SD card and allow access to this storage only to someone who have right to do it. SD category 3 of l evels of SDMI security requirements will be fine for us. But as I understand - there is some problem with it. It is a little bit strange - because every normal SD card has to provide this feature (and it is), but j ...Show All
Visual Basic Counting Letters in a string
Hello, I am trying to get VB to count how many A's B's C's D's E's etc... that are in a declared string, can someone tell me how to do this. thanks Ray RFeather[AT][NOSPAM]chstaffing.com Dim aCount As Integer = 0 Dim bCount As Integer = 0 Dim cCount As Integer = 0 Dim myString As String = "aabbccc" Dim i As Integer For i = 0 To myString.Lengt- 1 Step i + 1 Dim charAsLower As String = myString(i).ToString().ToLower() Select Case charAsLower & ...Show All
Visual Basic ParameterDirection.InputOutput
I'm using Vb 2005 and Sql 2005. I'm trying to use the ParameterDirection.inputout... and it's not working. With cm .Parameters.Add("@intTblWaitingListId", SqlDbType.Int).Value = mintTblWaitingListId .Parameters("@intTblWaitingListId").Direction = ParameterDirection.InputOutput end with cn.Open() cm.ExecuteNonQuery() when i trace this in sql.. this is what it is sending in declare @p1 int set @p1=8 exec spWaitingList_Save @intTblWaitingListId=@p1 output,@intTblCamperId=781,@intTblWeekId=1,@intPriority=0,@intMisses=0 select @p1 the set @p1=8.. the 8 seems to be the number of times I've tried running this for.. since it seems to increment e ...Show All
.NET Development Accessing Webservice from PDA very slow
I have an application on PDA which talks to the webservice, whenever I am getting data from webservice in the form of Dataset the reponse from is slowed. Please help its very very urgent Hello Partha, Reviewing older postings still unresolved.... The internal serialization of a dataset object is supported by our webdata/database group. They will be able to explain why serialization of this object is taking too long. If you haven't already done so then please post this question on the .NET Framework Data Access and Storage forum. If you need further assistance with this issue please call into the developer support line at 1-800-936- ...Show All
