|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Operator '*' cannot be applied ... ¡?
<Harvey Triana /> -
29 Jul 2006 5:11 PM - 2 messages
Hello - float r; r = (int)(Number * Math.Pow(10, Decimals) + 0.5) / Math.Pow(10, Decimals); Error: Operator '*' cannot be applied to operands of type 'decimal' and 'double' //data sample int Decimals = 2; Decimal Number = 123.258; //has to be decimal ...
Hacking your Roomba using C#
kevingabbert -
29 Jul 2006 5:08 PM - 3 messages
For anyone wanting to do something fun with tools at hand. I have Developed some code in C# to control your iRobot Roomba vacuum from your computer. (Don't forget to Download Visual Studio express!) [link] ...
DataRow.Delete() throws System.ArgumentOutOfRangeException: Non-negative number required.
Ryan Liu -
29 Jul 2006 4:54 PM - 2 messages
Hi, When my code run to DataRow.Delete() It throws: System.ArgumentOutOfRangeException: Non-negative number required. Parameter name: length at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length) at System.Data.Index.DeleteRecord(Int32 recordIndex) ...
Calendar notes in .xml
bojan.pikl -
29 Jul 2006 4:51 PM - 10 messages
Hi, I am making a simple calendar. I would like to have the ability of notes. I was thinking of using this kind of notes.xml file. I am not sure how to operate with nodes. I just need to access something like ...
Call void* from c#
jtraversini -
29 Jul 2006 3:22 PM - 2 messages
Hello, I'm trying to acces a method from a com dll to access RSA Server. I cannot find which type I have to use from c# for the void* pinBuff parameter...idealy, I would like to pass a string. ...
Determining type
Doug Stiers -
29 Jul 2006 2:22 PM - 6 messages
C# newbie question: I'm trying to determine the type of a datareader value. Why cant I do it like this? if (rdr.GetValue(0).GetType() is Guid || rdr.GetValue(0).GetType() is Int32) { ...
Filling DataSet causes System OutOfMemory exception
Peter S. -
29 Jul 2006 12:39 PM - 3 messages
I am pulling some data from a source via ODBC and placing the information in a DataSet. The first pull is very large but once that is complete I plan to do nightly pulls to get any new data that gets put in the (remote) table. ...
regex problem
japi -
29 Jul 2006 12:00 PM - 3 messages
Hi, as a regex starter I am having a little trouble here. suppose i want to parse the folling html fragment: <li> a </li> <li> b </li> I would like to have a regular expression that matches each of the li ...
bind to data grid
gordon -
29 Jul 2006 11:28 AM - 2 messages
Hi I have some standard text book type examples of oleDB connections and routines that populate a list box with data with a query on an Access database. What I would like to do is to use a datagrid view instead as the information ...
Calling a hidden form
ahmad.humyn -
29 Jul 2006 8:18 AM - 7 messages
I want to call a hidden form. My code goes something like in which the main calls form1. form1 has a button which creates & calls form2 and hides itself. Now I have a button in form2 which if pressed should ...
IPC using C#.NET Windows application
GVN -
29 Jul 2006 6:53 AM - 5 messages
Hi All, Can anyone help me in simulating IPC using C#.NET Windows application? Thanks, GVN ...
Casting Generic Classes - Possible Solution
Tigger -
29 Jul 2006 6:04 AM - 4 messages
I have an object which could be compared to a DataTable/List which I am trying to genericify. I've spent about a day so far in refactoring and in the process gone through some hoops and hit some dead ends. ...
Where can I find the Error code for DirectoryServicesCOMException?
Pucca -
29 Jul 2006 12:10 AM - 3 messages
Where can I find pre-defined Error code like OBJECT_ALREADY_EXISTS (HRESULT) for the DirectoryServicesCOMException.ErrorCode? I need it for the try-catch coding. Thanks. ...
Traverse the Many-to-Many relationship?
Michael D. Reed -
28 Jul 2006 11:36 PM - 2 messages
I have two tables in an Access database with a Many-to-Many relationship, there is a connection table. The tables are [Product Line], [Factors], and the connection table is [Product Line performance Factors] this is a standard Many-to-Many relationship in that the connect table only has two foreign key ...
Generics and Indexers
AdamH -
28 Jul 2006 10:59 PM - 2 messages
trying to create a generic indexer where the class definition does not have a <T> psedo code below. public myClass{ public T this<T>[ValueType item]{ get{ ...
Bi-Directional Remoting with Unmanaged app
victor -
28 Jul 2006 10:49 PM - 3 messages
Hello, I'm facing the following difficulty with a Remoting app which communicates with an Unmanaged (VC6) app in a two-way manner. I have done the direction from Framework to VC6 through WIN32-API delegates, using FindWindow + PostMessage. This works fine. ...
XmlDocument.WriteTo method truncating at 2048 characters
William -
28 Jul 2006 9:28 PM - 3 messages
I am attempting to write an XmlDocument to file, but for some reason it will only write 2048 characters of the document even though when I stop it in the debugger ALL of the document is there. Code snippet is as follows: ...
Delete Rows from a TableLayoutPanel
avanti -
28 Jul 2006 9:11 PM - 3 messages
Hi, I am trying to delete rows from a TableLayoutPanel at Runtime. I tried editing the RowStyles collection but doesn't do what I want it to. I have a table with 10 rows. I want to delete rows 2 to 10 at runtime, ...
User Control - Socket create freeze browser
Erakis -
28 Jul 2006 5:28 PM - 4 messages
Hi, I have to make an ActiveX (Running on Internet Explorer) that play/record sound from soundcard. Also, I have to create a Socket to send/receive sound data to my server. I use this tutorial to build my ActiveX : ...
Easy way to copy a List<List<T>>
Sin Jeong-hun -
28 Jul 2006 5:24 PM - 5 messages
List<List<T>> a=param; List<List<T>> b=a; If I change b, then a is get changed. I want another copy of a, that is completely independent of a. I used double-nested for loop to copy each ...
Easy way to copy a List<List<T>>
Sin Jeong-hun -
28 Jul 2006 5:23 PM - 5 messages
List<List<T>> a=param; List<List<T>> b=a; If I change b, then a is get changed. I want another copy of a, that is completely independent of a. I used double-nested for loop to copy each ...
When to use Public/Private Key & when to gen new one?
Sky -
28 Jul 2006 5:10 PM - 3 messages
Hello: I'm trying to make sense of snk files, when to use, under what conditions to regenerate new ones,...can someone take a look if these statemes make sense? And then the final questions at the end that they first statements bring up ...
Constructors in a Static Class
Jordan S. -
28 Jul 2006 4:14 PM - 4 messages
Just learning OOP here... Does it make sense to have a constructor in a static class? Say I have a class with a constructor and then mark that class as static; will it (the default constructor) get called when the application ...
keeping highlighted text visible in a form that does not have focus
njuneardave -
28 Jul 2006 4:14 PM - 4 messages
Hey, Here is a quick question: I have two forms that I am using, and I need to highlight the text in Form1 by clicking and dragging (obviously). So, when I switch to Form2 (making it the focused form), I want to ...
Statically determine type of Collection
cody -
28 Jul 2006 3:34 PM - 3 messages
Hi! we are building an xml-export tool to export our business entities from out app. we use reflection to determine the data type of properties. e.g. we have a class Customer with a CustNo property, and reflection tells us that the type is int. so far so good. ...
Collection
Peter -
28 Jul 2006 3:28 PM - 6 messages
I have a collection of Test Class with the following keys Class Test { public int num1; public int num2; } Key1 = "1" Key2 = "1" Key3 = "1" Key4 = "2" Key5 = "2" Key6 = "2" Key7 = "3" Key8 = "3" ...
ComTypes.FORMATETC
Jeff -
28 Jul 2006 3:19 PM - 2 messages
How does this work, who is the person that translated ComTypes.FORMATETC.cfFormat from a long to a short? Did I miss something somewhere that said that a long in a C++ structure translates into a short? This is really bad since RegisterClipboardFormat() ...
How to implement enable/disable for control
bartlomiej.szafraniec -
28 Jul 2006 3:16 PM - 3 messages
Hi! I'm trying to implement custom button. But I don't want to extend Button class. I want to extend Control class. I want to implement Enable disable functionality. But unfortunatly when control is in Enable = false state the on click ...
How to stop a Control from showing in the Toolbox
Mark Collard -
28 Jul 2006 2:53 PM - 3 messages
I've developed a C# Windows Control Library project (using Visual Studio 2003). It contains a public component class and a public control class. When I add a reference to the compiled project dll in a new project and add it in ...
ListViewItem.Remove() throws exception inside AfterLabelEdit
Kela -
28 Jul 2006 2:52 PM - 3 messages
An interesting problem: I have a ListView with LabelEdit set to TRUE. When I change the label, I want to make some decisions as to whether the ListViewItem (that's just been edited) should stay in the ListView or not. ...
Getting First Key in a Dictionary
randy1200 -
28 Jul 2006 2:46 PM - 6 messages
I have the following: Dictionary<object, string> d = new Dictionary<object, string>(); I can add entries to the dictionary, and I can loop through the entries I've added to the Dictionary. This all works great. ...
Application goes behind the others
Diogo Alves - Software Developer -
28 Jul 2006 2:38 PM - 3 messages
Hi, I'm getting a trouble here... sometimes my application goes behind the other... and I don't know why? it just goes behind.... and lose the focus!!!! Does anyone got an ideia why it is happening? ...
Restricted control positioning in webform? Why?
VMI -
28 Jul 2006 2:12 PM - 3 messages
Why can't I freely put my webform controls anywhere in my asp.net webform? It's not like a Windows Form that I can place my control anywhere in the Form. Is there any way I can change that? ...
Using the mousewheel
Jean Paul Mertens -
28 Jul 2006 2:10 PM - 2 messages
Hello, I try to use the mousewheel in a user control to to scroll in a pannel where I draw with GDI+ . due to the fact that a pannel don't has focus, I have no mousewheel event at my dispositon. Is there a work around? ...
DB2 Connection Issue
OldButStillLearning -
28 Jul 2006 2:01 PM - 2 messages
OK, I am trying to connect to DB2 (z/OS). I have successfully made the connection to the database in the Server Explorer. I am also able to successfully log in to DB2 when I am testing the "System DSN" in the ODBC ...
excel report generation
kalaivanan -
28 Jul 2006 1:47 PM - 3 messages
Hi, dis is kalai and i am new to dis group. i am generating excel report in c# .net using microsoft excel 10.0 object library. the micrsoft office version which i am using is 2002. I can very well generate the excel report. ...
Set a thread as UI
Kevin -
28 Jul 2006 1:32 PM - 2 messages
Hi! I've a 3d party component that convert file formats. Sometimes the convertion blocks the process. I'm trying to solve it runing the convertion in another thread with a join timeout. But when the convertion method is called raise the follow error: ...
windows volume control
Diego -
28 Jul 2006 1:13 PM - 3 messages
Hi, I have an application in C#. From this application I would like to adjust the master volumen in windows. I have not seen a .NET class to do it. Any ideas? Thanks ...
Edit a control from a secondary thread.
Ale -
28 Jul 2006 12:49 PM - 6 messages
Hi to everyone, i've a problem, i'm trying to edit a control from a secondary thread (i'm using the backgroundworker) the problem is that i can't edit something in that way.. and i get back a Cross-Thread ...
My Cryptography algorithm does not work
osmarjunior -
28 Jul 2006 12:47 PM - 3 messages
I have two methods Encode(String) and Decode(String). But the Decode() returns a different string. If I encode "123456", for example, and try to decode the result, it returns a different value. Can anyone help to find the error? Here's the code: ...
Closing application from another form
ahmad.humyn -
28 Jul 2006 12:35 PM - 7 messages
I have an application in which the main form goes something like: public frmMain() { frmA frm = new frmA(); frm.show(); this.hide(); } Now that the control has been passed to frmA, how do I close the ...
combo box problem
Leandro RM -
28 Jul 2006 11:09 AM - 2 messages
I´ve got the follow scenario. I load a combobox. like this. combo.DataSource = ds.Tables(0); combo.DisplayMember = "CITY"; combo.ValueMember = "ID_CITY"; after I must that someone find a city ... Then now i got the ID_CITY, in this moment. ...
get new mails C#
sovarschizsuzsa -
28 Jul 2006 11:00 AM - 2 messages
Do you know anybody how can i get and download from server ONLY the NEW emails (messages and attachments) under C# via POP3? Or it has a solution only via IMAP? ...
Recommendations for graph/chart libraries
Dylan Parry -
28 Jul 2006 10:46 AM - 3 messages
Hi folks, I'm looking for a library (preferably free and/or Open Source) that will allow me to easily create bar charts, pie charts and other such graphs. Has anyone here had any experiences with such libraries? Any ones you'd ...
toolStripTextBox action when Enter is pressed
matthewr -
28 Jul 2006 10:31 AM - 3 messages
In Internet Explorer, for example, when you hit return in the address bar, the Go button is pressed. In my program, I have a toolstrip with a textbox and button. How do I ensure the button is 'clicked' when Enter ...
Virtual Drive
Kavitha -
28 Jul 2006 10:16 AM - 3 messages
Hi , Can any one tel me how to create a virtual drive in C#( similar to Gmail Virtual drive).Also tell me what interfaces could be used to create the same. Thanks in Advance ...
CS0236: Field initializer cannot refer to field xyz
cody -
28 Jul 2006 9:04 AM - 3 messages
class Test { IList list = new ArrayList(); MyCollection list2 = new MyCollection (list); } Leads to this error. I know I could initialize them in the ctor but I'm ...
question about window focus and DOS compatibility
garyusenet -
28 Jul 2006 8:25 AM - 5 messages
Hello, I use a dos based application which runs on windows XP. When it is executed it runs full screen. If I switch back to window while it's running it minimises itself. It doesn't provide an option to window ...
Remote Desktop Connection from c#
trullock -
28 Jul 2006 8:07 AM - 9 messages
Hi, Is there a way to launch an remote desktop connection to a specified server/username from c#? If there's a way to send the password too that would be useful, but i'm not so interested in that if its a problem. ...
compare 2 haschtables
Lamis -
28 Jul 2006 7:19 AM - 5 messages
Hi, what is the best way to compare 2 haschtables contatining objects. the objects has 2 property, name & value. I need to print out the differences ...
Effect of using FileInfo this way?
Michael A. Covington -
28 Jul 2006 1:56 AM - 2 messages
I just saw something like this in someone else's code and am curious... string fname; .... store a filename in fn ... FileInfo fi = new FileInfo(fname); string name = fi.Name; What is the difference between fname and name? By creating FileInfo do we ...
DataGridAttendance
blackdog -
28 Jul 2006 1:24 AM - 4 messages
in my C# program I use: objDa.Fill(ds,"all_tables"); DataGridAttendance.DataSource = ds.Table["all_tables"]; I got error as below after I compiled. The name 'DataGridAttendance' does not exit in the current context. I have .NET 2. Please help. tks ...
Web apps x 2 - Sharing session
Steven Nagy -
28 Jul 2006 1:17 AM - 3 messages
Hey all, Is it possible that I can somehow transfer an authenticated user (stored in session) between 2 web applications with some measure of security? Essentially if a user has logged into application A, I want to somewhat integrate pages from application B, but the user will need ...
check file size before upload
puja -
27 Jul 2006 11:53 PM - 4 messages
hi all, In asp.net 2.0 there is a limit on file size upload of 4MB. I know this limit can be increased in web.config file. Is there any way to check the file size before upload ? if user is trying to upload file size more than 4MB then just display a ...
Anyone with experience using the Setup API in C# ?
Michael -
27 Jul 2006 11:30 PM - 5 messages
Hi all, Anybody w/ experience using this unmanaged API ? I'm trying to figure out how to correctly enable/disable devices in C#. This is to automate one of our manual tests in our lab. I've been trying to give it a go but have been tripping all over myself. ...
Serialization in C# (Newbie)
RKS -
27 Jul 2006 10:40 PM - 3 messages
I have a question regarding serialization. Although there are many articles regarding this, I am still a little confused. I know that to make a class serializable, I need to add a [Serialize] attribute. But where should I add my serialize and deserialize code. I mean like ...
ASP.NET Developer required - UK Northwest
Ray Norrish -
27 Jul 2006 9:34 PM - 6 messages
Require full time experienced ASP.NET developer for new developments. C#, but may consider Delphi.NET Will need to be able to up and running quickly, so will need to have worked with SQL Server / Sybase ASA or similar, with Crystal as a bonus. ...
MailMessage with CheckBoxList Values
Sully -
27 Jul 2006 9:15 PM - 4 messages
Hi, I am having a small problem generating an e-mail via an online form. I am creating an e-mail using the MailMessage command and I know that you have to do something special to render the values Checked with a ...
From XML documentation to...
Michael A. Covington -
27 Jul 2006 8:59 PM - 5 messages
What is the easiest way to render XML documentation files (generated by Visual Studio) into something that's easy to read, such as HTML? ...
User Controls - Web vs. WinForms
Mark -
27 Jul 2006 8:50 PM - 2 messages
What is the difference between a "user control" for Web Forms vs. Windows Forms? I have extensive use of user controls (.NET 1.1) in Web forms. Just wondering how they differ for Windows Forms. Thanks. ...
Sort DataGridView
joey.powell -
27 Jul 2006 8:20 PM - 4 messages
I have a datagridview where I set its "DataSource" property to a DataSet and its "DataMember" property to a table within the DataSet. I need for the DataGridView to "sort" through the contents of the DataSet as it binds. Can I specify a column on the DataSet that, sorted, will ...
Win form program in .NET 2 is calling a DLL written by .NET 1
david.kao@opco.com -
27 Jul 2006 7:46 PM - 2 messages
Hi All: I am developing a Win form program in .NET 2 is using one of library (DLL) which was written in .NET 1. My questuion here: which runtime the DLL is running under .NET 2 or .NET 1 ? Thanks in advance ...
Casting problem
Jim Stools -
27 Jul 2006 6:54 PM - 8 messages
This does not work --- why? How do you cast a simple formula? Int32 d = 34.12345; decimal c = 10.25; decimal amount = 0.00; amount = (decimal) (c * d); Thanks In Advance. ...
Convert String Value into XML
Java Apache -
27 Jul 2006 6:23 PM - 5 messages
Hi All, I am pretty to new to .NET/C# so go easy! I am developing a Web Service call to a Java Web Service and it is all working fine - it is returning me back a String value which in all ...
Base and derived event firing in .NET v1
pkiddie -
27 Jul 2006 4:43 PM - 2 messages
Hi! Im having real issues understanding delegates/events in .NET v1, and was hoping someone could shed some light on where I'm not quite understanding. I've got this piece of code in a base user control, which i've called ...
Control Right Click Selection
MattsWorldTour -
27 Jul 2006 4:31 PM - 2 messages
Hi, I was just wondering if any one could help me out with a question I have. The controls im using, grids and treeviews, allow the child nodes and rows to be selected by left clicking over them. I just need to work ...
multiple program icons problem - VS converts some 32bit icons to 24bit
SharpCoderMP -
27 Jul 2006 4:19 PM - 3 messages
i'm trying to embed multiple program icons in my executable. the only way so far i managed to do that is to embed native win32 resource file with multiple icons. it works, but... when i create a native win32 ...
Disable Sorting In DataGridView
joey.powell -
27 Jul 2006 4:16 PM - 4 messages
Does anyone know how to disable sorting in a datagridview? I mean, when a user clicks a column header, the rows should not reorder. ...
.Net 2.0 INotifyPropertyChanged Interface Implementation...help needed..urgent
Hardeek Thakkar -
27 Jul 2006 3:45 PM - 2 messages
Dear friends, In my current project I am using the CustomCollections with the help of BindingList<T> generic class to store the database records instead using DataSet objects as offline database identities. Now I do have a large number of property classes each having a large ...
Application deployment when there are references to COM libraries
Demid -
27 Jul 2006 3:40 PM - 3 messages
Hi, all. I have recently written a small applpication that uses Microsoft CDO Library (cdo.dll) that is a set of COM-classes. I have added a reference to this library using standard "Add reference" dialog in Visual Studio, that has created required interop assemblies, and it ...
Timer not working on my Service.
janhm -
27 Jul 2006 3:08 PM - 11 messages
Hello. I have created a windows service that is supposed to turn the monitor on/off at specific times a day, but my timer dosn't seem to work. on my Service Start i set : timer1.Enabled = true; timer1.Interval = 1500; ...
Aligning controls with each other at runtime
Benny -
27 Jul 2006 2:57 PM - 4 messages
Does anyone have ideas on how to align two controls at runtime? I have two labels, label above label, and once I change the bottom, it is obviously not aligned, but for appearance purposes I would like the bottom centered to the top. Any ideas greatly appreciated. ...
Best practice using large objects in foreach
Benny -
27 Jul 2006 2:53 PM - 12 messages
I just wanted to throw the discussion out there on what the best practice people feel is for using large objects in a foreach loop. For example if you are reusing an Image object in a loop like this (letters ...
Detecting when a socket has been closed.
Kurt -
27 Jul 2006 2:49 PM - 6 messages
I have a client & server app which communicates using the socket class. If I shutdown the server closing the socket the client still thinks the socket is open. Even calling send does not throw an exception. Thanks Kurt ...
XML string to html
Spondishy -
27 Jul 2006 2:34 PM - 2 messages
Hi, I was wondering if someone could help me out with some sample code. I am trying to convert and validate some xml text passed in as string. The methods are as follows: public string transform(string xml, string xsl) ...
Drawing And Resized Forms
sternr -
27 Jul 2006 2:09 PM - 3 messages
Hey, I have a simple Win Forms that draws a line (graphics.drawLine) on the current form, All is well until the user resizes the form - after the resize, When I draw a line on a part of the form that was not visible befure ...
Strange Behavior
Jon Vaughan -
27 Jul 2006 1:05 PM - 4 messages
I have a static struct : public static LocationPaging stLocationPaging = new LocationPaging(); Which is made up from : public struct LocationPaging { public int Page; public int MaxPage; } Which is used to control the paging of some records. BUT , when I call : Scanning.stLocationPaging.Page = Scanning.stLocationPaging.Page + 1; ...
Strange Divide? Error
WhiteWizard -
27 Jul 2006 12:54 PM - 9 messages
Have we got a STRANGE one going here. We converted from 1.1 to 2.0 about 2 weeks ago and this has been a problem since then...but only on SOME machines in our development group. The application runs fine using 1.1 and on 3 of the 8 machines in our group. It ...
Calling C# Windows application from JavaScript
muralidhargvn@hotmail.com -
27 Jul 2006 12:20 PM - 5 messages
Hi, I have an asp application with business logic written in JavaScript file. Also I had created a C# windows application. Now I want to call a method of my C# application from the JavaScript function. Can anyone help in solving my problem? ...
Cookie mysteriously loses value!
daz_oldham -
27 Jul 2006 11:53 AM - 3 messages
Hi All I have been working fine on my project, and now all of a sudden one of my cookies is losing its value for no reason at all. I am doing my get/set in the following way: Response.Cookies["Flight"]["SearchCriteriaID"] ...
select string for oleDB
Doug -
27 Jul 2006 11:31 AM - 4 messages
Hi I posted an hour ago from a different pc - about calling a form from another form. now i am having trouble passing the value from a text box (called tb.entryData), from the form called input.cs (referenced as an object as ...
Add VB.NET reference to C#
muralidhargvn@hotmail.com -
27 Jul 2006 11:07 AM - 7 messages
Hi, I have a C# and one VB.NET projects in my solution explorer. I want to add VB.NET's reference to C# project. Is it possible? Thanks, GVN. ...
String read only error
rithesh.rg -
27 Jul 2006 11:04 AM - 7 messages
Hello, Given below is a part of my code. In the code i am trying to parse through a string and replace all "+" characters by "*". string enc_msg = Convert.ToBase64String(full_enc); ...
Something like tooltip
juergen -
27 Jul 2006 10:47 AM - 5 messages
Hello everyone, I want to display a help text when in help mode in my application. Something like a tooltip. Now my application is a taskbar deskband and so not everything works what normally does. Second the WinXP machine is a PC with touchscreen so a tooltip doesn't work ...
QVT engine
Vicente García -
27 Jul 2006 10:40 AM - 3 messages
Hi, I want to know if is possible to work with any QVT engine (ATL, MTL... no matter) in C#. I am making up a MDA and I need a QVT engine in order to transform a model to another model. I already don't know where I can looking for this :( ...
Debugging problem
proit_123 -
27 Jul 2006 10:32 AM - 5 messages
I am working on a windows forms application and have the following problem. When i put a break point in my code and execute the application, i can not able to stop the execution at the break point even though i am ...
problem with modeless dialog
proit_123 -
27 Jul 2006 10:06 AM - 9 messages
I am working on a windows forms application and have the following requirement. I have two projects in my application Project A and Project B. And Project A has the reference of Project B. I need to display a modeless ...
Problem accessing Properties of class, not sure if class
MicroMoth -
27 Jul 2006 8:46 AM - 4 messages
Hi, I've got a User class which holds details of the user and is populated by a query. I create this User object when the user successfully logs in and then I set this object to a session variable (its for a ASP.Net site) so that ...
Zipping page output
Dylan Parry -
27 Jul 2006 8:39 AM - 8 messages
Hi folks, I've got a page that outputs XML, but in some cases the size of the page is several MB. So I figured the best way to deal with it is to ZIP the contents of the page and send that to the browser along with the ...
noob: Namespaces - two projects
dllhell -
27 Jul 2006 7:06 AM - 2 messages
Hi all, yeah... I know it's a noob question but... I have two projects: EXEproject and DLLproject. DLLproject is added to EXEproject but I can't reach DLLproject's namespace in EXEproject. It will be even better when I can put both namespaces under common namespace ...
C# Word Template question
Jason Huang -
27 Jul 2006 6:01 AM - 2 messages
Hi, In my C# Windows Form project, if I use the "C:\\MyWordTemplate.dot" on my Documents.Add, this will ge wrong. But if I use the "C:\\Program Files\\Microsoft Office\\Templates\\normal.dot", it is fine. I have MyWordTemplate.dot under C:\, and I can open it from MicroSoft Word ...
Use of Scripting.Dictionary in C#
jaffar.kazi -
27 Jul 2006 5:30 AM - 4 messages
Hi All, I have a VB COM component that has an object of type Scripting.Dictionary. Each element of this again has Scripting.Dictionary type members. I need to access this in C#, and am not able to do so. ...
confusion regarding threading
archana -
27 Jul 2006 4:42 AM - 4 messages
Hi all, I have one confusion regarding threading in windows service which is developed in c#. What i am doing is on 'onstart' event i am starting one thread. In thread procedure i am processing some URL's asynchronously. Say in thread procedure for validating url through webrequest i am ...
recursively change permissions of a directory
Aek -
27 Jul 2006 4:37 AM - 2 messages
What is the best way to recursively change the permissions of the directory we are installing into? Is there a nice way to do this in C# ..NET? We are using an MSI installer and will need to add some custom actions ...
Design decision -- Files in groups of 4
Michael A. Covington -
27 Jul 2006 3:52 AM - 5 messages
I'm developing an application that will handle files in groups of 4, namely 3 video files plus a script saying how to put them together. These are all files that I will deliver with the app, so I have complete ...
How can I tell a mouse right clicks over a listview item that's in
Pucca -
27 Jul 2006 2:43 AM - 5 messages
How can I tell a mouse right clicks over a listview item that's in a container panel. I only want to display a popup menu if the user right click the mouse over an item on the Listview. I don't not want to display this ...
Copy a file from location
Alan T -
27 Jul 2006 2:26 AM - 10 messages
Is it possible to copy a file from one location to another? eg. from C:\Temp\Document\TestDoc.doc to C:\Deploy\Document\TestDoc.doc ...
Extract file name
Alan T -
27 Jul 2006 2:25 AM - 5 messages
I got a string. eg. C:\Temp\Documents\MyDoc.doc How do I get the name of the document only? ie. MyDoc.doc ...
Is there a better way to marshal an interface across streams that is STA?
WTH -
27 Jul 2006 2:24 AM - 3 messages
I set my Main() to use MTA which works for me, but I wanted to know if there's a C# class/namespace somewhere that supports/offers the ability to reproduce what the 'marshal interface into stream' and 'un-marshal interface ...
How do I convert a memory stream into a string?
William -
27 Jul 2006 1:33 AM - 2 messages
I know there must be a way... it is just eluding me at the moment. ...
|
|||||||||||||||||||||||