|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Fastest Way for Threads to Display on Picture Boxes?
eric_berlin -
29 Apr 2006 11:07 PM - 2 messages
I am writing a multithreaded application that has 6 threads each writing 5 frames per second video bitmaps to a different picture box. I have just found out that only the main UI thread is supposed to interact with Windows Fourms. What is the fastest way to have a non UI ...
How to send a MemoryStream to Client
ad -
29 Apr 2006 9:03 PM - 7 messages
I have save a Excel file to MemoryStream. How can I send this MemoryStream to client's HD as a excel file? ...
Where to store and document methods
Ranginald -
29 Apr 2006 8:35 PM - 5 messages
Hi, I am generally new to OOP and in learning and writing code I have developed many of my own reusable methods. A. What is the best way to store these methods for easy reuse later? I was thinking: ...
How to allow users to hyperlink to items in a DataGrid
diatom@newsgroup.nospam -
29 Apr 2006 6:41 PM - 2 messages
Hello, I have the items of a table bound to a DataGrid control on my web form. How would I go about letting the user click on an item in the DataGrid control to download the content. For example, lets say the contents of my DataGrid control are a list of ...
Matching a string to a filename mask?
Brian Parker -
29 Apr 2006 4:06 PM - 3 messages
I have an ArrayList ( strings ) of filenames like such: fred.out inctructions.txt luncheon01.jpg luncheon02.jpg luncheon05.jpg luncheon11.jpg HeebieJeebie.cs ...etc.. The user will provide a filename mask such as: *.* *.jpg luncheon0?.* ...etc.. Is there a simple way to do a comparison of the user-defined filename ...
Possible To Set Topmost Property In A Web Browser?
Gary Brown -
29 Apr 2006 3:57 PM - 5 messages
Hi, I need a web browser capable of handling video streams and that will stay in front of the Z order. There are a number of video streaming sources I watch that launch a browser window containing the video ...
Downloading files
ssduli -
29 Apr 2006 3:06 PM - 2 messages
I am writing a web crawler to download all html and jpg files to a directory locally. Since dns lookups present a possible bottleneck, i have decide to incorporate a dns cache in the form of a hashtable. The urls are resolved before they are passed onto the crawler for crawling. ...
Can't run a C# Program Without VS2005
chris_doran -
29 Apr 2006 3:04 PM - 3 messages
Firstly, let me come clean and say I don't really know what I'm doing. Classic tale: I'm using some code developed by a third party who is now uncontactable. Further, he did it in C# and .NET which are a total ...
COM StdPicture-to-Image conversion
Mark -
29 Apr 2006 1:28 PM - 5 messages
We're authoring a VS 2005 app that includes several EXE's and DLL's and also uses a COM component (a customer requirement). The COM component provides a graphic image to be used by the .NET app; the graphic is supplied as a ...
Transfer string data to unmanaged buffer
Burkhard -
29 Apr 2006 11:31 AM - 9 messages
I declared a struct with fixed size buffers to send it to an unmanaged function [StructLayout (LayoutKind.Sequential)] unsafe struct RCSTKAS { public fixed Byte xValue1 [12]; ...
String.Split
Wallace -
29 Apr 2006 9:41 AM - 3 messages
Hai All, I am having a doubt in string.split, here the code sample string str = "school college job"; note that there is '\t' spacing between each term in the string str. ...
How can I increase the size of the Scroll bar
msnews.microsoft.com -
29 Apr 2006 5:24 AM - 3 messages
Hi all I am working on an application for a touch screen terminal. I have placed a datagrid on the form and the user will select a row on the datagrid. I have increased the font size on the datagrid to make it easier for the user to ...
Question regarding exception....
Wallace -
29 Apr 2006 5:11 AM - 3 messages
Hai All, I have one doubt, here is the code sample.... try { for loop { // doing some operations..... ...
how to casting a object inherit form Form to another object in c# 2.0
harvie wang -
29 Apr 2006 2:52 AM - 3 messages
Hi, I want to implement a common Form with special interface, such as MovePoint(double,double). I create a interface first: namespace ABC.Test { public Interface IMyWindowInterface ...
Installing a Plugin into an application
JGAllen23 -
28 Apr 2006 9:16 PM - 2 messages
I have an application that has an interface for people to create plugins and use them. Right now I just search for dlls that use my interface in a specific folder. I want to create a filetype so the ...
uint64
Bob Allen -
28 Apr 2006 8:44 PM - 11 messages
I have no idea what group to ask this in so i will start here. Does anyone have a good way of compressing a 19 digit number down to the smallest possible number? I have a delima of having a uint64 19 digit number that i ...
XMLNode --> Adding an Attribute
Andy -
28 Apr 2006 8:00 PM - 4 messages
Hello Guys: What am I doing wrong with this code? I can't seem to get it to simply add an attribute to my node. The node already exists. I am simply opening the XMLDocument and creating one attribute to the document. I am not creating ...
Plugins
Alberto -
28 Apr 2006 7:55 PM - 3 messages
Does anybody knows where can I find information about building an application using plugins in c#? Thank you very much ...
how to write to UI after each row has been processed?
cooltech77 -
28 Apr 2006 6:50 PM - 4 messages
Hi, I have a windows form with a button and a richtext box On click of a button ,I am looping through a datatable which has 3600 rows and i am checking some code for each column in the row.There are 300 ...
why float
Martijn Mulder -
28 Apr 2006 6:41 PM - 17 messages
Why is there a type float in C#? Working with integers is best, of course. It is like carrying pebbles around in your pocket. But if you need decimal floating point values, in graphics transforms or in scientific programs, you take the highest precision, ...
Datagrid
Shahid -
28 Apr 2006 6:30 PM - 2 messages
I am trying to copy a report that was created in Crystal Reports and attempting to do it in ASP.NET using datagrids, tables, etc. I know I can integrate crystal with ASP.NET but we want to add more ...
using ArrayList Collection class
diatom@newsgroup.nospam -
28 Apr 2006 5:00 PM - 4 messages
(Sorry if this is a re-post, don't think it worked the first time) Hello, I am trying to add an ArrayList as a field in my web form class. Here is a sample: using System; using System.Collections; ...
using ArrayList Collection Class
diatom@newsgroup.nospam -
28 Apr 2006 4:58 PM - 2 messages
Hello, I am trying to add an ArrayList as a field in my web form class. Here is a sample: using System; using System.Collections; .... ArrayList myArrayList = new ArrayList(); myArrayList.Add("Belleck Colleen Vase"); myArrayList.Add("Belinda Bradshaw Cat Bowl"); ...
Bug in C# Compiler? (generics)
AnotherMike -
28 Apr 2006 4:17 PM - 7 messages
Hello, Can anyone tell me why this won't compile. I'm getting the error: "The type 'GenericsTest.GenericType3' must be convertible to 'GenericsTest.GenericType2<GenericsTest.IInterface2>' in order to use it as parameter 'T' in the generic type or method 'GenericsTest.BaseCollection<T>" ...
Namespace
John -
28 Apr 2006 3:47 PM - 3 messages
The following is defined in VB .NET 2003 ' VB .NET 2003 Namespace MyNamespace Public Class MyClass End Class End Namespace In my C# project, 'using MySpace' causes error that says the type of namespace cannot be found. ...
Raw XML/SOAP communication.
Kalpesh Modha -
28 Apr 2006 3:34 PM - 3 messages
Hello. I have written a web service consumer. The web service itself lives else on any machine at our supplier. How to I capture the XML/SOAP communcation between my consumer and the web service. the consumer is written in C#. ...
How a control can detect when a form is being moved
timnels -
28 Apr 2006 3:31 PM - 2 messages
I have a control that paints a borderless form below it to act as a grid combo box. When the parent for is moved I need the control to detect that the parent form is moving/moved and move the child form ...
Is there a file size limitation for System.IO.Compression?
leo -
28 Apr 2006 3:30 PM - 2 messages
I know there was a limit of 4gb on for some compression tools. Does this limit exist for System.IO.Compression? ...
Disabling certain routines/properties when inheriting.....
UJ -
28 Apr 2006 2:28 PM - 4 messages
I am going to write a class that will inherit from SqlCommand and I want to disable certain routines in the SqlCommand and add a couple of new routines. How would I go about doing that? I understand (I think) the inheritance ...
Length of a struct
Stephan -
28 Apr 2006 1:27 PM - 3 messages
Hello NG, I have two structs. The only differnce is the order of the members: public struct DataStruct { public UInt16 Sekunde; public UInt32 BehälterId; public UInt32 WannenNr; public UInt16 Station; ...
xpath Expression - Select SiingleNode
Andy -
28 Apr 2006 1:20 PM - 2 messages
Hello Guys: I am having a little difficulty picking up how to perform an XPATH to get a single value for an XML file. <ICSMXML xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Header> <MsgDelivery> ...
Is it possible to center the text of a groupbox?
Marcel Brekelmans -
28 Apr 2006 1:10 PM - 4 messages
Hi, Is this possible? Normally, you get a groupbox with the text at the left side. I would like to have it centered. Is this possible? Thanks ...
Number type conversion
Pavils Jurjans -
28 Apr 2006 1:05 PM - 6 messages
Hello, I am somewhat lost in the implicit/expicit possible/impossible type casting in C#... I need to write a class, which among other things, must have wat to read a numeric value type, and internally convert it so that it could be saved in ...
How to SELECT FROM In-Memory dataset in C# .NET?
BillJohnson4 -
28 Apr 2006 12:44 PM - 4 messages
Experts: I have built an in-memory dataset by parsing a flat file so that I can display the contents onto a datagrid. The Microsoft C# .NET System.Data.DataTable.Select() method allows me to select all rows that meet certain criteria (just like "WHERE") and ...
Memory leak in C#
Raja Gregory -
28 Apr 2006 12:19 PM - 9 messages
Hi All, I have developed a server application in C#. While running this application, it is not running more than 30 minutes due to memory leak. Could you tell me what will be the problem? Thanks & Regards, ...
Is a cast to string always possible without exception?
geronimi -
28 Apr 2006 11:59 AM - 6 messages
I wonder when an exception raises when I do this: string str= (string)ds.Tables[0].Rows[0]["CODE"] The row is always filled with data If there is a dbnull.value in it, does it raises an error? And for other data? ...
Exception .net activex loaded with axhost
Martijn Boven -
28 Apr 2006 11:15 AM - 9 messages
I created a activex control in c# (vs 2005) -------------------------------------------- [Guid("41D7A3C7-B891-4379-BE33-5195A2CFF913"), ComVisible(true)] public partial class ActiveTest : UserControl { public ActiveTest() { InitializeComponent(); } } -------------------------------------------- I created a axhost derived class to load it: ----------------------------------------------- public class AxWindows : AxHost { public AxWindows() ...
Iterating through a enum
Simon Hart -
28 Apr 2006 10:39 AM - 3 messages
Is this possible? I have a load of items defined in a enum. I simply want to check if a string variable if defined in anyone of those enum items. Don't want to have to use if statement. Regards ...
generic type and cast
Tommaso Caldarola -
28 Apr 2006 10:08 AM - 2 messages
delegate void SomeDelegate<T>() where T : BaseClass; my_event(object sender, myEventArgs e) { //e.Tag object is SomeDelegate<DerivedClass> SomeDelegate<BaseClass> del = (SomeDelegate<BaseClass>)e.Tag; // *** unable ...
polish character.dbf VFP6.0 -CSharp VS2003
krzysiek -
28 Apr 2006 9:48 AM - 3 messages
File ".dbf" with codepage mazovia (620) from VFP6.0. In field nazw_mat value:±æê³ñó¶¿¼¡ÆÊ£ÑÓ¦¯¬1 . Program C# VS2003 Read first and ±æê³ñó¶¿¼¡ÆÊ£ÑÓ¦¯¬1 - ok. ...
from generic type to closed type
Tommaso Caldarola -
28 Apr 2006 8:45 AM - 5 messages
In my method Method<T>() { //... some stuff } How can I know the real type of T? Inviato da X-Privat.Org - Registrazione gratuita [link] ...
ANN: ModelMaker Tools gives away free licenses !
Gerrit Beuze -
28 Apr 2006 8:21 AM - 3 messages
Hi all, What? Yes: ModelMaker Tools are giving away three single user licenses for a ModelMaker Tools product of your choice! To participate in this one off prize draw, all you have to do is send an email before May 31st 2006. ...
What is C# equivalent of Delphi's ClientDataSet ?
Oleg Subachev -
28 Apr 2006 8:14 AM - 5 messages
Is there C# equivalent of Delphi's ClientDataSet ? ClientDataSet is an in-memory DataSet, that has no external data storage. Oleg Subachev ...
C# Client browser, cookies enabled?
dawson -
28 Apr 2006 7:17 AM - 7 messages
I started off by trying to use the HttpCapabilitiesBase.Cookies Property (Note: This property is new in the .NET Framework version 2.0) however it kept on returning true even when I disabled cookies in both FireFox and Internet Explorer. ...
Hashtable - Order of storage
nithya4u -
28 Apr 2006 6:09 AM - 8 messages
Hi All, Currently, am working on converting some part of C# code to JAVA. Am having a problem with respect to the usage of Hashtable in C#. Is there a java equivalent for it? I have searched lots and am not able to get a ...
help me
thangavelu_usha -
28 Apr 2006 5:59 AM - 2 messages
how to in crease headertext lentgh by using c# code. ...
Post XML from one C# web app to another
ramsamant -
28 Apr 2006 5:30 AM - 3 messages
Hi, I am trying to push XML files via HTTP using C#. I am using the free Visual Studio Web Developer Express to do this. After transferring about 10-15 files, randomly the files transfer fail and I get [WebException: The remote server returned an error: (403) Forbidden.] ...
Project fails to load after changing the name of the project folde
Joachim -
28 Apr 2006 5:14 AM - 6 messages
I needed to change the name of the project folders, e g. to something else. Now it doesn't matter what I do - even if I rename the folders to the original name the project fails to load. The error message is ...
I am trying to convert a file from C# to VB.NET - need help.
Learner -
28 Apr 2006 1:34 AM - 2 messages
Hello, Here is the code snippet I got strucked at. I am unable to convert the below line of code to its equavalent vb.net code. could some one please help me with this? [DataObjectMethod(DataObjectMethodType.Select, true)] static public List<RoleData> GetRoles() ...
I am trying to convert a file from C# to VB.NET - need help.
Learner -
28 Apr 2006 1:34 AM - 6 messages
Hello, Here is the code snippet I got strucked at. I am unable to convert the below line of code to its equavalent vb.net code. could some one please help me with this? [DataObjectMethod(DataObjectMethodType.Select, true)] static public List<RoleData> GetRoles() ...
I am trying to convert a file from C# to VB.NET - need help.
Learner -
28 Apr 2006 1:34 AM - 2 messages
Hello, Here is the code snippet I got strucked at. I am unable to convert the below line of code to its equavalent vb.net code. could some one please help me with this? [DataObjectMethod(DataObjectMethodType.Select, true)] static public List<RoleData> GetRoles() ...
Detection of nullable types...
rubikzube* -
27 Apr 2006 11:54 PM - 4 messages
Hi. I'm trying to write a snippet of code to detect if a variable is a nullable<t> struct, and I can't figure out the right syntax or if such a thing is even possible... Below are the results that I got when I ...
CheckBox in DataGrid Header Row
vynerd -
27 Apr 2006 10:03 PM - 2 messages
How do I add a checkbox in header row so I can check/uncheck all checkboxes when header checkbox is checked?? Thanks. ...
Uninstall a service from code without using InstallUtil.exe
Marcel Brekelmans -
27 Apr 2006 8:05 PM - 4 messages
Hi, I was wondering if it's possible to install/uninstall a service from code without using the InstalUtil.exe tool with the /i and /u flags. As far as I can Google everyone is doing it that way and MicroSoft also mentions this. ...
How to read configuration settings in NET 2?
Art -
27 Apr 2006 8:00 PM - 2 messages
Assume I have this in my app.config file <applicationSettings> <MyApp> <setting name="Prefix"> <value>Get</value> ...
AppDomain & finding assemblies [.NET 2.0]
Alexander van Doormalen -
27 Apr 2006 7:48 PM - 4 messages
I have a windows service which calls extensions. In 1 of those extensions I want to load a config file (extension.dll.config). In that config file I defined some ConfigurationSection's. For example: <section name="somename" type="sonenamespace.someclassname, ...
Modulo
shumaker -
27 Apr 2006 7:42 PM - 6 messages
The VS help files list % as the modulo operator, but I read in another post that someone said it was the remainder operator. I'm getting -2 % 64 = -2, but I need 62 or -62, because I am trying to ...
ShowInTaskbar Causing Blank Form/Hang
Mike -
27 Apr 2006 7:42 PM - 5 messages
I have a winforms application that is hidden using the following code upon prompt: //Remove from the taskbar and also from alt+tab this.Visible = false; this.ShowInTaskbar = false; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; Upon correct DDE prompt from another application my application should ...
RunTime Error - After my web site running 2 or 3 days
news.citenet.net -
27 Apr 2006 6:32 PM - 5 messages
I keep getting the following error message after my web site running 2 or 3 days I share one folder with about 200 domain names Any one can help? -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current custom ...
[C#.NET 2.0] ViewState and EventHandlers
anders@aleborg.se -
27 Apr 2006 6:23 PM - 3 messages
Hi! I have an application that looks something like this: ************************************************************ Order.aspx The "user controls" is shown/hided (visible=true/false) in the MultiView depending on the querystring and some other info, ex: if the querystring is "?Action=1" all UC's will be used in the Multiview but if the querystring is ...
DLL does not load Dynamically
RSS -
27 Apr 2006 6:20 PM - 8 messages
Hi everyone, I have an app that uses some DLL's that are shared across couple applications. There are reasons existing that prevent me from putting them in to the GAC. Each of these app's at some point in time loads a DLL dynamically in this fashion: ...
Rotate the world
Just close your eyes and see -
27 Apr 2006 5:51 PM - 3 messages
Hi All How can I rotate the world in Managed DirectX using mouse drag and zooming using Scroll, like DirectX Viewer did Thx All ...
DataGridView will update & delete but will not insert. (Using auto
Dave -
27 Apr 2006 5:40 PM - 2 messages
I have a table with 3 fields of which the primary key is a autonumber. I have created my dataadapter, dataset and datagridview using a wizard. However, in the datagrid, the update and delete operation work but the Insert will not ...
GetDesktopWindow() for an "active monitor"
Al -
27 Apr 2006 5:36 PM - 3 messages
May anybody help with the function GetDesktopWindow (imported from the user32.dll)? How to get the active desktop (monitor) window, i.e., a desktop that contains the active window? The active window handler may be acieved by GetActiveWindow() (imported from user32.dll), but I cannot realize how to "connect" GetActiveWindow ...
General Design Question - Class Name
Mythran -
27 Apr 2006 5:33 PM - 4 messages
I'm in need of some suggestions. Currently, we have a class that is named StringValidator. It has methods such as ValidateMaxLength, ValidateMinLength, IsNumber, IsMatch, ValidateNumeric, ValidateInteger, etc. There is custom validation for each method (such as IsNumber compared to ...
How to pre-allocation Harddisk space?
Chi -
27 Apr 2006 5:02 PM - 7 messages
According this [link] said, if you pre-allocation space for writing , it will be much faster, but how can i do this? Thank ...
Can't create instance of Crystal Report
VMI -
27 Apr 2006 4:36 PM - 5 messages
For my website, I created CrystalReportTest.rpt (through the designer in VS 2005) and I'd like to be able to display it in viewer.aspx (all in the same project). Viewer.aspx has a Crystal Report viewer but for some reason, I ...
Can a generic Crystal report be dynamically instantied at runtime?
Thirsty Traveler -
27 Apr 2006 4:16 PM - 11 messages
The following code will instantiate a specific Crystal report (TestRpt.rpt): public static void CreatePDF() { DataSet ds = TestDAL.GetCrystalDS(); TestRpt rpt = new TestRpt(); rpt.SetDataSource(ds); rpt.ExportToDisk(ExportFormatType.PortableDocFormat, "TestRpt.pdf"); ...
C# Interview questions
Shark -
27 Apr 2006 3:52 PM - 33 messages
Hi everyone, check this out: [link] ...
Problem reading an XML string without first writing to disk
Thirsty Traveler -
27 Apr 2006 3:46 PM - 9 messages
I have a dataset that is returned from a sql server select that contains metadata and a cached dataset saved in an xml column. I would like to recover the dataset for use in generating a crystal pdf file. the ...
csharp language idea
cody -
27 Apr 2006 3:43 PM - 16 messages
currently when trying to change a struct returned by a property, the compiler generates an error. so if you try someControl.Location.Y = 10; you get an error which is logical if one understands how value types work. but wouldn't it be an good idea to allow such a construct and let the ...
Reading text data to double crlf
amyl -
27 Apr 2006 3:30 PM - 10 messages
I have an application that is reading data from text files to the first occurrence of a double crlf. I have this working using streamreader and using readline. However, I am hitting 500+ files at a time and this is a bit slow. ...
backgroundworker and generics
Tommaso Caldarola -
27 Apr 2006 2:06 PM - 4 messages
What do I pass as argument in order to get generics type from e.Argument in DoWork? backgroundWorker.RunWorkerAsync(????); void backgroundWorker_DoWork(object sender, DoWorkEventArgs e) { MyMtehod<????>(); } MyMethod<T>(); Inviato da X-Privat.Org - Registrazione gratuita [link] ...
How to change application scoped settings programmatically
Mirek Endys -
27 Apr 2006 12:45 PM - 2 messages
Hello all, I have this problem. I have a windows service and I would like to put there Settings for starting this service. Because of this service is running under NETWORK_SERVICE account, what is the best way to use settings? Should I create my own ...
Protect from SYN flood
wasco77 -
27 Apr 2006 12:25 PM - 5 messages
Hi all, my client/server application crash because of SYN flood. (the tcp port in listening on the server is closed). Anyone know how can I protect my application? Thanks a lot ...
C# calling JAVA web service - results are null
BluNuit -
27 Apr 2006 12:23 PM - 3 messages
I have a simple c# app that calls a Java (AXIS) web service to perform some operations. The call works fine (the java code fires and the operations are executed), but the response is always null. Other applications (besides the ...
.Net Framework
JPS -
27 Apr 2006 12:19 PM - 2 messages
When you uninstall the .Net framework, is the ilasm.exe file always removed? I am trying to test for version installations and when a version of the framework is removed, the directory and some files still exist. ...
ConfigurationSection and Class Library
Alexander van Doormalen -
27 Apr 2006 10:50 AM - 8 messages
Is it possible to load data from a configuration file within a assembly (class library)? The hosting exe file is something completely different which isn't gonna load my config file. I already added a App.config to my project and its copied to my output ...
Lotus Files
apondu -
27 Apr 2006 10:47 AM - 2 messages
Hi, i was searching for some information about Lotus files and C#.Net. I wanted to know whether it is possible to open and read the content from the Lotus files using C#.Net. If anyone does know about how to do it. ...
Help on Silent Download of a File from Server To client
Jay -
27 Apr 2006 10:25 AM - 5 messages
Hi, I have some unique situations where i need to transfer a file from Server to client but without any Open or Save dialog box shown to the user. The file should save itself directly to client machine. I want to transfer word (.doc) file from server to client without ...
close usercontrol
Hrvoje Voda -
27 Apr 2006 9:55 AM - 2 messages
How to close a userControl on a buttonClick? ...
How can i change columnames in a datatable
Lars E -
27 Apr 2006 9:49 AM - 2 messages
Hi How can i change the columnames in a datatable. I am not using sql and i get the datatable from a dataset. The columnames in table "CustCont" is today "cc-custno1", "cc-custno2" and "cc-class". I think the "-" in the columnames gives me problem when doing ...
CSharpCodeProvider: referencing other generated "InMemory" assembl
Jan -
27 Apr 2006 8:18 AM - 12 messages
I'm using the CSharpCodeProvider to buils some assemblies @ runtime which are never saved as files (cp.GenerateInMemory = true;). The generated assemblies are hierachically dependent on each other so I generate the "bottom" assemblies first. How do I add a dependency to another previously loaded (generated) assembly? ...
XPath get max value
beachboy -
27 Apr 2006 8:09 AM - 6 messages
can we get the max value of element from xpath e.g: Xpath Query Expression: /Books/Book[@id='3'] to select XMLNode which id is "3" Can I use Xpath to get the MAX Book id? Thanks in advanced. ...
Symmetric Key Storage
phil -
27 Apr 2006 5:11 AM - 3 messages
Where's the best place to store a symmetric key for a file encryption program? Is the registry a good idea? ...
Performance question
sb -
27 Apr 2006 3:11 AM - 7 messages
Hi! Imagine a grid that is 4192 bytes wide and 4192 bytes high. Typically, the majority (>65%) of the bytes in the grid equal 0 meaning that they are not used. My goal is to be able to: ...
Clear texting symmetric Key and IV
phil -
27 Apr 2006 3:06 AM - 3 messages
I'm trying to figure out if the RijndaelManaged.generateKey and RijndaelManaged.generateIV created an encrypted key and IV. If I attempt to view this in clear text, it appears that the value is encrypted. How can I decrypt these two values created by the generate methods? Below is sample ...
RSS Feed
Vijay -
27 Apr 2006 1:43 AM - 2 messages
I am looking to more about RSS feeds, creating and using them... I am a novice, is there some place I can find basic examples.... I did Google around, but none seem to explain the basics... Also if RSS is a std format of XML, where can I find a definition of what ...
Simple but confusing algorith question
karan.shashi -
27 Apr 2006 1:25 AM - 28 messages
Hey all, I was asked this question in an interview recently: Suppose you have the method signature bool MyPairSum(int [] array, int sum) the array has all unique values (no repeats), your task is to find two indices in the array whose sum equals the input parameter sum. If there ...
Type.GetType(String) not working
Gugale at Lincoln -
27 Apr 2006 12:34 AM - 9 messages
In my code Type.GetType(text) works when text="System.IO.File". However, it doesn't work when text="System.Windows.Forms.Button". In general it works for classes in System.dll assembly. Is there anyway I can make it work for ...
Calling .NET Framework v2.0 assembly from a v1.x Application
Crash -
26 Apr 2006 11:34 PM - 2 messages
I have an application that is written in .NET v1.x {this is non negotiable} but I would like to use .NET Framework v2.0 SQL Server RMO to manage some replication chores. I have permission to code the RMO piece in a Framework v2.0 assembly - ...
Using CollectionBase
Juan Martinez -
26 Apr 2006 10:27 PM - 3 messages
Hello!! I have created my own collection : [TypeConverter(typeof(MyCollectionConverter))] public class MyCollection { private Color color1 = Color.White; private Color color2 = Color.Black; private int value1 = 0; private int value2 = 0; private bool blink = false; private bool visible = true; private string nname = string.Empty; ...
Salamander Online Decompiler v2 available
Huihong -
26 Apr 2006 9:57 PM - 4 messages
[link] now supports .NET 2.0, freely available for online use, pls give it a try. It supports generating C#, VB.NET, and MC++. (the upload file size limit is 3MB) With about 250,000 files have neen uploaded and decompiled thus far, ...
ContextSwitchDeadlock
OldButStillLearning -
26 Apr 2006 8:23 PM - 14 messages
Hello, I am getting this "ContextSwitchDeadlock" error message pop up in situations where I am doing a Data Reader loop, where I am processing about 40,000 records. For each record read via the data reader, I am creating ...
WindowsIdentity and Non-AD directory services
Raghu -
26 Apr 2006 7:46 PM - 2 messages
If a company has windows machines but the directory services is not active directory (say novell's eDirectory for whatever reason and users are authenticated against this non-AD directory services), will the WindowsIdentity object (obtained through WindowsIdentity.GetCurrent static ...
Data binding an array to a listbox
A. Spiehler -
26 Apr 2006 7:13 PM - 2 messages
I'm trying to fill a listBox control with string members from an array of objects. I think using data binding is supposed to be the easiest way to do this. I've never used data binding before and am having ...
Some construction that I don't understand why it works as it does.
Tony Johansson -
26 Apr 2006 6:41 PM - 2 messages
Hello! I have this small class CustomException with one ctor see below. In this class I have both override the ToString and Message. Now to my question if I made this call string ss = ToString(); in the ctor for this class CustomException ...
REGEX vs Stack Tokenizer?
xlar54 -
26 Apr 2006 6:36 PM - 2 messages
Hey guys, Im writing a simple language tokenizer and Im at that point of "10 ways to do it, which is the best"... All I need it to do, is given a string, look inside it for keywords, and replace them with an ascii value (greater than 128 - each keyword ...
Return month from dropdown as integer
Bishman -
26 Apr 2006 6:28 PM - 3 messages
Hi, I am new to C# so forgive my ignorance. I need to write a month 'number' to a DB, ie January = 1, March=3 etc etc... I have the month description in a combo box. I used an enum " enum ...
Login Control - Use a multipart account number instead of a name
jj -
26 Apr 2006 6:11 PM - 2 messages
I have went through the exercise of creating a login page using the standard user/password and the Login Control for asp.net 2.0, but now I have a requirement for a multipart account number [dddd][dd][dddd][d] ...
|
|||||||||||||||||||||||