Himanshu Rastogi's Q&A profile
Visual Studio Express Editions database saga
I am at my wits end. I am trying to create a program that will add users to a database. I have read the various posts regarding the output file and have changed the Copy To Output File to Copy Never. I have also tried Copy If Newer. The database still does not retain my changes/additions. The code I have used is shown below. Code Here... Private Sub AddUser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddUser ...Show All
Visual Basic How to obtain WIFI access point information?
I was wondering if it's possible to access information from within Visual Basic about WIFI connections, such as their SSID, MAC address, ect. I don't know whether I have to add a reference, what commands to use, ect. Thanks for any help. Hello. You can query information such as this using WMI. Here is a link to a blog entry explaining how to retrieve all available wireless networks: http://blogs.ww ...Show All
Visual Studio Tools for Office Unable to move outlook add in code to other machine
Hi, I'm trying to move my code to another machine so I can work from there too. But the add in does not compile once moved. It gives me errors like not reconizing thisApplication class or the declared variable outAddIn of OutlookAddin Type. Also, I run the msi on my machine for the registry entries but it didn't fixed either. Does any body know how to fix it Best Regards Hi Jhon, I could fix the application, It was re ...Show All
SQL Server Multiple transactions not working in package
I have a package with two sequence containers, each containing two SQL tasks and a data flow task, executed in that order. I want to encapsulate the data flow task in a transaction but not the SQL tasks. I have the TransactionOption property set to 'required' on the data flow tasks and 'supported' on the SQL tasks and the sequence containers. When I run the package I get a distributed transaction error on the first SQL task of ...Show All
Visual C# Add Class Wizard in Visual Studio 2005
In 2003 we were able to add new C# file templates to the C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards\CSharpAddClassWiz that would allow us to have our developers add files with the same template and would create our NUnit testing file for us. How do we do the same in the new version of Visual Studio 2005 Thanks for your responses. Amit Nayar I've written two tutorials on this that sh ...Show All
.NET Development .NET2 SerialPort - 100% CPU problem
Hi All , i'm using .net2 beta1 SerialPort class. the problem is when i first recieve bytes - the CPU is getting up to 100% and stays there. i tried working with the SerailPort in many ways (starting Recieve thread, etc') but it seems that this problem repeats itself. is the read call is synchronous and does not come back until it finish a sample code that cause this without a seperate thread in this case) SerialPort m_SP; m_SP = new SerialPort( ...Show All
Visual J# Unable to load old J# Browser Control
Over a year ago, we have converted successfully a few Java applets to J# browser controls. While doing testing for a new release, we now find that we could no longer load J# browser controls -- the browser displays a grey box and an error message in the status line saying "Unable to load DLL". I have the following installed on the machine Microsoft .NET Framework 1.1 Microsoft J# .NET Redistributable Package 1.1 Micro ...Show All
SQL Server No services running after installing MS SQL Server 2005
I go to the server configuration, cause I want to create a database, once there, I don't see any services running. I really don't think this is normal. Have I done something wrong while setup Thanks for your help. Dave Assuming you did a GUI install, there are checkboxes which specify whether or not services will be started after install is complete. It sounds like you left them unchecked. Not to w ...Show All
Visual C# Abstract classes and static methods
Hello there! I was wondering why is not possible to define a static method into an abstract class, well... I was wondering that because I'm trying to force an user who inherits from this class to implement a static class and I just didn't find a way to do that... is there a way to do this Because there's a layer calling static methods and I don't want to change these methods to regular methods just because I'm not being able to solve this ...Show All
SQL Server Securing the MS SQL Server 2005 database on client side
Hello! I developed database driven .NET application and I need to deploy it. I faced a problem, which is "how to protect my database against direct access". I use MS SQL Server 2005 Express Edition as a DBMS and appropriate database. I want to make possible to manipulate with data in my database only through my client application. 1. How do I define SA password and instance name in silent mode of MS SQL 2005 EE installation with M ...Show All
Visual Basic Passing a value from form to form
What is the best way to pass a value from form to form Do I use a global variable or is there a parameter style way to do it Is there some other way Thanks for helping a newbie. Hmm...tell a little more about your problem. Do you close the first form (the one that contains the information) or do you have two forms and just want to share information between them ...Show All
Windows Forms What is the best way to do this simple task
In a editbox I wan't to enter numbers like (12 14 45 for example). What is the most efficient way to keep track of what is entered and to extract these numbers and convert them to integers that can be added I have tried experimenting but I don't find out what I know to do if it were C or C++. This is btw an example question about how to learn Java with the new VS Express. I find the help system to be of little help since it contains so much stuf ...Show All
SQL Server SMO licensing model.
Hi, What's is the SMO licensing model For example, if I build an application which will use SMO to get database objects schema, shall the end user buy any license for that Assume that the end user already has SQL server's license. Thanks! Regards Frances Hi As far as I know, redistribution of the SMO runtimes are free. I'm building a little SMO based app (for C# experience) , and nobody sue ...Show All
Windows Forms TaskVision: Danger of BadPractices
Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the ADO.NET API or WindowsForms.NET API) and so many people is downloading it, using it, and&n ...Show All
Smart Device Development Multiple form vb.net project
I know there is some documents out there that i read says to use less screens because of the memory usage and stuff. And chaching stuff. My question is i do have multiple screens and when i have at least more then 2 forms open in the task manager it will show multiple forms for the program is it possible to change this thanks. See the respones to this thread for some ideas. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID= ...Show All
