Jump to content
Xtreme .Net Talk

tripps

Members
  • Posts

    4
  • Joined

  • Last visited

About tripps

  • Birthday 01/01/1981

Personal Information

  • Occupation
    Software Professional
  • Visual Studio .NET Version
    1.1
  • .NET Preferred Language
    C#, JScript, VB.Net

tripps's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hi all, I am using a COM dll in VB.Net through Interop. I create an instance of a class of thid DLL in VB.Net then I execute a method of this class. The problem is that this method of this COM DLL class returns me an string saying <Permission Denied>. When I use this COM DLL in an VB6 application, then it does not cause any problem and gets executed properly. This method is actually writing a Excel file after fetching data from the database. Any help on this is highly appreciated thanks tripps
  2. Hi, I have set ItemStyle-Wrap="True" and ItemStyle-Width="100", the width of my column seems to stay fixed at 100 pixels as long as the data in that column is less than 100 pixels wide. If one of the rows of the data has an item that does not fit in 100 pixels it stretches the column of the grid so that it fits around the data. But I don't want it this way. What I want is that when column data in one of the rows goes beyond 100 pixels, it should warp to the second line in the datagrid's row. I have set ItemStyle-Wrap="False" and ItemStyle-Width="100" for this column and also I have set the RowHeight=80px so that 2 or 3 lines of data can appear in one row of the datagrid but it is not working. I even tried grdAllprod.Columns[1].ItemStyle.Width = 100; in my codebehind file. Pl. help me. Any help on this greatly appreciated as this is very-2 urgent. Thanks n Regards, tripps
  3. My requirement is to open a file for my web user, when he clicks on a button. Problem is that the physical location of the file is not on the Web Server but some other machine. For Ex. The file name is <MyFile.txt> this file is lying in a shared folder named <MySharedFolder> on the machine named <MyMachine> I use following code to open the file. const string QC = "\\"; strFileUrl = QC + QC + "MyMachine" + QC + "MySharedFolder" + QC +"MyFile"; //Above code populates string variable strFileUrl with the value "\\MyMachine\MySharedFolder\MyFile.txt" Server.Transfer(strFileUrl); This however does not work. It throws following error. System.ArgumentException: Invalid path for MapPath '\\MyMachine\MySharedFolder\MyFile.txt'. A virtual path is expected. So, basically Server.Transfer method requires the virtual path. Pl. help me...I am stuck up. Many Thanks !!! Regards tripps
  4. Hi, I am working on a dot Net application. I have to read the value of a Sequence created in Oracle DB. Could any body tell me how to achieve this. Thanks a lot -tripps
×
×
  • Create New...