Sandeep Jain's Q&A profile
Visual C# How do I change values in a ListView programmatically?
I am writing a small program to discover devices on my home network by pinging the entire subnet, then reporting the results in a list view. There are other programs out there that do this already - this is just a learning project for me. I want to do this in a multi-threaded manner so it will be fast. I have the ping portion worked out, and I think I can handle creating the thread pool. My problem is that I want to list all of the IP address ...Show All
Visual C# Conversion Problems VB Terms Not familiar
Hi everybody, I have problem converting this vb.net ocdes into C#. Terms like shared, synclock and friend. What is their exact equivalent in C# I got this sample from another forum. I try to attached the codes. some codes: Code: What is shared in C# in method and variable Private Shared Function CheckWindowsNT() As Boolean ' ritorna true se e windows NT o 2000 o XP If Environment.OSVersion.Platform = PlatformID.Win32NT ...Show All
Windows Forms numericUpDown ValueChanged
The ValueChanged event of the numericUpDown control doesn't fire when a user types in a value (instead of clicking on the up/down buttons). The Value attribute is not updated with the new value they typed in. A workaround I've found is ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the ...Show All
Visual FoxPro a child form needs 2 clicks to close
I have a form calling a secondary form. In order to close the latter I have to click twice the button that has the following statements in the CLICK method: ACTIVATE SCREEN "CLICK fired " THISFORM . Deactivate () THISFORM . Destroy () THISFORM . Hide () THISFORM . Release () 4 statements are there out of desperation. I tried them separately and in many combinations. I see on the SCREEN that the event fir ...Show All
Windows Forms Deploy with Crystal
I am in the process of writing a small application to assist our HR department in evaluating employees that I wish to deploy to our entire company (about 80 people). The previous version of the application runs as a web application but has the normal web limitations. The primary reason that it was developed as a web application is because I didn't want to have to maintain an application on all of those workstations. Now wit ...Show All
Visual Studio Express Editions How do I remove items with certain characteristics from a ListBox?
Hello all, I have a ListBox setup to pull the usernames of all of our users from our Novell eDirectory. It works perfectly. One thing I'd like to do though, is have a CheckBox that I could check and it would remove all of the users that are not logged in from the list. I already know how to check if I user is logged in, but I don't know how I can loop through each Item in the ListBox, check if the user is logged in, and then delete that list ent ...Show All
Smart Device Development call the WIFI
do any one knwo how to call the WIFI signal form in pocket pc 2003 2nd Edition. That is an HP specific program. If you just want to start that program from your application; it can be found here: \Windows\HPWireless.exe. If you want to control the WLAN settings from your code, please use the suggested methods from the previous poster. ...Show All
SQL Server isnull() Problem
Today we get a call from one of our customers. One of our Apps gets a time-out error from SQL Server 2000 (SP4). After searching we get the following result: This instruction becomes never finished (>30 Minutes waiting) select isnull(T025.C048, '') as [int. Vermerk] FROM T025 ... This statement is ok (1 Sek.) select T025.C048 as [int. Vermerk] FROM T025 ... C048 is varchar(10) nullable The value of the field was "WNO" - not null. After ...Show All
Visual Basic What happened to the Richtextbox in 2005?
I can't do a simple: Dim x as richtextbox. Instead the only option intellisense shows me is EichTextboxLanguageOptions. But maybe someone can show me a better way to do this I have a richtextbox that I pass to a class that goes thru a long lsit of step. At the completion of a step I update the richtextbox to show progress. Here I Pass the box MyANS.SENDALLPRocess(rtbxStatus) In that class i do this to update the status. UpdateStatusText("F ...Show All
.NET Development Please help me develop a system utility using .net
I formerly use Win32 API to develop my system utility application. But I should know how to access the system functions like Win32 API based on .NET. Anyone can help me how to do Which namespace I should refer to I don't know exactly what you mean by "system utility". But you can call WIn32 APIs through the P/Invoke mechanism. See the System.Runtime.InteropServices.DllImportAttribute. ...Show All
Visual Studio Express Editions How can I manage MessageBox result ?
hi, I have a simple question I have MessageBox with YesNoCancel buttons, so how can I code evry button of them best regards Like this DialogResult result = MessageBox .Show( "Example" , "DialogBox" , MessageBoxButtons .YesNoCancel); switch (result) { case DialogResult .Yes : MessageBox .Show( "You pressed Yes button!" ); break ; case DialogResult .No : MessageBox .Show( "You pressed No button!" ); ...Show All
Visual Studio Express Editions Download HTM File
Hello. This is a NOOB question but how can you download an HTML file from an internet website using C#. All the codes I tried by reading the forums haven't seemed to help. hi, you can retrieve the rss feeds you will find it at bottom of the forum at right side xml button anyway to read the webpage contents you can try this private void button1_Click( object sender, EventArgs e) { //client to read from server W ...Show All
Software Development for Windows Vista Security error hosting the WWF designer in a WinForm UserControl hosted in an ASP.NET page
We've taken Lab 12 Exercise 1 and applied the same steps to create a WinForm UserControl that hosts the WWF designer. We're now trying to host the WinForm User Control (with the embedded WWF Designer) in an ASP.NET page using <object> tags. We're current getting the following error. Does anyone know a quick&dirty way to get pass this System.Security.SecurityException: That assembly does not allow partially trusted ...Show All
Visual Studio Express Editions Making a setug file to my Win Application
Hi, How can i make an Installation file to my WIndows Apllication in Visual C# Express Is ClickOnce the best way to make an installation for my Win application I have some dll's, and a DB that i want to attach to my installation, is it possible with click once on Visual C# 2005 Express ...Show All
