|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Loading 16 bits dll (ICL icon library file)
MsNews -
14 Oct 2006 10:50 PM - 13 messages
Hi, I'm creating a free Icon library in C# with source code include, it already support .ico/.dll../exe and I'd like to support .ICL format too, I need to load a file .ICL (Icon Library) that basically it is a 16-bit dll and then ...
propertygrid - user selectable unit
Lee -
14 Oct 2006 8:36 PM - 6 messages
Hi, Using the propertygrid, is it possible to have a user selectable 'unit of measure' for a field. For example, I am looking at using a propertygrid for defining inputs into a calculation. Some of the inputs can be either monetary or ...
Who has it?
Demetri -
14 Oct 2006 6:30 PM - 10 messages
Anyone know how I can find out if any process has a handle on a specific file? ...
Design information into xml
Jon Slaughter -
14 Oct 2006 6:11 PM - 3 messages
Is it possible to get VS.NET 2k5 to export all design information into xml for dynamic user interfaces at execution time? I'm wanting to write some custom controls that can be highly configurable and the configuration data can be changed at runtime(for skinning effects) ...
Daylight Saving Time for 3 zones
maflatoun -
14 Oct 2006 5:54 PM - 2 messages
Hi everyone, I have 3 different time zones that I'm working with. Basically converting from UTC to those 3 time zones. Eastern Daylight Time (GMT -04:00, New York) Central Daylight Time (GMT -05:00, Chicago) Pacific Daylight Time (GMT -07:00, San Francisco) ...
What is the system requirements to write RFID application using C#?
ABC -
14 Oct 2006 5:42 PM - 2 messages
What is the system requirements to write RFID application using C#? ...
Accessing Bitmap resource
Lee -
14 Oct 2006 5:17 PM - 2 messages
Visual Studio 2.0 / XP Professional with all service packs Assume the appropriate Using directives. The following statements work: ComponentResourceManager resources = new ComponentResourceManager(typeof(Resource1)); Bitmap ImageDown = new ...
Differences between WEB and Windows desktop applications
Daniela Roman -
14 Oct 2006 3:24 PM - 17 messages
Hello, can someone tell me the main differences between the web and windows based applications? thank you ...
selection box with restricted item
gordon -
14 Oct 2006 2:50 PM - 2 messages
Hi I have a combo box in a windows form that i want a user to select from the list of items How can i prevent the user from typing something apart from my items list in the combo box? Is there a better way or a better control to use?? ...
Copy files backgroundworker with progressbar
Silvester -
14 Oct 2006 2:41 PM - 5 messages
Please can someone point me to a code sample where larges files can be dragdropped onto a form and files are copied using backgroundworker and progressbar status ? Thanks in advance ...
best way to determine internet connection when have only Lan ?
semedao -
14 Oct 2006 12:08 PM - 7 messages
Hi, I have problem to determine that I don't have any internet connection when I have Lan Nic available that is connected to other computer and not to the internet. I am using the NetworkInterface.GetIsNetworkAvailable Method and then the ...
ToolStrip control in VS 2005
trainersb -
14 Oct 2006 11:20 AM - 2 messages
I am trying to use the ToolStrip control in Visual Studio 2005. I create a C# Windows application & add a ToolStripContainer control to the form with top, left, bottom & right panels visible. I have docked it to fill the form. ...
Making sure only one instance runs at any time
Daniel -
14 Oct 2006 10:46 AM - 6 messages
Hey guys What is the best way in c# to ensure that once your app is running, if the user then clicks to run it again it notifies them it is already running, or alternatively, brings the running version to focus and does not load a new ...
ControlDesigner for custom control
mohit -
14 Oct 2006 10:17 AM - 3 messages
Hello, I am making a custom control which places some restrictions on the value of Text property of the control. While debugging i noticed that when the control is drag-dropped on a form during Design Time, the InitializeNewComponent method of the ...
how to remove the default selection in combobox when its datasource is set
kamal -
14 Oct 2006 9:52 AM - 2 messages
when i add the datasource of combobox by default the first value is selected .. but when i use the Items.Add() then nothing is selected. how do i remove the default selection in combobox when its datasource is set .. thanks, ...
Converting a byte array to a ushort array
fishspm -
14 Oct 2006 8:22 AM - 2 messages
hello everyone in my source I receive a byte array (for eg: 0xED, 0xFF, 0x01, 0x3D). is there an easy way to convert this byte array to a ushort/uint16 array (0xffed, 0x3d01)? thank you very much for advice Regards, ...
RemoveAt in foreach { ... }
Hyun-jik Bae -
14 Oct 2006 8:20 AM - 18 messages
Is there any efficient way doing Dictionary<>.RemoveAt in foreach { ... } routine? For example, is this example safe or is there any recommended way? foreach(KeyValuePair<int,int> a in mymap) { if(a.Value!=GoodValue) ...
Application.Run() problem
Joel -
14 Oct 2006 4:18 AM - 7 messages
2 Questions: (1) The documentation says application.run() creates a standard message loop on the current thread and "optionally" shows a form. This is really confusing because I was of the understanding that application.run() creates a message loop for the form and ...
How can I create -- CustomClass[propertyName].CustomMethod ?
Dimitry -
14 Oct 2006 12:58 AM - 3 messages
I can't figure out how to approach this problem. I would like to have a custom object that will contain some predefined attributes. The simple solution that I know is to create my own class -- something like: public class MyClass ...
Obeying MSDN documentation
John Browning -
13 Oct 2006 11:19 PM - 6 messages
Hi there, I've frequently noticed quite a few .NET functions with the following MSDN caveat: "This method supports the .NET Framework infrastructure and is not intended to be used directly from your code." Does anyone know whether this officially means you can't use the function or ...
Reading great code
gt8887b -
13 Oct 2006 11:11 PM - 43 messages
Hello! In his recent newsletter embedded expert Jack Ganssle says that programming students, as well as professional developers should readh "great code" (hight quality/well-crafted code that works). He even gives to examples. One is uC/OS-II operating system and the other is ...
sql injection prevention
Doug -
13 Oct 2006 10:43 PM - 2 messages
Hi, I have a question on sql injection attacks. I am building a tool that will be used exclusively by our other developers and will generate stored procs for them dynamically based off input from them. I wanted ...
Datagrid Question
Dirk -
13 Oct 2006 9:27 PM - 2 messages
Has anyone had experience producing an employee schedule display by way of a datagrid? Creating this isnt hard but I am trying to get changes made in the database to show in the datagrid. For example if someone requests ...
C# destructor and finalizer - guarentees?
tstephan -
13 Oct 2006 9:06 PM - 6 messages
I remember reading a few years back about destructors not being guarenteed to be run. Doing a search all I can find is a reference to some bugs with finalizers and appdomains in 1.0 and 1.1. Are ...
Calculating daylight saving time automatically
maflatoun -
13 Oct 2006 8:32 PM - 3 messages
Hi guys, I have to make a event signup page for our company that would display the event time/date in 3 different time zones (Eastern - New York, Central - Chicago, and Pacific - San Francisco). To do this. I convert ...
Transactions and Active Directory
msnews.microsoft.com -
13 Oct 2006 8:18 PM - 2 messages
Hello, I need to create an application that will span its transactions through SQL Server and Active Directory (Insert records in SQL Server and for example set a property for a user in AD2003). Is it possible to wrap this kind of ...
ArrayList
C#Newbie -
13 Oct 2006 8:16 PM - 13 messages
Hi everyone, I'm new in this group and I have a question that might have been answered already. I created an arraylist that I want to contain the object that I created. But when I try to store these ...
N threads synchronization - contrived example
emma_middlebrook -
13 Oct 2006 6:37 PM - 13 messages
Hi Say you had N threads doing some jobs (not from a shared queue or anything like that, they each know how to do their own set of jobs in a self-contained way). How can you coordinate them so that they all wait ...
Transactions and Active Directory
msnews.microsoft.com -
13 Oct 2006 6:23 PM - 2 messages
Hello, I need to write an application that spans its transactions between SQL Server and Active Directory. Is it possible to wrap the code in a single transaction? Thanks, Sanja Stojanovic ...
designMode
Hrcko -
13 Oct 2006 5:34 PM - 2 messages
How to make an application to recognize if it run in DesignMode? I find in Help something called ISite but I don't understand how to use it. Hrcko ...
load event vs constructor?
Rolandpish -
13 Oct 2006 5:13 PM - 7 messages
Hi there. I'm doing an application in C# 2005. I was used in VB6 to put code in Forms load event in order to initialize some values of the controls (grid values, text boxes values, label captions, among others). Sometimes that code includes retrieving information from a ...
check active user on XP S.O
Pedro -
13 Oct 2006 5:07 PM - 4 messages
Hi all, I would like to know, how can I check the name of the current user that is Log on in O.S XP. Hi already try the Environment.UserName.ToString(); but is not what i would like to appear,its abreviated, ...
XML Editors?
Martin Z -
13 Oct 2006 4:29 PM - 3 messages
Hi, I'm just working on a hobbyhorse command-line app for modders on TA-Spring. The app is configured using XML deserialization, and I've generated XSD to make designing the confuration XML files easier... and in Visual Studio it's relatively painless. ...
Best method to retrieve a specific class instance from a collection
BSamp -
13 Oct 2006 3:33 PM - 3 messages
I have the following business entity classes shown below. I have a data layer that retrieves the data from the database and populates a new instance of the PendingRecord class then adds it to the PendingRecords collection. i.e. PendingRecords pendingRecords = dataLayer.GetPendingRecords(); ...
Object Persistence Framework
Peter Morris [Droopy eyes software] -
13 Oct 2006 3:22 PM - 14 messages
Hi all Any recommendations for a good object persistence framework? I'd be interested in hearing from anyone with personal experience. Thanks Pete ...
catch(Exception ex) Vs catch (Exception)
cashdeskmac -
13 Oct 2006 2:52 PM - 18 messages
Nice and simple one for you all... Is there a time to use Catch(Exception) rather than creating an instance of the Exception, as in Catch(Exception ex)? ...
Best method to parse xml content in VS 2005?
polaris431 -
13 Oct 2006 2:23 PM - 3 messages
I am new to VS 2005 although I have years of experience with the previous versions of VS. Without having to spend a lot of time diving into the docs, can someone tell me the easiest way to parse xml ...
XslCompiledTransform
Peter Kirk -
13 Oct 2006 1:45 PM - 4 messages
Hi I am trying to exexute a transform (XslCompiledTransform .Transform), but get this exception: System.Text.EncoderFallbackException: Unable to translate Unicode character \u2013 at index 3637 to specified code page. at System.Text.EncoderExceptionFallbackBuffer.Fallback(Char charUnknown, Int32 index) ...
pdf files
Hrvoje Voda -
13 Oct 2006 1:23 PM - 2 messages
How to read pdf files? Is there a .net component that support that? Hrcko ...
printing contents of EventArgs
benscribe -
13 Oct 2006 1:10 PM - 3 messages
Is there a way I can list the contents of all the EventArgs passed to a specific method? Thanks, Ben ...
Changing property attributes at runtime
Kimmo Laine -
13 Oct 2006 12:20 PM - 6 messages
Hi is there a way to change propertys attribute from the code? Let´s say that i have the following property in my class: [DisplayName("Number of cars")] public int Count[ get { . . . } set { . . . ] } Is there a way to change the displayname, from my code, at runtime to ...
c# and sql-server express 2005
Rob Pollard -
13 Oct 2006 12:19 PM - 3 messages
Hi All, I'm pretty new to using these technologies so bear with me. I have created a c# app which communicates with sql-server express 2005. When I run an insert on a table via the SqlCommand class nothing seems to happen! No ...
Circular Audio Files
Quentin -
13 Oct 2006 12:17 PM - 7 messages
Hi, I want to save an audio stream into a circular file so that I only keep say the last hour's audio. Can anybody help? Cheers, Quentin ...
how to register dll...
gujarsachin2001 -
13 Oct 2006 12:01 PM - 2 messages
hey i m using MSXML2.dll in my application when i m building this using visual studio it is building with no error. but when i m trying to compile same file using command prompt i m getting 'type or namespace couldnot be found (are u missing directive ...
progress bar
Hrvoje Voda -
13 Oct 2006 11:34 AM - 4 messages
How to use progressBar with loading picture into pictureBox. Code: private void InitializeMyTimer() { // Set the interval for the timer. time.Interval = 250; // Connect the Tick event of the timer to its event handler. time.Tick += new EventHandler(IncreaseProgressBar); // Start the timer. ...
Data abstraction layer, is there something around?
S. Lorétan -
13 Oct 2006 11:22 AM - 4 messages
Hi guys, I'm coding an application connected to a database. I have some clients that use this program with 2 or 3 computers, and I use MsSQL Express for them. But if the client needs more computers to be connected to the database, I ...
owned form
Hrvoje Voda -
13 Oct 2006 11:20 AM - 2 messages
I' using this code to call a loginForm(that form is in another classLibrary) This is a Main Form from witch I'm calling login form: void Login() { LoginForm lf = new LoginForm(); this.AddOwnedForm(lf); lf.ShowDialog(this); } private void MainForm_Load(object sender, EventArgs e) ...
Plotting a thumbnail of line graph
Gouri -
13 Oct 2006 10:19 AM - 5 messages
Hi, Got a query regarding plotting a preview / thumbnail for a graph which reads data from a binary file. The preview should should take very less time, look exactly like the original graph i.e. not miss the ...
How to read mail from mail server (Pop3) using TCPClient
Prasanta -
13 Oct 2006 10:19 AM - 2 messages
Hello, How to read a mail from the mail server as formatted. I am able to read the mail as row HTML, is there any class, or something method using that i can easily get the all info of that mail, like as TO,From,Subject,Body. here I am ...
Read mail from the mail server (Pop3) using TCPClient
Prasanta -
13 Oct 2006 10:16 AM - 2 messages
Hello, Please cnay one can tell me how to read mail as formatted.... i have made some code using that able to read but not able to serialize..... so am i need to parse the HTML, or is there any class using that i can directly get the ...
How can Control/Form know if it's being displayed during design or in runtime?
TerryStone -
13 Oct 2006 9:41 AM - 3 messages
I have created a control that displays a list of items. During design mode I fill it with junk data using calls from the constructor. So when I look at a form with the control on, instead of being empty, it ...
How to connect HTTP or HTTPS with the help of url in console application
gujarsachin2001 -
13 Oct 2006 9:07 AM - 2 messages
Hello friends, I want to connect http or https by taking url, username & password from user (if necessary )& then connect to download file from that source in console application. Can u help me out ............ ...
Deleting items in a list
Macca -
13 Oct 2006 8:44 AM - 2 messages
Hi, My app populates a list of custom objects from data fetched from a database. What i want to do now is filter the list and remove items from the list that don't match the filter criteria. I was thinking of using foreach to traverse the list and dynamically remove ...
Identifier expected
Jack -
13 Oct 2006 8:21 AM - 10 messages
I get the following errors from the code ( CRM 3.0 ) below, whats wrong ? Any suggestions are welcome because i'm kinda stuck here. The first error is pointing on the last bracket ] <--- c:\inetpub\wwwroot\bredanaweb\jdshentlead.aspx.cs(18,35): error CS1001: ...
User.config in .NET 1.1
tomko -
13 Oct 2006 6:46 AM - 2 messages
Hi, Does .NET 1.1 (VS 2003) support using user.config for updateable user settings? I've only found posts on using the read-only app.config. Br, Tom ...
C# beyond 3.0
Néstor Sánchez -
13 Oct 2006 6:18 AM - 5 messages
Hi, is there a tentive roadmap/features already semi-official for the next version(s) of C#? I'm interesting in the features of C# 4.0, maybe... Aspects? "Polyphony"? Memory-Transactions? LINQ extensions? And what about the CLR? I know in .NET 3.0 the CLR will be the same 2.0 ...
Audio Editor Component
dmeglio -
13 Oct 2006 4:28 AM - 5 messages
Is anyone aware of a component that allows visual editting of audio files? I'm basically looking for something that will display a waveform and allow me to highlight portions of it and perform transformations (delete, increase/decrease volume, add silence, etc.) I've yet to find ...
TreeView Nonsense
Jon Slaughter -
13 Oct 2006 4:10 AM - 9 messages
I'm trying to override the default paiting of a treeview but I get bad results: My code(well, atleast this is the most simple that reproduces the result) is this private void TVDrawNode(Object sender, DrawTreeNodeEventArgs e) { e.Graphics.DrawString(e.Node.Text, e.Node.TreeView.Font, Brushes.Black, ...
How Math.Cos & Math.Sin is implemented?
Morgan Cheng -
13 Oct 2006 2:59 AM - 16 messages
Hi, I am writing a program that will take a lot of Math.Cos & Math.Sin operation. I am afraid this will be source of performance impact. Anybody knows how Math.cos & Math.Sin is implemented? I suppose it just retrieving a huge pre-computed table, it might be ...
If a DataGrid.DataSource is an IList, not a DataTable, is there a way similar to dt.AcceptChanges(),
Ryan Liu -
13 Oct 2006 2:29 AM - 2 messages
Hi, If a DataGrid.DataSource is an IList, not a DataTable, is there a way similar to dt.AcceptChanges(), dt.RejectChanges()? Thanks a lot! Ryan Liu ...
Any good c# api on internet?
Tom -
13 Oct 2006 2:15 AM - 2 messages
Hi! I'm a newbe on c#. Is there any good api for c# classlibrary(.net) on the internet that you can recommend? I'm thinking something like javas api. Regards /Tom ...
Profiling an app
Frank Rizzo -
13 Oct 2006 12:50 AM - 3 messages
I am trying to profile the memory usage of an application. In Task Manager, I can add Virtual Memory Usage (VM Usage). I am confused by this metric. Usually it is close to the Mem Usage value. However, on ...
3-tier approach
Daniela Roman -
12 Oct 2006 10:14 PM - 8 messages
can someone explain to me please how to develop a 3-tier project? Is each of the layers parta of a different dll (class library) project? Thank you ...
VS command prompt vs Windows one?
Ronald S. Cook -
12 Oct 2006 9:52 PM - 3 messages
Is there a difference between the command prompt in Visual Studio 2005 and the one that's in Windows? Thanks, Ron ...
fields for methods?
Jon Slaughter -
12 Oct 2006 9:42 PM - 3 messages
I was wondering if maybe allowing "fields" for methods. The reason is to encapsulate the data that is mainly used by the method and to prevent the need of having to create new variables every time the function is called if ...
grid / spreadsheet component recommendations?
ZenRhapsody -
12 Oct 2006 9:20 PM - 2 messages
Any insights and experiences out there with .NET compatible spreadsheet/grid components? I would like the database features of the standard .NET datagrid, with the additional feature set of individual addressable cells (row,column) with the capability to put values, combo boxes, etc in each ...
Set checkbox value based on data grid string value
Josh -
12 Oct 2006 8:22 PM - 2 messages
Using Visual Studio 2003, C#, .NET 1.1. I have a web form with a few textboxes, a couple of dropdown lists, and a data grid. The data grid is populated from a SQL stored procedure. The user ...
ThreadAbortException occurs when the child thread is in catch block{}
foolmelon -
12 Oct 2006 8:16 PM - 7 messages
If a childThread is in the middle of a catch block and handling an exception caught, the main thread calls childThread.Abort(). At that time a ThreadAbortException is thrown in the childThread. The question is: after the ThreadAbortException is thrown, does the childThread ...
Pass a Delegate 2 levels instead of just one
RobKinney1 -
12 Oct 2006 7:45 PM - 7 messages
Hello, This may be an easy question, but I cannot stumle upon the correct way of doing this. I have a function in a base class. I then pass it to a class as a delegate so I don't have to repeat the code within that class. But then ...
Accessing scrollbar in a TabControl
aabdelwahab -
12 Oct 2006 7:41 PM - 3 messages
I am trying to flash (i.e. blink) the scrollbars on a TabControl. Does anyone know how I can get access to the scrollbar object with the TabControl. And, does anyone have any ideas on how I can flash/blink ...
BinaryWriter Array
heather.luiggi -
12 Oct 2006 7:37 PM - 2 messages
Is it possible to create an array of BinaryWriters? I need twenty BinaryWriters available to filter data into from a larger binary file. I would like to be able to access them by index rather than creating a large If statement. If is is possible to create an array of ...
Passing a method as a parameter
hardieca -
12 Oct 2006 7:10 PM - 3 messages
Hello, I'm creating a toolbox of useful functions, and I've added a function that recursively drills down through a file system searching for files. I've created a number of variations of this function, and I imagine I'll continue to have use for it. ...
Master project file
Bill O'Neill -
12 Oct 2006 6:41 PM - 3 messages
Sorry if this is the wrong group. We have many C# project files at my company. I would like to force certain settings across all project files. For example, enable the documentation build. There are other examples. Is there any way to create a "master" project file that all other project ...
E-mail multiple recipients?
Josh -
12 Oct 2006 6:31 PM - 3 messages
I am using Visual Studio 2003, coding in C# and using .NET 1.1. I have an application set up to send e-mails, but I need it to send to multiple recpients in the BCC field. I know that if you just use the e-mail ...
A dictionary with many keys for the same value
Martin -
12 Oct 2006 5:43 PM - 7 messages
Hi all, I'd like to find a .NET Collection in which I will be able to set many keys for the same object. For example, I would like to do something like that : Dictionary<long, string> collection = new Dictionary<long, string>(); ...
Typed vs untyped datasets
Ronald S. Cook -
12 Oct 2006 5:40 PM - 5 messages
I've always used untyped datasets. In a Microsoft course, it walks through creating typed datasets and harps on the benefits. It has you drag all these things around ..wizard, wizard, wizard... code gen, code gen, code gen. ...
C# web graphics ?
Jack Nielsen -
12 Oct 2006 5:39 PM - 7 messages
Is it possible to make a sprite fly around in a c# web application ? How much graphics cappabilities are the with C# and web, I know that some of my friends have made many nice graphics demos with java and just wondered if ...
treeview control 2.0 scroll to top
hgirma -
12 Oct 2006 4:45 PM - 4 messages
Hello Gurus, After loading my treeview control in windows form, how to i scroll to the top and select the 1st node? Any help is greatly appreciated ...
Bound DataBoundGridRow table index number
Bishman -
12 Oct 2006 4:31 PM - 4 messages
Hi, Simple question.... I think.... How can I establish the TableRow index that a particular DataGridViewRow is bound to ? Thanks Jon ...
List Breakpoints
Rex the Strange -
12 Oct 2006 3:50 PM - 3 messages
In Delphi you can get a window that lists all of the breakpoints that have been set. Is there an equivalent in the .NET environment? tia, rts ...
System Resource Restrictions for CSharp programs
Martin_Pöpping -
12 Oct 2006 3:48 PM - 4 messages
Hello, are there any system resource restrictions for running a self coded CSharp programm in Visual Studio? If yes, how can I give my program as much RAM and CPU power als possible? Regards, Martin ...
Convert C# "writer.Write(@" to VB ?
bh -
12 Oct 2006 3:40 PM - 6 messages
I'm trying to convert the following statement to VB.NET: writer.Write(@"<some html here>"); I tried simply removing the semicolon, but VB chokes on the @-sign. Unfortunately, when searching online, I can't find any information on what ...
replacing crlf with c#
Eli Silverman -
12 Oct 2006 3:39 PM - 7 messages
I am using a c# utility to create a Java function on our web pages. I am utilizing an object we created to retrieve a comment field from our SQL database and have the system throw the desired alert when a particular option ...
Creating a Blank C# project from command line
Narasimham -
12 Oct 2006 3:09 PM - 3 messages
Hi, I would like to know if there is any method of being able to create a blank/barebones C# project from a command line. I have tried using devenv, but I dont think that helps. It would be most useful to me if i ...
Phone number regex
tJ -
12 Oct 2006 3:08 PM - 3 messages
Hi I'd like to validate a string input as a phone number using a regex matcher. This is the criteria: * at least 10 numbers, * only numeric and the following special characters should be allowed: '+' '-' '(' ')' and spaces The closest I've been able to find is ^[-\d()\s]*$ :-( ...
easy ? arbitrary Path for folderBrowserDialog
andrewcw -
12 Oct 2006 2:57 PM - 2 messages
This should be easy, but the the RootFolder property has a fixed set of environment folders. How can I set the Root elsewhere as a suggested start place ? ...
help with public field access
gwainguard -
12 Oct 2006 2:49 PM - 3 messages
Hello, would you please consider the following small piece of code. using System; class Constants { public const int A = B; public const int B = 2; } class Test { static void Main() { ...
Saving Information for Page Reload
DFDavis -
12 Oct 2006 2:47 PM - 2 messages
I currently have information that I am writing to a <div runat="server" id="hidden_text" /> tag and when the user hits a button, I want to grab that information so I can store it in a database. However everytime I ...
Using webrequest without sending Ip address.
archana -
12 Oct 2006 2:35 PM - 4 messages
Hi all, My main question is when i send webrequest to server, do ip address related information is also getting send onto server over network? I want to send request using webrequest class. But i don't want to send ...
network range
yqyq22 -
12 Oct 2006 2:07 PM - 2 messages
hello, Just a simple question, I would like to define a network address range. How can i code this please? 10.0.0.0 - 10.255.255.255 (10/8 prefix) ...
Why does main{} always include a parameter string array?
gwainguard -
12 Oct 2006 1:53 PM - 4 messages
Hi from reading the ECMA spec. I know understand that the bracketed code after 'void Main' is an instruction that method Main accepts a string parameter array. Can someone explain to me why this is so? and why by default this ...
InterProcess Communication, .Net to C++ communication
batista -
12 Oct 2006 12:34 PM - 2 messages
Hello all, I need suggestions and possibly solutions to the problem stated below: I have an application written purely in .NET ( Windows Form Application) and another application that is supposed to be written in MFC(Visual C++) or Win32 GUI Application. The problem is to communicate ...
TreeView doesn't show last item
Christof Nordiek -
12 Oct 2006 12:27 PM - 7 messages
Hi all, in my WinForm-Application i have a strange problem with the TreeView Control. As you can see in the samplecode below, i fill the TreeView by adding some nodes with sub nodes. (The subnodes don't matter in the first place.) ...
DataGridView and period / oemperiod
Larry Lard -
12 Oct 2006 11:36 AM - 2 messages
I'm trying to find where this behaviour is documented: Create a new WinForms app in VC#2005, drop a DataGridView on the form. Put this code in the ctor after InitializeComponent: DataGridView1.Columns.Add("foo", "foo"); ...
Standards for databases, dates and null value handling
AAJ -
12 Oct 2006 10:14 AM - 6 messages
Hi Does anyone know of any good publically available set of standards for managing dates when dealing with a database server (in my case SQL Server 2000 and c# VS2005). At the moment, if I create a record in the database for say a job, the ...
Multiple javascript for a UserControl
Italian Pete -
12 Oct 2006 9:25 AM - 2 messages
Hi, I have a usercontrol which includes a small piece of Javascript built up as a string in <script> tags and put onto a web page when an instance of the User Control is created. The Javascript does some client side checking of ...
First delve into C#
Billy -
12 Oct 2006 9:03 AM - 15 messages
Complete n00b here, so please bear with me. I have written the following code and would like to know if it could be optimised. In particular, I'm reading the user input for the operand into variable strOperand, and rather than use the IF statement to determine which ...
DefaultValue of Custom control
Peter Hartlén -
12 Oct 2006 8:58 AM - 7 messages
Hi! What's the correct syntax for the default value design time attribute, using classdiagram view and Custom Attributes dialog. For a boolean: DefaultValue(true) DefaultValue("true") DefaultValue("bool","true") For a max value of a property of type _long_ (although max value is set to ...
Downloading code project dll's?
Janne Pyykkö -
12 Oct 2006 7:54 AM - 5 messages
Hello, Is it ok to let users download DShowNet.dll from my site instead of [link] that needs username & password? The software using dll is for detecting meteors from night sky and used in a non-business ...
Looping through Filenames in the selected directory folder
Kannan -
12 Oct 2006 7:53 AM - 4 messages
HI, I am new to C# and It might be a simple question. I want to loop through filenames and ignore subfolder and its files. I have to display all files names in the screen. Please help me how to do it using C#. ...
|
|||||||||||||||||||||||