Group:  C# ยป microsoft.public.dotnet.languages.csharp

Threads Replies Last Post
1348 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  
access delete row by date
I have an access file with a datetime column. Apparently access doesn't have just a date option when creating a column. I would like to create a query in a dataset to erase all entries for a particular date. However when I say; DELETE FROM Table WHERE (Date_Downloaded = ?) nothing is deleted because it's not exact to the second. '12/20/2008 10:30:22 AM' How can I rework my stateme...
2 12/31/2008 7:52:45 AM
PropertyInfo: Determine if and object contain another object
I'm working on a custom xml serializer to store property information of System.Windows.Forms.control object. For my testing I use a ListView items object and try to get all object and properties- collection contained in listView1.Items. My problem is the following: I dont know how to tell if an object contain a "child" object. By Example listView1.Font contains child object/properties l...
4 12/31/2008 7:23:52 AM
creating dynamic variables at run time
Hi, is there anyway to create dynamic variables at the runtime based on a string input from another function string datatypestring="int"; using this datatypestring i need to create a integer variable at run time.is there any methods available in reflection to create dynamic variables(like int, double etc) Thanks, Sony...
5 12/31/2008 7:12:52 AM
1 to 10ms delay
Hi, Is it possible create a function that I can call like msDelay(2) to run a 2 millisecond delay? The Thread.Sleep function cannot go below 10ms......
8 12/31/2008 6:55:55 AM
How to pass a vc++ BSTR value to C#.Net
I'm using a COM encryption method which encrypts(using RSA) a string to a ByteArray,but this byteArray has to be passed out as a BSTR datatype and should be availble to a C# code where the encrypted text has to be decrypted back to normal string. Can anyone please let me know how to convert a byteArray to BSTR in vc++ and then in C# it should be converted back from BSTR back to byteArray...
4 12/31/2008 6:54:01 AM
Open outlook contact from code
Hi, I need to open an outlook contact window from code. How can I do it ? Yoav....
1 12/31/2008 6:18:00 AM
LINQ-to-SQL and intersection entities
I am trying to model a logical many-to-many relationship, defined as a two 'entity' tables and an intersection table, in LINQ-to-SQL. Thus far, this has been represented as a User class, an Group class, and a UserGroup class (the intersection). I would prefer to have the relationship modeled as: User.Groups (a collection of Group instances) and Group.Users (a collection of User instan...
2 12/31/2008 6:01:50 AM
Standard Control Locations on a Windows Forms Form
I have a groupbox I am creating programmatically ... I add textbox controls to the groupbox. There is a user-defined number of rows and columns for these textboxes so the groupbox grows in height and width (as does the form) depending on the total number of textboxes added to the groupbox. My question is, when I create the GroupBox and TextBox controls, what location should I place the...
2 12/31/2008 5:45:20 AM
NIKE AIR JORDAN FORCE FUSION SHOES AJF 5 V JORDANs 5 FUSION NIKE
shoes on AIR Jordan 1 (paypal payment)www.king-trade.cn AIR Jordan 2 AIR Jordan 3 AIR Jordan 4 AIR Jordan 5 (paypal payment)www.king-trade.cn AIR Jordan 6 Rings AIR Jordan 6 AIR Jordan 7 AIR Jordan 8 AIR Jordan 9 (paypal payment)www.king-trade.cn AIR Jordan 10 AIR Jordan 11 AIR Jordan 12 AIR Jordan 13 (paypal payment)www.king-trade.cn AIR Jordan 14 AIR Jordan 15 AIR Jordan 16 AI...
1 12/31/2008 5:10:35 AM
Excel spreadsheet from LINQ
I have a WInForms application which generates output from numerous LINQ(toDataSet) queries to DataGridViews and Pie/Bar Charts. I want to persist historical transaction analyses in an Excel spreadsheet. I gather there are various ways of doing this (LINQToXML, connecting to Excel via OleDBProvider, creating a DataTable from LINQ and adding that to Excel, using a 3rd party spreadsheet ap...
9 12/31/2008 4:32:31 AM
Regular Expression Help
I want to match sections in a multilined string. For example -----TEXT File----- SECTION hello this is my section it can use SECTION or ENDSECTION if I want it to and can be multi lined ENDSECTION SECTION Another Section, can be any amount of sections in a file ENDSECTION -----EOF----- AKA: I want a pattern which will match "^SECTION$" then anything but "^ENDSECTION$" and then "^E...
6 12/31/2008 3:52:44 AM
Size of images in image list
Hello, I have an ImageList that will store a large number of images, but if it starts using too much memory, I'd like to be able to purge it (or part of it). The problem is, I'm not sure how to determine how much memory is being used by this object. I've read that Marshal.SizeOf() can determine the size of the object, but I get an exception: "Type 'System.Windows.Forms.ImageList+ImageCollect...
1 12/31/2008 3:43:46 AM
portion of WAV file
Hi, I'm trying to read (to end up plotting it and playing it) only a _portion_ of a wav file. Looks like the System.Media.SoundPlayer class is conceived to load and play entire wav files. Is there a way, maybe using SoundPlayer in conjunction with streams, to do what I want? Are there other better classes? Thank you, Bill...
2 12/31/2008 1:13:09 AM
Microsoft.VisualBasic.Strings.Asc ?
Hello, I'm trying to put together a simple utility to do rc4 encryption based on the rc4 algorithm here: http://aspnet.4guysfromrolla.com/articles/091802-1.3.aspx that article is about porting Mike Shaffer's VBScript RC4 to c#... I'm using that code to make the class but use in a windows form. Using MS Visual C# Express edition sp1. so the problem I get when compiling the class is ...
12 12/31/2008 12:49:00 AM
How to exit loop on button press?
I have process that can run for long time. User needs button to abort it. I'm looking for elegant way to do that. Right now I can only think of shared boolean flag that I will set on button_click and then check this flag while looping. Is there any "nicer" way to do this? Thank you, Ivan ...
21 12/30/2008 11:02:00 PM
how to determine if date is a Federal holiday
Is there a way to determine, via code, if a date falls on a holiday for a specific year? Without having to create a database, populate it with holidays for several years, making a connection to the db, then comparing the dates? TIA G...
15 12/30/2008 9:59:36 PM
Using a proxy in C# Windows App .Net v2.0
How do I handle a proxy server in a .Net 2.0 Windows App? I had to jump through hoops to make it work with 1.1 and now I'm converting the code to 2.0. Thanks. Jeff. ...
6 12/30/2008 9:56:45 PM
hwnd position
i'm looking for a function/way to get window class position in the screen. any idea?...
2 12/30/2008 9:54:26 PM
Watch objects of a running .NET process?
Hi all i would like to check if there are unwanted/unreleased objects running in our application. I'm not looking for a debugger but a tool where i can see the currently running objects and instances of classes. i saw a headline lately that such a tool exists, but can't find it anymore. thanks!...
3 12/30/2008 9:23:15 PM
Regex question
I have a text string that has a date in it and I am trying to pull out the date. In my earlier posts I got a couple of patterns that seem correct, but I can't seem to get them to work. I want to account for 1 or 2 digits in the month and day fields and 2 or 4 in the year field. After not getting the correct result I put it down to the simplest pattern which would match exactly the num...
6 12/30/2008 7:03:38 PM
Regex question
This is really a regex question. I am wonding if anyone knows a good Regex expression that would pull a valid date from a string. I have used: strValue = Regex.Replace(valueIn, @"[^\d/]", ""); which works most of the time. But I have some cases where I have strings like: 05/07/08(-4%) 09/19/08 DOM 55 09/19/2008 DOM 53 FOR 09/15/08 -23 Thanks, Tom ...
19 12/30/2008 7:00:36 PM
Hessian headers
Hi all A project I am working on at the moment uses C# Hessian for remote calls. I was wondering if anyone knows how (if possible) to send additional header information with each request and read that on the server? My requirement is to send a session token with each request and have it handled in a generic way on the server, rather than having it sent as the first parameter of ever...
1 12/30/2008 5:28:16 PM
MVC fundamental website question
Hey, So, I think I'm missing something fundamental, and I can't find any good examples online so I thought maybe someone can push me in the right direction. I have a MVC website that I'm working on and it's easy to pass information from the controller to the view via the viewdata object, but how do you get data from the view back to the controller outside of a query string in the url? Li...
4 12/30/2008 4:19:47 PM
Calling OS Procedures/C++ through c#
#1 . How can one call OS Procedures through c# code? #2. How can one call c++ code through C# application? Do I have to make a COM Component for that? No Idea whatsoever about COM Components. Please, refer some links and make suggesstions. Thanks in advance....
3 12/30/2008 3:59:18 PM
Windows service control application
good morning, i'm working on a file syste watcher application that runs as "windows service". i have a problem... how can i create a client application that "monitors" the events in my service? i need to interact with the service from a client application, also for other tasks, such as query for variables status. which is the best practice for this? thank you...
6 12/30/2008 3:25:08 PM
1348 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  

Home | Search | Terms | Imprint
Newsgroups Reader