|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Is DataSet belong another namespace
ad -
17 Sep 2005 11:53 PM - 3 messages
I use a Webservice, which retun a DataSet. I use the code: DataSet ds = (DataSet)wsHealth.GetSchools(Text1.Text); But it result in an error in run time, the error message is Unable to cast object of type 'System.Data.DataSet' to type 'DataSet'. ...
Terminating thread
Tomaz Koritnik -
17 Sep 2005 9:37 PM - 7 messages
I have a class that runs one of it's method in another thread. I use Thread object to do this and inside ThreadMethod I have an infinite loop: While (true) { // do something Thread.Sleep(100); ...
Object Data Binding
Davie -
17 Sep 2005 9:35 PM - 3 messages
Lets say i have an array of order objects and I wish for these objects to be bound to a ComboBox. public order(string id, string name, int price, string details) order[] orders = new ........... I know that i can bind them to a combobox by doing the following: ...
resizing form in constructor
Lionel -
17 Sep 2005 9:22 PM - 4 messages
In my forms constructor I have the following: this.WindowState = FormWindowState.Maximized; I then try to size some controls based on the size of the maximized form's client area: SomeControl.Height = (this.ClientSize).Height; But this never returns the proper value i.e. (this.ClientSize).Height is ...
extract the blue color
Sharon -
17 Sep 2005 9:18 PM - 5 messages
Hi guys I don't understand what I am doing wrong I wrote this code, in order to manipulate some Xml data, I have problem with level 4 (properties section): //CODE ----------------------------------------------------------------------------------------------------------------------------------------- XmlDocument xmlDoc = new XmlDocument(); XmlNodeList items = xmlDoc.GetElementsByTagName("item"); ...
bitmap rotation question.
news@OxfordEye.co.uk -
17 Sep 2005 8:34 PM - 4 messages
Hi Guys, Sorry if this is an obvious question but Im trying to rotate a bitmap and then save it. So far Ive only found how to rotates a Graphic but I can't find how to save it. I also want to crop the image and resize it, but I ...
VCL TSpeedButton equivalent?
Tony Maresca -
17 Sep 2005 8:32 PM - 2 messages
Anyone know of a functional equivalent for the VCL TSpeedButton (e.g., a button that does not get input focus) in .NET? ...
Are gotos truly evil?
Mark R. Dawson -
17 Sep 2005 5:35 PM - 42 messages
I have never used a goto statement in my code, one of the first things I was told in my software classes a number of years ago was "goto statements are evil and lead to spagetti code - do not use them". ...
stack
Locia -
17 Sep 2005 2:19 PM - 4 messages
How can I read stack element from top at the bottom? IEnumerator have only MoveNext() method and I suppone that begin from the bottom. ...
references
Eps -
17 Sep 2005 2:16 PM - 2 messages
i am writing an app that uses a COM object, one method needs to have a reference to a string array passed as it's parameter, it wont accept a normal string array. what is the syntax for passing a reference in c# ? ...
Newbie looking at databinding.
Mark Gillespie -
17 Sep 2005 2:13 PM - 2 messages
Anyone used Databinding? Looking for some newbie docs and examples to see how it works. I want to populate a CheckedListbox from some XML configuration file. would Databinding be the way to go? ...
Grids
ian -
17 Sep 2005 11:19 AM - 2 messages
Hi, I use the VS grid with vb6, but their dotnet version doesn't work with VS2005. Bah, VS as in videosoft and second VS as in Visual studio. I'm looking for general Grid advice, performance > features imo, so any ...
DataGrid save editing rows
Islamegy -
17 Sep 2005 9:14 AM - 4 messages
When i press btn_save all changed rows in my grid get saved except the last editing row... I want my btn_Save to end editing in the datagrid.. so if user didn't press "enter" after editing last cell of the current row, I could force this row ...
external references in assemblies?
wASP -
17 Sep 2005 6:00 AM - 3 messages
Hi all, I'm trying to pull two different classes out of a single webfile (*.aspx) and compile them separately for a library/assembly. The problem is that each class references each other, and the compiler doesn't like that: ...
Random Directories
Default User -
17 Sep 2005 5:01 AM - 3 messages
Hi too all, I'm trying to write a simple program which will find all the folders in the c drive, but i'm having problems I've managed to search the root of c drive folders but having problems with ...
Data loaded into DataSet
Kenny -
17 Sep 2005 4:52 AM - 5 messages
Hello all, I am wondering about the memory arrangement in C#. If I am going to load, say, 20000 data rows from about 20 tables at once, where will be the data stored in my machine? All save on RAM? Or a portion of ...
User Preferences Form -> Good Example Anyone?
Chad Beckner -
17 Sep 2005 1:10 AM - 2 messages
I'm looking for some code for displaying a user preferences form in my application. However, I have not found any code (besides designing the entire thing myself) which shows either a good "treeview -> panel" setup or "tabstrip -> panel" setup. Does anyone know of any good examples/code? ...
casting from base class to derive class
Locia -
16 Sep 2005 11:56 PM - 3 messages
Can I cast from base class to derive class? class A { } class B:A { } A a=new A(); B b=(B) a; I get a cast exception. Why? ...
Singleton SqlConnection object
ed_p -
16 Sep 2005 11:03 PM - 17 messages
Hello, I have implemented the singleton pattern for a class to hold a SqlConnection object that will be used thruout the application to create commands. My application is a simple Windows Form Application that connects to a MSDE Database. I was reading the thread ...
how to add Guid in Primary Key automatically, in "Replication ID" field size type?
Omer kamal -
16 Sep 2005 10:41 PM - 2 messages
When in database(.mdb) the primary key have fields size type "Replication ID" it creates Guid. I tried to create string of Guid and insert it but did it not work. Control.databindings.add(), Method for this field is only working one ...
TextBox paint disable?
Grant Schenck -
16 Sep 2005 8:03 PM - 5 messages
I want to append text to the end of a text box. If the cursor is currently at the end I just want to append it and have the normal scrolling take place if needed. However, if the selection isn't at the end of the text box I want to append ...
automate webpage manipulation in a c# form
Jesse -
16 Sep 2005 7:47 PM - 2 messages
I am trying to automate the upload and submit of a file to a web based secure email server. I am able to enter data into the fields of the form, but the submit action is done by a javascript command. is there a ...
Help with interop service, marshalling
weixian_shen -
16 Sep 2005 6:54 PM - 2 messages
I'm trying to call my DLL written in C, and got the error: "Cannot marshal field 'b' of type 'mystruct': There is no marshaling support for this type." The 2 functions in the DLL are: void unpack(mystruct* str, void* in_buf); ...
Fastest way to pass large array to and from COM
apm -
16 Sep 2005 6:41 PM - 6 messages
Any and all: Is there an efficient way to pass a large array from .NET to COM? Can references (or pointer) be passed from COM to NET and NET to COM without the object it refers to being copied? Thanks in advance. ...
what is wrong with this expression?
Carlos -
16 Sep 2005 6:34 PM - 5 messages
Hi all, I have the following event function, and the compiler is having a problem handling negative constant values. What can be happening? Thanks in advance.. private void button1_Click(object sender, System.EventArgs e) { double dME = 0.0; if ( CB.SelectedItem.Equals("ME") ) ...
use of unassigned local variable - object can't be null though
Doug -
16 Sep 2005 6:33 PM - 3 messages
I am trying to work with an object and create it like so: EXTRA.Sessions oSessions = new EXTRA.Sessions(); This doesn't work because I get this error: 'Cannot create an instance of the abstract class or interface 'EXTRA.Sessions'.' ...
Problems with ASP.NET
Marko -
16 Sep 2005 6:31 PM - 6 messages
When I load some asp.net project in Visual Studio 2003 than I get this message: "Visual Studio .NET has detected that specified Web server is not runing ASP.NET version 1.1. You will be unable to run ASP.NET web aplications or ...
Asynchronous logging using delegates
Oscar Thornell -
16 Sep 2005 6:21 PM - 4 messages
Hi, I am thinking about doing all my logging asynchronously using a delegate. The main resaon for this would be performance and responsiveness of the application (an ASP.NET app). //Exampel delegate void LogDelegate(string message); LogDelegate logger = new LogDelegate(Log.Debug); ...
Determine if a Form is active
Doug -
16 Sep 2005 5:53 PM - 2 messages
I'm using reflection to launch a form based on a click event from another application. I want to be able to check if the form is active on the desktop and bring it upfront and not relaunch the form again and again. ...
Variable accessible to all function within class
tedqn -
16 Sep 2005 5:51 PM - 8 messages
I keep getting the error of not shared member or something. Basically within a class, I have a constructor that takes in an sql connection string and init a connection object to be accessible by all members instead of init several connections locally for each member function . ...
using Math.sqrt
rattansingh -
16 Sep 2005 5:30 PM - 4 messages
Hi. I'm trying to construct a simple console application in c#. I basically want to print out the sqrt of 9, here's the line: Console.WriteLine(Math.Sqrt(9)); But an error is saying that an assembly is missing. The namespace system is ...
Problem with Webcontrols.dropDownList
VMI -
16 Sep 2005 4:59 PM - 6 messages
My Web dropdownlist with AutoPostback equal to true has code in its SelectedIndexChanged Event . When I change the dropdownlist value and the SelectedIndexChanged Event is executed, the page does a Refresh, puts the initial value back into the dropdownlist, and then runs SelectedIndexChanged ...
Decrypt string encrypted in Java
Carolyn Vo -
16 Sep 2005 4:56 PM - 7 messages
Hi there! I have a string that was encrypted in Java using the classes DESKeySpec, SecretKeyFactory, SecretKey, and Cipher. It looks like using the SecretKeyFactory puts a transparent layer on top of the bytes from our key so ...
Freeing Memory allocted in unmanged C code
skg -
16 Sep 2005 4:44 PM - 2 messages
I am passing the address of pointer like char** from managed extension and getting the its initialized value from a C library dll. How can i free the memory from the code in Managed Extension ? Here is a sample C function i am calling from managed extension. ...
Accessing DataRow from inside DataBind Event
shamila -
16 Sep 2005 3:58 PM - 4 messages
we are trying to pass a value to format a value in the datacolumn. But when we pass the datacolumn , it does not give me the value in the column, instead gives me the column name. the following code gives me an error invalid cast . ...
Interogating Quick Launch Items
Martin Dew -
16 Sep 2005 3:29 PM - 4 messages
hi, I want to interogate the Quick Launch folder, looking at each icon and getting the image, and target that it fires when clicked. I can get to the folder and create a filelist of the icons, but cannot seem to find where to ...
Programatic way or telling if a stored proc in SQL Server returns a result set?
wackyphill -
16 Sep 2005 3:24 PM - 4 messages
Using ADO.NET Or regular queries on SQL Server, is there a good way of determining if a Stored Proc will be returning a result set or if it is a non-query that does all I/O through parameters? ...
How do I set only certain levels of a TreeView to have checkboxes?
MrNobody -
16 Sep 2005 3:15 PM - 3 messages
The only property I can find to enable checkboxes on a TreeView affect the whole tree - all levels. What if I only want a certain level to have checkboxes? ...
Initializing a HashTable like arrays
A.M-SG -
16 Sep 2005 3:08 PM - 5 messages
Hi, Considering the fact that we can initialize an two dimensional array like the following syntax: int[] myIntArray = new int[5] { 1, 2, 3, 4, 5 }; Can I initialize a HashTable like an array? I am trying to avoid having bunch of hashTble.Add() statements within my ...
how to retrive client side file information
sonu -
16 Sep 2005 2:36 PM - 2 messages
how to retrive client side file information through .NET Any link or information please ? ...
Streaming multiple pages into one page
atillam -
16 Sep 2005 2:27 PM - 3 messages
Hello, I have couple of ASPX pages that I want to display on one page. This is sort of printing multiple ASPX pages to one ASPX page. (then may be I can convert it to PDF file). Is there a way that I can attach Response bodies and attach to one body ...
Can I have enum of strings?
A.M-SG -
16 Sep 2005 2:21 PM - 6 messages
Hi, Can I have enum contain strings? Thank you, Alan ...
Can we upload folder as it is from client to server in .NET
sonu -
16 Sep 2005 2:21 PM - 2 messages
Can we upload folder as it is from client to server in .NET Please give me link of sites or any other information regarding this ...
Reading from standart input stream using BinaryReader
Vitaly -
16 Sep 2005 2:10 PM - 2 messages
// Open input file and create the BinaryReader. br = new BinaryReader(new FileStream("Test.dat", FileMode.Open, ...
GUI Interface design
Michael R -
16 Sep 2005 2:01 PM - 3 messages
Hey folks... Does anyone know if there is a Microsoft doc out there that give guidelines on developing a GUI interface? i.e. The look and feel of it, and how it's supposed to flow? Thanks, --Michael ...
interesting problem with events inherited from interfaces
Wiktor Zychla [C# MVP] -
16 Sep 2005 1:10 PM - 3 messages
Hi, suppose there are two interfaces that contain methods with the same name but different signature: interface I1 { void F(); } interface I2 { int F(); } it is then easy to implement these two interfaces on a single class with ...
Help with Regex in CSharp
Holger Kasten -
16 Sep 2005 12:54 PM - 12 messages
Hi there, could some one give me some help on how to use regex to do the following: I have a string: "x+y+foo(z)*abc(fun(a+bbb)*y)" And woould like to get two lists containing that: ...
How to Use Prolog In VB or C#?
Ahmad Jalil Qarshi -
16 Sep 2005 12:02 PM - 2 messages
Hi! I want to use Prolog code in my VB or C# application. but dont know how to make it possible to communicate with Prolog code from VB or C#. if some one know about that, it will help me a lot. ...
Getting IP adapters list
Nuno Magalhaes -
16 Sep 2005 12:01 PM - 3 messages
In a sample code I do something like this: //Populate IP List IPHost=Dns.GetHostByName(Dns.GetHostName()); DefaultIPCombo.Items.Clear(); DefaultIPCombo.Items.Add(IPHost.AddressList[0].ToString()); DefaultIPCombo.SelectedIndex=0; How can I get all the IP adapters since this does only give me the IP ...
Control.Invoke...Lots of controls and need help starting...
trint -
16 Sep 2005 11:18 AM - 20 messages
Ok, I start my thread job: Thread t = new Thread(new ThreadStart(invoicePrintingLongRunningCodeThread)); t.IsBackground = true; t.Start(); ...
ValueMember = This ?
Tony Maresca -
16 Sep 2005 11:04 AM - 5 messages
I am binding a combo box to an ArrayList of objects with a property called "Name" that is assigned to DisplayMember. How can I have the SelectedValue of the combo return the instance of the object whose Name property is selected in the combo? ...
IntelliSense TextBox Control
abcabcabc -
16 Sep 2005 10:52 AM - 2 messages
I want a textbox control which support like-as IntelliSense feature to allow user select a word when inputting text. Is textbox control support it? Or Are there any third party control support it? ...
HELP PLEASE - Implementation of SHAppBarMessage / ApplicationBar
Doug -
16 Sep 2005 10:03 AM - 3 messages
I hope someone can help me. I'm trying to create as part of my application an ApplicationBar (similar to Yahoo and trillian). I've done the research and found that all the examples are for C++ and well, out of my league. I ...
relational operator on basic type
Locia -
16 Sep 2005 9:49 AM - 2 messages
I would like compare all type. I try with this function but I get System.NullReference.Exception if pass in Compare function two int type. Why relational operation isn't defined for basic type as int? How can I do? ...
Max Socket Connection
GH -
16 Sep 2005 9:26 AM - 2 messages
Hi, I think it may not be related to program, anyway, here is my question. I have a server program that using asyn. socket to accept TCP client socket connection. It works fine for hundreds of connection. However, ...
Memory taken by an object
JezB -
16 Sep 2005 9:13 AM - 7 messages
How do I evaluate, in c#, the amount of memory taken up by any given object ? ...
Threads fundamental question
John -
16 Sep 2005 9:09 AM - 4 messages
The code: --------- class sample{ static readonly object mylock=new object(): Hashtable Mytable=new Hashtable(); public void Add(object a) { Mytable.Add(a.Key,a); } public void Remove(object a) { Mytable.Remove(a.Key); ...
Activate QuickLaunch
Jonas -
16 Sep 2005 9:04 AM - 6 messages
Can you activate and deactivate the Windows Toolbar function "QuickLaunch" programatically? ...
Naive memory management questions.
JohnSouth104 -
16 Sep 2005 8:22 AM - 10 messages
Hi I've an asp.net, c#, sql server website and the volumes are starting to rise quickly. I've been asked to look at improving the memory usage of the application. I've not looked at this before so these are probably ...
Dispose Method question
bozzzza -
16 Sep 2005 7:57 AM - 4 messages
If I did something like this :- ======================================================================================= //Method to return a ref to an SqlConnection private SqlConnection GetConnection() { SqlConnection conn = new SqlConnection(Globals.cCONN_STR); return conn; } //Get the SubScription Info and Return the structure protected void TestFunction() { string sqlstmt = "select * from test"; ...
Importing CSV to Dataset Problem
Gregory Pearce -
16 Sep 2005 7:29 AM - 2 messages
Hi everyone Can anybody please help me? I am trying to write my first project in ASP. NET (C#) and I am having some issues trying import a CSV file to populate the form with values I have a basic CSV file (bookName, bookPrice) and on the PageLoad event I ...
Opennig Word document stored in database
Razor -
16 Sep 2005 7:20 AM - 2 messages
Hello, It is possible to open word document from database without storing it in temp file? (c#, office 2003) Thanks for any help Przemysalw Gawron ...
threading question
D -
16 Sep 2005 6:11 AM - 8 messages
I have a c++ program NumberCruncher that I wroteto do some heavy number crunching, it's a single threaded console app which takes command line arguments (input file, paramters, output file) . I wrote a c# program which runs the c++ program with all the correct ...
public static and static
Jason Huang -
16 Sep 2005 3:07 AM - 3 messages
Hi, What's the difference "public static" and "static"? Do we have "protected static" and "private static"? If we do, in what situation will we apply them? Thanks for help. Jason ...
Non-static method requires a target
TJO -
16 Sep 2005 12:42 AM - 10 messages
I am trying to load an assembly, instantiate a class and invoke a non-static void method using the following code: I am getting the error "Non-static method requires a target" on the InvokeMember method but don't see why. Can anyone shed light on this?? ...
How do I change to a different form that runs when the appl starts
Alpha -
15 Sep 2005 11:35 PM - 8 messages
Hi, I just found out that I need a different form to run at the start of the application. How can I change the current form to not start and the new form to start? Thanks, Alpha ...
Adding a new row to an excel spreadsheet
James Alba -
15 Sep 2005 11:30 PM - 2 messages
I have a quick question, so here goes: I wish to create a new excel spreadsheet, and then add a batch of data on each row (for example, row 1, then row 2 and so on...). And then save and ...
compare two object
Locia -
15 Sep 2005 10:23 PM - 7 messages
How can I understand if two object obj1 and obj2 have same type? Can I do: if (obj1.GetType()==obj2.GetType()) return true;? Moto u1; Moto u2; I call Compare(u1,u2,">") class Moto have override operator >. How can I use reflection in Compare fuction to call operator > of Moto ...
Poor Coding?
Brian P -
15 Sep 2005 10:10 PM - 20 messages
I have a try block that attempts to call a web service. The web service requires a token that can expire at any time, so I am using a catch block to refresh the token and then try the call to the web service again. This ...
Wiring Up An Event
Robert W. -
15 Sep 2005 9:26 PM - 4 messages
I have several instances where I wire up an event handler like this: // Instantiate object childClass parentObject = new childClass(); // Wire up event parentObject.SomeChildEvent += new EventHandler(ParentEventHandler); What I'm wondering though is if there's a way with dotNet 1.1 for me to ...
Using P/Invoke to find Certificates with specific Enhanced Key Usa
Charles Denny -
15 Sep 2005 9:21 PM - 4 messages
I'm trying to call CertFindCertificateInStore to find all certificates in the store that have the Code Signing enhanced key usage. I'm running into problems marshalling the array of OIDs in _CTL_USAGE. I keep getting a "This type can not be marshalled as a structure field." ...
Convert integer to time
glenn h -
15 Sep 2005 8:23 PM - 4 messages
I have i time in Integer = 37825 , how can I convert it in C# to Timeformat = 10:30:25 Glenn ...
Using a HelpProvider, go to a specific anchor tag on a page.
Marcel Brekelmans -
15 Sep 2005 8:15 PM - 3 messages
Hello, So far I have my .CHM file working with my application through a HelpProvider. But, I would like to display certain locations on a page immediately. For instance, I have a page 'DataEntry.htm' in my helpfile 'DataEntry.chm' with a paragraph about a subject called "Supplementary ...
System.Data.DataViewManagerListItemTypeDescriptor Combobox
Mike L -
15 Sep 2005 8:10 PM - 6 messages
This is for a Win form. The code below causes combo box to have "System.Data.DataViewManagerListItemTypeDescriptor" in the drop down box. What I'm I missing in my code to get the data out of the SP into the combo ...
Generically Referring to a Complex Class
Robert W. -
15 Sep 2005 8:07 PM - 10 messages
I have built several kinds of complex classes that I work with in my program. Storing them to disk is no problem because I just pass the instantiated object to a SaveData method, accepting it as a generic "object". Then I use ...
Automation against multiple MS Word versions
Evan Stone -
15 Sep 2005 8:03 PM - 13 messages
If one is developing a .NET application, how can I develop an application that uses COM automation that targets multiple versions of Word? For example, the signature for the Document.Open method is different from version 9 to version 11 (and I'm sure there are other variations as well), ...
datalist problem
Ilann -
15 Sep 2005 7:59 PM - 4 messages
Hi, I'm using a datalist control to display all data from a table, upon execution the datalist contains the right number of rows but the content is the same, it displays only the first line of my table... any idea? ...
Convert this VB to C#
Dan Holmes -
15 Sep 2005 6:56 PM - 3 messages
I figured out most of it but i don't know what to do with the addhandler in the constructor. Public Class ScreenCapture Dim thisImage As System.Drawing.Image Dim d As System.Drawing.Printing.PrintDocument ...
Data Relation Advice
Christopher Weaver -
15 Sep 2005 6:40 PM - 3 messages
I have a DataSet with two tables and a DataRelation. When I populate the DataSet and define a master detail relationship through the DataRelation, the grid bound to the master table shows both the master and detail rows ...
EnumChildWindows (Win32 error 127) (c#)
Ryan Ross -
15 Sep 2005 6:24 PM - 2 messages
Hello, I am having the oddest error with the EnumChildWindows function. Below are the imports, and the methods. [DllImport("user32.dll", SetLastError=true)] public static extern int EnumChildWindows(IntPtr hWndParent, EnumChildProc callback, int lParam); public delegate int EnumChildProc(IntPtr hwnd, long lParam); ...
stepping through a collection in a foreach loop
David C -
15 Sep 2005 6:22 PM - 26 messages
I posted this question, and from the replies, I get the impression that I worded my posting very poorly, so let me try this again. While debugging and stepping through this foreach loop foreach(Student s in course.Students) { Console.WriteLine(s.StudentID); ...
Correct way to resize a control when form is resized
needin4mation -
15 Sep 2005 6:13 PM - 9 messages
Is this the correct way to resize the controls on a form when the form is resized? protected override void OnResize(EventArgs ea) { listViewFiles.Width= this.ClientSize.Width-5; ...
UIP version for 2K5
prefersgolfing -
15 Sep 2005 5:56 PM - 2 messages
Anyone know when/if there will be a 2005 version of the User Interface Process application block? ...
ListItem namespace/ref
Amil -
15 Sep 2005 5:31 PM - 8 messages
Hi all, I am using VS 2005 Beta 2. Which assembly (namespace?) should I use for the ListItem class? I don't have the Help files installed on my notebook for space reasons; I use MSDN2 online instead. I see ListItem as derived from ...
passing byte[] as arg
Tim Wallace -
15 Sep 2005 4:35 PM - 4 messages
I have an array of bytes I read from a TcpClient. I need to pass that byte array in to the constructor of an object. My code compiles, but when run, I get a message stating: System.NullReferenceException: Object reference not ...
upload files
sonu -
15 Sep 2005 4:24 PM - 8 messages
I want to upload files without file control. suppose i have string "c:\test.txt" i am using this FileInfo Myfile= new System.IO.FileInfo("c:\test.txt"); string strBaseLocation = "c:\\amit\\"; objFile=(HttpPostedFile)Myfile; there is an error in this line cant ...
SOAP Question
Brian P -
15 Sep 2005 4:13 PM - 8 messages
I am working on a new program that uses a SOAP interface. I have written a few of these before, but this time it is giving me trouble. I suspect there is a problem with on the SOAP handler side, but since I'm not an expect ...
Industry standards and practices
Raj Chudasama -
15 Sep 2005 3:57 PM - 4 messages
where can i find some documents pertaining Industry standards and practices for c#/dot net programming? I am looking at my code and one of my friends old code (he is a dot net guru times 10 ) and his code looks very different ...
WebRequest - Directory Listing
cj -
15 Sep 2005 3:49 PM - 3 messages
Hi, I'm able to get the listing of (or "Index of") a directory on a website/webserver using HttpWebRequest and HttpWebResponse, but it comes back as an HTML page, similar to what IE or Mozilla/Firefox/Netscape would show. ...
EAI, WSDL, SOAP or some thing else?
Fouad Fahim -
15 Sep 2005 2:22 PM - 5 messages
Hi all, My issue is that I'm working on a project that should play the role of an adaptor between internal and external application. Each change done in the internal application should be known by the external one. I know thank is so heavy for performance but should exist a solution. ...
DataGridView Column Headers
David Veeneman -
15 Sep 2005 2:14 PM - 3 messages
How can I set a bound DataGridView control to use a dataset table's column captions, instead of column names? I'm working with a DataGridView control, which I have bound to a table in a dataset. The dataset is created at run time, so I don't know column headers ...
Accessing C++ functions in C#
James Crouch -
15 Sep 2005 2:09 PM - 7 messages
A couple of questions that probably has been asked before but I can't find anything on the newsgroup. I have a communication SDK file written in C and C++ that I am trying to access via C#. Is there an easy way to do this? If ...
WebRequest : execute a button
Paul -
15 Sep 2005 2:02 PM - 5 messages
Hello, I tried to execute a button on an aspx webpage using WebRequest, but it failed. When posting data as if I did a login (see code), I just receive the login page, instead of the page I should get after login. ...
Help PLease
Dmension -
15 Sep 2005 1:55 PM - 5 messages
Hello Folks, Newbie here needs a little help. Here is my issue. I want to place all my dll import data into class called testdllimport.cs Then I want to call, reference, or instantiate the class in my form1.cs!! ...
how to run a php script from a winform?
geronimo007 -
15 Sep 2005 12:18 PM - 2 messages
Hi, i need a simple php script to run from a webserver (ex: [link]): that script creates [link] and that txt I need in a WinForm application. ...
Server Application .net OR VC++
batista -
15 Sep 2005 12:10 PM - 13 messages
Hello there, I am currently working in .net. Now i need to know that in order to build a server/client architecture which one is more suitable Vc++ or ..net. There is a server in our company that has been build over vc++, ...
Big table of constants initialising
Serj Kondryukov -
15 Sep 2005 12:05 PM - 2 messages
I am novice in C#. I did write on C++ before. In my current program i need to use big constant table. Each string is a some struct what contain following fields: MyEnum f1; MyEnum f2; bool f3; double[] f4; ...
Trapping Windows Messages from other applications
Joe Pacelli -
15 Sep 2005 11:39 AM - 3 messages
Okay I'm trying to write an application to monitor a running process. Right now I have a front end which allows the user to pick the programs they want to monitor. The interval between how often I information for this process, ...
Code Organisation in VS2005
Frosty Madness -
15 Sep 2005 11:31 AM - 2 messages
Are there any up to date reccomendations regarding how to organise large solutions (>100 proj) in VS2005? Is this still relevant...? [link] Have things changed with MSBuild that puts these out of date? Should ...
Converting ArrayList to Array of user defined objects
Dylan Parry -
15 Sep 2005 10:55 AM - 3 messages
Hi, I have an ArrayList that contains objects of type "Client", and I would like to convert the ArrayList to a regular Array before returning it from a method. I would like to return it as an Array of "Client" objects. ...
|
|||||||||||||||||||||||