Jonathan Potter's Q&A profile
SQL Server Win200K and MS SQL data retreival ?
Ok I have a smartclient app that on a WinXP box works fine for the use. Brings back data that is put into a grid, dropdown boxes and textboxes. On the win2K box with same user the app runs and identifies the user but no data comes back to the app. No errors msgs either come back to user or to dev thru email event. Any ideas as to what may be happening here The win2K box seems to have all the right updates and security settings set. Thanks Dea ...Show All
Visual Basic Specified argument was out of the range of valid values.
Hi I am getting a error "Specified argument was out of the range of valid values. Parameter name: '-2147483648' is not a valid value for 'index'." When I was trying to set selected value property value for the combo box. I have given the code for your reference. With cboName .DataSource = dtSource .DisplayMember = strDisplayMember .ValueMember = strValueMemb ...Show All
SQL Server Native Client connection to MSSQL 2000
For MARS support in SQL Server 2005, I'm changing our OLE DB code to use Native Client. My understanding is that Native Client should support SQL Server 2000 as well. When I point my DBPROP_INIT_DATASOURCE to a 2005 instance, everything works great. But when I point to a 2000 instance, the IDBInitialize->Initialize() call is crashing with a bounds violation. In my test case, the only change I made was in my coCreateInstance from t ...Show All
Windows Forms Problem with Web Browser COM Control .NET 1.1
I have a project where I do automated posting and crawling stuff on web. To display progress to user, I have to render the html file I have in memory. After searching for an answer, I found this. mshtml.IHTMLDocument2 doc = axWebBrowser1.Document as mshtml.IHTMLDocument2; doc.clear(); doc.writeln(str); &nbs ...Show All
.NET Development How to query the IviewObject interface of internet browser control in .net application
Hello everyone, I use web browser control in my .net application. Now I need to get IviewObject interface and then call draw function. Does anyone know how to do this. Hello, Are you having trouble querying the IViewObject interface of the web control Or are you having trouble with the marshalling specification for calling Draw Thanks, Stephen http://blogs.msdn.com/stfisher/ ...Show All
Visual Studio How to set the tooltip for the shapes and connectors?
How can I set the tooltip for shapes and connectors Thanks. I have a similar question - see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2377745&SiteID=1 I want to use a tool tip for my connnector that shows some info from my Domain-relation ship. But I can't figure out how to get a reference to the domain relationship from the GetToolTipText() function.. Any ideas ...Show All
Visual C++ Opening Xml Files with C++
Hi, I would like to know how to open an Xml File and the methods to use to access its diffrend nodes and add some new ones With C++. I usualy use C# and VB So if you have sample C++ Code it would be great. Thanks for your help. stlaural wrote: Hi, I would like to know how to open an Xml File and the methods to use to access its diffrend nodes and add some new ones With C++. I usualy use C# and VB So if you have sample C+ ...Show All
.NET Development Arraylist + XML
Hello, everybody! I have big problem: I have informaton from two different xml files. I get specified node by using GetElementsByTagName( "appName" ); I will then put this information in arraylist: arraylistA, arraylistB. Then I compare the arraylist to find the difference. And the deference is also in an arraylist. MY QUESTION IS HOW DO I IDENTIFED ALL THE ANOTHER NODES IN THAT ARRAYLIST: Example: <appsTab ...Show All
Windows Forms OracleParameterCollection Problem
Hi there, I receive the following message when I run my function that executes an Oracle Stored Procedure: The OracleParameter is already contained by another OracleParameterCollection Does anyone know why this is happenning Below the code I used: Private Overloads Function Oracle_ExecuteProcedure(ByVal ProcedureName As String, ByVal Parms As OracleClient.OracleParameter()) As Integer ...Show All
Visual Basic VB 2005 references problems
Long time C# user and used 2005 since beta 1. Have done some VB class libraries with no problem but the Web IDE is telling me I have references I don't have in my project and don't show up on property pages...Is there a patch for VB 2005 Or am I missing something I think you need to explain further. The IDE says you have references - why And what makes you think that you don't have them if it says you do ...Show All
Windows Forms Setting format of text in textbox
Hi, I have a textbox and I am passing it a double value TextBox1.Text = (Cstr)dDoubleValue I want the Textbox to always display double value with 4 digits on right side of the decimal 2.1000 even if dDoubleValue = 2.1 only How can I do this any sample Thanks, this should help Dim nOutput As Double = 1.2 txtBox.Text = nOutput.ToString("0.0000") Put that into the Validatin ...Show All
.NET Development what are the practical Limitations of Dataset and datatable
hi, What are the limitations of a .Net dataset and datatable like Maximum number of rows , Maximum number of columns in datatable . Is there any of these limitations improved in .Net 2.0 Thanks vinothkumar vinxter wrote: hi all .. I have found some links which says its possible to store a billion rows ... but as paul said .. the documentation says its limited to 16,777,216... The documentation is in Beta .. so would i ...Show All
Visual Basic import problem
when ever i see in books they say import that class for eg system.io but i don't know where i write the import syntex i usually write after inheretance windows.form line thanks you i solve my problem with your help thanks again Alex Moura ...Show All
SQL Server Installation refused
Really no good experience! After uninstalling every stuff regarding : .Net, MSDN, Sql Beta version, etc. no way to finish the installation starting from this package "SQLEXPR_ITA.EXE". I lose any idea how to solve this Windows MisterY. I left installed Visual Studio 6.0. Please suggest me something new...I would avoid to eliminate everything Thanks Eibike After some unsuccessful tentatives to install SQLEXPR ...Show All
.NET Development SMTPClient Problems
Just converted my vs.net 2003 project to 2005. Changed to system.net.mail. I get the following error when i get to the send command - {"Command not implemented. The server response was: Command not Supported"} Here's the code. Dim ErrMail As New MailMessage( New MailAddress(cVariables.UserEmail), New MailAddress(MailTo)) With ErrMail .Subject = subject .Body = Message End With Dim MailClient As New SmtpCl ...Show All
