Software Development Network Logo
  • SQL Server
  • Smart Device
  • VS Express Editions
  • Windows Forms
  • Visual C#
  • Visual Basic
  • .NET Development
  • Game Technologies
  • Architecture
  • Windows Live
  • Visual C++
  • VS Team System
  • Windows Vista
  • Visual FoxPro
  • Microsoft ISV

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

shamita

Member List

SlyM
Mesut KOSUCU
HarisRashid
Mekk Elek
CoNNect
Deadlock42440
ArgusLab
nsinghal
Hoodwinked
Jeffrey2793
Allan Braun
ploplo
new to .NET
FrancoJS
RobDolin
Mr.Analogy
Sanjay sagar
Srinivas Raju
Jawad Munir
M.rkino
Only Title

shamita's Q&A profile

  • Windows Forms ot: Adding event handlers

    visual studio just erased all my controls. some bug crept in to my code so the designer couldnt design the form. normally this results in the designer giving an error - but not this time.  it rather cleverly decided to erase all the design i had made, and of course, because this didnt actually come to light until i hit COMPILE this has now&nb ...Show All

  • SQL Server Solve order

    Hi !! I'm migrating my AS2000 to AS2005 but I have a problem. In my AS2000 I have a lot of calculated members and some MDX queries that use those member. The problem is: In AS2005 the order of calculations changed. Now the calculations are done before the aggregations in the MDX querie. But I have more than 300 calculated members and change one by one seems to be very hard. How can I change my MDX querie to do the aggregation before the calculation of my calculated members Waiting for help. Thanks http://msdn2.microsoft.com/en-us/library/ms143742.aspx Custom level formulas aggregate differently If a cube contains a dim ...Show All

  • Windows Forms Inherited Windows Form Problem

    Visual Studio 2005 Beta 2 I can't add inherited form to application. I can't add inherited form from this same application. From a other dll can't open designer with an exception " Object reference not set to an instance of object ". This is a code of Parent MDI Child form using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace Dodoni.Manufacturing.Gui {   /// <summary>  /// Nadrz dna klasa okien potomnych w systemie  /// </summary>  public partial cla ...Show All

  • Visual Basic Datetime.op_GreaterThan vs hours in date

    Hi, very simple question: Have 2 date fields:  me.futureDate = #05/30/06 07:30AM# and date.today #05/30/06#. Both dates are today, so to me this is the same, but when I try this line: DateTime.op_GreaterThan( Me .FutureDate, Date .Today), the result is true I think this has to do with the 7:30 AM with is more than the current date. When I try this we end up in the else clause:  if Date.Today > Date.Today then 'here line of code else 'here other line of code end if  How can I compare this properly (without the time or set the time of futureDate to 00:00)  What is the best practice here Thx ...Show All

  • Windows Forms Table names

    I need a quick and easy way to retrieve table names from database using VB.net and access.  Anyone And yet another: SELECT name FROM sysobjects WHERE xtype = 'U' AND type = 'U' Executing that query should get you all User Tables. ...Show All

  • Smart Device Development Can Control.Invoke have a return type?

    I have a checkbox in my main thread, and I'm running a worder thread that needs to know if that checkbox has been checked.  How do I go about doing that   I tried using the invoke methods but not sure if it's allowed to have a return type.  This is what I'm trying to do. Workder thread: privated void  somefunction() {      if(this.checkbox.invoke(new EventHandler(mainCheckBoxChecked)))      {           //bla bla bla      } } private bool mainCheckBoxChecked(Object sender, EventArgs e) ...Show All

  • SQL Server Reporting Services 2005 : The report server cannot open a connection to the report server database

    Hi, I am getting the following error whenever I try to open the reportserver 2005 default web page http://home/reportserver Reporting Services Error -------------------------------------------------------------------------------- The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote ...Show All

  • Visual Studio Express Editions Vb 20005 Express - Data Sources Not Displayed

     When a Code View window is selected, all data sources show up correctly. However, when a Form Design window is open, the data sources disappear as mentioned previously. VC2005Express works correctly. Roland All modifications to the default behavior are stored in WinFormControls.xml.  I've updated the blog entry at: http://blogs.msdn.com/smartclientdata/archive/2005/11/18/494639.aspx to reflect additional SKU's.  Thanks Steve Lasker Program Manager Data Designtime features http://blogs.msdn.com/smartclientdata/   ...Show All

  • .NET Development Unable to cast object of type x[]' to type x[]'.

    Sorry for the crosspost but I anticipate getting a lot of 'That is a webpart issue.' responses which is bunk, its a CLR / Web Services issue. I am having a problem with this also but it is not remedied by clearing the ProjectAssemblies folder. I have a web based project that dynamically loads assemblies (WebParts). In these assemblies we connect to a web service and pull down Collections (arrays) of data and then display information in the web part based on the data received from the web service. Pretty basic. If I include the assemblies in the project and drag and drop them on a web zone they work great. However if I dynamically ...Show All

  • Microsoft ISV Community Center Forums VBA, Visio, Excel and ExecuteLine

    Hi The ThisDocument object in Visio has two handy methods "ParseLine" and "ExecuteLine" which allow the application to execute text as if it were VBA code written into the Immediate window. Private Sub TryExecuteLine() Const MyL As String = "Call MsgBox(""This was Executed!"", vbOkOnly + vbInformation, ""TryExecuteLine"")" Call ThisDocument.ExecuteLine(MyL) End Sub I can't find similar methods in the object model for Excel. Does anybody know if any such methods are available in Excel Many thanks in advance ...Show All

  • SQL Server Upcomming Service Packs

    Hi, Has anybody heard of an upcomming Service Pack and/or new version of Reporting Services anywhere (blogs, ms site etc) Thanks, Ethem Azun Reporting Services service packs will be part of SQL Server 2005 service packs, the first of which is scheduled to ship H1 2006. ...Show All

  • SQL Server how to pass a VARIANT data to SQL Server ?

    when passing data to server, many data-types require explicitly set the dwxxxLength field, do VARIANT requires and how can i set it's length as it's variant the data store in server is NUMERIC(4,1) and SMALLDATETIME, for convenience, i convert it to VARIANT in my app. my problem is how to pass it back to the server can i simply use m_dwxxxLength = sizeof(VARIANT) ...Show All

  • Visual Basic Microsoft Visual Basic 2005 Microsoft Visual Basic 2005

    I am running Microsoft Visual Basic 2005 Express Eddition Beta 2 and i am wondering how I save my project to a EXE. I click build and nothing happenes I hit publish and it makes something wierd. help Your build output should be put in the ProjectFolder\Bin\Release directory. if there is nothing there, look at the error list after the build. Dustin. ...Show All

  • .NET Development Using Windows icons in applications

    Hi all,    Looking for tips, references regarding the use of Windows icons and images in independently marketed applications.  (e.g. the rules and regulations of displaying a MS Word document icon when displaying files, using outlook calendar images, and so on...)  Any help would be appreciated- Thanks, Yarin Kessler ykessler@hotmail.com Is there any way that those of us who only have Express at our disposal can obtain that zip file of icons and such I am kinda in the same boat. I have the images from VB 6 and .Net 2003 but those icons don't look right for some reason. I have a toolbar and menu that needs com ...Show All

  • Visual Studio Tools for Office Range.get_Information() is causing Application.XMLAfterInsert to be fired

    Hi, I am getting some strange behaviour which I am having a hard time reproducing in a new project. I know that without being able to reproduce it I am not being very helpful, but I am running out of options and time. I will keep trying to reproduce it, but in the meantime any suggestions you might have would be greatly appreciated. I have a Word Template project and I am using XML tags to mark certain parts of the document that interest me. I then subscribe to the Application.XMLAfterInsert and Application.XMLBeforeDelete events so that different parts of the application can be alerted of changes made to the document. Everything wo ...Show All

©2008 Software Development Network