| hex codes for colors (3 replies) |
| microsoft.public.dotnet.faqs |
| where would i find a list of hex codes for colors? i.e. red 0x0C i'm specifically looking for the code for brown, which I do not have, but a list of all of them would be great. thanks, Chris development journal: http://www.mystictriad.com/dev hmm.. dotNetHack? (just kidding) |
|
| If there a function to convert a string containing "00010001" in bits to an Byte? (3 replies) |
| microsoft.public.dotnet.faqs |
| . |
|
| Form inheritance using web Application (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi All, I have query on Form Inheritance. I have tried Form Inheritance (using C#) for Windows Apllications. It is working absolutely fine. But i want do the Form inheritance using web Application (C# , ASP.NET) can anybody tell me how to do that. Thanks in advance Satish |
|
| check Existance of a file on different machine (3 replies) |
| microsoft.public.dotnet.faqs |
| Is there anyway to check for existance of a file on different machine. i.e. we have a data file (text file) thats stored on some other machine as its not to be exposed in case the web server is hacked. and we want to update data from this text file into our database. I know file object but it works only locally.(i.e. work with files stored on local drive) If anyone could help me it will be great. |
|
| on click of a link button should first save the data and then open a new browser (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi, A page consists of a link button. Clicking this link button should first save data in the database. If the data is saved correctly then it should open a new window. I have coded for the link button as Private Sub Button1 Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' perform database save here Response.Write(" script window.open(); /script ") End Sub... |
|
| How to change DataGrid Cell Backcolor (2 replies) |
| microsoft.public.dotnet.faqs |
| Dear All , I working with datagrid, I want to change the BackColor of a particular Cell After binding the data. Any method or properties is there to change it .. Pls mail Me regarding this. Adv Thanks. Regards Govind,. |
|
| HowTo:? open email client to send email (3 replies) |
| microsoft.public.dotnet.faqs |
| How can I duplicate the email link functionality of html in a c# app. I want the user to be able to click on a button and it will open an email client with the to: field already filled in. TIA, |
|
| display stongly typed dataset in datagrid (2 replies) |
| microsoft.public.dotnet.faqs |
| I have a strongly typed dataset with two datatables. The xml representation looks like this usr nam "test user 1" uid "1" email test@test.com /email firstName test1 /firstName lastName test1 /lastName employedBy nam "B400" uid "89898" / /usr usr nam "test user 2" uid "2" email testuser2@test.com /email firstName test2 /firstName lastName test2 /lastName employedBy nam "B400" uid "637545" / /usr Th... |
|
| Problem with System.ServiceProcess.ServiceControllerStatus on Framework 1.1 (2 replies) |
| microsoft.public.dotnet.faqs |
| In Framework 1.0, I can pass "System.ServiceProcess.ServiceControllerStatus" as a parameter when calling .NET Remoting method. However, in Framework 1.1, I get an exception when passing "System.ServiceProcess.ServiceControllerStatus" as parameter. The error message is "Because of security restrictions, the type System. ServiceProcess.ServiceControllerStatus cannot be accessed" Why?? System.Service... |
|
| Hex Conversion difference between VB6 and VB.net ? (3 replies) |
| microsoft.public.dotnet.faqs |
| I apologize in advance if I am posting this in the wrong group or if it has been answered a thousand times, I cannot seem to find any information regarding this "problem". I am trying to "port" this VB6 code to VB.net with pitiful results. Below is the code and the output produced in each language. VB 6.0 Dim test test &HFFFF Debug.Print (CLng(test)) Output 1 VB.NET Dim test test &HFFFF Debug.Writ... |
|
| Datagrid - not able to delete records -Error: Index out of Range (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi All, I was just trying the code from http://www.aspnet101.com/aspnet101/aspnet/codesample.aspx?code delsample Delete from Database Using a DataGrid i am getting this erro when i try to delete Server Error in '/' Application. Index was out of range. Must be non negative and less than the size of the collection. Parameter name: index Description: An unhandled exception occurred during the executi... |
|
| Any ICollections class has a Get(index) method? (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi there, A newbie question: Does any ICollections class has a Get(index) method? From MSDN documentation, an ICollections class usually has Add(), Insert(), Remove(). But I couldn't find a Get(index) to retrieve a member at the specified index. Seems the only way is to get its IEnumerator and then call MoveNext() multiple times. Doesn't sound very convenient, does it? In Java, I can easily add/in... |
|
| How many rows are selected in the DataGrid (2 replies) |
| microsoft.public.dotnet.faqs |
| Hello all, Could anybody tell is there a way to determine how many rows are currently selected in the DataGrid control? The ListView control, for example, has SelectedItems and SelectedIndices collections, but there seems to be nothing similar with the DataGrid control except its IsSelected() method. Therefore, the only way to find out how many rows are currently selected and which rows are select... |
|
| Can someone tell me how to write a bin file from Hex values in VB.NET. (2 replies) |
| microsoft.public.dotnet.faqs |
| I keep writing a text file. |
|
| Empty XML Element (3 replies) |
| microsoft.public.dotnet.faqs |
| I have an empty xml element: resourcetype resourcetypeid "1" activitytypeid "E" name "String"/ I use "XmlNodeType.EndElement" for find end element, but it doesn't work. Have someone an idea? Tanks, Ruslan |
|
| KeyDown Event and Arrow Keys (3 replies) |
| microsoft.public.dotnet.faqs |
| I'm trying to handle a key event in a C# program. It appear that not all key event go through OnKeyDown/Pressed/Up. for example the arrows keys generate only OnKeyUp event and PrintScreen no event at all. Eg the following code doesn't work, it works only with KeyUp event: private void Form1 KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { switch(e.KeyCode.ToString()) { case "Down": vF... |
|
| MS SQL Connectionstring (8 replies) |
| microsoft.public.dotnet.faqs |
| Dear NG Could anyone please provide me with an example for an adodb.connectionstring for mssql server using ODBC. I'am using this: adCon New Adodb.Connection() adCon.ConnectionString "DSN MyServer;UID xxxxxx;PWD xxxxxx" adCon.Open .... .... adCon.Close Kind regards Johnny Emde Jensen |
|
| Abt Datareader Count (4 replies) |
| microsoft.public.dotnet.faqs |
| Hi I am using OELDBDatareader I want to find the number of records in the Datareader. I don't find any methods like count and length. Any Other way is there? Thanks Anandraj.A. |
|
| Assembly dependancies (7 replies) |
| microsoft.public.dotnet.faqs |
| I've written a method to verify that a given assemblies references are installed using Assembly.Load & LoadFrom. Unfortunately, due to the fact that there is no Assembly.Unload method, subsequent calls cannot be trusted as the references have been loaded into memory. I've found a couple of newsgroup postings that mention creating a temporary AppDomain and using a MarshalByRefObject class in order ... |
|
| Shell Function in .NET (2 replies) |
| microsoft.public.dotnet.faqs |
| Hello, What's the equilevant of VB6 shell funtion in ( Shell(pathname[,windowstyle]) ) .NET framework. Thanks |
|
| .net and descriptive concepts! (2 replies) |
| microsoft.public.dotnet.faqs |
| Hi, I am working in J2EE arena for 2 years, but I don't know .NET! Does .NET supports descripive transaction, security, persistence, ....? or should the programmer code these concepts himself/herself? Thanx, |
|
| System.Net.Sockets.Tcplistener (2 replies) |
| microsoft.public.dotnet.faqs |
| I am new to sockets programming, but I need something that seems to be very simple. I need to monitor a port on a server running a background application in order to integrate to another application. I know the port number and the vendor will provide me the binary sequence of the data stream going to that port. This is all they will provide. On this stream (among other info) I will receive an acti... |
|