473,543 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

2
1,536
thread by: Jason Huang | last post Mar 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi, How to insert another Control into a C# 2.0 Webform Table control? I am trying to have a 1 by 2 table, in the left column I have a tree view, while in the left column I have a panel. Thanks for help. Jason
0
1,468
thread by: | last post Mar 27 '08 by:
I'd like to change the "Product name" property on a (Win32) DLL - AFTER it's been built. Basically, I have a post-processing tool that modifies the DLL in a way that can't easily be detected. I want to tag files that have been modfied in this way so that we can right-click on them later and know that they've been modified. How could I write...
1
3,092
thread by: Sin Jeong-hun | last post Mar 27 '08 by: =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
I need to add some files that are required only during the setup process. For example, I need to store the banner image for the installer. But, there's no such Special Folder like "Temp" in the sub menu items of the menu. I added a "Custom folder" and named it "temp", but I've found that it was copied at the installation destination. Where...
0
1,223
thread by: Jeff User | last post Mar 27 '08 by: Jeff User
hi all What happened to OnInit() & InitializeComponent() system generated C# code in VS2005? I cannot find it. Where is the event hookup information located? Thanks
2
1,659
thread by: Steph | last post Mar 27 '08 by: Steph
hello, a little problem : i must do a round number from : 1.125 $ (1 dollar 125) but Math.Round(1.125, 2) = 1.12 and not 1.13 ... how do ? actually i use : Math.Round(1.125+0.0000001, 2) but its not really clean... thanks
4
1,913
thread by: Dom | last post Mar 27 '08 by: Dom
How do I end a program while in Form_Load? I tried both this.Close(), and Application.Exit(), but neither will just end the program there and then. Instead, both allow Form_Load to continue.
2
1,919
thread by: Gancy | last post Mar 27 '08 by: Peter Duniho
I need to execute the command/instruction which is stored in a variable. ex string str = "drRow.ToString()" here i need execute the instruction stored in 'str' and get the value from executing drGalileoToday.ToString()
4
5,922
thread by: jake | last post Mar 27 '08 by: jake
Can someone please give me an example on how to call a wcf method that resides on a different domain from JavaScript (not from C#/asp.net)? All the examples that I have seen show how to call from the same domain. I don't care what the binding is. I'll use what works. I need concrete examples or links to concrete example please. Not just...
3
4,438
thread by: Johnny Jörgensen | last post Mar 27 '08 by: =?Utf-8?B?RGF2aWQgQW50b24=?=
Can anybody tell me what the C# equivalent to VB's Err.Clear() is? As far as I can see, the Err object only exists in VB. But how do you clear the error collection in C# then? Cheers, Johnny J.
0
2,687
thread by: =?Utf-8?B?R2lkaQ==?= | last post Mar 27 '08 by: =?Utf-8?B?R2lkaQ==?=
Hi, I started a thread regarding this issue, but now i'm facing new problem, so i'm starting a new thread, hope it's ok... anyway, using my c# windows application, i'm excuting and exe file (which is written in c++), this exe excute some batch files, and those batch file sometimes wait for user's input. i want to diplay the output of...
5
4,031
thread by: Claire | last post Mar 27 '08 by: GArlington
Hi, I can imagine this question has been brought up before but I've spent all morning trying to find what I need on google without success. My application sits on Mysql or MS sql server engines and to date I've just been using auto-incremental int64 fields to generate my RecID field. I know that in the future the database will need to support...
0
322
thread by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post Mar 27 '08 by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?=
Hi, I have a string that looks like following: <arguments> <item name=\"FIRSTNAME\" value=\"' < & >\"/> <item name=\"NAME\" value=\"MyName\"/> </arguments>" In this string I want to replace < with <
3
2,399
thread by: Jon Slaughter | last post Mar 27 '08 by: Claes Bergefall
How do I add the ability to combine listview with treeview? I want to have a list view but with some items in some columns to have the ability to act as a tree instead of just a single item. (like, say, how outlook express does it with its message headers) Is it possible with ListView? I haven't been able to find anything that mentions how...
1
1,310
thread by: J-L | last post Mar 27 '08 by: J-L
Hi, Is Windows 2000 compatible with .net Framework 3.5 please ? Jean-Luc !
6
3,496
thread by: =?Utf-8?B?TmVpbCBC?= | last post Mar 27 '08 by: Marc Gravell
I've JUST move to Vista, VS 2008, C# from XP, VS.net 2002, VB & C++ so I'm on a steep learning curve. I'm currently developing a C# Web App project in VS 2008. I need to query an existing MS Access data base. I thought LINQ would be the way to go. Can you suggest a good example of C#, LINQ, code that will get me started with accessing a...
2
3,463
thread by: Tom Bean | last post Mar 27 '08 by: Linda Liu[MSFT]
I wrote an C# application that uses drag and drop to copy the contents of one ListViewItem to another. I call DoDragDrop() in the ItemDrag event handler, however, the ItemDrag event is being fired when an item in the ListView is clicked to select it instead of being fired when the item is dragged. This is causing a problem when users click...
1
16,970
thread by: Andrus | last post Mar 27 '08 by: RobinS
I have Text box controls and DataGridView control in WinForms form. DataGridview contains custom ComboBox columns and standard TextBox columns. Edit mode is EditOnEnter. When focus is moved out of DataGridView, its current cell is displayed as selected state (blue background). How to remove this highlight so that selected cell is not...
1
1,381
thread by: =?Utf-8?B?cm9kY2hhcg==?= | last post Mar 27 '08 by: RobinS
hey all, what's the best way to search my DataColumn object to see if a column name "contains" a certain string value? thanks, rodchar
2
1,669
thread by: =?Utf-8?B?QW50?= | last post Mar 27 '08 by: =?Utf-8?B?QW50?=
Hi, I found in MSDN some sample code: List<intnumQry = ...etc I couldn't find any info in MSDN on List or <intthough. Does anybody know what this is & in which namespace it belongs in? Many thanks for any help
3
2,361
thread by: powwow | last post Mar 26 '08 by: Willy Denoyette [MVP]
I am running out of memory (OutOfMemoryException) when I do something like this: Hashtable h = new Hashtable(10000000); It doesn't seem to use all of the RAM on the machine. I have 4GB of RAM installed. I have a 64 bit OS (Windows Vista). I have 64 bit CPU. (Intel Quad Core). So no 32-bit restriction argument applies here.
3
1,295
thread by: =?Utf-8?B?cm9kY2hhcg==?= | last post Mar 26 '08 by: =?Utf-8?B?cm9kY2hhcg==?=
hey all, let's say you have a delimited string value of String value = val1,val2,val3; and you do something like the following String s = value.split(','); well this is outside the range of index, so how can i say if this does occur
1
1,399
thread by: CSharper | last post Mar 26 '08 by: Ben Voigt [C++ MVP]
When I try to compile a C# application using the command line code I am getting the following error; App.xaml.cs(line,column): error cs0246: The type or namespace name 'Application' could not be found I tried looking for System.* under c:\windows\microsoft.net\framework \v3.5 and there are no system.* dlls found, on the other hand I can...
2
7,724
thread by: Brian Stoop | last post Mar 26 '08 by: Willy Denoyette [MVP]
My .NET 1.1 program allocates many Threads that loop making database calls and other stuff. Thread1 = new Thread(new ThreadStart(this.Thread1)); Thread1.Start(); Thread2 = new Thread(new ThreadStart(this.Thread2)); Thread2.Start(); while(true){
3
1,599
thread by: =?Utf-8?B?cm9kY2hhcg==?= | last post Mar 26 '08 by: Ignacio Machin ( .NET/ C# MVP )
hey all, i noticed if i use the missing schema to fill a datatablecollection the table names are generic (Table, Table1, Table2) is there anyway to change that? i tried on the sql side to use an alias for the table name but i don't think that work when i tried to debug. thanks, rodchar
4
2,113
thread by: Matthias S. | last post Mar 26 '08 by: Ignacio Machin ( .NET/ C# MVP )
hi there, can anyone tell me whether it is possible to pack a font into a .net 2.0 windows application (resource)? i need to use the font within the application, but i don't want to distribute it as a ttf file. i've read on msdn that this is possible through wpf in .net 3.0 but can't find any information on how to do it in 2.0. any help...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.