jennypsion's Q&A profile
Visual Basic How to write a sub for several checkboxes at once
Hello, I am brand new to visual basic, so please excuse me if this is an easy question. I have a form with several checkboxes. I want to make it so that if any checkbox is checked, its label goes from gray to black. I have figured out how to do it for one checkbox, but I can't figure out how to handle many at the same time. Here is what I have so far: Private Sub sidingStyle1Include_cb_CheckedChanged( ByVal sender As System.Object ...Show All
SQL Server SQL Notification Service on System Tables
Hello, Can I monitor SQL Server system tables like sys.objects or sysobjects using SQL Notification Services or any other method I need to get a notification into my component when there is a chance to sysobjects. Also, is there a SQL Server plugin to log all SQL Traces Thanks for your help. ~Senthamlarai Do you really mean Notification Services, or are you thinking of the new Query Notification functionality in SQL Server 2 ...Show All
Windows Forms Deploying .NET 2.0 Framework with app
I'm trying to do a deployment project using Visual Studio 2005. This is for deploying an application to the desktop. I would like to include the .NET 2.0 Framework with the deployment so that if necessary, it is installed as part of the application install. The best I've been able to find is an article entitled "Using Visual Studio .NET to Redistribute the .NET Framework" http://msdn.microsoft.com/library/default.asp url ...Show All
.NET Development Excel from a web page
Dim xlSheet As New Excel.Application If xlSheet IsNot Nothing Then With xlSheet .Workbooks.Open( "W:\CustEnquiry\UploadedQuotes\" & VendorQuotes.SelectedRow.Cells(3).Text, False , False ) .Visible = True End With Else Label5.Text = "nope" End If This code works on a local Machine but when it is run off my real Web app Excell never displays. What am I miss ...Show All
Visual Studio VSS 6c database lost all checkins and checkouts
We are using VSS 6c (Build 9238) on a modestly sized Powerbuilder project. We have PB integrated into the source control database so that we can run source control at the PB object level. All was fine until this morning when we discovered that all of our checkout information, and all of the checked-in files were missing from VSS Explorer and from the PB IDE (Powerbuilder 8.0.1 Build 8004). The VSS database appears as though it h ...Show All
SQL Server Problem converting VS2003 code to VS2005
Hi: I am trying to convert my VS2003 project to VS2005 beta 2. The actual conversion has gone fine, but some code that was working fine under to old IDE is now giving me an exception when run under the VS2005 generated code. The code is: using ( SqlConnection conn = new SqlConnection ("Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=GestionNET00001;Data Source=localhost" ) { ... } And the error I'm getti ...Show All
Visual Basic Does calling a function from a dll created from VB class library spawn a new thread when run or it uses the thread that call it?
Hi all Just to check, when i created a dll using the VB class library. Does the application spawn a new thread when i call function in the thread or it used the thread that call it Regards Soon Lee typically. . . no. execution blocks until the function, actually method is the correct term, returns and the execution is in the same thread. that is, unless you asynchinvoke a delegate t ...Show All
SQL Server Can you change the Primary file in a filegroup
I have multiple files in my database and I would like to change the primary file. Is that possible Does BACKUP/RESTORE WITH MOVE is what you are looking for Take a look at examples provided for BACKUP/RESTORE WITH MOVE (examples D, E): http://msdn2.microsoft.com/en-us/library/ms186858.aspx If this does not solve your problem, please clarify what exactly you need to do by “changing the primary file”. Re ...Show All
.NET Development AccessViolationException with C# Ping class
I have a "watchdog" program, c# console application, coded with VS 2005. Program runs every 3 minutes. And one part of program checks pings to ~20 ip's. I'll give that function code: static private bool ping ( ref String ip) { bool success = false ; Ping pingSender = new Ping (); if (pingSender.Send(ip).Status.Equals( IPStatus .Success)) { success = true ; } else { success = false ; } ...Show All
SQL Server April CTP installation failed
I've already installed VSTS 2005 Beta2 and I try to install workstation components of April CTP. What should I try to pass th error The error is at the end of installation: --------------------------- Failed to generate type library 'C:\Program Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.tlb' for 'Microsoft.SqlServer.MSMQTask, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. System.EnterpriseServices ...Show All
Visual C++ How do I? Complete Newby.
I've got following problem. I'm working with Visual Studio .NET and I need to populate my typed DataSet object with some data. It's a table, which is stored in a simple text file. But the number of columns is not defined (can vary from 5-10), so I have to create a new DataColumn object dynamically, as I read the column from the file stream. I have no idea, how to do this. I'm really sorry, if I'm wrong here. It seems, that this foru ...Show All
SQL Server Building Intelligent applications using SQL Server 2005 Data Mining
Hello, Are there any samples on Building Intelligent applications using SQL Server 2005 Data Mining uisng Visual Basic.NET, including step-by-step guides Most of them are in C#. Besides, the June 2005 CTP does not have tutorials on the said topic. Thanks. I have a question on connection string in ADOMD.NET when using the AdomdConnection object. Can you use other authentication methods other that Windows to connect to ...Show All
Visual C# api text viewer
Hi Can anyone send a link to api text viewer so i can download it.. i realy need it to view some decalrations ...Show All
Visual Studio 2008 (Pre-release) DLinq Sql Tracing
Hi, I have been looking through the documentation and cannot identify a convenient way to trace (log) out the sql being run under the covers. I have been looking for an event on the DataContext, but to no avail. What would be a good approach to accomplish this Thanks Mirko I would, unfortunately I am going with SQL Server Express for now. As far as I know this does not come with SQL Profiler. I might have ...Show All
Visual Studio 2008 (Pre-release) how to create and view a 3D model of a "true" object in WPF?
Suppose I have a car(not a model in computer). Now i want to view a true model of the car in an application, and hope I can view the model from 360 degree. How can I implenment this in WPF Thanks for your advice. You will first need to obtain a 3D model of your real world object. Models of virtually any car can be purchased from professional modelers. For less complicated objects (like buildings) you can try to use a tool to generate th ...Show All
