Software Development Network Logo
  • SQL Server
  • Windows Vista
  • Visual C#
  • Game Technologies
  • Microsoft ISV
  • .NET Development
  • Smart Devicet
  • Audio and Video
  • Visual Studio
  • SharePoint Products
  • Windows Forms
  • Visual Basic
  • Visual C++
  • Visual FoxPro
  • IE Development

Software Development Network >> Testsubject's Q&A profile

Testsubject

Member List

Rajeswari
Spyrrho
gokce
MNDANG
Trainwreck
Kevin Dente
inthefields
Coleby
kesim
Jan Gossen
LouArnold
Scottzrn
hanozo
Shawn Carroll
neuhawk
Blackwatch
Ruurd Boeke
DRoden
Kolf
Bo2n
Only Title

Testsubject's Q&A profile

  • Windows Forms MDI?

    Hi.. I have created a MDI parent form. i have 2 child forms. when form1 is loaded, if the user clicks again on the form1, it should not get loaded again. How to check if the form1 has been previously loaded and stop from loading again please help Keep track of the life of the form with code like this: private Form1 mForm1; private void showForm1_Click(object sender, EventArgs e) { if (mForm1 == null) { mForm1 = new Form1(); mForm1.MdiParent = this; mForm1.FormClosed += Form1Closed; mForm1.Show(); } mForm1.WindowState = FormWindowState.Normal; mForm1.BringToFront(); } private void Form1Closed(object sender, EventArgs e) { mForm1 = null; } ...Show All

  • Visual Basic Controls in a group.

    Hello, How can I check which CheckBox was clicked in a certain GroupBox (I have several CheckBoxes in this group) Won't work if you have other, different, controls as well in the group box Try this: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each myControl As Control In GroupBox1.Controls If TypeOf myControl Is CheckBox Then If CType(myControl, CheckBox).Checked = True Then MsgBox(myControl.Name.ToString & " is checked!!") End If End If Next End Sub ...Show All

  • Visual Studio 2008 (Pre-release) IIS 5.1 is not working with WCF

    Hi I have a Web Service and executing it via IDE build in Web server, every thing works fine. then i create a Virtual Directory on IIS and pointed it to the web Server folder, the URL address looks like http://localhost/Calculator_WS/service.svc , but now instead of executing the service and displaying the default page, IE shows me the contents of my .svc file that are <% @ServiceHost Language=C# Debug="true" Service="CalculatorService" CodeBehind="~/App_Code/Service.cs" %> Contects of web.config are < system.serviceModel > < services > <!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages --> & ...Show All

  • Visual Studio 2008 (Pre-release) Problem of creating xaml projects in .net framework 3.0

    I m unable to create xaml new project in .net framework 3.0. there are 19 files in xaml brower application project in vs 2005. but in my system 18 files are created only in new project folder. in my system i m unable to create XAMLBrowserApplication1_TemporaryKey (*.pfx personal information Exchange) file.and bcoz of these i m not able to create the xaml browser application.can any one tell me the possible reason. error i got while creating the project is "System cannot find specified file". Can you try creating the certificate for that XBAP project using the UI provided in Visual Studio's project properties pane Alternately try using makecert.exe which ships with the SDK. If you have ...Show All

  • Windows Forms Insert by Data-Adapter...

    Hello All, I'm facing some problem when i insert any data to a table by using data-adapter. I've a table named "Campus" and it has three colums those are - CampusNo - Location - PhoneNo now i want to insert one row into that table...thats why i wrote.. RMSDataSetTableAdapters. CampusTableAdapter camAdap = new RMS.RMSDataSetTableAdapters. CampusTableAdapter (); try { camAdap.Insert(3, "Temp" , 123); } catch ( Exception ee) { MessageBox .Show(ee.ToString()); } but unfortunately this code is not working. even i didnt get any exception. then i did the same things with another table, but same things are continued someone please help me to find out my mista ...Show All

  • Visual Studio How to avoid failures in "failures.log"?

    Hi! When starting VSS-Administrator (2005), there is permanently a list of users which had produced inconsistencies in the database. Even after running analyze.exe, the same errors occur. What is the cause Thx. It is likely that VSS or VS is crashing for those users, or they are killing the SSExp or VS processes. When VSS is not shutdown gracefully, a temporary file remains in the user's temp folder. Next time VSS is open against the same database, the user is warned there might be corruption in the database and the user's name is written in failures.log. The failures.log file is read when you start ssadmin - the administrator is warned then to run analyze on the database. I was also told there is ...Show All

  • SQL Server IUSER Security Risk??

    We have an old ASP application that authenticates to a SQL Server 2000 database using the IUSER account. We are exploring the possibility of moving it to a DMZ so users can access from home. The IUSER account is being used for all database activity for this application. Is there any reason to be concerned about using IUSER as opposed to sql authentication for this tool, or any other security risks I should be wary of. Mind you there may be some sensitive information contained in the database. Thanks in advance. I would recommend either application roles or some other security method, such as a middle-tier or at least SQL Server security to access the database rather than this user. For one thing, you c ...Show All

  • Visual Studio Team System Feature Request: Sql Data Compare-limit what is compared by table

    CTP5 is great! As a developer, I am excited about the new MSBuild functionality. This will allow us to update our developer DB after each stage build. However the data compare piece does not appear to have the ability to limit what is compared/updated on a table level (i.e only compare/update Users with age>40). Perhaps a bad example, but when your stage DB is 15GB, it would be great to be able to pull down a sub set of your larger tables to your Dev environment. Typically we only want to pull down data related to specific User Sets (ie. Users in specific companies etc.). Thanks for forwarding my table level filters suggestion. Not caching identical records will help with the amount of space req ...Show All

  • .NET Development WHERE Statement Fails. WHY!

    Private Function Check() 'CheckX10Alerts(ByVal X10_RecvCMD As String, ByVal sndDeviceAddress As String, ByVal typEvent As String) 'Prepare to look for matching alert database Dim int As Int32 bolAlertsEnabled = True If bolAlertsEnabled = True Then Using connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\Dot_Net_Projects\Visual_Basic\aiHome\Website\App_Data\aiHome.mdb;") Dim command As New OleDbCommand("SELECT strMedium, sndDeviceAddress, typEvent FROM x10_Triggers WHERE strMedium = AND sndDeviceAddress = AND typEvent = ", connection) command.Parameters.Add(strName, OleDbType.Char, 150).Value = "Movement - Front Porch" command.Paramet ...Show All

  • Commerce Server Any way to make the CS 2007 help portable?

    This is kind of off topic, but hopefully one of you legends will have a great solution. Is there any easy way to copy the Commerce Server help onto another PC This used to be easy as it was a single CHM file. However, the help system has changed again and this no longer seems possible. I can't just install the Help as the install will not run without pre-reqs. I want to do this do I can do design work on another PC that does not have CS on. I know the docs are online, but it is not a great experience... You can always use the online version of Commerce Server 2007 Documentation ( http://msdn2.microsoft.com/en-us/library/ms864793.aspx ) on computers where you don't want to install the entire product. H ...Show All

  • .NET Development Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

    Hello, Is possible to "change" the sub created by a button, for another sub I mean... Private Sub btnConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConnect.Click Public Sub ConnectSocket() ... Changing the first, for the second, what is the handle And how can I do it Because I need to make an action that now is being executed by pushing a button in a form, and I want it working calling a sub that does the action.. Now, i've changed the definition, and i get the error Cannot block a call on this socket while an earlier asynchronous call is in progress. but before in the: Clientsocket.Send(bytes) it shows me an error: A first chance exception ...Show All

  • Windows Forms change Color of dataGridView line

    1) How to change Color of dataGridView line 2) How to find a value in dataGridView and make it highlight Thanks Hi Bender I need a similar mechanism, but when I tried your method it did not work. It works when the cell is "visible", but not otherwise. I have a column in my grid that is "invisible" and I need to compare the value in this "cell" to a constant value to see if the row needs to be highlighted or not. For example, I will look at the NT user logged on and if the user appears in the "hidden" column that row would be highlighted. Any help/suggestions would be greatly appreciated. Thanks Massboykie ...Show All

  • Visual Studio Tools for Office RibbonX - gallery like the styles one?

    Hi, maybe I'm blind a little bit, but how can I make the gallery like Styles in Word 2007 - that is, having the items on the Ribbon rather in drop-down menu Thanks, Jan Hi Jan It's ok to ask in both places, as long as you let everyone know you've done so, then report back with the answer, as you've so kindly done ...Show All

  • SharePoint Products and Technologies Business Data Field as a site column

    Hello, Is there a trick or a work-around to use Business Data Fields as a site column We would like to add a Business Data Field in our Content Types. But when I create a new site column, I can't select "Business Data". Thank you, David Hi David, Business Data was an option for creating a site column in Beta2, but was removed from RTM due to technical issues. Unfortunately you have to create it seperately for every list/library that you want it implemented. Cheers Nick ...Show All

  • Windows Search Technologies WDS 3.0 Not working - indexed files = 0, srchadmin.dll problem

    Hi, I have folowing issue with WDS 3.0 and I'm not able to find solution anywhere. WDS is not indexing any files. The problem will be propably connected with file types, because when I try to open FileTypes tab in Indexing Options/Advanced Options I receive only message: An exception occured while trying to run "shell32.dll,Control_RunDLL "srchadmin.dll"" . In event log than can be found following messages: "The update cannot be started because the content sources cannot be accessed. Fix the errors and try the update again. Context: Windows Application, SystemIndex Catalog" and the second one: "The content source <d:\dokumenty\> cannot be accessed. Context: Windows Application, SystemIndex Catalog Details: The system cannot fi ...Show All

©2008 Software Development Network