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

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

Sobia

Member List

Redmanmc
sl5
Suman#SS
LORDTEK
leclerc9
jeremy2006
lawazia
Luis Simões
mikeymay
smudie
dazjack
ntsoo
WebSigMan
MarkEmery
KonstantinT
selva_kumar
Jim Altrichter
Cloistered343
chaza
TapasChoudhury
Only Title

Sobia's Q&A profile

  • Visual Studio 2008 (Pre-release) Close the Window in UserControl

    I put a usercontrol in a window. when I click a button in the usercontrol, I want to close the window and show another window. can this be implemented Thanks Do your design constraints prohibit the UserControl from having a reference to the containing Window or the Window knowing about the UserControl If the user control can know about the Window, then just expose a property on the control which the Window sets to itself (i.e. the Window gives the control a refernce to itself). Then the control can just call Close on the Window reference. Otherwise, perhaps you might expose an event on the user control called CloseWindowRequested. The Window would hook that event and close itself when the event fires. If neither of tho ...Show All

  • SQL Server Number of Queues Best Practice ?

    Hi There In terms of scaling out Service Broker to hundreds of instances, would it be better from a performance perspective so have one queue with all the messages coming in(obviously with a high number for max_queue readers), or create a number of queues and spread the messages across them Or is there no significant difference. The one reason i am leaning towords multiple queues is so that is poison messages are found or a something lese goes wrong with a queue not all messages are affected, however creating multipple queues makes it more complex and required more administration Any general best practice when it comes to this Thank You W/o knowing all details about the app, I'd probably ...Show All

  • Software Development for Windows Vista IE 7 crashes

    Hey when using Vista I have discovered that every single time I open IE 7 it crashes. The toolbars don't load it's just a white box with a title bar nothing else. My computer locks up and then everything goes at a snails pace. Once I eventually get the task manager open, I try and end the task. It gives me the option of restarting the task, or leaving it be. I tried both but the same thing happened again. They only way to fix it is to restart. I'm geussing this is a Vista issue because under XP it seems to work fine. (Edit) - Now when IE opened because I clicked a link in Messenger it opens with toolbars, dosen't copy the URL over and when I type a URL in it just goes and crashes. My whole laptop crashed ...Show All

  • Visual C# Huge memory build-up when we have STAThread in console application

    I have a C# console application. this is pertaining to AD. the purpose of the application is to display the child objects inside a container. the container has around 50000 objects. i get the details of the container using the DirectoryEntry class. the dirEntry.Children gives the details of the children inside the container. the program snippet is as follows. AD_Display.cs with System.DirectoryServices added as a reference namespace AD_Display { Class program { [STAThread] Static void Main(string []args) { DirectoryEntry dirEntry = new DirectoryEntry(“LDAP://localhost/CN=xyz,DC=<domain>,DC=com”); foreach (DirectoryEntry childEntry in dirEntry.Children) { ...Show All

  • Visual Studio Express Editions clicking a picturebox

    I have about 200 little pictureboxes that start simply white. When they are clicked they turn black. I'm using picture boxes because they are the only thing that can get as small as I need them. I'm hoping for a way that I don't need to re-write the code that many times. I've tried using Private Sub PictureBox1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click Me .BackColor = Color.Black End Sub But that changes all the picture boxes and textboxes and forms backcolor to black. I'm hoping there is some simple solution that I'm missing. Thanks for any insight. your code snippet is showing that you are setting the back color of the FO ...Show All

  • SQL Server Does SQL Server 2005 Express has the method that delete automatically rows ordered by time column.

    Hi, I made table that stores monitoring data every 1 minute. It should have only 60 minutes-data from current time. I delete data which stored 60 minutes ago before insert. I'll be happy to find that the database engine does automatically above procedure. You could use an insert trigger which fires when new data is inserted. Place your delete statement here to delete old records. -- SvenC ...Show All

  • SQL Server Foreign Key Constraints execution order?

    How can I get and or set the order in which the cascading deletes of a table are executed I have table A with cascading deletes to Table B and Table C. Records in table B can not be deleted if they are referenced from table C. So if I delete C, then B and then A; that would work. But B then C and then A might be prohibited due to the constraint between B and C. Therefor the order of execution of the cascading delete is important. hi, it will cascade as long as you dont have something which would result into to a circular reference like C has a fk on A regards, joey ...Show All

  • Software Development for Windows Vista IID_IUnknown unresolved external symbol

    Hi All, I am trying to build a custom directshow filter in platform builder for WinCE 5.0. At linking , it throws errors for unresolved external symbols for IID_IUnknown, IID_IClassFactory and IID_IPersist ..ie. all the interfaces I use in my filter. My filter inherits the CBaseFIlter class. I have included uuid.lib, strmbase.lib , strmiids.lib. Any idea what could be going wrong here Do I have to define these values in my filter If yes .. what is the value All suggestions are welcome ! Regards, Ram I don't know what more to say. You are getting a linker error, yes You might try asking in a more general c++ forum. You don't *have* to use a C++ class to implement an interface. ...Show All

  • Visual C# How to use AddEventHandler?

    Hi I am trying to use reflection to bind the same event handler to different events. I can't figure out why I can bind the eventhandler with += but not with reflection AddEventHandler - see the example below. Does anyone have a clue as to what am doing wrong Rgds Bertrand class form1 : form { public void myEventHandler( object o, EventArgs e) { /*...*/ } public void button1_click(...) { /* The following works: */ this.FormClosing += myEventHandler; /* Why does the following not work */ Type objectType = Type .GetType( "myNameSpace.Form1" ); EventInfo objectEventInfo = objectType.GetEvent( "FormClosing" ); Type objectEventHandlerType = objectEventInfo.EventH ...Show All

  • Software Development for Windows Vista Oracle Client software in Windows Vista

    Hi, I was wondering if anyone knows how to get the Oracle client software to work correctly under Windows Vista. I have tried reinstall it and I still get the problem. Every time I try to do something that obviously relies on it (like even viewing a database in the server explorer in VS2005) I get the message: "System.Data.OracleClient requires oracle client software version 8.1.7 or greater." How to I fix this Thanks for any help, Richard Hi Richard The Oracle database client needs to be installed using administrative privileges. If you use UAC , this will interfere in setting up the oracle client correctly. Besides this you must run Visual Studio as administrator and your program that ...Show All

  • Visual C++ I have a winrar_AM_modifiy_src_to_zip.bat. The problem that I have is :if the vc project which I have is very new and I also mak

    del net_ModiSrc.zip "C:\Program Files\WinRAR\winrar" a -afzip -ed -r -ta2006-07-26 -tl -x@tmpfilelist.txt net_ModiSrc D:\ui_7_25\net I have a winrar_AM_modifiy_src_to_zip.bat. The problem that I have is :if the vc project which I have is very new and I also make the file change the very day. then I get a very big zipped file, how can I get a modified file when the modified time is the same as the new project. Thanks. Maybe instead of " a " you should try the " u " command It will add only changed and new files. If you need to keep the old version of files, then try " -ver " switch (but it seems to work for RAR archive format only). Therefore with " winrar u -ver ... " you will have a single archive with all of the v ...Show All

  • SQL Server Can I install a Enterprise version analysis service on a Standard version of SQL 2005 server?

    Hi all, Since some analysis services features are only available in Enterprise version , I have to upgrade my SQL 2005 server from standard edition to enterpise edition. So I uninstall originial standard version of analysis service and install a Enterprise version. However, the analysis service is still a standard version after installation. Is it possible to keep data engine as standard version and install a enterprise version of analysis service Thank you very much Tony Yes. This is supported as in SQL Server 2005, Standardard SKU and Enterprise SKU can be installed side by side successfully. Of course, their instancenames must be distinct. ...Show All

  • Visual Studio Exception Display triggers on AppDomain Boundary not where it is thrown

    I have a small app that runs other app's using AppDomain.ExecuteAssembly. Sometimes when an exception is triggered instead of breaking at the point where it is thrown, it breaks at the call to AppDomain.ExecuteAssembly. I think this happens when it is on the same thread as the AppDomain call. ...Show All

  • Visual Studio Team System TF31002: Unable to connect to this Team Foundation Server.

    We just installed Team Foundation Server Suite. I can access it from the same machine but when I try from other machines, I get a failure notice, TF31002: Unable to connect to this Team Foundation Server. Possible reasons for failure are - The Team Foundation Server name, port or protocol - The Team Foundation server is offline - Password is expired or incorrect. For more information, contact the Team Foundation Server Administrator. Well, the server name, port and protocol are correct, the server is online and the password is not expired and I am the Administrator. Any hints We solved our problem. After some probing all clients finally could connect to TFS. The only problem that is left is ...Show All

  • Visual Basic Simple security validation

    I am curious if there is a simple way to identify a system that a VS2005 VB application is connecting to. Using "windows login validation" types of things is not an option. I notice there is a registry key in the local machine, software, microsoft, mslicensing called "HardwareID". Would there be any security concerns accessing this value from within a program and would it be unique to a machine Does it change If thats not the right place to be doing this (and I am trying to avoid making a new entry someplace if possible) then is there an alternate or better approach Thanks in advance! :) thats pretty much how you would call it. The other one is using dll import: http:/ ...Show All

©2008 Software Development Network