Helder Rodrigues's Q&A profile
Visual C++ Socket programming - Problem in function recv() when receive many big packets
Hi everybody, I have met a problem: function receive() did not return the real value when we receive many big packets in short time. My application contains client side and server side. We use SOCKET object. In server side, we send many big packets (each packet is about 1000 Byte); in client side, we use while() loop to receive the packets that server sends to. the return value [ret]: char szBuffer[1000]; ret = recv(sckConnect,szBuffer,1000,0); // 1000 is the packet size is sometimes less than 1000 . I have done this test: before sendin ...Show All
Visual Studio Express Editions Internet Explorer in C#
Hello, First of all, I am very thankful for these forums and I am glad you guys are here to help! Anyway, I have Visual Studio 2005 Express C# Edition and I am working on a program and let me explain what I need to do. Okay, so I am working on this program. I was talking to the head manager on this and he said here is what we need. We need to have one text box and one button to load a website. Inside the text box the user will type the URL in. When the button is clicked on, it will load the URL from the text box. How can I do this Paul And what if I wanted to supply login credentials using a POST method Is that possible ...Show All
Visual Studio F1 help behavior- VS2003 Vs VS2005
Hi All, This is for the help system for our VSIP package. If there are multiple keywords pushed as LookupF1 keywords (say keyword1, keyword2, keyword3 added in that order, all added as LookupF1), the dynamic help window in both VS2003 and 2005 displays keyword3, keyword2, keyword1 in this order(ie, last pushed keyword as the first one). Pressing F1 in this scenario- in VS2003 opens up the page for the first keyword, keyword3 in this case (last pushed) and VS2005 opens up the last keyword, keyword1 in this case(first pushed). Is this the expected behavior . How to get the F1 help working the same way for both VS2003 and 2005. ...Show All
Visual Basic Can't create new Tables, Views or Stored Procs from Server Explorer
When I right-click on the Table node under Data Connections in Visual Studio 2003's Server Explorer I don't get the New Table node in the pop-up menu (XP SP2 and MSDE). This doesn't appear to be a database permissions issue as I can access the same database and create tables from the same security context using alternative tools (osql, SqlClient.SqlCommand, Enterprise Manager). Nor does it appear to be related to the version of Visual Studio as an installation of the same version of VS.NET on W2k/SQLServer works fine. Is the "New Table" Server Explorer pop-up blocked by XP SP2 or something wierd ...Show All
SQL Server Outer Join Issues in Sql 2005
Hi, The following query works fine in Sql 2000 database, but it throws an error ('Query contains an outer-join request that is not permitted.') while executing the query on Sql 2005 database. We have already set the compatibility level of the Sql 2005 database to 'Sql Server 2000(80)'. But still we are getting the error. select top 2 * from table1 t1, table2 t2 where t2.col8 =* t1.col1 and t2.col9 =* ( select max(t21.col9) from table2 t21 where t21.col8 =* t2.col8 ) We are planning to convert all our sql 2000 databases to sql 2005 databases. We have used this kind of outer join(=* or *=) in many places in our application. It is ...Show All
Visual Studio Express Editions Adding a data source
Finally got the Northwnd.mdf file to work. Now when adding it to an application, the dataset doesn't appear in the "Data Sources" window on the right. It is listed in the Data Explorer on the left but not on the right. So,,,, no drag/drop feature on a form. This is with the latest download, not the beta version. I had the same problem (used the book to), and found a solution here : MSDN Visual Basic >> Visual Basic IDE >> Re: DAta Sources Toolbox functionality reversed Thread Starter: JoshSommers Started: 04 Nov 2005 12:29 AM http://forums.mic ...Show All
Visual Studio 2008 (Pre-release) Variable Where Clause In in Link Select Clause
How do you create a LINK select statement with a variable where clause The following does not work Dim WhereClause = "Country.Population < 1000000" Dim SmallCountries = Select Country From Country In Countries Where WhereClause Unlike the DataView filters and DataTable.Select(), the "Where" operator in LINQ doesn't take a string. For DLinq, you'll need to construct an expression tree by hand. There should be examples of this in the next CTP. ...Show All
Windows Forms Message boxes
How do I change the options of a message box ie The buttons (making yes and no buttons) The product that I'm using is Visual J# 2005 Express Edition Beta. A response would be greatly apreciated as I am on a very tight schedule. Thank you Try: MessageBox .Show(this, Q1, "Question #1 for $100" , MessageBoxButtons .YesNo); where this should be any control, or: MessageBox .Show(Q1, "Question #1 for $100" , MessageBoxButtons .YesNo); ...Show All
Windows Forms Permissions required for a DataSet inside a Control
Hi, which Permissions do I need when a Control uses internally a typed DataSet In general I've no problems with User Controls in IE, but I've one that contains a DataSet object and that doesn't get loaded due to a security exception. Jürgen Well, I'm fully aware how to set the permissions for my control and I have it already working ...Show All
SQL Server Can This Be Accomplished in My Time Dimension in my AS2005 Cube?
In my AS2005 cube, I have a time dimension with the following attributes: year, quarter and month. Also, there is currently no hierarchy by design. Is there a way to make a custom attribute/time period that reflects the last 12 months (R12M) and work in the same manner such as year, quarter and month The time dimension would then have: years, quarter, month and R12M. As a result, a user can drop a measure such as Sales Amt and then add the R12M attribute from the time dimension and would then receive the total sales amount for the last 12 months. I hope that made sense. I can and have written a calculated member for R12M Sales, b ...Show All
.NET Development Framework 1.0 Version
I am new to C# tell me how to take input from user of int variable in console. Thanks Hi, You can do this: Console.WriteLine("Place a number"); int x = int.Parse(Console.Readline()); cheers, Paul June A. Domag ...Show All
Visual Basic ADODC unrecognized database format for Access 2000
I am working on a networked version of Access 2000 using a Visual Basic 6 front end. The access file was recently moved to a new server with MS Server 2003 installed. Over the last couple of days my clients, who have todate had no problems accessing the data, have one by one been unable to access the data getting error message "Unrecognized database format". Any help would be appreciated. This may be of use.... http://support.microsoft.com/kb/q238401/ http://www.devx.com/vb2themax/Tip/18535 Please note these forms are intended for VB.net questions. . Questions regarding VB6 ...Show All
Windows Forms Form Still Closes After Textbox Validation Fails
This is odd behavior, as all examples I've read indicate the opposite behavior ... ie not being able to close the form. In this case I have a textbox with a validating event. It works fine, unless the user clicks the X Close button on the top right, in which case the validating event fires properly (a messagebox is displayed, etc), but then t ...Show All
Visual C++ "System" namespace does not exist?
I copied the example from Visual studio C++ examples for DateTime but it compiles with error: error C2871: 'System' : a namespace with this name does not exist after comment out the DateTime declaration, turns out this sentence is not accepted by the compiler: using namespace System; why this sentence is not OK any help Hi all, Although I compile my project with Common Language Runtime (/clr) but I still got these problems: error C2653: 'System' : is not a class or namespace name error C2871: 'Forms' : a namespace with this name does not exist Please help me out. Thanks a million. Cheers, ntquang ...Show All
SQL Server At least one executable could not be pasted correctly
Hi everyone, I am not be able to understand this. I try to copy the total control flow elements from a dtsx into another one. It says: The executable with the name 'Procesar Camara Recibida' could not be pasted successfully. *It's curious, 'Procesar Camara Recibida' is the name of the Data Flow task. Executable 'Eliminar veinticuatro meses' *Is a Sql Task. Error at Tru_CamaraRecibida: Element "{75BDA2AF-5B9B-448A-B241-A225DE3ED41D}" does not exist in collection "LogProviders". *I've got a log file defined on the first one. What's wrong with that The designer could not paste one or more ...Show All
