|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Form Object Disposal Checking From Thread
Mike -
7 Apr 2007 10:37 PM - 3 messages
Hello, Ok I have 2 classes in my project, one is the main form and one is a connection class, at a certain event on my main form a new instance is made of the connection class, and a reference to the main form is passed ...
Setup/Deployment options
andrewbb -
7 Apr 2007 10:12 PM - 7 messages
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available? ...
copying an object by value
Hemang Shah -
7 Apr 2007 10:06 PM - 8 messages
I think what i'm trying to do is passing by value. Here is the scenario: Main Form - which calls a Search form. - I pass Mainform as a reference so that I can pass data between the two. Code: public frmSearch(Form1 f) ...
No component code ?
Hemang Shah -
7 Apr 2007 8:02 PM - 2 messages
I'm creating a new form in visual studio 2005 I'm adding a component to it and when I go inside the form's code, there is no code for that component Is that feature changed ? Where is the code now. ...
Thread safe socket code
jecheney -
7 Apr 2007 7:44 PM - 2 messages
Hi, Im currently using the following code for reading/writing to a network socket. private StreamReader clientStreamReader; private StreamWriter clientStreamWriter; .... TcpClient tcpClient = new ...
C# and the registery
Jason -
7 Apr 2007 5:29 PM - 3 messages
I've got 20 PC's that I need to change the Description/name field for each NIC, and each PC has three NIC adapters (all PC's are the same Hardware). I know how to change it maunaully in the registery, but I need to do this in ...
VB or C?
mark -
7 Apr 2007 4:34 PM - 112 messages
Fact Poll I made the transition from (Borland) C++ to VB.NET around 2004. I have been happy with the choice. I find I can focus more on the problem and less on being "tidy" with VB. But, I fear that many don't take VB.NET seriously, particularly in ...
Get all objects in current application
Tao -
7 Apr 2007 3:52 PM - 4 messages
hi.. group, Is there a way to get all the objects from current application? Something like: object[] objs = Application.GetAllObjects(); Thanks. ...
Directory equivalent to File.Exist(file) ?
Jesper, Denmark -
7 Apr 2007 1:36 PM - 2 messages
Hi, Anyone know of a folder equivalent to File.Exist(file) ? regards Jesper. ...
unable to run .exe
pradnyab -
7 Apr 2007 10:15 AM - 2 messages
I have created complete C#.net application. I have copied .exe file from debug folder, pasted it to desktop & try to run that .exe file. It does not rum please help. ...
ObservableCollection(of T): Only for UI-tier or for all tiers?
Henrik Dahl -
7 Apr 2007 6:39 AM - 9 messages
Hello! In some situations I have a collection of objects which it in different situations could be relevant to deal with at the UI-tier and sometimes at other tiers. Typically my concept is a composite so MyCollectionElementClass has a collection of MyCollectionElementClass. ...
ContentLength trouble!
woof.rana -
7 Apr 2007 4:28 AM - 2 messages
Hi, I've been struggling with this POST problem for more than three hours now, and don't see any light. Below is the troublesome code snippet: System.Net.HttpWebRequest req = HttpWebRequest)System.Net.WebRequest.Create(URI); byte[] bytes = System.Text.Encoding.ASCII.GetBytes(Parameters); ...
Reading network socket stream, slow connection
Sir Psycho -
7 Apr 2007 4:18 AM - 4 messages
Hi, For some reason, when i step over this code, it returns the full byte stream im expecting from the server, however when I let it run with no intervention, it only seems to grab a small chunk on the stream. ...
Adding new key/value pairs to appSettings
Mark Rae -
7 Apr 2007 1:51 AM - 4 messages
Hi, Apologies if this is a stupid question, but it's late... I have a C# 2 WinForms project called RTES, and I'm trying to add new key/value pairs to the appSettings section of its config file. I'm using the ...
C# ACCESS database help
Jason -
6 Apr 2007 11:16 PM - 6 messages
I've got a simple database that I need to create, and then I'll probably use something like a data grid to display to users. It won't be anything major, a few tables, maybe one relation, then just display, add, and delete. ...
Network Communication & File Locking
Davidhere40 -
6 Apr 2007 9:17 PM - 3 messages
I'm trying to lock a text file, read its contents, make the text file empty, then unlock it. I haven't been successful at it yet. The following code is what I've tried, with no success, because the file ...
Remote Custom Types
rkozlin -
6 Apr 2007 8:20 PM - 5 messages
Is it possible to remotely host custom types? Some background... We have an application that uses custom user controls as 'templates' for entering certain kinds of data. The application is designed to get a list of the possible user controls / templates from the database. The user controls ...
DisconnectedContext was detected - WebBrowser.Document.Write
Zytan -
6 Apr 2007 8:08 PM - 7 messages
Make a WebBrowser control, and make a bunch of timers / threads that continually call WebBrowser.Document.Write. Eventually, this happens: DisconnectedContext was detected Message: Context 0x1a1530' is disconnected. Releasing the interfaces from the current context (context 0x1a13c0).This may cause corruption ...
Strings and Escape Characters
Rahvyn -
6 Apr 2007 8:04 PM - 8 messages
I am storing a printer name in the registry. If its a networked printer, it stores as so: \\server\printername. When I pull that value in code, and throw it in a string, I get \\\\server\\printername. ...
Formula calculation
VJ -
6 Apr 2007 7:46 PM - 4 messages
We have a form where there is a like 10-15 fields and it performs a length formula calucation each time field value changes. Using validate event is not a option as validate wont fire on Menu click and other events on toolbar ...
Panel w/ border help
Nathan Laff -
6 Apr 2007 6:18 PM - 5 messages
I've got a custom Panel that draws a colored border for me. Works great, however a new problem I've run into is this. I have the custom panel, then I want to put another panel (just a Windows.Forms.Panel) inside it, and dock it to the top. When i do this, the ...
volatile structures
titan nyquist -
6 Apr 2007 6:07 PM - 7 messages
Can you make volatile structures in C#? I have a static class, to have "global" variables. This allows the whole program to see them. I make them "volatile" to avoid multi- threading accessing issues. That works. THE PROBLEM: In that static class, I want to combine some variables ...
is .NET different on XP Home and XP Pro?
Jim Hurley -
6 Apr 2007 6:01 PM - 11 messages
I have an application that runs fine on XP Pro machines but usually doesn't work on XP Home. It doesn't crash or report any missing objects, it just doesn't communicate well. Not sure what the exact problem is because some ...
Are a Static method's variables staic too?
mark -
6 Apr 2007 5:26 PM - 14 messages
Consider this a continuation of 2/27/2007 thread by Zytan entitled"Subject: Does C# have static local variables like C++?" In C++: void mysub() { static double x; blah; blah; } ...
Easy(?) one about Label.Text
cashdeskmac -
6 Apr 2007 5:18 PM - 3 messages
Hi, I have a Label on a Windows form (Version 1.1.4322) and while I iterate recursively through a method I want to show the name of the current file being copied to another directory. The Label is not visible until the backup begins, at which point I resize ...
Convert hex to double in 2.0?
Byron -
6 Apr 2007 4:30 PM - 10 messages
How do you convert a hex string into a double using C# in framework v2.0? I've seen this question answered before, but apparently something has changed in 2.0 that negates the old solution that I've seen. The code: ...
any preformance tips ?
colin -
6 Apr 2007 3:08 PM - 4 messages
Hi, I have several gigabytes of CSV files - coma seperated variables (in text) I find the converting to numbers is a bit slow, to double or int seems about the same, using split seems to take longer than substring, seems no alternative to parse/tryparse. ...
int is out of scope???
PJ6 -
6 Apr 2007 2:21 PM - 8 messages
(VS2003) ? int.Parse("2.0") error: identifier 'int' out of scope ? "foo".IndexOf("o") error: expression '"foo".IndexOf' out of scope For the love of god, why is int and other basic stuff out of scope in my Command window when I'm debugging? ...
how to set the carret to the end of a text box (or automatic scroll)
timor.super -
6 Apr 2007 12:54 PM - 5 messages
Hi group, i'm setting a (long) string in my textbox textBox1.Text += s + Environment.NewLine; but if the text is longuer than the visible capacity of the textbox, I can't see the end of my text (that is the most important), even if the ...
How do I create an xml file and execute in c#...
trint -
6 Apr 2007 12:13 PM - 5 messages
UPS Rates & Service is an xml method of requesting rates on shipping out boxes from the "checkout" point of online shopping cart software. Well, I have gotten my c# project all the way to the point of having all this information stored in variables ready to place in UPS Rates & ...
Merge word applications
madhu27 -
6 Apr 2007 12:06 PM - 7 messages
Hi.. I have two word applications in byte arrays. I need to mege them and combine into one document and prompt the user to save the merged document. madhu ...
Const in referenced assembly becomes literal in compiled code
Sledgehammer777 -
6 Apr 2007 12:03 PM - 2 messages
I have an issue that I'd like some oone to explain to me. In a C# DLL I have a several const strings defined as such: namespace ns { public class strings { ...
How to create 2 dimensional dynamic array (vb.net or c#)
singleb -
6 Apr 2007 11:36 AM - 5 messages
I've tryed to something lik this and got "Object reference not set to an instance of an object." Dim myarr(,) As String myarr(0, 0) = "aaaa" myarr(0, 1) = "bbbb" ...
Working with database in C# Pocket PC
Sheikko -
6 Apr 2007 11:00 AM - 3 messages
Working with database in C# Pocket PC Hi all, I want to develop an application that work with DB on pocket PC. I have added the DB to the project from Menu->Data->Add New Data Source. I want to insert some Rows in a table of this Db. ...
Global Assembly Cache
a.mustaq@gmail.com -
6 Apr 2007 10:25 AM - 5 messages
Hi All, What is aphysical path of GAC. ...
Garbage Collection
a.mustaq@gmail.com -
6 Apr 2007 10:24 AM - 4 messages
Hi All, When an object is not is used for a long time, it will be removed by Garbage Collector. How can we avoid the Garbage ...
Can I abandon the lock on .SyncRoot and lock a collection directly? Less available memory in 2.0?
DC -
6 Apr 2007 10:17 AM - 5 messages
Hi, I am porting an app from Framework 1.1 to 2.0 and I am now using Dictionary objects instead of Hashtables. There are some lock (theHashtable.SyncRoot) statements in the 1.1 code and I replaced those by ...
Accessing base class in User Control
chakris -
6 Apr 2007 9:02 AM - 2 messages
Hi All, Iam developing a web application using VS 2005 asp.net 2.0 with C#. I have my base class in "App_Code" folder and i have another folder called "Users" where i have developed a user control called users.ascx. Now in my Users base ...
login into normal web pages through c#.net
apondu -
6 Apr 2007 8:56 AM - 2 messages
Hi, I work on C#.Net. I am working on some application which as a requirements of downloading files and extracting data form web pages, and i have a probelm in doing so sometime i am required to log into the site to get ...
login into normal web pages through c#.net
apondu -
6 Apr 2007 8:53 AM - 2 messages
Hi, I work on C#.Net. I am working on some application which as a requirements of downloading files and extracting data form web pages, and i have a probelm in doing so sometime i am required to log into the site to get ...
Interfaces
a.mustaq@gmail.com -
6 Apr 2007 8:33 AM - 5 messages
Hi All, Is it compalsory to impliment all the methods defined in the interface by the derived class. ...
Abstract Classes
a.mustaq@gmail.com -
6 Apr 2007 8:29 AM - 2 messages
Hi All, By using Virtual and Ovverride specifiers we can change the functionality of the methods in the derived classes, ...
user control
RobcPettit@yahoo.co.uk -
6 Apr 2007 7:23 AM - 2 messages
Hi, I hope I dont make a mess of this question, as Im new to c# my terminology is a bit of, here goes. Ive started to make a windows application and Ive added a usercontrol from another program, which ...
BulkCopy
Ender -
6 Apr 2007 6:42 AM - 3 messages
For Primary keys exception: bc.WriteToServer(dt, DataRowState.Added); (for DataTable) but what do we write for DataReader? bc.WriteToServer(dr,?); Thnks. ...
Event not fired on click of dyanmic dropdownlist in webuser contro
Padam -
6 Apr 2007 5:26 AM - 3 messages
i have created couple of dynamic controls (dropdownlist and imagebutton) in webuser controls and assigned selected index change event and image button clicked. I am giving names to control dyanmically. My problem is : somtime it does not recognise click event of image button ...
SQL Server 2005 DAL / Data Dictionary
jkimbler -
6 Apr 2007 2:16 AM - 3 messages
I'm doing research for a new project I'm going to be developing and I'm looking for some input on a good DAL (data access layer) object/ framework. I've done quite a bit of searching on-line but you can't ...
Automatically create properties
barry -
6 Apr 2007 2:05 AM - 2 messages
Is there any way that I can have a piece of code create properties and give them names for either the same class or a different class. For example (this problem could be solved with inheritance but its just to help present my question): ...
delaying validation
PGP -
5 Apr 2007 11:17 PM - 3 messages
Control.Validating event fires when the control loses focus. I find this behavior not desirable in one of the forms i have. I would rather have the Validating events fire when the user tries to complete the action (by pressing the Ok button etc). Any advice is appreciated. ...
How to use IEquatable?
Paul E Collins -
5 Apr 2007 10:30 PM - 3 messages
I want to implement the equality operation for one of my classes, so that I can use List<blah>.Contains for a list of those objects instead of writing a loop to compare with each item in the list. ...
Converting Java to C#
Jay -
5 Apr 2007 8:28 PM - 11 messages
I've downloaded some Java files from the internet, and want to use them as a basis for a C# programme. They are .jar files, and when I open them in Notepad, they are not text files. Is there a way to get some sort of source code from them? ...
Remove empty line from string
LEM -
5 Apr 2007 8:14 PM - 6 messages
Hi, I'm trying to remove any empty lines from a string, and I am doing the following: String pp; pp = "\r\n\r\n1\r\n23\r\n\r\n4"; pp = pp.Replace("\r\n\r\n", "\r\n"); ...
Why is this invalid
Larry Smith -
5 Apr 2007 5:40 PM - 8 messages
IDerived1 derived1 = GetDerived1(); IDerived2 derived2 = GetDerived2(); IBase ibase = (derived1 != null ? derived1 : derived2); Where "IDerived1" and "IDerived2" each inherit from "IBase". The followinge error results on the last line: Error 32 Type of conditional expression cannot be determined because there is no implicit conversion between 'Test.IDerived1' and 'Test.IDerived2' ...
WebBrowser problem
Gaurav -
5 Apr 2007 5:30 PM - 4 messages
I am using the AxSHDocVw.AxWebBrowser control (named PreviewBrowser) in my C# app to load a pdf file: PreviewBrowser.Navigate(strPDF ,ref objNull,ref objNull,ref objNull,ref objNull); These PDF files are created and stored in a temp folder. The older files ...
Wrap command shell in System.Diagnostics.Process
Jon Davis -
5 Apr 2007 5:20 PM - 12 messages
Does anyone know why using System.Diagnostics.Process to "wrap" a console application does not always transmit the I/O, depending on what processes you're trying to "consume"? PowerShell, for example, does not seem to process any I/O through the Process object. ...
Inter-process communication
Jon Davis -
5 Apr 2007 4:50 PM - 29 messages
We're looking at running a memory-intensive process for a web site as a Windows service in isolation of IIS because IIS refuses to consume all of the available physical RAM. Considering remoting to move data in and out of ...
developer express, xtragrid, counting (enumerating) rows
Krzystof -
5 Apr 2007 4:38 PM - 2 messages
hi developer express xtragrid and treeview i cannot find how can i enable row numbers (ex on the left side, just like in excel) to be automatically calculated and displayed, despite sorting and stuff. i want column something like 1,2,3,4...on the left side. ...
convert string to binary
bbdobuddy -
5 Apr 2007 4:38 PM - 6 messages
I am having a problem converting string to binary and I am hoping someone can help me out I have a sql query that does an update that updates a binary field calles password password=CAST(@password as binary) However when I go to sql server and convert that binary field to varchar, ...
Process.start returned value?
Jason -
5 Apr 2007 3:48 PM - 3 messages
Hello I've got a Excutable that returns a number of string based upon the number arguments given to it. I'm using C# to run that exactuable with the process.start method and in this case 4 argument.... now my question is ...
there are 2 control A and B
somequestion -
5 Apr 2007 3:46 PM - 3 messages
ì œëª©: userControl and WindowForm ë‚ ì§œ: 2007ë…„ 4ì›” 5ì¼ ëª©ìš”ì¼ ì˜¤í›„ 11:31 now ...there are 2 control A and B ...
AppDomains - App within an App
coder4 -
5 Apr 2007 3:34 PM - 3 messages
Within an application, I want to run a second application--with it's own separate AppDomain. I'd like to run this second application in a "full-screen mode" (outside the first application) or inside a panel of the first ...
Windows XP Tips for Computer Security
snow -
5 Apr 2007 3:26 PM - 2 messages
Windows XP Tips for Computer Security [link] ...
SOAP security negotiation error when using WCF (please help!)
Ronald S. Cook -
5 Apr 2007 3:02 PM - 3 messages
Hi, Some users on our domain can run our WCF application no problem. Some get an unhandled exception error re: SOAP security negotiation. I'm wanting the service to not be secure.. I just want anyone logged into our company domain ...
exchange 2003 create draft using webDAV
Wiebe Tijsma -
5 Apr 2007 2:45 PM - 8 messages
Hi, I'm using C# + webDAV to create a draft message to be sent in a user's Drafts folder. I can create the message successfully, however when I open the message in outlook, it doesn't show the 'send' button, (only 'reply' etc as if ...
Windows Forms
shapper -
5 Apr 2007 2:21 PM - 3 messages
Hello, I usually develop Asp.Net 2.0 (With VB.NET or C#) web sites with SQL 2005 databases. A few of my web sites use online CMS with AJAX. I need to create a Windows Vista compatible application that includes ...
Iterating over a list and altering it?
Evan Reynolds -
5 Apr 2007 2:14 PM - 8 messages
I am a C++ programmer and have been learning C#. I have constructed a List<> and I want to iterate over it, altering each string in the list. In C++, I'd just create an iterator and walk the list, so I was looking for ...
How to disable NetBios in TcpClient
Erjan -
5 Apr 2007 1:35 PM - 4 messages
Hi, I am using TcpClient to connect to a device which does not talk NetBios. The TcpClient tries first to do something with Netbios. This probably failes on a timeout and then TcpClient sets up the TCP connection. Due to this it takes about 5 secons to set up a TCP ...
CoInitialize in C# ?
Urs Wigger -
5 Apr 2007 1:35 PM - 2 messages
Hi, I wanted to instantiate a STA COM component twice, once in the main thread and once in a secondary thread. All worked fine for the main thread, but for the secondary thread, I got 'Query Interface failed' errors when trying to access COM methods. ...
Problem catching all exceptions in a windows service
Simon -
5 Apr 2007 1:18 PM - 2 messages
Hi all, I'm having a problem creating a global exception handler in a windows service that I'm making. Another poster suggested that the way to do this was to use the CurrentDomain.UnhandledException event to catch and deal with any exception that crops up. The problem is, when I try and ...
IntelliSense Question.
Shawn -
5 Apr 2007 1:08 PM - 8 messages
I have been using VB.NET for some time and have recently taken over several C#.NET apps. My only frustration with it is that IntelliSense does not seem to work as well with C#. It seems the best way to get it to check for errors ...
RichText in asp.net
Tomo -
5 Apr 2007 1:03 PM - 6 messages
How to use RichText in ASP.NET application. I need to make web page where user can write some text, click save and than this content must be saved as html content. Can I find some richtext control or I need to use javascript? ...
How to catch system event of new process that are loaded
eitangabay -
5 Apr 2007 12:03 PM - 6 messages
Hi all . I want to know when new process has added\loaded, i looked for system event but i could not find any. Is there any way to do it ? I'm writing in c#.NET. (Process Added meand that new process added to the task manager) ...
Forgot Syntax: calling a parameterized constructor of the same class from a non-parameterized one
Sathyaish -
5 Apr 2007 11:35 AM - 6 messages
/* I am writing this C# program because I forgot the syntax for calling a parameterized constructor from a non-parameterized one within the same class. I was coding in Java and just typed it like this: public MyClass(String someParam) ...
Multithreading
victor -
5 Apr 2007 11:33 AM - 5 messages
Hello, When in my main WinForm thread I do a 'new' instance to a method in another class, in the same project, does this create a new thread or not? Expl: public class Form1 { private AnotherClass myInterface; ..... myInterface = new AnotherClass(this); ...
n-tier development
Mike P -
5 Apr 2007 11:17 AM - 3 messages
I've just started to try to create my own n-tier project, and I am using an xsd schema to represent all my tables, and then datatables and queries to get at my data. The question I have is, where does XML and ...
why doesn't this xpath expression work ?
Coaster -
5 Apr 2007 10:55 AM - 3 messages
I'm reading a csproj file trying to extract info via xpath and this first one works fine xmlNode = xmlDoc.SelectSingleNode("/def:Project/def:PropertyGroup[1]/def:OutputType/text()",nsMgr); but this one doesn't and the only change is the key name and that is ...
how to listen a connection from a specific IP address?
felix.citycs -
5 Apr 2007 9:44 AM - 7 messages
Why I cannot do with this code and exception is thrown with "the requested address is not valid in its context" try { IPAddress inputDNS_IP = Dns.Resolve(inputDNS_IP).AddressList[0]; // start the data port and listen for connection from input host ...
Reflection ok in 1.1, but not anymore in 2.0
Fred -
5 Apr 2007 9:32 AM - 7 messages
Hi, The code below works perfectly with Framework 1.1, but generates a run-time error with the 2.0. I use it to extend a PrintPreviewDialog to add my own PrintButton. using System; using System.Reflection; using System.Drawing; ...
Progress Bar refuses to work?
gwoodhouse@gmail.com -
5 Apr 2007 9:30 AM - 5 messages
Hello all, Ive been trying to get a helpful progress bar at the bottom of my app to simply fill up and then disapear. Unfortunatly, i get this error message when i try to change the .Value field of the progress bar: "A first chance exception of type ...
Passing COM object from c# to COM causes exception
aeshiels -
5 Apr 2007 9:07 AM - 2 messages
Hopefully I have the correct newsgroup for this question. I've developed a very simple COM server in C++ as im trying to learn COM. The COM server has an array of IUnknown interfaces (MyArray) where im allowing the user to store COM objects (derived from ...
how to reassign a fixed pointer
Schwammkopf -
5 Apr 2007 9:01 AM - 4 messages
Hi ! What i want to do in C++ is : int a[] = new a[2]; a[0] = 0, a[1] = 0; int* p = &a[0]; while (1) // any condition instead of 1 { (*p)++; if (p == &a[0]) ...
Retrieve installer information
shantanu -
5 Apr 2007 4:43 AM - 3 messages
Dear All I need to do a implementation in c#. The requirement is like i have to retrieve the information of the installer , like version and compare it with the version of the new installer.How can do the same ...
Downloading unix \n text files, convert to \r\n non-unix?
Zytan -
5 Apr 2007 12:56 AM - 14 messages
I am downloading a file with \n newlines from a Unix system, and storing it to a string. I want to convert it to \r\n newlines for Windows. I know the StreamReader has an Encoding attribute, but this ...
Top posting
Bruce Wood -
4 Apr 2007 10:56 PM - 45 messages
This subject has come up several times in this group over the last year. Several people in this group seem to feel strongly about this topic. Rather than derail other threads with this discussion, I figured we could talk about it here. ...
Thread problem with control delegate
jecheney -
4 Apr 2007 10:46 PM - 6 messages
Hi, another thread, Debug_Console is a listbox control on my main form, i created the delegate to avoid the cross threading error. Now the strange thing is, when i call the method from my other thread, the entry string is added to the listbox, but it also throws an exception ...
C# Excel Add-in works on some machines, but then not others
aaronfude -
4 Apr 2007 10:33 PM - 5 messages
Hi, I've working on an Excel Add-in written is C# that someone else has started and I have been modifying. It is based on the .Net Framwork 2.0 All of a sudden, the add-in stopped working on my machine and several ...
Question about double buffering in .Net 1.1
Rune Jacobsen -
4 Apr 2007 9:41 PM - 2 messages
Hi, I have a question about double buffering, or more specifically, when to apply it. As mentioned in another post, I have a control that basically contains three other controls. This parent control has no real painting of it's ...
Scope and Coding Style
Andrew Robinson -
4 Apr 2007 9:28 PM - 4 messages
I have never done this or seen this but thought it might be useful. What do you think of it? This is a very simplified example but frequenly when reusing an object, I find myself spending a lot of time insuring that I ...
Start Remote Process and track the exit code
Suresh Nagarajan -
4 Apr 2007 8:50 PM - 5 messages
Hello, I am trying to execute an application on a remote system. After checking several of the website I was managed to write a C# application do the same. But I am not able to track the Exit Code of the application. The return ...
Get notification of user clicking on menu item
Nathan Baker -
4 Apr 2007 8:13 PM - 3 messages
Hey all, I've had to dive down into unmanaged world from .NET recently to subclass the IE browser window for the purposes of adding menu items. I've gotten the items added thanks to the Win32 API "InsertMenu" call, ...
Error: Index is outside the bounds of the array
weird0 -
4 Apr 2007 7:45 PM - 5 messages
I have no idea why this error this is coming and how can i fix it? Can anyone please help me with it..............? public static class BillManager { private static Object ExecuteSP(Object[] argArray) ...
how to see if a drive is ready on Framework ver 1.1
Derick Beckwith -
4 Apr 2007 7:23 PM - 4 messages
Hello, How would I quickly determine if a logical disk drive is ready to use? I am developing for ver 1.1 so the DriveInfo class is not available to me. The method I am currently using seems to be popular: ...
Is it possible to pass a type as a generic parameter to a function and return an instance of that ty
foolmelon -
4 Apr 2007 6:11 PM - 3 messages
It is something like Public T myFunc<T>(Type type_Of_T, other params but none is for type T...) { // create an instance of T // do some other initialization for the instance of T // return the instance of T ...
C# with Postgre DB
Férnas -
4 Apr 2007 5:47 PM - 5 messages
Hello all, I'm starting a new project and my boss asked me about "C# + Postgre"... I told him that i will look for some information.. Is there something that I should know, like some bug or incompatibility.. something that could breing problems in the ...
C# ala ASP .Net - Web App needs to run external appliation
Xataraxx -
4 Apr 2007 4:34 PM - 3 messages
I'm a little new to this environment, so if this is a silly question I apologize ahead of time. :-) I have a web application written in ASP .Net / C#. This web app needs to run an external Windows cmd line application. No problem so far. ...
Array indexing in C# (no pointers?)
MrAsm -
4 Apr 2007 4:03 PM - 2 messages
Moving from C++ to C#, it seems to me that there are no pointers in C# to e.g. accessing array items. So, should I just use integer indexes to "point" to array items? e.g. <C++> double * pArray; ...
Number formatting with leading spaces
MrAsm -
4 Apr 2007 3:59 PM - 6 messages
Hi, what is (if exist) the format string to print an integer in C# with leading spaces (to do right justification) e.g. value = 77 + 12345 + ^^^ 3 leading spaces Thanks ...
Best Performance File Compare: MD5/SHA1 or Byte-by-Byte Checking?
Mahmoud Al-Qudsi -
4 Apr 2007 3:16 PM - 7 messages
I'm looking to compare the contents of two files. Files will generally not exceed 1024 *bytes* in length. Given this info, and assuming that the accuracy/reliability of SHA1 is more than enough, is it more efficient to a) Use System.Security.Cryptography and get the SHA1 of each binary ...
Word: Object reference not set to in instance of an object
Bob -
4 Apr 2007 3:13 PM - 2 messages
Hi, I have added the Microsoft Word 11.0 COM component. When i try to open a word document on other computers (having Word 2003 installed...), i have this error : Object reference not set to in instance of an object. ...
How to determine if an object is numeric?
Ethan Strauss -
4 Apr 2007 2:59 PM - 4 messages
Hi, In C#.net 1.1, is there a simple way to determine if an arbitrary object can be cast as a number? How about if it can be cast as a int? The only ways I can find are to either try it and see if an error is thrown, or to check ...
|
|||||||||||||||||||||||