|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
View formatted XML?
Tarun Mistry -
3 Dec 2005 11:56 PM - 2 messages
Hi everyone, is it possible to return the formatted interpretation of an XmlDocument object? Using an XmlWriter object I can write a formatted document to a file, however I want to store it within a string var and output to the screen. ...
How to best intercept keypresses in a TextBox?
Robert W. -
3 Dec 2005 8:18 PM - 6 messages
I'm trying to setup a mechanism whereby I store a formatting code in the Tag of a textbox. This code might be "UpperCase" or "LowerCase" or "NumericOnly". I've been trying out various code in KeyPress and KeyDown but haven't been ...
ClickOnce and FireFox
Benny Raymond -
3 Dec 2005 8:08 PM - 3 messages
Anyone get ClickOnce working with FireFox? I'd like to use ClickOnce so I can stop messing with installers but I just realized that ClickOnce doesn't work with FireFox (and who knows what else) Thanks in advance ~Benny ...
dropdown problem with setting selected values
segal.aviad -
3 Dec 2005 8:04 PM - 8 messages
Hi, I'm trying to write a web page containing three dropdowns. The dropdowns are declared as follows: <asp:DropDownList id="cmbCat1" runat="server" AutoPostBack="true"></asp:DropDownList> <asp:DropDownList id="cmbCat2" runat="server" AutoPostBack="True"></asp:DropDownList> ...
Default Button for Enter Key on Web Form
Fred Nelson -
3 Dec 2005 7:10 PM - 5 messages
Hi: I'm a relative newby and I'm writing a C# web application in VS2005. I have several forms with multiple buttons. In 95% of the cases users will click a particular button. I would like to allow them to press the enter key if they are selecting ...
DB handling in C#
JW -
3 Dec 2005 5:45 PM - 5 messages
What classes and APIs are available in .NET if program need database support? I have used OleDB but are there others too? Pooling such be supported, Cheers, JW ...
Serialization Problem
Curious -
3 Dec 2005 3:37 PM - 2 messages
Hi, I am trying to use the following code to make xml serialization to a file. The following error is being given: "An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll Additional information: There was an error generating the XML ...
Calling C# method from C/C++ DLL
Ann Huxtable -
3 Dec 2005 3:22 PM - 3 messages
I have a simple Log method, signature : void(int,string), that I want to be able to call from my C/C++ (unmanaged) code. Is there any reference available to show how this may be done? Thanks ...
declarative prograaming (?) in C#
Ann Huxtable -
3 Dec 2005 3:20 PM - 5 messages
I keep coming accross C# code that has sections of code like this: [System.Diagnostics.ConditionalAttribute] could any one please explain what these sections are (reminds me of XDoclet tags in Java programming) or better still - a reference to where ...
How do you remove the TreeNode's ToolTip?
Benny Raymond -
3 Dec 2005 3:17 PM - 2 messages
When a TreeNode's label is cut off by the bounds of your application, when you mouse over it a tooltip appears. Is there anyway to stop this from happening? Thanks, Benny ...
StringBuilder.Append() vs concatenation
Simon -
3 Dec 2005 1:50 PM - 7 messages
Hi folks, I'm aware of the fact that using a StringBuilder is more efficient than constantly reassigning a string. For example. Example A --------- SringBuilder sb = new StringBuilder(); sb.Append("Some text"); sb.Append(" and some more text"); is more efficient than ...
How to convert a String into Byte[]
EOS -
3 Dec 2005 1:37 PM - 6 messages
Hi, Thanks for this great forum and my convertion from Byte[] into String works beautifully with Encoding.ASCII.GetString() Anyone how to do the reverse, I mean convert a String into Byte[]? In C\C++, I will cast the CString into LPCTSTR and use simple memcpy. ...
virtual path from a physical one
dmalhotr2001 -
3 Dec 2005 1:25 PM - 3 messages
Hi, I was wondering is there a way to get the virtual path (i.e. http://localhost/blah/blah) if you specify a physical one (i.e. C:\wwwroot\inetput\exampleDir). I know you can do the opposite with Server.MapPath. However I'm ...
Fire a buttons click event when enter pressed in combo box
kohoutec -
3 Dec 2005 12:15 PM - 3 messages
Hi Im very much a beginner so apologies if my terminology is wrong. I have a combo box with some items already loaded, the users can also enter a new item. If they enter a new item and then press return on the keyboard I ...
Store program data
Piotrekk -
3 Dec 2005 10:55 AM - 5 messages
Hi everyone. I would like to ask about good habid, of keeping program data. I have written in C# Server and Client applications, and now i need to care about authorization. What i mean is that Server should allow login only authorized users - ...
treeview to string?
gordon -
3 Dec 2005 9:48 AM - 3 messages
Hi I am trying to get the selection from a tree view with a child node to be written to the value of a label. I am using... private void btnShow_Click(object sender, System.EventArgs e) { lblShow=tvSelection.SelectedNode.ToString(); ...
[MSIL Generation] Local Array Initialisers
Cool Guy -
3 Dec 2005 6:22 AM - 2 messages
After the following has been compiled, the number literal values are stored in a special class field: class Test { static void Main() { int[] arr = new int[] { 1, 2, 3 }; ...
C# Windows Form DataGrid and DataTable
Jason Huang -
3 Dec 2005 5:14 AM - 2 messages
Hi, I have a DataGrid DataGrid1 in my C# Windows Form MyForm. The DataGrid1 uses DataTable as it's DataSource in the run time. Now that I have Column1 and Column2 and 2 DataRows in MyDataTable. How do I do to let the DataTable updated saying that I changed the ...
Process ExitCode 1 for batch file execution from C#
Zeya -
3 Dec 2005 3:07 AM - 4 messages
I have created a very simple batch file and trying to retrieve the standard output but everytime I run the code it returns ExitCode as 1. I have created a batch file as simple as ping localhost or echo hello ...
Simple Unboxing Question
Robert W. -
3 Dec 2005 3:01 AM - 7 messages
I have a situation where I have pairs of strings that I want to put into an ArrayList and then later pull out of it. To keep things simple I tried this to put them in: arrayList.Add(new object[] {stringA, stringB}); ...
Re:It is very strage!!
Billow -
3 Dec 2005 1:02 AM - 11 messages
The code of characters gotten by ToCharArray in c# are diferent from in vb.net or vc. VB.net code: Dim StringSource As String = "¤§£äfg¤ìÈýfÏîsʽavFg¤Õ£æ¤²" ...
Unable to generate schema using XSD.exe tool
Nathan Wiegman -
2 Dec 2005 11:47 PM - 3 messages
Hi, I am using the XSD utility to generate schemas for some of the classes that we serialize in our project. Everything works fine and dandy until I try and create a schema for a class that spans assemblies. ...
C# BCP API
Joe -
2 Dec 2005 11:44 PM - 3 messages
Hello, I'm calling a stored procedure to bulk insert data but the procedure doesn't like a unc address format being passed to it. I wondered if anyone had tried to write an API to bcp as I think that could solve my ...
XML Processing and c#
Tarun Mistry -
2 Dec 2005 11:14 PM - 7 messages
Hi all, just looking for a little guidance with xml procerssing. Imagine the scenario, I have a XmlDocument object populated with XML. I need to find and replaces some of the text in one of the nodes, i.e. the basic ...
Setting UTC time to 1970 (Unix Epoch)
Maziar Aflatoun -
2 Dec 2005 9:36 PM - 5 messages
Hi, Can someone please tell me how I can set DateTime to 01/01/1970 (UTC). Doing the following DateTime dt1 = new DateTime(1970, 1,1); Debug.WriteLine("dt1(utc):"+ dt1.ToUniversalTime().ToString()); Doing the following returns 1/1/1970 5:00:00 AM ...
What is the GetTickCount() equivalent in C#?
EOS -
2 Dec 2005 9:28 PM - 24 messages
Hi, As the title indicated, does anyone know the equivalent of GetTickCount() function in C/C++ for C#? The function is supposed to return time elapsed since the computer/device is booted in milisecond. By te waym thanks for all the previous help. It is really not easy to ...
101 Samples for Visual Studio 2005 - Question
TheCoder -
2 Dec 2005 9:23 PM - 2 messages
OK, so I am sure I am being retarded but I do not see solution files for many of the web projects within these samples. Is there something that I am missing? Thanks. ...
DataGridView Cell Position
Peter -
2 Dec 2005 8:56 PM - 6 messages
How do I get DataGridViewCell cell position in a window? For a button I would do this: this.Button.PointToClient(this.Button.Location) But what do I do for DataGridViewCell? Thanks Peter ...
Waking a suspended computer.
Christopher Stott -
2 Dec 2005 8:54 PM - 2 messages
I'm working on a PIM program, which can function as an alarm clock. It needs to be able to suspend the computer, and wake it up at a particular time. As a test, I'm using a Waitable timer (through PInvoke'd Win32 calls) to ...
Command Line Arguments
Frank Rizzo -
2 Dec 2005 7:58 PM - 2 messages
I am writing a little add-in that needs to read the Command Line Arguments for the project as defined in the Project Properties\Configuration Properties\Debugging\Command Line Arguments. How do I get at from my addin? I've tried looping through ...
this embedded
Rosie -
2 Dec 2005 6:52 PM - 2 messages
evening everyone i want to move some code from in a function thingy to in the class. its which loads the embedded resource to a new bitmap but it says that 'this' isnt available in the context - pls help me. r ...
Global hotkey
Marc Gravell -
2 Dec 2005 6:47 PM - 3 messages
Just a thought prompted by the chain "Splitting up a string"; ages ago a wrote (in VB via Windows API dll calls) a global hotkey app that runs silently, intercepts [Ctrl]+[Alt]+V, converts the clipboard to a string and ...
Coding an application to be single instance?
Jeffery Tyree -
2 Dec 2005 6:21 PM - 8 messages
I am writing an application in C#.NET that is "AlwaysOnTop" and there should only be one instance of this program running at any given time. The "AlwaysOnTop" piece is working just fine but I need to know how to prevent ...
How to convert Byte[] into String?
EOS -
2 Dec 2005 5:58 PM - 8 messages
Hi, I would like to ask on how to convert array of bytes, Byte[] into String? I tried StringIwant = System.Convert.ToString(byteData); but it actually return "System.Byte[]" rather than convert the data I wanted into string. I guess it should be a rather simple question. ...
DataGridViwe Find
Peter -
2 Dec 2005 5:37 PM - 8 messages
How do I do Search in DataGridView and make the found row visible in UI? Thanks Peter ...
It is very strange!!
Billow -
2 Dec 2005 5:32 PM - 3 messages
The code of characters gotten by ToCharArray in c# are diferent from in vb.net or vc. why??? ...
FileIO Netwk Permissions!
Vai2000 -
2 Dec 2005 5:14 PM - 9 messages
Hi All, How do I access a shared Drive which requires username and password to access? I need to write a file in a folder within it TIA ...
Naming Convention Redux
clintonG -
2 Dec 2005 4:54 PM - 2 messages
How are you all doing with not using Hungarian as it has been recommended? // LinkButton ChannelTitle or channelTitle? // LinkButton ChannelTitleLinkButton or channelTitleLinkButton? Others? <%= Clinton Gallagher ...
How to use [DllImport("user32.dll")]
Juan Martinez -
2 Dec 2005 4:54 PM - 3 messages
In a form i have a drawing control called VectorDraw and a textbox. The text box is disable, when i am using the drawing area i can write some text, what i want to do is that when i press any key that key show in ...
Regex help needed...
JS -
2 Dec 2005 4:43 PM - 5 messages
I am writing a C# app that needs to parse a sentence entered by the user for a simple boolean search. I need to capture all of the AND words that are not inside of double quotes. However, I am having a heck of a time figuring out a regex for it. ...
Control Event not firing
Jimmy Jazz -
2 Dec 2005 4:35 PM - 5 messages
Hi, I've created a webControl with a list of buttons. Each of the buttons has a CommandEventHandler attached but when they are clicked the corresponding postback does not enter the associated event mehod, Can anyone help please. Jim ...
Good C# windows forms/GUI design book?
Macca -
2 Dec 2005 4:25 PM - 2 messages
Hi, I am looking for a good C# windows forms/GUI design book. I have seen Windows Forms Programming in C# by Chris Sells. Has anyone read it? I'd appreciate any recommendations, Thanks In Advance Macca ...
SqlTransaction problem???
perspolis -
2 Dec 2005 3:58 PM - 5 messages
Hi all I have a master-detail tables in sql server. I use SqlTransaction to insert data into both tables. it works well but if I check the "Cascade Delete Related Records" option in it's realtion in sql server my SqlTransaction dosen't work and get timeout ...
Accessing selected text
CodeRazor -
2 Dec 2005 3:49 PM - 6 messages
How can i retrieve the value of highlighted text within a text box? thank you. ...
calling outside program and getting its handle
nikola.bucic -
2 Dec 2005 3:38 PM - 2 messages
subject tell everything. tnx in advance ...
Var type
Maarten -
2 Dec 2005 3:28 PM - 5 messages
HI, i want to split a variable containing this -----> prog/2 i want to split on the / the value is entered in a datagrid, but when i declare the collumn fir stringinputs i get an error the the inputformat is wrong. ...
Printing Problems
MLM450 -
2 Dec 2005 3:24 PM - 5 messages
I have an unmanaged C++ program that displays a printer dialog and then asks my C# program to perform the printing operation. What printer info do I pass to my C# program? It looks like I need to establish values in ...
Need example: Add password to Excel file.
vbMark -
2 Dec 2005 3:20 PM - 3 messages
Greetings, I have an existing Excel file. I need to programatically password protect the file so that it can't be read unless the password is entered. Any code examples? Thanks! [c# 2005] ...
what is the meaning of "PublicKeyToken=null is not marked as serializable." ?
Prakash -
2 Dec 2005 3:16 PM - 3 messages
Hi Friends, In my C# application, i have tried to serialize some structured data using Soapformatter. While calling the serialize funciton i got the exception message like "mscorlib....The type <Appname>.<structurename> in Assembly <Appname>, ...
Mysql connection string problem
Lorenzo -
2 Dec 2005 3:05 PM - 2 messages
I have a problem with oledb connection string of Mysql for .NET I installed MyOleDB3.exe Mysql server version 4.1.8-nt I used this connection string : strConnectionString="Provider=MySqlProv;Persist Security Info=True;Location=10.0.0.17;Data Source="+strDatabase+";User ...
Determining object type from C# at runtime
Martin Robins -
2 Dec 2005 3:04 PM - 8 messages
I am currently looking to be able to read information from Active Directory into a data warehouse using a C# solution. I have been able to access the active directory, and I have been able to return "DirectoryEntry" objects within the path that I specify (either using the DirectoryEnrtry.Children or using the DirectorySearcher class) and all started well and dandy! ...
Serialize A Dictionary
Andrew Robinson -
2 Dec 2005 3:02 PM - 6 messages
I need to serialize a dictionary so I can encode the contents. I have the following working but the size seems large. I am guessing that I am serializing the entire object not just the data. Is there a better way? ...
Create class files from an assembly?
DapperDanH@nospam.nospam -
2 Dec 2005 2:59 PM - 3 messages
Is there a commercial tool or sample code that can take a dll assembly and create code similar to the interfaces/namespaces/classes within the assembly? Any products that can do this, particulary with C#? Thanks, Dan H. ...
How to read a file from network with different ID and Password
david.kao@opco.com -
2 Dec 2005 2:58 PM - 4 messages
I am trying to write a program for a server application that needs to write a file and read a file from a network driver with different network ID and password. Here is code ...
File sent only partially
Piotrekk -
2 Dec 2005 2:50 PM - 2 messages
Hi I have a question. Why file, that i wanna send is sent only partially. When i wanna send 4xx kb only 266 is sent. Thanks for your help PK Here is the code: if (Client.Connected) ...
How to define and use a property of delegate type,"=" or "+="?
han zhiyang -
2 Dec 2005 2:45 PM - 6 messages
Hi. I tried to design a custom web control which can flexibly and dynamicly let the control user ,for example the web page developer, customize its layout codes.This control derives from System.Web.UI.Control,and for my ...
What's better? Graphics.FromHwnd or Graphics.FromHdc
Benny Raymond -
2 Dec 2005 2:23 PM - 2 messages
I've seen both used... FromHwnd can be called like this FromHwnd(this.Handle). FromHdc needs a call to User32.GetWindowDC(this.Handle) - so my assumption is that FromHwnd is better because it's less calls, but what's really the case? ...
How to check for a closed socket
Nuno Magalhaes -
2 Dec 2005 2:00 PM - 3 messages
How to check for a closed http socket without losing any data? (MSDN says to send something to server). Somewhere in my code (after sending the http header in plain text) I'm doing a loop with: Loop:---------------- Socket.Receive //receive http data chunks ...
Binding / Reflection - Another Question
Doug Handler -
2 Dec 2005 1:56 PM - 5 messages
Ok, I think this is my last one - in my app, the user can select via a dialog box the dll's they want to load. I use a checkbox to track this (no worries there), but, once a dll has been bound, how can i make sure that during the ...
nhibernate - id change
Roman -
2 Dec 2005 1:19 PM - 9 messages
Hello i got this simple problem using nhibernate. I want to chang the id( primary key of the) object and update it, to change this key. i me getting nhibernate exception like this: identifier of an instance of {0} altered from {1} ({2}) to {3} ({4}) // in ...
GROUP BY
Roy Gourgi -
2 Dec 2005 1:05 PM - 6 messages
Hi, Is there a way to group rows by some columns in such a way that I can clearly see them in a distinguished fashion when I look at a view or table. This is my code below but when I try using GROUP BY it is not giving me the ...
user control scroll
edi sol -
2 Dec 2005 12:54 PM - 2 messages
Hi, I am writing a hex edit control from a UserControl. I use drawtext method of the graphics object in the OnPaint. When the text which I draw go out of the visible rectangle of the control I want to create ...
Late Binding Question
Doug Handler -
2 Dec 2005 11:50 AM - 2 messages
In my application several modules are dynamically bound via Reflection to the main app - this works fine. Is there a way that I can dynamically unbind a module. Basically, i want a dialog box that the user selects which ...
overload constructor
Doug -
2 Dec 2005 11:19 AM - 8 messages
Hi I am working through a learning module privately where there is discussion about overloading the constructor. Could someone please let me know the benefit or purpose of doing this in a class? Thanks doug ...
Is there much difference between VS.NET 2002 and 2003???
Jon S via DotNetMonster.com -
2 Dec 2005 11:17 AM - 5 messages
Hi all I've taught myself C# 2002 using VS.NET 2002. I've recently brought myself an ASP.NET 2003 book. I will work through this ASP.NET 2003 using VS.NET 2002 and C# 2002. I don't fully understand the differences between the VS. ...
Username, local group, IsInRole
Anna -
2 Dec 2005 11:15 AM - 2 messages
Hi, I would like to do the following on the WinXP SP2 using .Net framework 1.1 & C#: If I know the username (can be domain user or just local user), I do not know the password, and I know the group name (local group) and the user is ...
a simple http server plz help
lucifer -
2 Dec 2005 11:05 AM - 3 messages
hi, i am creating an simple http server ie it serves only static pages . u can compile the code then use ur browser if it is IE then the it shows the page but the http header is also shown ...
[Offtopic] Code to scheme tool
Tom -
2 Dec 2005 10:55 AM - 2 messages
Hi folks, I'm looking for something to make from my c# project code an scheme with connections between functions. It would be than easy to find redundand functions. An very very very example: void Main(int t) { int f=calculate(t); ...
C#
Virajitha Sarma -
2 Dec 2005 10:53 AM - 3 messages
[StructLayout(LayoutKind.Explicit)] public struct SampleUnion { [FieldOffset(0)] public uint dword; [FieldOffset(0)] public byte[] bytes; [FieldOffset(0)] public uint byte3; [FieldOffset(8)] public uint byte2; [FieldOffset(16)] public uint byte1; ...
mshtml & web browser from dotnet service
NG -
2 Dec 2005 10:04 AM - 3 messages
Hi All This is a post further to my previous problem that I solved with the help of my friends at csharp group. I have a UI application that has a web-browser. When this application is run with the URL as one of the command parameters, this application accesses ...
Snap lines
Marc Gravell -
2 Dec 2005 9:31 AM - 2 messages
For a bespoke control, how can I implement my own designer snap lines in VS2005? I remember finding an MS article once, but I now can't re-locate it. Basically, I have a custom-control that comprises e.g. a TextBox and some ...
Memory Status
Rain -
2 Dec 2005 9:16 AM - 2 messages
Does anyone know how i can get my available and total CPU memory status using C#? Please help. :D badly needed for a part of my module for my thesis. Thank You so so much! ...
windows form datagrid question
Jason Huang -
2 Dec 2005 9:12 AM - 2 messages
Hi, In my Window Form, my DataGrid1 uses DataTable MyDT as it's DataSource. Now MyDT has 3 columns, after the following Column.Add commands, "Column1","Column2", and "Column3". MyDT.Columns.Add("Column1"); MyDT.Columns.Add("Column2"); ...
problem with OleDbParameter (using a variable columnname in a sql string ).
Sagaert Johan -
2 Dec 2005 8:45 AM - 3 messages
Hi I try to use this as sql string ( The field i compare with is variable. ) "SELECT * FROM FMatrix WHERE @wantedfield=@criteria" i use the Parameters.Add with OleDbType.WChar . Why can't i specify the field i want to use as a parameter ? ...
How to get the full path of local IIS root folder?
Tee -
2 Dec 2005 8:21 AM - 5 messages
Hi, Can anyone tell me how to get the path of IIS root folder from coding? Eg: C:\Inetpub\wwwroot. I would like to detect it via coding as not everyone set it at the default folder. Thanks, Tee ...
socket -client
Ankit Aneja -
2 Dec 2005 7:44 AM - 9 messages
i am doing here some some socket-client work in C# windows service it is working fine for multiple clients now i want to limit these multiple clients to 25 for example i want that when service starts objects for all these 25 clients ...
Running process from C#
Zeya -
2 Dec 2005 7:15 AM - 2 messages
Scenario: Currently, there is a .lnk file which when executed does the following: (from Property -> target) %windir%\system32\cmd.exe /k set a=something&set b=something2&c:\path\setsenvironment.cmd Note: the last parameter (C:\path\setsenvironment.cmd). ...
PocketPC Database Connection .NET 1.1
Steven Nagy -
2 Dec 2005 6:49 AM - 5 messages
Hi all, I have a situation at work where I need to connect a Palm to an SQL Server or Access database. I'm a bit stuck as to how to proceed. I have scoped an XML client/server architecture to deal with this, however I ...
Choosing an exception
Ant -
2 Dec 2005 6:16 AM - 7 messages
Hi, I'd like to catch a specific exception that is raised when an int is assigned a string. I can't force the exception to see what is thrown because it creates a compile time error when fed a dummy value. ...
Change DataGridView Column Type
Peter -
2 Dec 2005 6:09 AM - 5 messages
How to I changed bound column in DataGridView from DataGridViewTextBoxColumn(); to DataGridViewButtonColumn() ? Thanks Peter ...
Shared files
avinashraj -
2 Dec 2005 4:55 AM - 3 messages
Hello, In the past when working with VB.net, if several projects needed to use the same set of constants, I would declare them in a Class file and share the class file (in VSS) b/w several projects.This way, if one of ...
Help: how to capture the image of a specific window?
ÓíÏ£³õ -
2 Dec 2005 4:35 AM - 2 messages
I have a son, and every night I talk with him through IM. Although, I can see him in display, I want to capture his photos and save them into harddisk, so that I can see later. For that, I decide to make a program to do it. ...
DataGridView Button
Peter -
2 Dec 2005 4:33 AM - 4 messages
I need to add a button to a DataGridView, but the button should only show up in the cell when user clicks on a cell in the DataGridView and disapear when user clicks off the cell. Does anyone know how to do that or has an example? ...
Convert DOS execution to C# code
Zeya -
2 Dec 2005 2:32 AM - 5 messages
Scenario: Currently, there is a .lnk file which when executed does the following: (from Property -> target) %windir%\system32\cmd.exe /k set a=something&set b=something2&c:\path\setsenvironment.cmd Note: the last parameter (C:\path\setsenvironment.cmd). ...
Control Array
Jim McGivney -
2 Dec 2005 1:49 AM - 2 messages
I am working on an ASP.net project with code behind in C#. I must manipulate the contents of many label controls. In visual basic (VB6) I could place all the controls into a control array and then refer to an individual control it's index number. ...
How do I associate an icon with 'favorites' list?
Brian Kitt -
2 Dec 2005 1:34 AM - 2 messages
Over the years, from time to time, I've added a website as a 'favorite', and noticed that an icon (other than the standard ie icon) would be associated with it. Unfortunatley I don't have any of these saved anymore. I have a ...
Displaying Shut Down dialog
nikola.bucic -
2 Dec 2005 12:07 AM - 2 messages
Is there any code so that I can call shut down dialog box from my program? Under shut down dialog box I mean the one that is shown when you click on Start -> Shut Down. Thanks in advance. ...
XML Documentation in .NET 2.0 and <see...> links to overloaded methods
Lasse_Vågsæther_Karlsen -
1 Dec 2005 10:42 PM - 2 messages
If I got the following three methods: /// <summary> /// Tests the string. /// </summary> /// <param name="s"> /// The string to test. /// </param> public void Test(String s) { } /// <summary> /// Tests the integer. /// </summary> ...
Weird Unique ID
Saso Zagoranski -
1 Dec 2005 9:28 PM - 5 messages
Hi, I'm making a simple application which will store different items (in a SQL server 2000 - MSDE database). Each item has a unique ID in this form: [max 2 characters][max 5 characters] / [max 4 characters] / [max 1 character] / [max 1 character] ...
Sharing programs with friends
James -
1 Dec 2005 9:27 PM - 4 messages
Hello, I want to show my friends my c# work, but sending them the bin/release/progname.exe program doesnt work. Research has indicated this is because they have the .net framework v1.1 - whereas I have v2.0 I have worked out that if I hit the menu 'Build, Publish progname' ...
Setup Project
Mel Weaver -
1 Dec 2005 9:11 PM - 2 messages
Hello, Without using ClickOnce deployment, is it possible to create a windows application setup project to update from a shared drive or web site? Mel ...
Multi string array
Arjen -
1 Dec 2005 9:07 PM - 2 messages
Hi, I want to have a multi string array, but I don't know the syntax. private string[???] myArray = new string[???] { {"1", "a", " ", " "}, {"2", "b", " ", " "}, {"3", "c", " ", " "} } Can someone help? Thanks! ...
Prevent Running Code in IDE Design
pagates -
1 Dec 2005 8:50 PM - 3 messages
Hello All, Is there a way to prevent control initialization code from running in design mode in the IDE (in other words, when I bring up the form to edit it)? It seems like it should be simple, but darned if I can't figure out where ...
VS 2005, compiling against .NET 1.1
Paul Aspinall -
1 Dec 2005 8:38 PM - 7 messages
Hi I have VS 2005, but some of the components I'm using (Infragistics NetAdvantage 2005), have issues with .NET 2.0 For this reason, I'm being forced to compile against .NET 1.1 How do I do this?? Is it possible?? Is it supported to use VS 2005 with .NET ...
a simple http server
lucifer -
1 Dec 2005 8:26 PM - 2 messages
hi, i am creating an simple http server ie it serves only static pages . u can compile the code then use ur browser if it is IE then the it shows the page but the http header is also shown ...
passing indexers and properties by reference
tg.foobar -
1 Dec 2005 8:21 PM - 5 messages
i'd like to do the following, but i don't think it's possible. can you help me find a way to do this, or maybe a better way to write the code? I have a list of items that need to be modified based on their data and ...
SystemOutOfRange Exception
Will Chamberlain -
1 Dec 2005 7:50 PM - 3 messages
The code below is giving me an error saying that row 0 does not exist. I have written the code in VB.NET and it works flawlessly. I am in the process of converting to C# code. This is supposed to work by assigning ...
Datalist DataSource Error
Will Chamberlain -
1 Dec 2005 7:04 PM - 2 messages
I am currently converting some VB.NET web apps to C#. It has been pretty seamless so far but have currently run into some problems that I can't resolve. The line that generates the error is: The specific error is: ...
Detecting which application currently has focus...
Paul Aspinall -
1 Dec 2005 7:00 PM - 2 messages
Hi I am trying to write a piece of code, which will tell me which application currently has focus / which the user is currently working on. ie. if the user is currently in IE, or Word etc.... How can I find this in .NET? ...
VS.2005 Web Express
Rocky Q -
1 Dec 2005 6:44 PM - 4 messages
I downloaded MS VS.NET Web Express. Does install. Says "no way, man". I have VS.Net 2003 installed. Can that be a problem a what? ...
|
|||||||||||||||||||||||