| problem using AsyncCallBack (2 replies) |
| microsoft.public.dotnet.faqs |
| I'm porting a vb6/winsock app. ( that reads the messages from a newsgroup server) to .net and ran into some problems using AsyncCallBack() here's what's happening i'm using tcpclient() after connecting to the server the first command executed is "MODE READER" the second command is "GROUP groupname " the problem occurs while executing the second command, if i switch the commands, the result is the ... |
|
| recommad a book (6 replies, VIP) |
| microsoft.public.dotnet.faqs |
| hi i am familiar with c and msvb. however, i am not familiar with visual studio.net. do you know a good book to show how to use .net. also, do i need a book for c#? is it different from c ? thanks |
|
| Question: column-name header formatting on datagrid (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi, In my Windows application executes SQL string(Select TOP 500 * from ...). Selected data populated in datagrid. All of the column names in my tables have leading 3 chars prefixes describing column's datatypes, like intAge, dteDOB, blnEnrolled, so on. How can I trim the leading 3 chars from my column names in my VB.Net application(not on SQL Server side), so it would display DOB, Age, Enrolled i... |
|
| Please Help me! (3 replies) |
| microsoft.public.dotnet.faqs |
| Hi, I am creating a MFC Automation Server (From Wizard) I am exposing one interface IMyInterface as disinterface with one method "SampleMethod([in] VARIANT param); " My MFC Automation server is successfully installed. On the same machine I am created one .NET C# client for this. My code is like object i 10; MySampleClass msc new MySampleClass() msc.SampleMethod(i); When control reaches last line. ... |
|
| Wanted: Printable C# coding standards document (8 replies, VIP) |
| microsoft.public.dotnet.faqs |
| Hi, does anybody know if there is a printable C# coding standards document? I found C# coding standards in the online MSDN, but it is not convenient to print out the different pages. Any links would be welcome. Regards, Hermo |
|
| Simple question: How to replace the TextHeight and TextWidth VB6 properties ? (3 replies) |
| microsoft.public.dotnet.faqs |
| I saw one day something which could return the height or the width of a string, but I can't remember (or find again) which function is it, and from which class ! Many thanks for your answers. Michael |
|
| GetResponse error occurrence! Help me pls! (2 replies) |
| microsoft.public.dotnet.faqs |
| Hello! I want to copy file(s) from network resource and do following: objWebRequest WebRequest.Create(s url) bjWebRequest.Credentials CredentialCache.DefaultCredentials objWebResponse objWebRequest.GetResponse In the last line error (The process cannot access the file '\\ShareDir\database.mdb' because it is being used by another process) occurrence, in the case if the file is already being used (f... |
|
| Oracle and ASP's (2 replies) |
| microsoft.public.dotnet.faqs |
| I've written an ASP to display a SQL2000 Database in a DataGrid and it works fine. I'm now trying to do it with an Oracle Database and it will not display the DataGrid. It compiles okay with no errors. I've tried twoi techniques and neither works. One is the same as my SQL database uisng a SUb to bind the data to the grid the other technique is to use the wizards and create the dataset and then up... |
|
| CreateObject equiv in .net? (2 replies) |
| microsoft.public.dotnet.faqs |
| Hello, just a question: does .Net provide some api by which to dynamically load a library (an assembly) at runtime, by its name? In VB you can do something like: set newObj CreateObject(szObjectInterfaceName) where szObjectInterfaceName is a string holding the interface name (e.g. "ADODB.Command") or the classid. Does .net provide something similar to load .Net classes or assemblies by specifying ... |
|
| Date Picker. (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi Guys, I asked a question the other day regarding the calendar control using a popup and someone suggested using DateTimePicker. Sorry for my ignorance but how do I add this to my page. I have looked at the toolbox and I can not see it. I have checked that it has been chosen in the toolbox customisation and it has. I can not find it. Any help would be appreciated. Thanks, Steve Wilson. |
|
| There's a way to call a procedure from server on onuload client event? (3 replies) |
| microsoft.public.dotnet.faqs |
| Hi! I'm working with WebForms and I have Open DataSets and Connections, I want to close them before the user exits... on the unload event can I call the appropiate procedures to close the connection and the datasets? Thanks! |
|
| How to show two columns in a ComboBox? (5 replies) |
| microsoft.public.dotnet.faqs |
| Hi, How to show two columns in a ComboBox? for example, the product Cod and Name of table Products ******************************* * 104 Prodtuct 1 * * 105 Prodtuct 2 * * 106 Prodtuct 3 * * 107 Prodtuct 4 * * 108 Prodtuct 5 * ******************************* Thanks in advance.... |
|
| ODP error ORA-00911:invalid Character (3 replies) |
| microsoft.public.dotnet.faqs |
| Hello I have the following code to insert values into a table: this.oracleInsertCommand new OracleCommand(); this.oracleInsertCommand.CommandText "INSERT INTO MyTable(ID, ISIS ID, TYPE ID, STATUS ID) VALUES (?, ?, ?, ?)"; this.oracleInsertCommand.Connection this.oracleConnection; this.oracleInsertCommand.Parameters.Add("ID", OracleDbType.Varchar2, 12, "ID"); this.oracleInsertCommand.Parameters.Add... |
|
| Ref in C# versus a method (3 replies) |
| microsoft.public.dotnet.faqs |
| Hello If I have a two methods: public DataSet getDataSet1() { DataSet ds; // More code. return ds; } and another method which does the same thing: public void getDataSet2(ref DataSet ds) { // some code ds ...; } Which one is more efficient. TIA Yaz |
|
| XmlSerialization (2 replies) |
| microsoft.public.dotnet.faqs |
| I am trying to serialize a class with System.Drawing.Color properties and I am getting an error. Is there any way to solve this ? |
|
| Use of OO in a ToolBar (5 replies) |
| microsoft.public.dotnet.faqs |
| Hello All examples I have seen using the toolbar does not seem to be brilliant: private void ToolBar ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e) { if(e.Button Up) { // do something } if(e.Button Copy) { // do something } // This carries on for all Buttons in the toolbar. } If there a smarter way ?? TIA Yaz |
|
| Create Labels, textboxes at Runtime in .DotNet (4 replies) |
| microsoft.public.dotnet.faqs |
| Hello I have a windows form and when I click on a button I want another form to be displayed which contains labesl, tesxtboxes. I would want the second form to generate the labels and textboxes at runtime. Is ther an easy way of doing this? TIA Yaz |
|
| DataSet concept (8 replies) |
| microsoft.public.dotnet.faqs |
| Hi, I understand that DataSet uses disconnected architecture. "The client application requests the data, which are downloaded to the client computer and stored locally. The Everything you do the DataSet is local to the client and dones affect the tables in the database." I have couple questions here: 1. Where is the DataSet stored? memory, hard disk or etc. In a Citrix server architecture, the web... |
|
| Caching not possible in WinForms!?!?! (4 replies) |
| microsoft.public.dotnet.faqs |
| Hi, You're the last resort here; I have a big Windows application that processes a large amount of data. Biggest of the tables contains over 2,5 mil recs. For some reason, users want to have an option to see all the data at once also(like "select * from tbl"). All of the reasoning to them led to nothing. They want to be able to see over 2 mil rows in the DataGrid. Now, here comes the intresting pa... |
|