641 byte By
nazgul27 at 2007-11-25 10:31:08
Hi guys,I am trying to open the following link http://www.telegraph.co.uk/newsfeed/rss/money-city_news.xml using WebClient class. try { WebClient c = new WebClient(); string m_sResponse = ASCIIEncoding.Default.GetString(c.DownloadData(" http://www.telegraph.co.uk/newsfeed/rss/money-city_news.xml"));...
Hi,<br/>Will a facade be always a singleton object or we can have multiple instances of a facade?<br/>Thanks in advance for any suggestions/explanations..<br/>Thanks,<br/>Mmx
370 byte By
dahwan at 2007-11-25 10:31:42
I have a "Customize" box with a treeview on the left;I want to change the content of the box when a treeview item is clicked.Should i have a bunch of panels, and change the parents of the panel from this to null at every treeview click?I want to know if this'll work before i try it; stuff like...
Has anyone have a problem catching the MouseWheel? Have a custom control and it captures the mouse down, mouse up, and mouse move. But for some darn reason it's not catching my MouseWheel. Like the other mouse events I'm attaching to the event:this.MouseWheel += OnMouseWheel;Any advice gre...
701 byte By
zhshqzyc at 2007-11-25 10:31:50
I am not sure if this a right place for my poster.But I am crazy for a long time.Toolbox does not display most of the controls This is even after "Reset Toolbox", I have also uninstalled and reinstalled it.The only way it all shows up is if I do a "Show All" Even then the controls that appear on a...
278 byte By
spidey6 at 2007-11-25 10:32:01
I have 4 objects in an array, each object is assigned a random number between 1 and 10. How should I go about checking if these objects are all the same, three of the same, etc. or if they are in order, for instance, objects with int values 7,5,6,4 would be considered in order?
Hi,<br/>How do i remove blank spaces from a string like <br/>"<book> <author>xxxx</author> </book>" into <br/>"<book><author>xxxx</author></book>" in C#?<br/>Mmx
3010 byte By
kluivats at 2007-11-25 10:32:25
I have 2 applications. One web form application with web browser control to navigate to a site, fill up the fields, and submit.This application is invoked in another c# application (with no ui), using the Process()ProcessStartInfo oInfo = new ProcessStartInfo(sFilePath, sArgs);oInfo.UseShellExecute...
190 byte By
dahwan at 2007-11-25 10:32:57
How can i get more colors than 256 colors in icon editor in visual studio? It only gives me the options 1 colors, 256 colors and monocrome.<br/>I need 24 bit<br/>How can i do this?
136 byte By
amt35 at 2007-11-25 10:33:04
I'm new to C# and have run into a problem trying to byte-swap (host-to-network) a float data type. Can anyone tell how it is done?
Hi!I made a program in C that creates an "index" file by reading an input file.At every 300 lines read, the program writes in the output the position of the begining of the line and the key of the line. I used the function "Ftell" to do that.Now I'm trying to recode the program in C#, but I can...
438 byte By
dahwan at 2007-11-25 10:33:09
When i try to compile or save my project i get this error message: http://i76.photobucket.com/albums/j37/dahwan/error.jpgI've searched the whole project using the "finder" (ctrl+f) for icon 32x32 but i cant find anything - so i dont understand why it's complaining about it. I cant save my p...
598 byte By
spidey6 at 2007-11-25 10:33:14
i'm trying to assign a bool to true or false based on whether the user input the strings "true" or "false". i can't do this:if (args[2] == "true") { bool print = true; } else { bool print = false; }or this...
Hi all,<br/>I need to develop an application consuming the amazon web services using C#.<br/>I am a newbie to C# web services programming...<br/>Can you guys please help me out...<br/>thanks a lot !
603 byte By
gajesh at 2007-11-25 10:33:40
Hello, I am having a form based application. In constructor of main application form it initiates a thread for hardware. Now the hardware raises a event which is listned back in to the main form itself. Here i want to create a form which should be child of main form.I am doing frmSerialKeyInsert mFr...
155 byte By
skuanet at 2007-11-25 10:33:54
Hi all,<br/>I am handling the on MouseDown event but I want also check if the CTRL button is pressed ...<br/>Can you please help me ??<br/>Thanks
303 byte By
Mushq at 2007-11-25 10:34:08
Can i get/set the comments on latest version of VSSItem(Visual Source Safe Item(File), I know there is an interface "IVSSItem" through that i can checkin/checkout/label etc, but I couldn't find a way to get/set the comments of the latest version, is there any way? Best Regards,Mushq...
I don't think here about drivers, OS etc. I meen on user aplication like Office, Mozzila, aplication for 3d modeling and rendering (vray, brazil...), AI app...<br/>Is there any try of making familiar app's?
623 byte By
overture at 2007-11-25 10:34:26
Hi All,I am having a problem with acquiring data that I need from a dataset which is bound to a combo box control.the dataset consists of the fields:-- Code- DescriptionI am using the DisplayMember property of the combo box to display the 'Description', however I need to acquire the '...
I'm trying to run a .jar program via a C# program. I've created a C# program that will run and successfully call the .jar. That's the easy part. However, when the .jar is called, nothing happens. I created a .bat file that will run the .jar file so it will open a command prompt (s...
Hi All,I have 2 threads.One thread = main threadSecond thread = fill combo box.since the query on the combobox takes about 10 seconds, i want to do it on another thread. however, the thread that updates the combobox is not actually filling the combobox. is there a way to perhaps pass the dataset by...
Hi friends !<br/>I need to have a Tabcontrol which has its Tab registers on the left side and they shoud show Text which is written from bottom to Top: How is this possible to arrange ? It should look similar t what we had in old VB 6.0<br/>see added picture
1626 byte By
aM000 at 2007-11-25 10:35:05
I am trying to use a dll in my C# program. Here is the link to the dll documentation: http://www.atmel.com/dyn/resources/prod_documents/doc6224.pdfHere is the C++ code that I want to convert to C#:CHAR *strConnectedDevices[5];for (UINT i=0; i<5; i++)strConnectedDevices[i] = (CHAR *)malloc(100);AT9...
424 byte By
Saeed at 2007-11-25 10:35:19
ok i have done this in VC++ , dont seem to be able to find the way to get it done in C# .net 2005.in my forms1.cs I have designed a dialog that is going to connect ,and do query based on push buttons using a database.The server explorer on my left shows my access db under Data connections node and t...
1000 byte By
RickyD at 2007-11-25 10:35:27
Hello everyone, My name is Rick. I am a second year college student and Minneapolis Community and Technical College. I am in the software development program. I hope to graduate by next summer. My first object oriented language I am learning is C sharp. I have about 5 years experience in HTML and la...
Hows to drag and drop copy objects from one place to another?<br/>can anybody help me?
275 byte By
MikeChou at 2007-11-25 10:35:42
Dears,<br/> Anyone know how to get device id or pci id of your computer on Vista?<br/> I can get this list on XP through driver way.<br/> But i don't how do this on Vista.<br/> Any function?<br/> Thanks a lot..
Hello everyone,I am trying to pass an Object array (named surfaceData) as the output in a method of mine. In this method, I try to fill this array with the following 3 items2 double[] items1 double[,] item [two-dimensional array]The problem is when I try to access individual items of these arrays...
Hi All,I have hopefully a simple question with a simple answer :)Say I have a variable in my form that I know will be changing every so often due to updates from an outside source.The way I've been checking when variables change is through a timer tick event, and every tick i check the new stat...
Hi All,I have been searching for weeks now on a sure-fire way to kill a thread.I have looked into kernal32 imports to use their thread manipulations, and they seemed to not work. I have also used a few other C# ways of doing it using the Thread class methods (such as): if (_DeployThread !...
Hello Everyone<br/> Does anyone know how(or if it is possible) to configure Visual Studio 2005 to attach to a specific process each time I hit F5 ( start debugging )?<br/>Thank you,<br/>Patrick
oops, wrong message.. trying to delete
Hi, I tried marking my previous post as Un-Resolved but couldnt figure out how, so i made a new one, sorry! :(Anyways,The solution given to me earlier which was to use delegates worked fine for adding items to a combobox through string entries.However, I'm currently running into a problem with...
176 byte By
dzonka at 2007-11-25 10:36:29
I would like to know if it is possible to define a custom sorting for a datagridView column. If yes, please, write me how can I do it.<br/>Thank You very much for advance.
423 byte By
dzonka at 2007-11-25 10:36:30
I select something on treeView that is not visible on dataGridView,and then the correct item on dataGridView is being selected, but dataGridView should be scrolled down or up for that this item to become visible to the user. I would like to know if dataGridView has a method that sets scrolling corr...
4856 byte By
Agrona at 2007-11-25 10:36:55
Hi there. I'm trying to create a basic Factory Class that gets me three things. I want it to only create classes that inherit from a certain type. That's no problem, thanks to "<T> where T : MyClass". Secondly, and most importantly, I want to restrict the creation of certain clas...
D:\testconsole>csc test.cs<br/>'csc' is not recognized as an internal or external command,<br/>operable program or batch file.<br/>test.cs was made in notepad, but computer doesnt reckognize "csc" command, I have installed .NET on my computer "VS" works fine, what is happening?
170 byte By
yoyosh at 2007-11-25 10:37:11
Could anyone recommend me a good, free implementation of neural networks in C# with source code? I`m concerned about backpropagation the most...<br/> <br/>Thanks for help
182 byte By
dzonka at 2007-11-25 10:37:14
I would like to know what is a difference between selectedItem and selectedValue for comboBox, when can I use the first one and when the other?<br/>Thank you very much for help!
I need to send some files via modem, How do I dial the number, etc...<br/>Were I could learn about it?<br/>Marco Leon
2856 byte By
shoham78 at 2007-11-25 10:37:41
Hello,I have function in the main window (main thread) which create a Listener class.in a function in the Listener class i call a function in the main thread.this secind function checks a Dictionary which is declared in the main window. the problem is that when the Listener calls the function in th...
1605 byte By
Saeed at 2007-11-25 10:38:10
I have been trying to write a piece of code that woudl be able to connect to an access db ,do a simple query.i tried a code in code project but teh compiler started complaining as soon as ... data.Ado was mentioned i gave that up,then i tried OleDbConnection connection = new OleDbConnecti...
165 byte By
Saeed at 2007-11-25 10:38:11
in C++<br/>you usually definea header file that describes your class and a cpp file<br/>that descibes what each method does,<br/>how do you form a class in C# ?
2110 byte By
Saeed at 2007-11-25 10:38:18
WHY CANT it read the **** xml?coming up with Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.when doing read.read().the file is not hidden and i can open it so why cant he?...
557 byte By
Saeed at 2007-11-25 10:38:24
i realise this is not a sql forum but most likely i ll get my answer from here rather than an access discussuion site"update [SIM-TAB] set UPDATE-FLAG=false, UPDATE-DT= '10/09/2007 4:09:59 PM' WHERE ICCID='I1' " UPDATE_FLAG is a YES/NO ICCID is TEXT I have tried YES, NO as we...
116 byte By
dahwan at 2007-11-25 10:38:29
How can i keep a ComboBox's selectedindex at 0?<br/>In visual studio it takes it automaticly back to -1 :(
Hi all,I am using .NET framework 1.1 using C# to develop my application. At a position I have to use RTF field to take the data and to save it to DB. The problem which is coming is like this.If I write the following dataC:\Program Files\My Projectand save it to database. It goes fine but again if we...
316 byte By
dahwan at 2007-11-25 10:38:39
Can i manipulate the resource files, or do i need to have some kind of database?I need to remember f.inst. the default save folder, the default font and so on. I also have to be able to change this in the program. And when i restart the program, the settings are still the same.How can i do this?...
296 byte By
dahwan at 2007-11-25 10:38:49
I have a settingsDialog where i can change the font for the richtextbox. How come my richtextbox isnt changing fonts after i change it?<br/>I am 100% sure i am changing the standardFont, so i KNOW it's updated, but the font in the richtextbox aint updating :P<br/>How do i do that?
354 byte By
cabasm at 2007-11-25 10:38:53
I created a user control that contains a picture box. On the picture box I have created a button. The button is invisible and it will be shown when the user enters the picture box (mouse hover event). The problem is, the button is shown but I can't get a button click event. Why? The button does...