sourvil's Q&A profile
.NET Development Error generating a DataSet from an OracleDataAdapter
Hi, I'm trying to generate a dataset from an OracleDataAdapter but it returns an error as follows: “Retrieving the schema for oracleDataAdapter1 failed. Syntax Error: Expecting ‘.’, identifier or quoted identifier.” oracleDataAdapter1’s SelectCommand CommandText is as follows: SELECT ORDENS.COD_SEQL_ORDM, ORDENS.COD_INVT, SUB_ORDENS.DT_DATA, ORDENS.COD_OPER, SUB_ORDENS.C_PAPEL, SUB_ORDENS.N_QUANTIDADE, SUB_ORDENS.N_PRECO, THB_ORDEM.C_STATUS FROM ORDENS INNER JOIN SUB_ORDENS ON ORDENS.COD_SEQL_ORDM = SUB_ORDENS.COD_SEQL_ORDM INNER JOIN THB_ORDEM ON SUB_ORDENS.N_USER ...Show All
Windows Forms Stringbuilder questions
This may seem like a stupid question but is there are way you can have an array of strings using stringbuilder Well, the stringbuilder is used to create a single string object. You could use the stringbuilder to build several strings and then store all of those in an array; but the builder itself doesn't create arrays. What exactly ...Show All
Visual C# Simple Question: How to Open Win. Explorer with Path
Hi, it's me again :) I have a simple Question: How do i open the Windows Explorer with a given path by clicking on a Linklabel In your linklabel's click event you can initialize path variable to the path you want to open in windows explorer, and then use Process.Start() method: string path = @"C:\"; System.Diagnostics.Process.Start(path); ...Show All
Smart Device Development Error 10061
Why I can't send messages to Pocket PC emulator application which has TCP listener binded to host adress:"127.0.0.1" from desktop application which has TCP client which try to connect to the same adress I' m receiving error 10061. I'm using VS2005. Error 10061 is Connection refused . it's mean no connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host (your machine in this case). maybe that the server application you're trying to contact isn't executing ...Show All
SQL Server New to SSIS and have a simple question
I know this is a simple question (hopefully). I am pulling data from an AS400 DB2 mainframe and copying it into SQL Server 2005. For one table the date is stored in three columns (TDAY), (TMONTH) and (TYEAR). I am first using Data Conversion to convert these columns into string format (as opposed to numeric) and then creating a Flat File. I then want to take this Flat File and copy the columns into SQL server, however I want to "merge" those three columns, create a date and store that into one column in SQL (TDATE). So is this where I need to use a Derived Column Thanks for any helpful information. ...Show All
Visual Studio Permissions problem?
Hi, my company is using VSS with Visual Studio 2005. VSS is installed on the local Domain Controller (yeah, I know, not recommended). There were 5 developers working on a project, and they could access the database just fine. When 2 others arrived and accounts were created for them, they couldn't access the source trees anymore. I mean they're able to log in, and they see the project names, but when they click "get latest version" an error pops up saying "Error...access denied." Now I've tried setting the permission to full to just about everyone on the VSS server share, and this error keeps popping up. Can anyone help me ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mesh Intersect Confusion
EDIT: Let me make my question simpler: How do I shoot a ray (using the Intersect function) from one mesh to another mesh Original Post: I recently found out that the Mesh.Intersect function requires you to transform the ray by the inverse of the Mesh's matrix. I can kinda understand how this works with picking, but, I am trying to shoot a ray from one mesh to another with an arbitrary direction. Now I'm dealing with TWO matrices, not just one. Right now I am taking a point from the "source" mesh, transforming it by the inverse of the "destination" mesh's matrix minus the "source" mesh, then calling the "destination" mesh ...Show All
Visual Studio Team System Test Run Hangs when Redirecting Console Output on a Generic Test and the content Size goes beyond 9KB
Is there any issue on the amount of information that can be redirected from the Standard Console when running a Generic test For some reason if the size (content being redirected to the console) goes beyond 9KB, the Test Run just hangs without giving any error information at all. It just sits there and does nothing. Is this a known issue or is there any setting that we need to configure for increasing the amount of information thats being redirected from the Standard console and merged as part of the Test Result. Thanks, Krishna Hi Krishna, This is a known problem, which we fixed recently. ...Show All
Windows Forms regarding password protection
i developed a small application is windows forms2.0 using ms-access as backend Now i want to provide a security feature to both my appln and the mdb file when the user opens the appln, it should display dialog box for password in the same way, if the user tries to access mdb file ,it should display same dialog box for password. I dont know how i can implement this ive heard about forms authentication vb.net and password protection concepts in ms-office, but i dont think they suit my requirement can any one help me Hi, Below are some links which can provide you on h ...Show All
Visual Studio VS2005 fails to build solution
I'm having a strange problem where the VS2005 Beta 2 IDE fails to build my projects. The setup is at follow: 1 Solution with 2 projects all located in the same folder. The two project share files as one is targetting regular .Net 2.0 and the other CF 2.0. When I compile I get the following error message: C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets(2274,9): error MSB3021: Unable to copy file "obj\Release\NipoSoftware.Synchronization.WinCE.dll" to "bin\Release\NipoSoftware.Synchronization.WinCE.dll". Could not find file 'obj\Release\NipoSoftware.Synchronization.WinCE.dll'. However if I build the same solution using ...Show All
.NET Development Transform an ArrayList to a generic List
Hello, I would like to transform an ArrayList into his generic corresponding List. There is a method to transform a IList to an ArrayList (ArrayList.Adapter) but I want the inverse. I apologize for my bad english but hope you understood. Thank you for answering Stephanie Well, since ArrayList implements the IList interface, yes, you can, implicitly: IList iList = new ArrayList (); ...Show All
SQL Server Connecting to SQL Server with a login form.
Hi all, I'm new to VB and VB.net and forms and everything, so please bare with me :) I am constructing an application which is connected to sql server 2000. What I want to do is have the Login form open upon startup then have an option group where the user states if he wants to use NT or SQL Server authentication. . Then I want a combobox which looks up all the current sql servers there are on the network, so that the user chooses the sql server that it connects to. or if that's not possible, just a textbox with the sql server and database name. I already have the option group (although I don't know how to get their values, ...Show All
Visual C# Navigate DataSet
Hi all, I had a datagridview which is bind to a dataset. I want to do some condition checking where by if certain field is empty, I will highlight the row of datagridview to some other colour. By doing this, am I right to say that I need to navigate through the dataset to check if the field is empty. If yes, may I know how to navigate the dataset Please help. Thanks Is this ASP.NET application or Windows Forms application ASP.NET's GridView supports RowDataBound event. http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowdatabound(VS.80).aspx ...Show All
Windows Forms Hide a tab Page in vs 2005 is this possible?
In vs 2003 you had to remove a page and then readd it. In my eyes I could not see the reason of MS not providing a visible property I see that in vs2005 is still the same thing They say is by design mmm... What is it the proper way to handle the visibility of a tab page in vs2005 thanks for your help Hi, Use the Insert function rather than the Add in the TabPages Collection. So that you could specify the index to add the tabpage. tabControl1.TabPages.Insert(2, tabPage3); cheers, Paul June A. Domag ...Show All
Visual Studio Team System Application Center Test - No Simultaneous Connections
Perhaps not the best place to post such a question but MS seems to be doing an outstanding job of evading my questions. Does ANYONE here know anything about "Application Center Test" load testing tool I am trying to run some scripts in Application Center Test with the "Simultaneous browser connection" property set to 5 or more. But it does not seem to actually run the simultaneous browsers. The results says that it has ran the 5 simultaneous connections, but the "Total number of Requests" value only reflects that of a single browser connection (my script makes 37 requests, and total requests should be 37 x 5 smultaneous connections= 185, bu ...Show All
