-
- array combinations
by softengg_UK
- 9 Replies
- Last post
by Zamial
- Hi, I have 2 different arrays such as
Array1={"A", "UB", "HNK"} and
Array2 = { "RTS", "JK", "LMD", "QW" } and I want to find out the possible different combinations of these 2 different arrays Can we do that using Hasttable Finally answers will be AUB, UBHNK,HNKA,RTSA,ARTS, JKHNK, LMDA, AQW, ...etc.
How we can
-
- Detect if running as a scheduled task
by Paulustrious
- 2 Replies
- Last post
by Paulustrious
- How do I detect if my program was launched as a as scheduled task rather than from the command line I have asked a similar question in the past ...the answers made me realise I had asked the wrong question.
-
- cannot debug any code once it has changed
by yuppy_y2k_in
- 14 Replies
- Last post
by yuppy_y2k_in
- Hi,
I have just installed Visual C# 2005 Express Edition and all was well.
One day later and I can't debug a new project as I get the error: "The following module was built either with optimizations enabled or without debug information"
I can create a new command line project and add the following line of code:
Console.WriteLine("Test");
This runs fine...no probl
-
- C# compiler BUG - const delegate assignment within a structure definition
by Ali Jannatpour
- 7 Replies
- Last post
by Peter Ritchie
- There is a bug in the C# complirer which Visual Studio crashing. The bug happends when writing a const delegate assignment within the a structure. for example:
public struct Temp { private const Action<bool> Foo = delegate() { return false; }; }
I searched everywhere to find a link for a bug report. I even called the support team. Unfortunately I couldn't do it online because
-
- Invalid Resx file. A strongly-named assembly is required.
by Jeremy Jarrell
- 9 Replies
- Last post
by Jeremy Jarrell
- I've been randomly getting this error on a few of my forms in one of my projects for about a week now. Its always the same forms each time and its always in the same place (its the closing tag of a <data> element with the same base-64 encoded resource each time). It seems arbitrary whether or not I get this and usually restarting visual studio will get rid of it, but sometimes i have to rest
-
- Quite poor error message with COM interop compilation in VS2005
by Myyzius
- 1 Replies
- Last post
by Azeem Khan - MSFT
- At least C# express and Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 When creating a dead simple com interoperable DLL project (btw I suck at COM), if you do this stoopid thing, which I did: 1. mark assembly as COM interoperable 2. mark output as COM interoperable 3. Assign static GUID to your assembly 4. put the same guid as a mark
-
- DateTime.Parse Error
by JoeBlew
- 2 Replies
- Last post
by IsshouFuuraibou
- Hi,
I have a Date that is entered as a string in this format MMM/yy (MAR/01)
If I tried to parse a Date which have 00 as the yeas, the DateTimeparse object give an error but if I use any other year like 01 and 02, the DateTime parse function worked just fine.
Do anyone have a solution to this problem
Thanks
-
- Back/Forward buttons
by braderz31
- 5 Replies
- Last post
by decyclone
- Hi,
Does anybody know how to toolstrip buttons work as back and forward buttons
(I already have the buttons i just need to know to make them work as web browser buttons!)
-
- Bug in listview in VirtualMode windows Forms
by Castro
- 2 Replies
- Last post
by Castro
- I want to create a listview in Windows Forms 2.0 with virtual mode. It works fine except a real bug. When I click an item in the listview in the event
private void listView1_RetrieveVirtualItem( object sender, RetrieveVirtualItemEventArgs e)
{
}
the e.ItemIndex is the number of VirtualListSize - 1 which in my case is 547. So VirtualListSize is 548 and the e.ItemIndex is 547.
-
- Form in DLL
by Jassim Rahma
- 5 Replies
- Last post
by IsshouFuuraibou
- I want to know how can I save an entire form into a DLL file and call it from my C# application. I want do that in order to make the form update easy in future when I want to do some modification on a form.
-
- need effective 3D Graphics tool/language to link with C#
by sara.tarek
- 3 Replies
- Last post
by jrboddie
- Hello everybody this is my first time to post here! which to find someone to help me... me and my collage friends are going to make our graduation project using C# and we want to make a 3D interface, add 3D objects and perform many actions on it. please recommend a tool or a language that can be linked with C# and give high flexibility in mainpulating these 3D objects and effective response time
-
- Programatically determin OS Sku
by JJOz
- 5 Replies
- Last post
by Adamus Turner
- I've looked all through the System.Environment class for this, but I can't figure out how to determine the OS sku programatically. I want to be able to determine if the current OS is XP Home / Pro, etc. Does anyone know how to do this
-J
-
- stop if's
by Quarinteen
- 12 Replies
- Last post
by Kea
- Ok I have a buch of if statements that execute when a button is pushed. in the for there are a bunh of check boxes. I want to make it to where if one particullar check box is check and there are other boxes checked it will ignore the rest of the if statements thanks for the help
if (checkBox2.Checked == true || checkBox3.Checked == true && checkBox1.Checked == true)
{
// thi
-
- Accessing an array from an event handler
by MylesM
- 0 Replies
- Last post
by MylesM
- Hi, I am working on a project with wav files at the minute. I want to use a radio button so that when you click the button the next sound file is selected from the array and played after a 1 second pause. I can get the sound files to play from load or when i have a button and specifically hard code the file address but i would like to use the array to get the file locations. The code is as below:
-
- csc /define:myconditional
by dstites
- 7 Replies
- Last post
by Peter Ritchie
- I am trying to #define a constant at compile time, BASELEVEL_INFO , which I understand you can do with the "Conditional Complication Symbols" in Project > Properties > Build . However, I would also like to assign a value to that #define at compile time, a build ID from a build system I have (ClearCase). It seems that if we put BASELEVEL_INFO=$(BASELEVEL_ID), it will expand the BASE
-
- Play sounds on same thread
by S10n
- 2 Replies
- Last post
by Peter Ritchie
- Hi, I need to play a series of wav files, however each of the files most be played after the previous sound ends playing, I suppose I have to paly them using the same thread, but I don't know how.I already tried PlaySync, but that freezes up the GUI. Thanks in advance for your help.
-
- SendKeys over Network
by TMar
- 1 Replies
- Last post
by Peter Ritchie
- Is it possible to use the SendKeys over a network. I need to control software on a remote computer from another one only connected via LAN. I am wondering if it is possible or if I need to just make another program to listen on the other console for a designated signal Thanks.
-
- controlling opened web pages from a c# windows app.
by Gelawdeos
- 1 Replies
- Last post
by Figo Fei - MSFT
- what kind of control do i have to use to filter web pages meta tags from a C# windows application. i want to build a small spy ware application using c#, so i need a control that can access every web pages property that are currently opened. if there is no means then i have to build it from scratch.
-
- Interface Implementation
by Anil_Soman_60969d
- 2 Replies
- Last post
by anil_m_s
- Hi, Today I opened the definition of Excel.ApplicationClass and I observed that it implements two interfaces called application and _application. Interface _application contains lot of members but interface application is empty and only implements interface _application. So the hierarchy is like this; interface _application (interface with members in it) interface application (empty interface) :
-
- A question about Anonymous Types
by MeteorX
- 4 Replies
- Last post
by IsshouFuuraibou
- look at the following c# code:
Code Snippet
int[] b = {1, 2, 3};
int[] c = b.Select<int, int>(x => x + 1).ToArray();
It works well as the result of c is {2, 3, 4}.
but if I change the code to the following code:
Code Snippet
int[] a = {1, 2, 3};
var b = from z in a select z;
int[] c = null; // .....
then how to write a
-
- VS.NET 2003
by YaelS
- 4 Replies
- Last post
by YaelS
- Hi,
I'm new here..
I hope this is the place to ask about integration to Microsoft Office Outlook 2003 from #C.net
For start, I want to create a toolbar in C#, then add it into outlook.
I'll be happy if you cuold give me some links about this topic.
Thanking you in anticipation,
Yael
-
- 1.1 dev in VS2005
by Shazen
- 5 Replies
- Last post
by Peter Ritchie
- Is there a way to create a .net 1.1 development environment in VS2005
At start up if I choose a new windows app, it loads .net 2.0 references & creates a blank window app that utilzes the features of 2.0.
I have need to create a windows app in 1.1 & I can easily enough start with an empty project and add references to 1.1 and build from scratch. But that would mean all my co
-
- Why is everything running so slow?
by cybercrypt13
- 8 Replies
- Last post
by vampiretap
- I have Visual Studio SP .050727-7600 and have a project open with 3 unit tabs. I've noticed that as I type the * symbol on the tab showing me that I need to save, goes away and comes back, goes away and comes back for every keystroke I hit.
Can anyone tell me what is going on Because currently I'm about to just give up on the Visual Studio stuff. I'm coming from a version of Delphi that is 4 y
-
- where to find static definitions
by tody4
- 4 Replies
- Last post
by CalvinR
- What I want to accomplish is creating a class that is not creatable and is static, but the members do not have to deal completely with static data. What I want is a utility class that converts one object to another, such as DataTable to Object [,], but this example would not use static members, the data in the datatable does not change, but the object [,] does during it's creation. The size is def
-
- Please help me,in Text Files
by Swapna55
- 9 Replies
- Last post
by omgtifbs
- i have to read a text file and delete the first line and last line.
Text file can be variable length.
text file can 2.5 gb size.
How can I do this in c#.,Please Respond ASAP