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

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

Tanmaya

Member List

Clemox
LankyNibbs
TA123
minibirken
Sam_res03
Stelresort
christine21
Javahar
0xDEADBEEF
Farhan H Soomro
Vagif
WayneSpangler
Charles Lewis
Jitusj
BarrySumpter
Burt Harris
Troy Lundin
Ryan Sanders
waheyluggage
spotl
Only Title

Tanmaya's Q&A profile

  • Visual Studio Team System missing dll when testing

    I am trialing the team system suite, and have a problem. When attempting to test the software the application gets copied to a test run folder and run from there, but it fails to copy one of the dlls and so the application throws exceptions. The project builds correctly and can be run normally, I just cannot test it. Any ideas what the problem might be I have long since resolved this. It was due to the fact that I was late binding to some dlls in the project, which weren't referenced by the main project. So, everything built to the correct folder and worked OK, but when testing only the assembly files were copied to the test folder and so some dlls were missing from the test application folder. ...Show All

  • Visual Studio Tools for Office Opening OutLook problem

    Dear All, I'm trying to open outlook 2003 via my application in C# in VS2005. I just copied the sample from this link http://support.microsoft.com/default.aspx id=819398 and tried to run the application but I got following exception in this line: //Automate the Outlook mail item. Outlook. MailItemClass mItem = (Outlook. MailItemClass )doc.MailEnvelope.Item; Additional information: Unable to cast COM object of type 'System.__ComObject' to class type 'Microsoft.Office.Interop.Outlook.MailItemClass'. COM components that enter the CLR and do not support IProvideClassInfo or that do not have any interop assembly registered will be wrapped in the __ComObject type. Instances of this type cannot be cast to any other class; however ...Show All

  • Software Development for Windows Vista Junction problem in Vista

    I cannot open any junctions (like "Documents and Setting", "Default User" and "Application Data") in Vista64. It shows message "Access is denied", but I have all rights (owner, administrator and others at my PC) to open them and real folders. In Windows XP SP2 the problem is same. And I cannot install some application that using that junctions during install. Hello Ghoort, These junctions are in Vista for backwards compatiblity with applications that support the older "My Documents" directory structure. As a user you can not open nor navigate to the directory structure because there is none. These junctions are now "links" that when an application writes to them, virtualize the read ...Show All

  • Smart Device Development Serial Port Communication

    Hallo, I wrote a little prog, which sends a message and the messages md5 over the serial port: I'm using Visual Studio 2005.NET, PocketPc-Emulator and a virtual serialport-driver. This way I connected the emulator to COM2 and COM2 to COM15. So I can send and receive Data via the emulator on COM2 and via Win32-Application on COM15. For testing I write all incoming Data on the emulator to the serial output. Private Function com_sendString(ByVal toSend As String) As Boolean Dim hash As String hash = "##HASH:" & md5(toSend) & "##" Try If (serialPort.IsOpen = True) Then serialPort.WriteLine(toSend & hash) Else MsgBox("Port is closed!!") En ...Show All

  • SQL Server Hide Dcoument Map by Default while viewing the Report in SSRS

    Hello Experts I use a Report where i have a document Map getting generated. but by default it is displayed and the user has to close the window to view the report. i wanted to know if its possible to hide the Document map window by default and based on the click of the icon the window will be show to the user when viewing in the default Report page. /chandresh soni I created a report with Document Map on (from Matrix Textbox Properties | Navigation tab) and the same report without Document Map. Saved both and searched for differences in the resulting rdl files. This helped me to find the problem in my original report. Removing the Label element in the Grouping part of the Matrix element removed also ...Show All

  • .NET Development How to convert string to SecureString?

    I want to pass a string password in System.Diagnostics.Process.Start. The problem is that the defined password parameter is SecureString not string while my password is string. Normal casting evaluates to errors. Please how to cast string to SecureString Many Thanks in Advance. Bishoy you cannot add attachments doing it this way, it has been disabled I believe by Windows for security reasons. As for the rest of the fields to add in your email, simply add this code with the existing one, you are already adding the TO address in the initial email address which was added/appended into the string builder:   theStringBuilder.Append( ...Show All

  • Visual Studio looping through report items of a rendered report

    Hi all, Situation: I have a WinForm application that uses the SQL 2005 reportviewer component. That reportviewer uses a local report. The report definition contains a report item (textbox) called "txtEmail" in the table header. Would it be possible to walk (in runtime!) throught all the report items of a rendered report so I can get the value of the report item "txtEmail" I've tried this code to walk through all the items in a rendered report: ListControls(reportViewer.Controls); private static void ListControls(Control.ControlCollection control) { foreach (Control e in control) { Console.WriteLine(" * " + e.ToString()); ListControls(e.Controls); } } but it didn't list the actual report items ...Show All

  • Visual Studio Express Editions the break operation

    hello there, am trying to figure out how can i operate my brake command inside a nested loop, but i like that the break would also affect the outer loop. her is some example of waht am asking: private void button1_Click( object sender, EventArgs e) { //loop india for ( int i = 0; i < 30; i++) { //loop juliet for ( int j = 0; j < 30; j++) { if (j == 3 & i == 0) { // how can it be applied both on juliet and india break ; } //MessageBox.Show("I is now equle " + i.ToString() + " J is now equle " + j.ToString()); } any advise would be apriciated. thanks in advance Bad news… break only breaks you out of the nearest loop and ...Show All

  • Windows Forms Inherited controls moves

    Hi all, ok, my big big problem is that the two buttons that was inherited from my base form moves to the right everytime I open the form. I’d tried to modify the Initializecomponent method by adding the code to change the location of both but nothing happens. The buttons only show in the correct location the first time but when I reopen the form designer it moves rigth so on and so forth. Can anybody explain me the way to avoid this problem Best regards. Ok, anybody can explain me this mystery. Why the inherited buttons move everytime I load my form I move it ti the right position, save the file, close the file and when I try to reopen it again...YEAHHH the button moves again. But if I close the file wi ...Show All

  • .NET Development Retrieving data from Excell 2003 - Could not find installable ISAM.

    I am trying to access some data in a Excel 2003 file and import it to a dataset using a oledb provider.Here is the code : string cnxString = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:\\TEST.xls;" + "Extended Properties=Excel 8.0;"; this.excelConnection.ConnectionString = cnxString; this.excelConnection.Open();I keep getting this error :A first chance exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dllSystem.Data.OleDb.OleDbException: Could not find installable ISAM.I have search everywhere there is a space between data and source. I have read the KB articles but nothing seems to be doing it. Any help would be greatly appreciated.Thanks. ...Show All

  • Visual Studio Tools for Office Problems with VSTO2005 on Vista

    hi, I just installed VSTO2005 (English version out of the box) + SE (download) on Windows Vista Business (german version). Now I have the following problems: 1) The language of the menu-items in the VSTO-IDE is mixed (english/german). For example I get a "File/Open" menu-item (in English) and a "File/Schliesen" menu-item ("Schliesen" is the german word for "Close"). 2) The local help (although successfully installed) cannot be accessed in the VS-IDE (is always empty). I have seen on Microsoft websites, that there exists a VS2005 SP1 and a VS2005 SP1 Update for Vista (Beta). BUT as VSTO2005 is NOT listed as a valid VS-version for VS2005 SP1, I cannot install it. And therefore I cannot install th ...Show All

  • SQL Server Remote connecton

    I made a 1 form app(to learn with) in VB Express. I published it, installed it on my pc and everything is fine(I used a db from my main app I'm building which was made in VBE(but I didnt install the db in my project, I only connected to it) anyhow With my 1 form application, I can add,edit the records in the db, no problem there but when I took it to another pc and installed it, it installed fine, but when you launch the app I got an exception stating That it cannot find a SQL connection etc... I do have remote connections checked in SQL. Is there something that you have to do to a remote pc to make it visible We have a simple peer to peer network. I have an existing app(Access) that I use mapped drives to share ...Show All

  • Visual Studio Calling a macro from a button on a CommandBar

    I'm trying to create a button on a CommandBar, which will execute a function in a macro module. The CommandBar and the button are created ok, but the function never gets called. Any ideas Here's the code: ======================= Option Strict Off Option Explicit Off Imports System Imports EnvDTE Imports EnvDTE80 Imports System.Diagnostics Imports System.Reflection Imports Microsoft.VisualBasic Imports Microsoft.VisualBasic.ControlChars Imports Microsoft.VisualStudio.CommandBars Public Module Module1 Function RunCode() MsgBox("RunCode") End Function Sub CommandButtonTest() If CBDoesCBExist("MacroBar") Then Call CBDeleteCommandBar("MacroBar") End If Dim cmdbarobj As CommandBar cmdbar ...Show All

  • Visual Studio Express Editions How Can i Connect SQL Server 2005 to a Remote Computer Using VB Express Edition

    Hi I am using VB2005 and i would like to create a new DATA SET without creating another database at SQL server 2005 i should be needed to a remote computer THX ...Show All

  • SQL Server MDX with parameters using OleDb?

    I'm trying to run an MDX query with a parameter. It works fine with ADOMD.NET, but I can't get it to work using OleDb. (I have to use OleDb because of limitations of the calling application.) Is this possible The following code works: //using Microsoft.AnalysisServices.AdomdClient; string MDX = "with member [Measures].[Test] as Str(@Param1) " + "SELECT [Measures].[Test] on 0, " + "[Product].[Category].[Category].Members on 1 " + "from [Adventure Works]" ; AdomdConnection conn = new AdomdConnection ( "Provider=MSOLAP.3;Data Source=localhost;Initial Catalog=Adventure Works DW;Integrated Security= SSPI ;Persist Security Info=false;" ); conn.Open(); ...Show All

©2008 Software Development Network