473,538 Members | 2,690 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
244
thread by: Alberto | last post Nov 19 '05 by: Mattias Sjögren
In a console app, for example, that uses the System namespace, means that all the static classes defined in System are loaded in memory? Thank you
1
4,436
thread by: Salvatore Di Fazio | last post Nov 19 '05 by: Pohihihi
Hi guys, how I can build an application that can accept the connection of more users in the same tcp port? tnx
1
1,730
thread by: Tony Johansson | last post Nov 19 '05 by: Pohihihi
Hello! What does the following text mean "When visual component are written in C# properties will appear in VS.NET as a property sheet"? //Tony
0
932
thread by: Maarten | last post Nov 19 '05 by: Maarten
hi all I'm trying something that i think is not hard but i can't figure it out. I'm trying to mage a datagrid to insert values so when i enter a number in a cell en then press the enter button the data of that cell must be placed in a variable. can someone plz give me an example. thanks Maarten
2
4,666
thread by: S.Creek | last post Nov 19 '05 by: Kevin Spencer
Does anybody know how to associate an icon with a file extension that windows is not familiar with? thanks
6
27,843
thread by: Roy Gourgi | last post Nov 19 '05 by: Bjorn Abelli
Hi, I am trying to add a row to my table but I get the error message "invalid column name SOBN and BN1" on this statement. Basically, I am trying to add the row into the same table that I am searching if it does not find SOBN = 5 and BN1 =3. What is the problem? Do I have to create a primary key? Is it possible to have more than 1 primary...
2
2,099
thread by: Hugo Nugra | last post Nov 19 '05 by: bart_deboeck
Is possible to compile some C# code created at runtime and make an Dll; then we can use reflection to instantiate the classes creaded, there by we can to get a very versatile applications with higth performance. Thank You
2
1,628
thread by: Roy Gourgi | last post Nov 19 '05 by: bart_deboeck
Hi, My program seems to slow down drastically because as I fill my array and table with many values, the program suffers tremendously. The first thing my program does is to search the jagged array to try to find an element in that array. If it does not find that element in that array, then it adds another element and that is the...
0
2,677
thread by: Arif | last post Nov 19 '05 by: Arif
In my C# application all queries runs well both with MS Access and SQL Server databses. But only the following query runs well on SLQ Server2000 but with MS Access gives error => "IErrorInfo.GetDescription failed with E_FAIL(0x80004005)." QUERY: " SELECT "+ " (select Quantity from Items_Detail idt "+
2
1,145
thread by: MikeY | last post Nov 19 '05 by: MikeY
Hi Everyone, I'm trying to upload information from my CD's to Access.mdb. My problem I suspect is in my syntax, but what is happening is that it will upload 3 or 4 records (out of say 160) then ends the foreach loop without finishing the rest of the records. Hopefully someone can help me out in spotting the problem. Following is a sample of...
2
1,960
thread by: Benny Raymond | last post Nov 19 '05 by: Benny Raymond
I was looking through the options and only saw this type of default for XML and HTML - but what about C# forms and what not - is it possible to default these to View Code? Thanks, Benny
1
2,621
thread by: scott | last post Nov 19 '05 by: Bjorn Abelli
Hi all. Thank you for any help that you can offer. Im making a connection to a mySQL data base. I then use OdbcCommand to create a query and then execute it using ExecuteReader. I then use the OdbcDataReader that is returned to get the
2
1,207
thread by: Roy Gourgi | last post Nov 19 '05 by: jeremiah johnson
Hi, I am adding a row to my table with the code below. It seems to be inefficient to me as I have to basically build my command with the string builder. There has to be a better way, no? What I am trying to do is to search my table for the 2 variables ln1 and ln2. If they are not found, then one row is added to the table with the...
0
1,002
thread by: gamma27 | last post Nov 19 '05 by: gamma27
hi everyone I am receiving a NO_FILE_ATTACHED error from Amazon.com (web services) when I use HttpWebRequest using .NET 2.0 for uploading a tab delimited inventory file to my seller account. Did anyone see this error before, any ideas? Please share any ideas.. Thanks Raj
6
2,543
thread by: Vern | last post Nov 19 '05 by: Vern
I'm adding twenty nodes (Parent and child) to a tree view. Only 10 items are viewable in the window at at time. So when it initially shows the tree, it shows the last ten items forcing me to use the scroll bar to show the first 10 items. How do I change it to initially show the 1st ten items. I'm using a datareader to populate the...
4
1,857
thread by: jasper | last post Nov 19 '05 by: Richard Grimes
How can this be done? Thanks
3
1,984
thread by: Frank Rizzo | last post Nov 19 '05 by: Richard Grimes
As I understand it, having PDB files enables the runtime report the line numbers where the errors actually occured. So my question is why wouldn't you distribute PDB files with your application? Thanks.
2
3,733
thread by: Chucker | last post Nov 19 '05 by: Chucker
Hi Community, I think I can store Binary Data in SQL Server but when I try to retrieve it, I always only get one byte. I think I stored my Binary Data in SQL Server in a Colum of Type Image. At least when I execute the following code, I get some significant network traffic. When I check the database with query analyzer, I see 4 Hex Chars...
1
1,974
thread by: Jonathan Allen | last post Nov 19 '05 by: Jonathan Allen
In dialog boxes in Windows, the text in TextBox is automatically selected if you tab into the TextBox , but not when you select the TextBox using the mouse. What is the preferred way to support this in VB/C# 2005? -- Jonathan Allen
3
1,561
thread by: Sagaert Johan | last post Nov 19 '05 by: Jonathan Allen
can someone explain :: (vs 2003) allowdrop=true , the code is hit , but the thrown exception is never catched ? Why is this so? private void button1_DragOver(object sender, System.Windows.Forms.DragEventArgs e) {
0
2,357
thread by: Locusta | last post Nov 20 '05 by: Locusta
Hello, I'm looking for a generic way to import XML documents into a local SQLCE database (on Pocket PC). To complicate, the local SQLCE database has more fields in the tables than the XML document has nodes, and I would like to have a generic tool (I need to import about 35 tables). I'm trying something below:
0
880
thread by: Tag | last post Nov 20 '05 by: Tag
Hello every one i need to develop a network monitoring system i dont have any experience in network programming but i m working on .NET framework from last 2 years using both c# & vb.net the basic requirements are
5
3,094
thread by: orencs | last post Nov 20 '05 by: orencs
Hello, I am using Microsoft.Practices.EnterpriseLibrary.Data. I am running the following sqlCommand = "SELECT var1 FROM table1 WHERE var2 IN (4,5,6) ; SELECT var3 FROM table2 WHERE var2 IN (4,5,6)"; IDataReader dataReader = db.ExecuteReader(dbCommandWrapper); while
4
1,372
thread by: John Salerno | last post Nov 20 '05 by: John Salerno
Here's my method, and I get an error on the array initialization line. I've gotte this same error before, and it was fixed by adding the first line of the method, so I'm not sure what to do now. private static Status ConvertToFlags(int allPanels) { Status panel = new Status; for (int i = 0; i < 4; i++)
6
2,556
thread by: Pete Davis | last post Nov 20 '05 by: Richard Grimes
I'm writing an XML serializer (similar to the MS XMLSerializer). It uses reflection to get the values from a class/struct. The one area I'm confused on is indexers. I can get the indexer PropertyInfo and the ParameterInfo stuff, but I can't possibly know the range of valid values nor what the underlying storage is. How is this normally...

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.