Answer Questions
Beauzak Convert base type
I have problem with convert from string to byte array. _ How can I convert directly from string to byte array and convert back. _ I can cast from object to another object Ex: Class A {   ...Show All
Paul Shmakov WDS web search results in Firefox
I'm having trouble getting WDS to provide web search results in Firefox. I understood this function was simply supposed to load up my default browser (firefox) and pass it " example query". This should go to my default search page and list results for "example query". However, I'm taken to the page "file:///C:/ %20example%20query" instead. If I type the string " query" into the location bar in FF directly ...Show All
maasikamoos DirectX in a Window form with controls!!!
Hi, I need to create a software allowing to check welding spot of a robot. I need to draw real-time charts of current, woltage, ultrsonic... I try to draw using GDI+ in visual studio C#. The matter is it is too slow, even on a good computer!! I would like to know if it is possible to use directX on a widow form, which allows to use the controls (buttons, text...) available. If yes, could you give some hints or a reference An ...Show All
Ganesan Krishnamurthy Error creating Data Source
Hi, I'm using SQL and C# Express Editions to create a standalone DB app. I have created a minimal DB with keys and indexes on 23 tables and can view the diagram in SQL SMSE. All is good (I think). However, when I try to create a new Data Source using the Data Source Creation Wizard in Visual C#, I receive this dialog: "Failed to add relation(s). Unexpected error." When I look (with designer) at the dataset that was created, I ...Show All
Blueshark006 Issue with COM Port Access (serial port emulation)
I'm developing an interface for a handheld barcode reader, and I'm having trouble with accessing the COM port with Visual Studio 2005. The device has a USB connection, but comes with drivers to emulate a serial port. Whenever I try to access the device with System.IO.Ports, I get the error: "The given port name does not start with COM/com or does not resolve to a valid serial port. Parameter name: portName" Is Visual Studio acces ...Show All
JimmyDe Remoting client causes server to crash with "Attempted to read or write protected memory" error
I have a small solution that's using remoting to dispatch services across a network. When a client terminates the sremoting server suddenly throws a System.AccessViolationExeption with this message: I found the culprit but it's not really a solution. I found a post ( http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=d86baf6d-9dcb-408f-8fd8-efebc237edc8 ) that directed me to try and exclude the server exe from my ant ...Show All
ClaudeA how to display row expanders in Datagridview
Hi All, I'm in a dilemma while using DATAGRIDVIEW in VS 2005 Beta.My Problem is i m trying to use it just like assigning the datasource to datagrid. the dataset has got the relation between two tables. my problem is datagrid shows the parent child relationship if we form a relation in the dataset but datagridview doesn't. so how to show the rel ...Show All
Masterbrain private void treeView1_Click... not working
Hello, Why the following code is giving me an error: private void treeView1_Click(object sender, EventArgs e) { MessageBox.Show(treeView1.SelectedNode.Text); } (I am populating the treeview from a database) Thanks in advance. Are you exactly any error... I hope so not. But you may not get the desired results. In TreeView, AfterSelect event will be fired after Click event which ...Show All
Sam Z. Glassenberg How can I assign a ContextMenuStrip to a ToolStripMenuItem?
The title says it. Please help. Check the links... http://msdn2.microsoft.com/en-us/system.windows.forms.toolstripdropdown.opening.aspx http://msdn2.microsoft.com/en-us/library/system.windows.forms.contextmenustrip.aspx I didn't find what I'm looking for. Can you please be more specific. ...Show All
good metric Lose syntax highlighting and undo
I am *this* close to falling on my sword, I can't get any work done. This is an error that was occurring on my old machine. Have a new machine, clean install of VS, so I'm thinking this is a solution-related problem, but I can't figure it out. My syntax highlighting will disappear once I start to edit a file. I can bring it back by switching to a form and back to the code or rebuilding the project, but again, it disappears when I s ...Show All
toodie44 generics constraints for types implementing operators
I'm trying to build a class public class SignalBuffer<T> where T is any type that implements the + and the * operator (mostly double or my own complex number type ) How can I add a constraint to SignalBuffer that constrains T to types implementing these two operators I tried just using public class SignalBuffer<T> where T : double, Complex but of course this won't compile because you can't use double in a constraint ...Show All
PlasticLizard How can i verify that all the threads are aborted ?
Hello friends, Kindly fo through the following code sample, In this code, i want to stop execution till all the threads have complited their job. and i dont know how can i do this. static ArrayList FarchedContent = new ArrayList(); public static string SearchContent(string KeyWord) { objThread = new Thread[20]; for (int i = 0; i < 20; i++) { objThread[ i ] = new Thread(new ThreadStart(FatchContent)); ...Show All
Keiran using "user controls" on webpages
Hello All, I recently made a user control using c#. I want to know if it posible to put it in a webpage. Actually the problem is this user control is not registered on the system. I do not know how can I register this user control. I do not want to use IIS also. To summaries my problem: I want to put a user control in a web page directly. Yes, this is possible, though there are a few steps required. There are a few articles out ...Show All
Satish make drawing appear on tab control
I drew some shape that i would like it to appear on the top of the tab control. Right it's just draw on to the form "behind" the tab. how should i do that thanks well i solve it by using the paint event property of the tab. and from there i draw whatever i needed. but now i have another problem. i have a button when pressed will update the fill color of my circle on the tab. how can i share the graph ...Show All
pfelsted stop the gif
ok i have a gif in my project and when it recives the end then goes again and again.. How can i stop the gif at the last frame Some code will be nice.. Cheers! Where and how are you displaying your gif ...Show All
