Software Development Network Logo
  • .NET Development
  • Visual Studio
  • Visual Basic
  • Visual FoxPro
  • Audio and Video
  • Visual C#
  • SharePoint Products
  • Windows Vista
  • Visual C++
  • VS Team System
  • IE Development
  • Microsoft ISV
  • Game Technologies
  • SQL Server
  • Smart Devicet

Software Development Network >> Visual C#

Visual C#

New Question

Besides "ProgressBar", any other better tool?
properties
How to integrate dll into exe?
Creating an Event and passing an object?
Launching an application from within a C# application
Passing image asyncronously from one machine to onother
How to know whether an Excel file is open and close it automatically?
sending multiply POST commands simultaneous through Internet?
reg-datagrid
Same KEY & IV for TripleDES Encryption as well as Decryption in 2 different Win Services.

Top Answerers

progames25
Dmitriyy
eggnog
KevinBB
Ramanuj
C4702
Sarosh79
Chinwa KneeHo
lagu2653
samssb
sitemap
Only Title

Answer Questions

  • mruniqueid How to name DataSet Tables through a Stored Procedure?

    Sorry for the very basic C#/SQL question. I have a stored proc that returns several tables of data. In my code I have a dataset that is populated by this stored procedure. I can access the various tables of information in the general manner: myDataSetTables.Tables[ 2 ] or myDataSetTables.Tables[ "myTableName" ] My question is that when the dataSet is filled from the stored procedure the table names of all the tables that are generated in the dataSet are always Table1, Table2, Table3, etc... What I would like to be able to do is define the table name through the stored procedure, but I don't know if this is even possible. Again, I'm sorry this is such a basic question, and there might not be a solution. I thought a sto ...Show All

  • neely Why BindingList is there

    Why BindingList<> is being placed in System.ComponentModel instead of System.Collections.Generic while List<> is in System.Collections.Generic To expand on that, if BindingList were in System.Collections.Generic, that would probably encourage people to use it in inappropriate scenarios. Its databinding support has overheads, and is something you don't want in an awful lot of cases. It's not part of ordinary collection class behaviour. So it's in a different namespace to emphasize the fact that it's not for everyday collection usage. I think the description of the System.ComponentModel namespace says it all: "The System.ComponentModel namespace provides classes that are used to ...Show All

  • U_T_A app.config or settings.settings

    I want to write to an external app.config or settings.settings file that is located c:\windows. I have vs2005 how would I do this. i would then need to read this external file as well. I am taking that the app.config and settings.settings is the same thing. No they aren't. App.config is the application configuration file and is part of the application itself. settings.setting is a source file that is eventually compiled into code. Settings that are defined in the project property pages are stored in app.config and the user configuration file at runtime. App.config contains the read-only default values whereas user changes are normally stored in user config. The settings.setting file wil ...Show All

  • Penicillin how to reorder listView basied on BackColor?

    is it possible to reorder the listView items based on the BackColor of each row I want to keep all red rows on top regardless of its values. You will find that in setting a color you have to set a value to red (0-255), green (0-255), and blue (0-255) given you are using (24 or 32-bit) true color and not a color palette. Your listview should provide you a place to store custom information. At this location you could store an indexed value that maps to an RGB color selection. You could assign these custom colors to an array of your own creation or to a color palette. Then store the array or palette index of the color in the custom store location provided to each item-cell in the listview. This you can use this index to custom ...Show All

  • djsavlon how can i serialize a object received from a MessageQueue?

    I am sending to a message queue objects of a type "employee" ( a type that i created), sending part executes properly.. i need to know how i can retrieve the objects properly, how can i serialize it back to "employee" type currently i'm using the following code.. it doesnt work.. BinaryFormatter binaryFormatter = new BinaryFormatter (); MessageQueue msgQueue = new MessageQueue (MessageQueueName); System.Messaging. Message msg = msgQueue.Receive(); msg.Formatter = new System.Messaging. XmlMessageFormatter ( new string [] { "System.String" }); Employee emp = ( Employee )msg.Formatter; MessageBox .Show(emp.Name); Hi, Have you ...Show All

  • Sam Johnson treeview.selectednode read only?

    Hey Guys - I need to dynamically set nodes to be selected on a treeview control dependent on a user's permission level and what operation they're beginning. Problem is, treeview.selectednode is read only. How can I get around this The documentation online indicates that the selectednode property is get or set, but my build obviously doesn't say that. Could it be that my development environment is awry Thanks, Tim tradle wrote: Problem is, treeview.selectednode is read only. How can I get around this The documentation online indicates that the selectednode property is get or set, but my build obviously doesn't say that. Could it be that my development environment is awry ...Show All

  • Atlantaazfinest Explorer Band Object

    Anyone know how to enable just one instance of an explorer bar Is there anyway to force any spawned windows from ie to open in the same ie instance ...Show All

  • 2bee rownumber DataGridView

    is there a way to put a rownumber on a datagridview take a look at this: http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridcell.rownumber.aspx   ...Show All

  • Mowali How many threads should a process possess?

    Hi, everyone: My application runs with its thread number ranging from 40 to more 60. I wonder how many threads a windows process should have. I have checked a lot only to find that the general MaxThreadNumber for ThreadPool is "25". But how about threads created by Thread.Start Further more, after Thread.Start() was executed in my application, I was surprised to find the the thread may remain "Unstarted" under a uncertain condition which brings about a hang-up. Does this happen just because of too many threads in my application Thank you For your second question, it may be that Thread.Start does not immediately change the thread's state, but rather queues it to enter the run ...Show All

  • George2 String literal problem

    hi! din't work. I need some thing in C# that can execute like this: This works in SQl Query perfectly. xp_cmdshell 'dtexec /f \"D:\\SSISProject\\Integration Services Project1\\ArchiveMainMultiTables.dtsx\"/Set \package.Variables[User::connectst].Properties[Value];\""Data Source=SE413695\AASQL2005;Initial Catalog=TestDB;Provider=SQLNCLI.1;Integrated Security=SSPI;"\"' How do we interp ret in c# currently i have some thing like this which is not correct i need to fix this to work in C# string conn = @"""Data Source=SE413695\AASQL2005;Initial Catalog=TestDB;Provider=SQLNCLI.1;Integrated Security=SSPI;"""""; path = @"""D:\SSISProject\Int ...Show All

  • misscricri controlling opened web pages from a c# windows app.

    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. Webbrowser can show and opened the webpage. more info : http://msdn.microsoft.com/library/default.asp url=/workshop/browser/webbrowser/browser_control_ovw_entry.asp hope it helps. ...Show All

  • TannerH Stopping action when user clicks tabPage/tabControl

    Hi, Can't quite find the answer to what I want so... I have designed a Web Form with a number of tabs. Each tab has buttons etc... that do various actions. However on occasions I need to ensure that actions on one tab have been completed before the user can go to a different tab. Until such an action is complete the button used to start it remains enabled - once complete the button becomes disabled. I can check to see if one of these buttons is enabled and show a warning message using tabControl.Click. However that does not stop the new tab being shown. I need to show the warning message and keep displayed the original tab with the button that needs actioning. Hope that makes sense. Thanks for any help Andrew ...Show All

  • bobby_macnair Finding text in a Rich Text Box Control

    I find that when I use richTextBox.find(string) it only seems to search until the first occurrence of the string. How can I have a find like that in notepad etc. i.e. finds the next occurrence with each click. The code I'm currently using to do this is: int pos; if (RichTextBox.SelectedText == "" ) { pos = RichTextBox.Find(searchTextBox.Text, 0, RichTextBoxFinds .None); } else { pos = RichTextBox.Find(searchTextBox.Text, (RichTextBox.SelectionStart + 1), RichTextBoxFinds .None); } if (pos < 0) { MessageBox .Show( "Your query " + searchTextBox.Text + " could not be found" , "Results" , MessageBoxButtons .OK, MessageBoxIcon .Warning); RichTextBox.DeselectAll(); } ...Show All

  • Johan J how do i make my datagrid get the focus when I first load the form

    Hi, I have an MDI that shows a child form. the child form has a datagrid. I want to be able to navigate throught the rows of the datagrid right way, withiut having to use the mouse to first select the datagrid. I know how to select my first row in code. but i don t know how to select the datagid itself in code. i always have to go with mouse and select my datagrid. can u help pls, I was placing myDataGrid.focus in the load event. I just put it in activated event and that worked well. Thanks. ...Show All

  • thelonesoldier try-catch

    Is there any way with a try-catch that if the try fails that I retry it Basically I have an app that downloads text files, and then processes them. However, at my location we lose internet connectivity on a fairly common basis, and I don't want the app to try to process half downloaded files. The downloading sequence is in a class by itself, so I just basically want to do the following: try { download files } catch { try again } I haven't found any way to do it so far, so any help would be appreciated. Thanks, Russ I ended up going with Sven's model, and it worked great. Thanks a lot guys for all your help, Russ Yes, that makes perfect sense. I ha ...Show All

555657585960616263646566676869707172

©2008 Software Development Network

powered by phorum