mark2741's Q&A profile
Visual Basic Context Menu....
OK, so I have a context menu that contains two options - a TextBox and a (Submit) option...it pops up when a user right clicks a radio button on my form. I want the user to be able to enter a string in the textbox, click the (Submit) option, and have the string replace the current text of the radio button. It works easy for one Radio Button, but I'd like to have this functionality available for several components. Aside from creating a separate ...Show All
Windows Forms Just-in-time debugging error
I have an application built in VS2005 that uses a library to display data in a particular table format. I built this application on windows 2000 and run there, it ran fine. Then I copied the entire solution folder from this machine to Windows 2003 machine which has .NET framework2.0 installed and not complete VS2005. When I run the same application here it gave the following error: --------------------------- Visual Studio Just-In-Time Debug ...Show All
Visual Basic Intellisense Code snippet auto insert exception try block?
In the code editor, when I hover over a class e.g. Thread.Start there is a description of the class. This also lists all the exceptions for that class. Does anyone have a code snippet that can insert a try catch final block based on the exceptions listed Something like this try { Thread.Start(); } catch (ThreadStateException) { Console.Write("ThreadStateException"); } catch (InvalidOperationExce ...Show All
.NET Development Prevent Assembly from being "Reflected" ??
Hello can we prevent assembly from being reflected by tools like "REFLECTOR" Can anybody help Regards Obfuscate your assembly. Visual Studio has one community edition obfuscator called dotfuscator, but if you want you can buy the full version from here: http://www.preemptive.com/products/dotfuscator Regards, -chris ...Show All
Visual Studio How can I use %(RecursiveDir) and task batching together
I thought this would be simple, but I can't figure out how to recursively copy items to multiple directories. < ItemGroup > < Host Include = " localhost " > < Hostname > localhost </ Hostname > < Domain > $(NamDMZ) </ Domain > </ Host > <!-- Development servers --> < Host Include = " DevServer1 " > < Domain > $(NSRoot) </ Domain > < Hostname & ...Show All
Windows Forms Good magazine?
Does anybody know a good magazine convering not just asp.net but windows forms as well thanks <a href="http://www.code-magazine.com/">CoDe Magazine</a> is fantastic. It's new but I've found more than half (and sometimes all) of the artic ...Show All
.NET Development Decode serialport data (system.io.ports)
I have connected an IR reciever to my com port and I’m using System.IO.Ports.SerialPort to recieve data sent from a remote control to the reciever. I am having trouble doing anything with the data I recieve using the new SerialPort class. I need help decoding the data into something useful, like differentiating between different remote control keys. If I use ASCII encoding the data I recieve is usually something like " ". If I use Unicode I ...Show All
Windows Forms It seams I found part of the answer my self :)
Oh components, I am writing one of them since a week, too much, I know :) The last think that I was not able to solve is how to make the component discover where he is exactly during initialization, in other words, on what form ...Show All
Visual C# Help with network access...
I was wondering if anyone could help me with accessing network resources and running a exe using a C# program. What I am trying to do is have my program access a server and run an exe, which exists on the server, on the client. I need help with access the server and running the exe. If anyone could help on this it would be great. Is the server accessible by a network share Or is it a web se ...Show All
.NET Development How do I use this method: " Private Shared Sub AssignParameterValues "
I added the Microsoft.ApplicationBlocks.Data to a .NET solution. No problem. Using its methods and function is clear. No problem. The comments in the methods are clear. No problem. BUT I am not clear on how to use the below PRIVATE method. I understand the parameters used BUT where and how do I CALL this method. Do you have a sample on how this method is used ___________________________________________________ Private Shared Sub ...Show All
Visual Basic VB 2005 Compiler Optimization Discussion
There's been something percolating in the back of my mind. I come from a computing environment that preceeded windows and the Intel Architecture and instruction set. n comparison to the instruction set that i'm used to, the Intell instruction set looks like a house wreck which may or may not be important to the discussion at hand. Everyone knows that moderators agree on everything and that in moderator space we just stand in love ...Show All
Visual Basic changing the visual style color
Is there any way to change the color of the visual style you can use as a baground color to forms and controls It's a gray fade and i would like to have it to something like blue Also when using visual style as a bagground to the form, the drawing of controls on the form becomes rather slow. Anybody know a way to get around this You can set the BackColor of the form by typing this in the constructor of the F ...Show All
SQL Server SSIS package run fine but not working when running in a Job
I have a 64bit Ent Ed, Created a SSIS package, deployed it, its running when running from sql server but not running as a job my problem solved, I only did this, to precompile of code task = true ...Show All
Windows Forms ProgressBar Thread
Am I missing something here on the TaskVision sample. My understanding about threads is that a new Thread should not modify any control that was not created on that thread. The ShowProgressBar method is instantiating the ProgressBar on the UI Thread, then creating a new background Thread which is updating the ProgressBar. My understanding is that the background thread should use the Invoke() Method on the ProgressBar to update it's value.... ...Show All
Visual Studio Express Editions Int array conversion to string
I have an integer array number[x] i need to convert the entire array of unknow length to a singal string. In the end i want to take all of the integers from the array and put them on one line and out put it to a text box. I have tried using encout->Text= number[x].ToString(); but that only out puts the last integer in the array, and i need all of them comeing out. Ok i am going to post some of my code to s ...Show All
