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

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

vivekWaghmare

Member List

TFC
Ditlef Martens
amal02
Nanook
Rafael Justo
mcoulton
jskim136494
AlaaZaghmout
Martin Miles
Calibus
Rastogi
beregen
lindylars
sun.Xiang
Muhammad Atif
Mike C#
Seraphino
nonoandy
Cosmin Nicolaescu
Alisson Cardoso
Only Title

vivekWaghmare's Q&A profile

  • Visual Studio Tools for Office ExcelWorksheet with Deployment, assembly not found

    I have an ExcelWorkbook that uses an assembly and must be deployed using the integrated Setup deployment tool. The target computer runs Microsoft Office 2003 with Service Pack 1 or 2, and the .NET Framework version 2.0 I use Visual Studio 2005 Beta2, and everything works fine when testing it, but on the target computer (lacking VS2005), I get an error saying that "the assembly * was not found". The assembly being in the same directory with the document, the solution would be to set the custom properties "_AssemblyName0" to the name of the assembly and "_AssemblyLocation0" to the deployment directory. My question is: how can I do this du ...Show All

  • Visual C# Capturing KeyPress "Always" !!

    Greetings... My Form needs to capture the KeyPress and KeyUp events. I did set the KeyPreview property to true and it works almost all the time ! When the application starts, it doesn't work... I fist need to touch something (i.e. give the focus to a control) so that the key press and up events could be treated properly. How can i go around this Thanks ! Acoquinar   Hi, since it's a good idea anyways to have one control on your form that gets the focus right away (so your user can start working with the tab-key and so on without having to click on the from prior to that) that's what you can to: Afte ...Show All

  • .NET Development Dataset Current Row Position

    I am programatically creating a dataset with a table and need to know the current row number I am on before doing something else so I can get back to it. I have no controls bound to this dataset/table and would prefer to do everything in program. In the old days of recordsets I just used to get the bookmark of the current record and then go back to that bookmark. I have searched and can't find how to do this and I know it is probably really simple. Thanks DataTable (/DataSet) doesn't have a CurrentRow concept. If you want to refer back to some row while doing a foreach, you can simply save the Dat ...Show All

  • Visual Studio Express Editions Timer Objects

    I had a Visual C++ 2005 beta 2. Please help me with Timer Objects. I was lookin' for few hours and didn't find how to put system time. How to do this If your programming from a windows form - just drag a TimerObject from the tool box onto your form. Then double click on the appropriate Event handler that is exposed and write what ever code you need. ...Show All

  • .NET Development VS 2005 DataTable performance problems?

    Hi there, I have a app built in .NET 1.1 that I have recompiled in VS 2005. I've noticed that some highly iterative loops are now many orders of magnitude slower in 2.0. My loops process several thousand rows in a couple of seconds in 1.1, and in 2.0 they take about one second per row. Since I don't have a way to profile my code in VS 2005 (I used to use DevPartner for that), I'm guessing that this is caused by the DataTables or DataRows that I'm using through these loops. Mostly I'm doing .Selects and then reading data from the resulting DataRows. Are there any known conditions under which DataTables or DataRows would be SLOWER in 2.0 than ...Show All

  • SQL Server SQL Server 2005 JDBC v1.1 now available

    The first community preview release of the SQL Server 2005 JDBC v1.1 driver is now available. This build includes a number of bug fixes from customer feedback of the v1.0 driver, as well as new feature work, especially Type-2 integrated authentication. To get the v1.1 CTP1 please email me directly at shelbyg<at>microsoft<dot>com. -shelby Shelby Goerlitz Program Manager Microsoft SQL Server Data Programmability Hi, Can you proved me the link to 1.1 version of JDBC driver for SQL Server 2005 Server. Thanks Kumar. ...Show All

  • Visual C# NullReferenceException when running DLLImported function

    I have a vb.net chunk of code that works fine when I call the wrapper function that looks like this: <DllImport(".\analysis.dll", EntryPoint:="levels_analysis", CharSet:=CharSet. Ansi )> _     Private Shared Function levels_analysis( _          <MarshalAs(UnmanagedType.VBByRefStr)> ByRef in_string As String , _         <MarshalAs(UnmanagedType.I1)> ByVal in_string_indicator As Char , _         <MarshalAs(UnmanagedType.I4)> ByVal in_string_format As Integer , _    ...Show All

  • Visual Basic How to create 32bpp icons

    i've found lots os examples for a diferent kind of thing to do on vb.net, but now i'm trying to breate 32bpp icons from an image. the folowing example uses a simple way to get icons from a bitmap, "Alph.bmp" is in 32bpp with alpha chanel, but the result gives-me a white backround. Public Shared Function From32bppBMP() As Icon Dim bmp As New Bitmap("Alph.bmp") Dim HI As IntPtr = bmp.GetHicon Dim a As Icon = Icon.FromHandle(HI) Return a End Function HOW can i convert this image to an icon with a tranparent backround The sample seems to work for ...Show All

  • .NET Development How to get local directory of a web service

    I swear MSDN gets a little more useless all the time, as I've searched the .NET documentation to no avail on this one. I've created a web service, and I need to get the local path to the webservice directory. For instance, my webservice is located at the usual C:\Inetpub\wwwroot\MyWebService. I just need to get this string dynamically (without hard-coding it) so I can save off some files there at runtime. I tried Assembly.GetExecutingAssembly().CodeBase, but that gives me the "Temporary ASP.NET Files" directory that my assembly gets copied off to. Thanks, AJ I know that in W32 you can use Ge ...Show All

  • Smart Device Development Converting CEDB to EDB

    <I know this is not a question... but I want to make sure this information gets out to the public as fast as possible> Porting Applications from CEDB to EDB Luis Eduardo Cabrera Microsoft Corporation May 2005 Applies to:    Windows Mobile-based devices    eMbedded Visual C++    Visual Studio 2005    CEDB    EDB   Summary: Learn how to port applications that use CEDB to EDB. It is intended for developers that have written CEDB applications for Windows Mobile devices that use CEDB (2003, 2003 Second Edition) and that would like to port their ...Show All

  • SQL Server Error when browsing data

    Hi Guys, I am novice to AS. I install the Analysis Services  to my Windows 2000 Professional. But in the places where to display or browsing data, it always encounters an Unspecific Error. For example: a) In a cube - HR, if i select Browsing Data menu, the error 'Unspecific Error' displayed. b) In a Dimensions, select Brows Dimensions Data, the error message in the windows said: Unable to brows the Dimension '*******', Unspecific Error. Please help me to fix this problem Thanks Patrick More info.: The error happens at first time on clicking the data tab, the error message said: 'Provi ...Show All

  • Visual Studio Tools for Office How to customize more than one Excel workbooks with VSTO

    Dear VSTO Support, We have multiple Excel workbooks (each with different layout) that we would like to customize with the same VSTO. We did a test for one workbook, now we would like to apply the same VSTO to other workbooks. How do we do that without creating the same VSTO Excel project for each different workbook Hopefully the requirements are clear. Sincerely, Thomas Hi Thomas, You can build an external application that uses the ServerDocument.AddCustomization(....) method to customize the other documents. The class also have another class methods, IsCustomized, RemoveCustomization()... ...Show All

  • Windows Forms DataGridView inserting records

    I am looking for an event in the datagridview, tableAdpater, etc.. that I can use to add a record to the database.  Current, my table adapters insert command is set to a sproc.  When a user enters a new row in the datagridview, what event should I use to exec the insert command   I am using the UserDeletingRow event to prompt the user for deletion verification, followed by exec the delete command which execs a delete sproc (I pass the e.row.cells["primaryKey"].Vaue): this .c_request_itemBindingSource.EndEdit(); this .c_request_itemTableAdapter.Delete( Convert .ToInt32(e.Row.Cells[0].Value.ToString())); I tried the UserAdd ...Show All

  • Software Development for Windows Vista "The proper type library could not be found in the system registry."

    I just installed WF on my machine and now get this error every time I load the IDE.  I did not install any of the WinFx components as they looked to be optional. Can anyone point me to the component it is referencing.  It says have an administrator login and it will work but I am the administrator so thats not it. If I need the WinFx components I can install them, but was wanting to install as little as possible until the RTM compatible version is out. Thanks much. Jesse Yeah, I had seen that one too but I have not installed the SQL 2005.  It did occur right after installing WF but since it doe ...Show All

  • Windows Forms Modify setup.exe?

    I just found out that the download URL of prerequisites are written directly to the generated SETUP.EXE! In my previous post, I found the solution to dynamically modify the URL in .application files. But I also want tell SETUP.EXE to download from a URL that is only determined after Publish Wizard runs. But I know modifying Windows PE file is evil. Is there still a workaround Thanks! I founnd a class GenerateBootstrapper in Microsoft.Build.Tasks namespace. I think this is the right one that does the job of creating bootstrap SETUP.EXE. But I don't know how to do with it. Can anyone help ...Show All

©2008 Software Development Network