|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual C# .NETmicrosoft.public.dotnet.languages.csharp
Bill -
13 Jun 2009 10:35 PM - 7 messages
I have been searching google all day trying to find a way to use win32 to retrive a computer's local time from the bios clocl, rather than the system time, in the event that someone changed the system date ...
shapper -
13 Jun 2009 9:05 PM - 3 messages
Hello, I have the following query: IQueryable<Bag> bags = (from b in context.Elements("Bags") orderby b.Element("Updated").Value ...
Nully Girl -
13 Jun 2009 2:24 PM - 3 messages
Does someone know about any good resources for learning generics in c#? (books or web) I would very much appreciate if someone knew about it and are willing to share :) [link] ...
Nully Girl -
13 Jun 2009 12:13 PM - 9 messages
Hi, I need to create a file database, need to save 2 columns (key, value), does someone know how to implenet this is c#. Please keep performance in mind Thanks Nully [link] ...
AhWau -
13 Jun 2009 11:48 AM - 7 messages
int var = 1; int i = 1; string a; if(var == 0) a = String.Format("{0:D0}", i); if(var == 1) a = String.Format("{0:D1}", i); if(var == 2) a = String.Format("{0:D2}", i); the format is variety by (var) ...
David Hubball -
12 Jun 2009 9:50 PM - 6 messages
Hi I know this topic will be really easy for most people in this group but can someone help me to get this statement working please. Thanks if (txtFirstPrize.Text==""|txtSecondPrize.Text=""| txtThirdPrize.Text="") return; I'm just tryng to get my program to return is any of these 3 ...
Benjamin Vigneaux -
12 Jun 2009 9:41 PM - 3 messages
Hello everyone, so... i'm trying to create a configuration file for a small app i'm doing in C# but i don't know how to place it in the default folder where the "final user" chose to install my app. ...
TomServo -
12 Jun 2009 9:00 PM - 5 messages
HI everyone, I have a couple of questions on Garbage collection : 1 : How many garbage collectors can run on for three one .NET application? 2 : you create objects on a different generation in garbage collection? 3 : What is the Best data structure for in memory caching, holding ...
Andrew Falanga -
12 Jun 2009 6:55 PM - 3 messages
Hi, I'm trying to debug a C# application and can no longer step into functions using f11. What might be the cause of this? What's really irritating is that I cannot step into functions in the managed space. ...
Allan Michaels -
12 Jun 2009 6:08 PM - 4 messages
Hello, I need to get the MAC address of our network card using a C# call from our software. How should I proceed? Thank you in advance for your help. ...
Wouter van Teeseling -
12 Jun 2009 5:57 PM - 4 messages
How can I shorten a float number just for 2 figures behind dhe comma e.g. from 0.123456 to 0.12. ...
tshad -
12 Jun 2009 4:56 PM - 12 messages
I have a dataset I am trying to delete all datarows from except for ones that match some type of criteria. I tried: foreach (DataRow dr in AppSettings.ds.Tables["form"].Rows) ...
Allan Michaels -
12 Jun 2009 4:11 PM - 8 messages
Prequel to the question: We sell instruments to industry. These instruments are controlled by a Windows system. These windows systems are Windows XP x64 systems, and my software MUST run in 64-bit mode (not win32 on a 64-bit system.) ...
Lou -
12 Jun 2009 3:27 PM - 4 messages
I have a form that I want to pass a collection into the constructor but can't seem to do it. I keep getting the error "Inconsistent accessibility: " public frmDeviceManager(Dictionary<string,Data> Devices) { InitializeComponent(); } Data is a class ...
Zach -
12 Jun 2009 2:30 PM - 4 messages
Using the code below I want to read a list of French words into the list box. However the code dysfunctions because of the é, à etcetera in the file that is being read. Could someone tell me how to rewrite the code ...
Kodiak -
12 Jun 2009 2:12 PM - 2 messages
Here is the exception below! [Exception: System.TypeInitializationException: The type initializer for 'L3.EDG.Websites.TOLD.BusinessLayer.DAO.FileDAO' threw an exception. ---> System.SystemException: Teamcenter.Schemas.Soa._2006_03.Exceptions.InternalServerException: Exception has been thrown by the target of an invocation. ---> ...
Gurikar -
12 Jun 2009 11:01 AM - 4 messages
Hello, How to create skinned button(e.g rounded bitmap button) in CSharp. I know there is BackgroundImage property to set bitmap as background, but i need to make rounded button where in button corners needs to set it to background of the parent. We used to achive in MFC by using ...
HillBilly -
12 Jun 2009 2:43 AM - 12 messages
Brainded and can't see how to resolve this nagging error... public static bool IsUserAFollowedByUserB(string user_a, string user_b) { // Is user_a followed by user_b? string followingURI = "[link]"; ...
MM -
12 Jun 2009 12:57 AM - 4 messages
Hi, class A { protected int anum; } class B : A { public static B operator ++(B b_class) { b_class.anum++; ...
Nirmal Singh -
11 Jun 2009 10:36 PM - 4 messages
I am reading in a text node from an XML file which is on several lines. How can I get read of newline characters from this string? NiMuSi ...
David Hubball -
11 Jun 2009 9:14 PM - 11 messages
Hi I hope someone can give me a little push in the right direction. I'm new c#. My problem is that I've got a Main Form and another form (named SubForm). I'm trying to enter some details on SubForm which I ...
Max2006 -
11 Jun 2009 4:53 PM - 2 messages
Hi, What would be the best way to execute an exe file within a windows service? The command line is like this: [link] Any help would be appreciated, Max ...
pudchuck -
11 Jun 2009 4:30 PM - 5 messages
On Jun 11, 8:39 am, "Ignacio Machin ( .NET/ C# MVP )" <ignacio.mac***@gmail.com> wrote: I noticed that as well. Where are they going? I don't believe it has to do with a decreasing popularity of the language. ...
ofiras -
11 Jun 2009 2:06 PM - 6 messages
On 11 ×™×•× ×™, 15:48, "Ignacio Machin ( .NET/ C# MVP )" <ignacio.mac***@gmail.com> wrote: So is there a way to make it work witout .NET? maby if I add the dll files to the exe folder? (If can be done as I said, how do I do it?) ...
Marco Olimpi -
11 Jun 2009 12:53 PM - 2 messages
Hi, I'm looking for a book that help using the build-in report function of Visual Studio 2008 (not Crystal Reports). Any suggestions? Thanks Marco ...
ofiras -
11 Jun 2009 12:39 PM - 11 messages
Hi, I never understood how can it be that most programs don't ask me to install .NET, although I know that many companies use C#. Is there any way to make an exe of a C# program that doesn't need .NET to be ...
c-sharp newbie! -
11 Jun 2009 12:07 PM - 6 messages
Dear all, I have a form which temporarily creates another form and has a progressbar on it. I got trouble with updating the screen, if I didn't use a background-worker. Therefore: My code looks something like the following: ...
Mike B -
10 Jun 2009 5:04 PM - 3 messages
Can anyone please show me how to use reflection and convert a string name into an ICommand? ...
jp2msft -
10 Jun 2009 3:04 PM - 4 messages
Subject: Website Problems - Outlook Express N/A Our Group Policy here at work blocks Outlook Express to ensure everyone uses Microsoft Outlook (Microsoft Office product, not the Express version) for our corporate emails. This means I do not have access to Outlook Express's Newsgroup Reader. ...
Andreas Ott -
10 Jun 2009 12:47 PM - 6 messages
Hello togehter, I need urgent a conversion from C++ to C#. The code in C++ is below. Can someone help me here. Thanks a lot. Greet Andreas // ShortWay.cpp : Defines the entry point for the console application. // #include "stdafx.h" ...
Frank Uray -
10 Jun 2009 10:25 AM - 2 messages
Hi all I need to get informations about the current active window. For example: When the user is in explorer, I need to get the currently selected path/file, or when the user is in word, I need to know ...
XjAcKs -
10 Jun 2009 8:00 AM - 26 messages
Hi everyone. My source code is the following in VS2005: -------- static void Main(string[] args) { int num = 3600; ...
Arial -
10 Jun 2009 5:46 AM - 2 messages
I have an application written previously in VB6. Through application a lot of Greek letters with indexes (superscript, subscript) was used. For that purpose instead of labels pictures were used. See link: [link] ...
Andrew Hayes -
10 Jun 2009 3:30 AM - 3 messages
I'm converting a C#.NET project that was originally written using VS2003 to VS2005, and on the whole everything has gone well, except for the XSD DataSets. I have a class, SmartDataSet, defined as public class SmartDataSet : DataSet ...
tshad -
10 Jun 2009 3:29 AM - 2 messages
In C# you can usually do: IsDiscontinued = chkIsDiscontinued.Checked; Where IsDiscontinued is a boolean and chkIsDiscontinued is a checkbox. In WPF, I get this error. The event 'System.Windows.Controls.Primitives.ToggleButton.Checked' can only appear on the left hand side ...
Yuri -
9 Jun 2009 11:50 PM - 4 messages
Hello everyone. I ahve and PowerBuilder application with lost source code. I urgently need to extend this app which consists of MDI form and a child form with tab control and five tabs in it. Is there a way to create another tab and place a ...
Andrew Falanga -
9 Jun 2009 9:05 PM - 3 messages
Hi, I have a program which uses Platform Invoke for two different unmanaged dlls. It would stand to reason, I think, that the garbage collector in .NET would not be responsible for cleaning up memory used by these dlls, but I wanted to ask before assuming that to be true. ...
gerry -
9 Jun 2009 8:49 PM - 9 messages
vs2008 sp1 ..net 3.5sp1 I am taking a 1st stab at SQLCLR and after years of .net development have finally run into CAS. Trying to access Environment.MachineName() generates the following exception Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, ...
Nick -
9 Jun 2009 5:31 PM - 4 messages
Does any one know how to fix this error? Active Server Pages error 'ASP 0126' Include file not found /nick/passwordprotect.asp, line 2 The include file '/logon/_private/logon.inc' was not found. ...
Nikola Novak -
9 Jun 2009 4:28 PM - 5 messages
Hello, I'm using a ListView to show a list of reports, all coming in from different parts of my application (like a log only less detailed), so I figured it would be useful to be able to see these reports both in the ...
Nick -
9 Jun 2009 3:21 PM - 3 messages
Does anyone know how to make a working login and register page in Microsoft Frontpage? ...
jp2msft -
9 Jun 2009 1:38 PM - 7 messages
Where would I go to learn how a radius search using a zip code? I've got a customer that wants to allow clients to search for businesses within 5, 10, 20, or 50 miles. Are radius calculations performed using known formulas? ...
Arne Garvander -
9 Jun 2009 12:30 PM - 4 messages
How can get all the objects/data member in a class thru reflection. ...
Saad -
9 Jun 2009 4:28 AM - 3 messages
Hi All, Im using managed c++ syntax (VS 7) in VS 2005. And i want to implement a generic interface in it. But im getting errors when i try to compile the code. Here is what i want to do:- ...
ihouse1 -
9 Jun 2009 3:02 AM - 3 messages
How can i build/release a website using Visual Web Developer Express edition? Thanks. ...
shapper -
9 Jun 2009 12:20 AM - 4 messages
Hello, I have a class as follows: public class SupplierRepository : ISupplierRepository { public String Path { get; set; } private readonly XDocument context = XDocument.Load(Path); public SupplierRepository(String path) { Path = path; ...
Mark -
8 Jun 2009 7:06 PM - 2 messages
Wondering if someone might be able to point me at some documentation to extract an image from a PNG file found in the VS2008 Image Library. Example: Edit.png contains five different images of the pencil. I want to extract a single image from it but keep the integrity of the file. ...
Mario -
8 Jun 2009 6:44 PM - 2 messages
Hello, I have a resource file add in my VS2008 solution called myresource.resx If I run the below it works fine ResourceManager myRM = new ResourceManager ("ConsoleApplication2.myresource", Assembly.GetExecutingAssembly()); Any ideas why I can't run it like this ? ...
Frank Uray -
8 Jun 2009 3:25 PM - 3 messages
Hi all I need to build a multi-user application using one central xml-file. Now, I am not sure if this is possible to do, without building a database system ... :-) The idea is: The application is opening/reading the xml-file, ...
Brofalad -
8 Jun 2009 5:50 AM - 5 messages
Hi, How do I inhibit the Arrow down keypress from changing the row in a listview? I have given the Arrow down keypress a different meaning and I don’t want the row to be changed if a listview is in focus. ...
codejunkie -
8 Jun 2009 4:42 AM - 2 messages
Hello, Are there any ways i can listen and log all HTTP messages from a process on my machine. Here is my scenario. I am writing a tool, that launches a process and then listens to any HTTP requests sent from ...
shapper -
7 Jun 2009 9:43 PM - 6 messages
Hello, I am using Linq To XML to get data from a XML file and populate an object: // Define product Product product = (from p in XElement.Load("../Data/ Products.xml").Elements("Products"); where p.Element("Id").Value == id.ToString ...
shapper -
7 Jun 2009 7:15 PM - 3 messages
Hello, How can I delete and update an existing node, given the ID, in a XML file using Linq? I am using the following to get a node: IQueryable<Bag> bags = (from b in XElement.Load("../Data/ Bags.xml").Elements("Bags"); ...
Gota -
7 Jun 2009 7:11 PM - 2 messages
how to connect to sybase database using c# language. Any MS or third party libraries? ...
shapper -
7 Jun 2009 6:05 PM - 3 messages
Hello, I am getting a few values from a XML file using LINQ. I need to convert two values to Boolean and to DateTime. The DateTime string in the XML file was created simply using DateTime.UtcNow.ToString(). I have: ...
Tim Apple -
7 Jun 2009 5:01 PM - 3 messages
I am new to programming and I'm looking for a very basic tutorial, for the complete programming newb. If anyone knows of anything online please share...I have started playing with the MSDN tutorials but they are very dry. Thanks ...
Tony Johansson -
7 Jun 2009 4:47 PM - 2 messages
Hello! I wonder if anyone have any experience of doing a MCTS exam and if it's hard to succeed this exam. //Tony ...
Mark G. -
7 Jun 2009 10:13 AM - 3 messages
is LINQ built into VS 2008 for C# or is it a seperate download? Is the download free? Quickly looked on MSDN and couldn't find what I was after so I was hoping some of you could help? Thanks much. ...
Gota -
7 Jun 2009 9:33 AM - 3 messages
Looking for a flexible front end reporting third party library. Need excel like data grid capability for viewing 2 dimentional data. Also need grouping with aggregate values like sum, count etc. Please suggest to work with .net 3.5 WPF platform. ...
AhWau -
7 Jun 2009 6:57 AM - 3 messages
I wrote a function to read content of web as below: public static class Read { public static string WebContent(string PageLink, int EncodeType) ...
AhWau -
7 Jun 2009 6:56 AM - 2 messages
I wrote a function to read content of web as below: public static class Read { public static string WebContent(string PageLink, int EncodeType) ...
kazik -
7 Jun 2009 12:51 AM - 6 messages
I need to have empty 'dbf' file (to use it as template) but I have 'dbf' file with rows. so I did: [code] OleDbTransaction trans = connection.BeginTransaction(); command = new OleDbCommand("DELETE * FROM TEMP", connection); command.Transaction = trans; command.ExecuteNonQuery(); trans.Commit(); ...
|
|||||||||||||||||||||||